Home
last modified time | relevance | path

Searched refs:toks (Results 1 – 12 of 12) sorted by relevance

/freebsd-12-stable/contrib/mandoc/
Dmanpath.c166 const char *const toks[] = { "manpath", "output" }; in manconf_file() local
190 for (tok = 0; tok < sizeof(toks)/sizeof(toks[0]); tok++) { in manconf_file()
191 toklen = strlen(toks[tok]); in manconf_file()
194 strncmp(cp, toks[tok], toklen) == 0) { in manconf_file()
225 const char *const toks[] = { in manconf_output() local
234 const size_t ntoks = sizeof(toks) / sizeof(toks[0]); in manconf_output()
241 len = strlen(toks[tok]); in manconf_output()
242 if (strncmp(cp, toks[tok], len) == 0 && in manconf_output()
254 mandoc_msg(MANDOCERR_BADVAL_MISS, 0, 0, "-O %s=?", toks[tok]); in manconf_output()
258 mandoc_msg(MANDOCERR_BADVAL, 0, 0, "-O %s=%s", toks[tok], cp); in manconf_output()
[all …]
Dmain.c1191 const char *toks[11]; in woptions() local
1193 toks[0] = "stop"; in woptions()
1194 toks[1] = "all"; in woptions()
1195 toks[2] = "base"; in woptions()
1196 toks[3] = "style"; in woptions()
1197 toks[4] = "warning"; in woptions()
1198 toks[5] = "error"; in woptions()
1199 toks[6] = "unsupp"; in woptions()
1200 toks[7] = "fatal"; in woptions()
1201 toks[8] = "openbsd"; in woptions()
[all …]
/freebsd-12-stable/contrib/gcclibs/libcpp/
Ddirectives.c1354 cpp_token *toks = XNEWVEC (cpp_token, 2); in do_pragma() local
1355 toks[0] = ns_token; in do_pragma()
1356 toks[0].flags |= NO_EXPAND; in do_pragma()
1357 toks[1] = *token; in do_pragma()
1358 toks[1].flags |= NO_EXPAND; in do_pragma()
1359 _cpp_push_token_context (pfile, NULL, toks, 2); in do_pragma()
1506 cpp_token *toks; in destringize_and_run() local
1567 toks = XNEWVEC (cpp_token, maxcount); in destringize_and_run()
1568 toks[0] = pfile->directive_result; in destringize_and_run()
1575 toks = XRESIZEVEC (cpp_token, toks, maxcount); in destringize_and_run()
[all …]
/freebsd-12-stable/usr.sbin/pw/
Dpw_conf.c260 static char const toks[] = " \t\r\n,="; in read_userconfig() local
261 char *q = strtok(NULL, toks); in read_userconfig()
314 for (i = 0; i < _UC_MAXSHELLS && q != NULL; i++, q = strtok(NULL, toks)) in read_userconfig()
330 while ((q = strtok(NULL, toks)) != NULL) { in read_userconfig()
/freebsd-12-stable/crypto/heimdal/appl/ftp/ftp/
Dcmds.c1786 int i, toks[9], toknum = 0, match = 1; in domap() local
1789 toks[i] = 0; in domap()
1801 toks[toknum = *cp2 - '1']++; in domap()
1826 toks[toknum] = 0; in domap()
1850 else if (toks[toknum = *cp2 - '1']) { in domap()
1874 else if (toks[toknum = in domap()
1926 else if (toks[toknum = *cp2 - '1']) { in domap()
/freebsd-12-stable/contrib/libpcap/
Dgrammar.y208 str2tok(const char *str, const struct tok *toks) in str2tok() argument
212 for (i = 0; toks[i].s != NULL; i++) { in str2tok()
213 if (pcap_strcasecmp(toks[i].s, str) == 0) in str2tok()
214 return (toks[i].v); in str2tok()
/freebsd-12-stable/contrib/tnftp/src/
Dcmds.c2034 int i, toks[9], toknum = 0, match = 1; in domap() local
2037 toks[i] = 0; in domap()
2049 toks[toknum = *cp2 - '1']++; in domap()
2074 toks[toknum] = 0; in domap()
2099 else if (toks[toknum = *cp1 - '1']) { in domap()
2123 else if (toks[toknum = in domap()
2179 else if (toks[toknum = *cp1 - '1']) { in domap()
/freebsd-12-stable/contrib/llvm-project/clang/lib/Parse/
DParseCXXInlineMethods.cpp774 PP.EnterTokenStream(LP.toks(), /*DisableMacroExpansion=*/true, in ParseLexedPragma()
/freebsd-12-stable/contrib/binutils/opcodes/
DChangeLog-0203927 (opt, args, toks): Fix initializer warnings.
1669 (toks): Add "nim4" and "iiii" entries.
/freebsd-12-stable/contrib/amd/doc/
Dtexinfo.tex5488 % \the<toks register> to achieve this: TeX expands \the<toks> only once,
5489 % simply yielding the contents of <toks register>. (We also do this for
7446 % In that case, the hook is \the\toks N-1, and we simply set \toks N-1 to the
7489 {\noexpand\noexpand\noexpand\the\toks\the\paramno}%
7586 % value into a new token list register \toks#N
7643 \def\texinonouternewtoks{\alloc@ 5\toks \toksdef \@cclvi}
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/Parse/
DParser.h1310 const CachedTokens &toks() const { return Toks; } in toks() function
/freebsd-12-stable/contrib/gcc/doc/include/
Dtexinfo.tex4201 % \the<toks register> to achieve this: TeX expands \the<toks> only once,
4202 % simply yielding the contents of <toks register>. (We also do this for