Home
last modified time | relevance | path

Searched refs:tempstr (Results 1 – 5 of 5) sorted by relevance

/freebsd/bin/ps/
H A Dkeyword.c259 char *tempstr, *tempstr1; in parsefmt() local
262 tempstr1 = tempstr = strdup(p); in parsefmt()
263 while (tempstr && *tempstr) { in parsefmt()
273 if (tempstr[strcspn(tempstr, "="FMTSEP)] != '=') in parsefmt()
274 while ((cp = strsep(&tempstr, FMTSEP)) != NULL && in parsefmt()
278 cp = tempstr; in parsefmt()
279 tempstr = NULL; in parsefmt()
/freebsd/contrib/dialog/
H A Drc.c267 char tempstr[MAX_LEN + 1]; in str_to_attr() local
295 memcpy(tempstr, str + 1, have); in str_to_attr()
296 tempstr[have] = '\0'; in str_to_attr()
302 tokens[tok_count++] = &tempstr[i]; in str_to_attr()
304 while (tempstr[i] != '\0' && tempstr[i] != ',') in str_to_attr()
307 if (tempstr[i] == '\0') in str_to_attr()
310 tempstr[i++] = '\0'; in str_to_attr()
/freebsd/usr.bin/systat/
H A Ddevs.c214 char **tempstr, *tmpstr, *tmpstr1; in dsmatchselect() local
230 for (tempstr = tstr, num_args = 0; in dsmatchselect()
231 (*tempstr = strsep(&tmpstr1, "|")) != NULL && (num_args < 100); in dsmatchselect()
233 if (**tempstr != '\0') in dsmatchselect()
234 if (++tempstr >= &tstr[100]) in dsmatchselect()
/freebsd/usr.sbin/lpr/common_source/
H A Dcommon.c459 char tempstr[TIMESTR_SIZE]; in lpd_gettime() local
482 strftime(tempstr, TIMESTR_SIZE, LPD_TIMESTAMP_PATTERN, in lpd_gettime()
493 destp = strrchr(tempstr, ':'); in lpd_gettime()
503 snprintf(destp, (destp - tempstr), "%+03d%02d", in lpd_gettime()
514 strlcpy(strp, tempstr, strsize); in lpd_gettime()
/freebsd/lib/libdevstat/
H A Ddevstat.c1037 char **tempstr; in devstat_buildmatch() local
1051 for (tempstr = tstr, num_args = 0; in devstat_buildmatch()
1052 (*tempstr = strsep(&match_str, ",")) != NULL && (num_args < 5);) in devstat_buildmatch()
1053 if (**tempstr != '\0') { in devstat_buildmatch()
1055 if (++tempstr >= &tstr[5]) in devstat_buildmatch()