/src/lib/libc/gen/ |
fmtmsg.c | 58 static const struct keyword { struct 59 size_t len; /* strlen(keyword) */ 60 const char * const keyword; member in struct:keyword 88 if (memcmp(str, keywords[i].keyword, keywords[i].len)
|
/src/usr.sbin/eeprom/ |
main.c | 178 * Separate the keyword from the argument (if any), find the keyword in 184 char *keyword, *arg; local in function:action 186 keyword = strdup(line); 187 if ((arg = strrchr(keyword, '=')) != NULL) 191 prep_action(keyword, arg); 194 of_action(keyword, arg); 198 op_action(keyword, arg); 201 ee_action(keyword, arg);
|
/src/usr.bin/indent/ |
lexi.c | 49 static const struct keyword { struct 330 return strcmp(key, ((const struct keyword *)elem)->name); 418 const struct keyword *kw = bsearch(token.s, keywords,
|
/src/usr.bin/mail/ |
cmd3.c | 1007 char *keyword = argv[0]; local in function:ifcmd 1024 if (strcasecmp(keyword, mtp->m_name) == 0) 1029 (void)printf("Unrecognized if-keyword: \"%s\"\n", keyword);
|
/src/usr.bin/unifdef/ |
unifdef.c | 200 * Sometimes when editing a keyword the replacement text is longer, so 231 static char *keyword; /* used for editing #elif's */ variable in typeref:typename:char * 447 static void Mpass (void) { strncpy(keyword, "if ", 4); Pelif(); } 531 strlcpy(keyword, replacement, tline + sizeof(tline) - keyword); 610 keyword = tline + (cp - tline); 612 kwlen = cp - keyword; 613 /* no way can we deal with a continuation inside a keyword */ 616 if (strlcmp("ifdef", keyword, kwlen) == 0 || 617 strlcmp("ifndef", keyword, kwlen) == 0) [all...] |
/src/usr.bin/nc/ |
netcat.c | 1551 const char *keyword; member in struct:map_tos::toskeywords 1584 for (t = toskeywords; t->keyword != NULL; t++) { 1585 if (strcmp(s, t->keyword) == 0) { 1599 const char *keyword; member in struct:map_tls::tlskeywords 1610 for (t = tlskeywords; t->keyword != NULL; t++) { 1611 if (strcmp(s, t->keyword) == 0) { 1755 "\t-T keyword TOS value or TLS options\n" 1779 "[-T keyword] [-o staplefile]\n"
|
/src/bin/csh/ |
func.c | 66 static int keyword(Char *); 745 } while ((d || (!(kwd = keyword(owp)) && c != ' ' 750 * if we have read a keyword ( "if", "switch" or "while" ) then we do not 785 * keyword(wp) determines if wp is one of the built-n functions if, 789 * in a test to see if the string forms a keyword. Then doword stops 794 keyword(Char *wp) function in typeref:typename:int
|
/src/usr.sbin/npf/npfctl/ |
npf_show.c | 324 * The main keyword mapping tables defining the syntax: 475 const char * keyword; member in struct:npfctl_print_filter_seg::__anon02366b2e0508 481 .keyword = "from", 487 .keyword = "to", 494 const char *kwd = refs[which].keyword; 524 const char * keyword; member in struct:npfctl_print_l2filter_seg::__anon02366b2e0608 529 .keyword = "from", 534 .keyword = "to", 540 const char *kwd = refs[which].keyword;
|
/src/sbin/route/ |
route.c | 146 warnx("botched keyword: %s", cp); 228 ch = keyword(*argv); 452 switch (key = keyword(1 + *argv)) { 1704 keyword(const char *cp) function in typeref:typename:int
|
/src/usr.bin/xlint/lint1/ |
lex.c | 71 * Define a keyword that cannot be overridden by identifiers. 77 * example, if the keyword '_Generic' were not defined, it would be interpreted 107 static const struct keyword { struct 354 register_keyword(const struct keyword *kw, bool leading, bool trailing) 387 is_keyword_known(const struct keyword *kw) 418 const struct keyword *kw = keywords + i; 468 * either be a keyword or a symbol of the type required by sym_kind (label, 1286 /* Read the potential keyword to keywd */ 1299 /* look for the keyword */ 1310 /* read the argument, if the keyword accepts one and there is one * [all...] |
/src/usr.sbin/syslogd/ |
syslogd.c | 3182 const char *keyword; member in struct:read_config_file::config_keywords 3249 if (copy_config_value(config_keywords[i].keyword, 3254 config_keywords[i].keyword, 3258 config_keywords[i].keyword)) 3269 config_keywords[i].keyword)) 3272 config_keywords[i].keyword)) 3354 if (!strncasecmp(p, config_keywords[i].keyword, 3355 strlen(config_keywords[i].keyword))) { 3357 "skip cline %zu with keyword %s\n", 3358 linenum, config_keywords[i].keyword); [all...] |