Lines Matching refs:toks
84 static char **toks; variable
417 toks = (char **)emalloc(ntoks * sizeof (char *)); in cpc_strtoset()
424 toks[i] = NULL; in cpc_strtoset()
430 toks[x] = (char *)emalloc(TOK_SIZE); in cpc_strtoset()
431 (void) snprintf(toks[x], TOK_SIZE, "pic%d", i); in cpc_strtoset()
439 toks[x] = (char *)emalloc(TOK_SIZE); in cpc_strtoset()
440 (void) snprintf(toks[x], TOK_SIZE, "nouser%d", i); in cpc_strtoset()
448 toks[x] = (char *)emalloc(TOK_SIZE); in cpc_strtoset()
449 (void) snprintf(toks[x], TOK_SIZE, "sys%d", i); in cpc_strtoset()
458 toks[x] = (char *)emalloc(toklen); in cpc_strtoset()
459 (void) snprintf(toks[x], toklen, "%s%d", attrlist[j], in cpc_strtoset()
471 toks[x] = (char *)emalloc(toklen); in cpc_strtoset()
472 (void) snprintf(toks[x], toklen, "%s", attrlist[j]); in cpc_strtoset()
479 toks[x] = "nouser"; in cpc_strtoset()
485 toks[x] = "sys"; in cpc_strtoset()
491 toks[x] = NULL; in cpc_strtoset()
495 int idx = getsubopt(&opts, toks, &val); in cpc_strtoset()
585 free(toks[i]); in strtoset_cleanup()
586 free(toks); in strtoset_cleanup()