Lines Matching refs:toks
154 const char *const toks[] = { "manpath", "output" }; in manconf_file() local
178 for (tok = 0; tok < sizeof(toks)/sizeof(toks[0]); tok++) { in manconf_file()
179 toklen = strlen(toks[tok]); in manconf_file()
182 strncmp(cp, toks[tok], toklen) == 0) { in manconf_file()
214 const char *const toks[] = { in manconf_output() local
223 const size_t ntoks = sizeof(toks) / sizeof(toks[0]); in manconf_output()
230 len = strlen(toks[tok]); in manconf_output()
231 if (strncmp(cp, toks[tok], len) == 0 && in manconf_output()
243 mandoc_msg(MANDOCERR_BADVAL_MISS, 0, 0, "-O %s=?", toks[tok]); in manconf_output()
247 mandoc_msg(MANDOCERR_BADVAL, 0, 0, "-O %s=%s", toks[tok], cp); in manconf_output()
348 "-O %s=%s: already set to %s", toks[tok], cp, oldval); in manconf_output()