gonzui


Format: Advanced Search

SearchGoogle itResults 1 - 1 of 1 for funcall:strncmp from t2ex/bsd_source/t2ex/network/net/src_bsdlib/libc/resolv/res_init.c (0.00 seconds)
t2ex
bsd_source/t2ex/network/net/src_bsdlib/libc/resolv/res_init.c - 36.4KB - 1,026 lines
383: #define MATCH(line, name) \
384:         (!strncmp(line, name, sizeof(name) - 1) && \
385:         (line[sizeof(name) - 1] == ' ' || \
667: /* search for and process individual options */ 668: if (!strncmp(cp, "ndots:", sizeof("ndots:") - 1)) { 669: i = atoi(cp + sizeof("ndots:") - 1);
677: #endif 678: } else if (!strncmp(cp, "timeout:", sizeof("timeout:") - 1)) { 679: i = atoi(cp + sizeof("timeout:") - 1);
688: #ifdef SOLARIS2 689: } else if (!strncmp(cp, "retrans:", sizeof("retrans:") - 1)) { 690: /*
695: statp->retrans = atoi(cp + sizeof("retrans:") - 1); 696: } else if (!strncmp(cp, "retry:", sizeof("retry:") - 1)){ 697: /*
703: #endif /* SOLARIS2 */ 704: } else if (!strncmp(cp, "attempts:", sizeof("attempts:") - 1)){ 705: i = atoi(cp + sizeof("attempts:") - 1);
713: #endif 714: } else if (!strncmp(cp, "debug", sizeof("debug") - 1)) { 715: #ifdef DEBUG
722: #endif 723: } else if (!strncmp(cp, "no_tld_query", 724: sizeof("no_tld_query") - 1) || 725: !strncmp(cp, "no-tld-query", 726: sizeof("no-tld-query") - 1)) { 727: statp->options |= RES_NOTLDQUERY; 728: } else if (!strncmp(cp, "inet6", sizeof("inet6") - 1)) { 729: statp->options |= RES_USE_INET6; 730: } else if (!strncmp(cp, "rotate", sizeof("rotate") - 1)) { 731: statp->options |= RES_ROTATE; 732: } else if (!strncmp(cp, "no-check-names", 733: sizeof("no-check-names") - 1)) {
736: #ifdef RES_USE_EDNS0 737: else if (!strncmp(cp, "edns0", sizeof("edns0") - 1)) { 738: statp->options |= RES_USE_EDNS0;
740: #endif 741: else if (!strncmp(cp, "dname", sizeof("dname") - 1)) { 742: statp->options |= RES_USE_DNAME; 743: } 744: else if (!strncmp(cp, "nibble:", sizeof("nibble:") - 1)) { 745: if (ext == NULL)
751: } 752: else if (!strncmp(cp, "nibble2:", sizeof("nibble2:") - 1)) { 753: if (ext == NULL)
759: } 760: else if (!strncmp(cp, "v6revmode:", sizeof("v6revmode:") - 1)) { 761: cp += sizeof("v6revmode:") - 1; 762: /* "nibble" and "bitstring" used to be valid */ 763: if (!strncmp(cp, "single", sizeof("single") - 1)) { 764: statp->options |= RES_NO_NIBBLE2; 765: } else if (!strncmp(cp, "both", sizeof("both") - 1)) { 766: statp->options &=