Lines Matching refs:word
1248 char *word;
1252 word = nsu_strsep(cmdlinep, " \t\r\n");
1253 if (word == NULL || *word == 0) {
1265 isc_buffer_init(&source, word, strlen(word));
1266 isc_buffer_add(&source, strlen(word));
1337 char *word;
1360 word = nsu_strsep(&cmdline, " \t\r\n");
1361 if (word == NULL || *word == 0) {
1365 region.base = word;
1366 region.length = strlen(word);
1370 fprintf(stderr, "class mismatch: %s\n", word);
1376 word = nsu_strsep(&cmdline, " \t\r\n");
1377 if (word == NULL || *word == 0) {
1381 region.base = word;
1382 region.length = strlen(word);
1385 fprintf(stderr, "invalid type: %s\n", word);
1392 fprintf(stderr, "invalid type: %s\n", word);
1441 char *word;
1445 word = nsu_strsep(&cmdline, " \t\r\n");
1446 if (word == NULL || *word == 0) {
1450 if (strcasecmp(word, "nxdomain") == 0) {
1453 } else if (strcasecmp(word, "yxdomain") == 0) {
1456 } else if (strcasecmp(word, "nxrrset") == 0) {
1459 } else if (strcasecmp(word, "yxrrset") == 0) {
1463 fprintf(stderr, "incorrect operation code: %s\n", word);
1471 char *word, *server;
1479 word = nsu_strsep(&cmdline, " \t\r\n");
1480 if (word == NULL || *word == 0) {
1484 server = word;
1486 word = nsu_strsep(&cmdline, " \t\r\n");
1487 if (word == NULL || *word == 0)
1491 port = strtol(word, &endp, 10);
1493 fprintf(stderr, "port '%s' is not numeric\n", word);
1497 "(1 to 65535)\n", word);
1527 char *word, *local;
1532 word = nsu_strsep(&cmdline, " \t\r\n");
1533 if (word == NULL || *word == 0) {
1537 local = word;
1539 word = nsu_strsep(&cmdline, " \t\r\n");
1540 if (word == NULL || *word == 0)
1544 port = strtol(word, &endp, 10);
1546 fprintf(stderr, "port '%s' is not numeric\n", word);
1550 "(1 to 65535)\n", word);
1658 char *word;
1662 word = nsu_strsep(&cmdline, " \t\r\n");
1663 if (word == NULL || *word == 0) {
1670 isc_buffer_init(&b, word, strlen(word));
1671 isc_buffer_add(&b, strlen(word));
1685 char *word;
1694 word = nsu_strsep(&cmdline, " \t\r\n");
1695 if (word == NULL || *word == 0)
1698 n = snprintf(buf, sizeof(buf), "@%s", word);
1715 char *word;
1719 word = nsu_strsep(&cmdline, " \t\r\n");
1720 if (word == NULL || *word == 0) {
1725 if (!strcasecmp(word, "none")) {
1731 result = isc_parse_uint32(&ttl, word, 10);
1737 word, TTL_MAX);
1748 char *word;
1753 word = nsu_strsep(&cmdline, " \t\r\n");
1754 if (word == NULL || *word == 0) {
1759 r.base = word;
1760 r.length = strlen(word);
1763 fprintf(stderr, "could not parse class name: %s\n", word);
1770 fprintf(stderr, "bad default class: %s\n", word);
1784 char *word;
1811 word = nsu_strsep(&cmdline, " \t\r\n");
1812 if (word == NULL || *word == 0) {
1825 result = isc_parse_uint32(&ttl, word, 10);
1834 fprintf(stderr, "ttl '%s': %s\n", word,
1844 word, TTL_MAX);
1851 word = nsu_strsep(&cmdline, " \t\r\n");
1853 if (word == NULL || *word == 0) {
1864 region.base = word;
1865 region.length = strlen(word);
1870 fprintf(stderr, "class mismatch: %s\n", word);
1876 word = nsu_strsep(&cmdline, " \t\r\n");
1877 if (word == NULL || *word == 0) {
1888 region.base = word;
1889 region.length = strlen(word);
1893 word, isc_result_totext(result));
1901 "%s\n", word, isc_result_totext(result));
1976 char *word;
1980 word = nsu_strsep(&cmdline, " \t\r\n");
1981 if (word == NULL || *word == 0) {
1985 if (strcasecmp(word, "delete") == 0)
1987 else if (strcasecmp(word, "del") == 0)
1989 else if (strcasecmp(word, "add") == 0)
1992 fprintf(stderr, "incorrect operation code: %s\n", word);
2000 char *word;
2003 word = nsu_strsep(&cmdline, " \t\r\n");
2004 if (word == NULL || *word == 0) {
2008 if (strcasecmp(word, "yes") == 0 ||
2009 strcasecmp(word, "true") == 0 ||
2010 strcasecmp(word, "on") == 0) {
2012 } else if (strcasecmp(word, "no") == 0 ||
2013 strcasecmp(word, "false") == 0 ||
2014 strcasecmp(word, "off") == 0) {
2017 fprintf(stderr, "incorrect check-names directive: %s\n", word);
2095 char *word;
2098 word = nsu_strsep(&cmdline, " \t\r\n");
2100 if (word == NULL || *word == 0)
2102 if (word[0] == ';')
2104 if (strcasecmp(word, "quit") == 0)
2106 if (strcasecmp(word, "prereq") == 0)
2108 if (strcasecmp(word, "nxdomain") == 0)
2110 if (strcasecmp(word, "yxdomain") == 0)
2112 if (strcasecmp(word, "nxrrset") == 0)
2114 if (strcasecmp(word, "yxrrset") == 0)
2116 if (strcasecmp(word, "update") == 0)
2118 if (strcasecmp(word, "delete") == 0)
2120 if (strcasecmp(word, "del") == 0)
2122 if (strcasecmp(word, "add") == 0)
2124 if (strcasecmp(word, "server") == 0)
2126 if (strcasecmp(word, "local") == 0)
2128 if (strcasecmp(word, "zone") == 0)
2130 if (strcasecmp(word, "class") == 0)
2132 if (strcasecmp(word, "send") == 0)
2134 if (strcasecmp(word, "debug") == 0) {
2141 if (strcasecmp(word, "ttl") == 0)
2143 if (strcasecmp(word, "show") == 0) {
2147 if (strcasecmp(word, "answer") == 0) {
2152 if (strcasecmp(word, "key") == 0) {
2156 if (strcasecmp(word, "realm") == 0)
2158 if (strcasecmp(word, "check-names") == 0 ||
2159 strcasecmp(word, "checknames") == 0)
2161 if (strcasecmp(word, "gsstsig") == 0) {
2170 if (strcasecmp(word, "oldgsstsig") == 0) {
2179 if (strcasecmp(word, "help") == 0) {
2203 if (strcasecmp(word, "version") == 0) {
2207 fprintf(stderr, "incorrect section name: %s\n", word);