Home
last modified time | relevance | path

Searched refs:actname (Results 1 – 2 of 2) sorted by relevance

/src/contrib/less/
H A Dlesskey_parse.c503 static int findaction(char *actname, struct lesskey_tables *tables) in findaction() argument
508 if (strcmp(tables->currtable->names[i].cn_name, actname) == 0) in findaction()
510 parse_error("unknown action: \"%s\"", actname); in findaction()
523 char *actname; in parse_cmdline() local
552 actname = p; in parse_cmdline()
560 action = findaction(actname, tables); in parse_cmdline()
/src/usr.sbin/ppp/
H A Dfilter.c438 static const char * const actname[] = { " none ", "permit ", " deny " }; in filter_Action2Nam() local
444 } else if (act >= A_NONE && act < A_NONE + sizeof(actname)/sizeof(char *)) in filter_Action2Nam()
445 return actname[act - A_NONE]; in filter_Action2Nam()