Lines Matching refs:word
1013 char *word;
1017 word = nsu_strsep(cmdlinep, " \t\r\n");
1018 if (word == NULL || *word == 0) {
1030 isc_buffer_init(&source, word, strlen(word));
1031 isc_buffer_add(&source, strlen(word));
1098 char *word;
1121 word = nsu_strsep(&cmdline, " \t\r\n");
1122 if (word == NULL || *word == 0) {
1126 region.base = word;
1127 region.length = strlen(word);
1131 fprintf(stderr, "class mismatch: %s\n", word);
1137 word = nsu_strsep(&cmdline, " \t\r\n");
1138 if (word == NULL || *word == 0) {
1142 region.base = word;
1143 region.length = strlen(word);
1146 fprintf(stderr, "invalid type: %s\n", word);
1153 fprintf(stderr, "invalid type: %s\n", word);
1207 char *word;
1211 word = nsu_strsep(&cmdline, " \t\r\n");
1212 if (word == NULL || *word == 0) {
1216 if (strcasecmp(word, "nxdomain") == 0) {
1219 } else if (strcasecmp(word, "yxdomain") == 0) {
1222 } else if (strcasecmp(word, "nxrrset") == 0) {
1225 } else if (strcasecmp(word, "yxrrset") == 0) {
1229 fprintf(stderr, "incorrect operation code: %s\n", word);
1237 char *word, *server;
1240 word = nsu_strsep(&cmdline, " \t\r\n");
1241 if (word == NULL || *word == 0) {
1245 server = word;
1247 word = nsu_strsep(&cmdline, " \t\r\n");
1248 if (word == NULL || *word == 0)
1252 port = strtol(word, &endp, 10);
1254 fprintf(stderr, "port '%s' is not numeric\n", word);
1258 "(1 to 65535)\n", word);
1276 char *word, *local;
1281 word = nsu_strsep(&cmdline, " \t\r\n");
1282 if (word == NULL || *word == 0) {
1286 local = word;
1288 word = nsu_strsep(&cmdline, " \t\r\n");
1289 if (word == NULL || *word == 0)
1293 port = strtol(word, &endp, 10);
1295 fprintf(stderr, "port '%s' is not numeric\n", word);
1299 "(1 to 65535)\n", word);
1398 char *word;
1402 word = nsu_strsep(&cmdline, " \t\r\n");
1403 if (word == NULL || *word == 0) {
1410 isc_buffer_init(&b, word, strlen(word));
1411 isc_buffer_add(&b, strlen(word));
1426 char *word;
1435 word = nsu_strsep(&cmdline, " \t\r\n");
1436 if (word == NULL || *word == 0)
1439 n = snprintf(buf, sizeof(buf), "@%s", word);
1454 char *word;
1458 word = nsu_strsep(&cmdline, " \t\r\n");
1459 if (word == NULL || *word == 0) {
1464 if (!strcasecmp(word, "none")) {
1470 result = isc_parse_uint32(&ttl, word, 10);
1476 word, TTL_MAX);
1487 char *word;
1492 word = nsu_strsep(&cmdline, " \t\r\n");
1493 if (word == NULL || *word == 0) {
1498 r.base = word;
1499 r.length = strlen(word);
1502 fprintf(stderr, "could not parse class name: %s\n", word);
1509 fprintf(stderr, "bad default class: %s\n", word);
1523 char *word;
1550 word = nsu_strsep(&cmdline, " \t\r\n");
1551 if (word == NULL || *word == 0) {
1564 result = isc_parse_uint32(&ttl, word, 10);
1573 fprintf(stderr, "ttl '%s': %s\n", word,
1583 word, TTL_MAX);
1590 word = nsu_strsep(&cmdline, " \t\r\n");
1592 if (word == NULL || *word == 0) {
1603 region.base = word;
1604 region.length = strlen(word);
1609 fprintf(stderr, "class mismatch: %s\n", word);
1615 word = nsu_strsep(&cmdline, " \t\r\n");
1616 if (word == NULL || *word == 0) {
1627 region.base = word;
1628 region.length = strlen(word);
1632 word, isc_result_totext(result));
1640 "%s\n", word, isc_result_totext(result));
1691 char *word;
1695 word = nsu_strsep(&cmdline, " \t\r\n");
1696 if (word == NULL || *word == 0) {
1700 if (strcasecmp(word, "delete") == 0)
1702 else if (strcasecmp(word, "add") == 0)
1705 fprintf(stderr, "incorrect operation code: %s\n", word);
1785 char *word;
1805 word = nsu_strsep(&cmdline, " \t\r\n");
1809 if (word == NULL || *word == 0)
1811 if (word[0] == ';')
1813 if (strcasecmp(word, "quit") == 0)
1815 if (strcasecmp(word, "prereq") == 0)
1817 if (strcasecmp(word, "update") == 0)
1819 if (strcasecmp(word, "server") == 0)
1821 if (strcasecmp(word, "local") == 0)
1823 if (strcasecmp(word, "zone") == 0)
1825 if (strcasecmp(word, "class") == 0)
1827 if (strcasecmp(word, "send") == 0)
1829 if (strcasecmp(word, "debug") == 0) {
1836 if (strcasecmp(word, "ttl") == 0)
1838 if (strcasecmp(word, "show") == 0) {
1842 if (strcasecmp(word, "answer") == 0) {
1847 if (strcasecmp(word, "key") == 0) {
1851 if (strcasecmp(word, "realm") == 0)
1853 if (strcasecmp(word, "gsstsig") == 0) {
1862 if (strcasecmp(word, "oldgsstsig") == 0) {
1871 if (strcasecmp(word, "help") == 0) {
1893 fprintf(stderr, "incorrect section name: %s\n", word);