Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/less/
H A Dlesskey_parse.c456 static int findaction(char *actname, struct lesskey_tables *tables) in findaction() argument
461 if (strcmp(tables->currtable->names[i].cn_name, actname) == 0) in findaction()
463 parse_error("unknown action: \"%s\"", actname); in findaction()
476 char *actname; in parse_cmdline() local
505 actname = p; in parse_cmdline()
513 action = findaction(actname, tables); in parse_cmdline()
/freebsd-14.2/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()