Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/dialog/
H A Drc.c233 memcpy(tempstr, str + 1, have); in str_to_attr()
234 tempstr[have] = '\0'; in str_to_attr()
240 i = skip_whitespace(tempstr, i); in str_to_attr()
241 if (tempstr[i] == '\0') in str_to_attr()
246 while (!isblank(UCH(tempstr[i])) && tempstr[i] != ',' in str_to_attr()
247 && tempstr[i] != '\0') in str_to_attr()
250 if (tempstr[i] == '\0') in str_to_attr()
253 tempstr[i++] = '\0'; in str_to_attr()
257 if (tempstr[i] != ',') in str_to_attr()
277 i = skip_whitespace(tempstr, i); in str_to_attr()
[all …]
/freebsd-13.1/bin/ps/
H A Dkeyword.c267 char *tempstr, *tempstr1; in parsefmt() local
270 tempstr1 = tempstr = strdup(p); in parsefmt()
271 while (tempstr && *tempstr) { in parsefmt()
281 if (tempstr[strcspn(tempstr, "="FMTSEP)] != '=') in parsefmt()
282 while ((cp = strsep(&tempstr, FMTSEP)) != NULL && in parsefmt()
286 cp = tempstr; in parsefmt()
287 tempstr = NULL; in parsefmt()
/freebsd-13.1/usr.bin/systat/
H A Ddevs.c220 char **tempstr, *tmpstr, *tmpstr1; in dsmatchselect() local
236 for (tempstr = tstr, num_args = 0; in dsmatchselect()
237 (*tempstr = strsep(&tmpstr1, "|")) != NULL && (num_args < 100); in dsmatchselect()
239 if (**tempstr != '\0') in dsmatchselect()
240 if (++tempstr >= &tstr[100]) in dsmatchselect()
/freebsd-13.1/usr.sbin/lpr/common_source/
H A Dcommon.c467 char tempstr[TIMESTR_SIZE]; in lpd_gettime() local
490 strftime(tempstr, TIMESTR_SIZE, LPD_TIMESTAMP_PATTERN, in lpd_gettime()
501 destp = strrchr(tempstr, ':'); in lpd_gettime()
511 snprintf(destp, (destp - tempstr), "%+03d%02d", in lpd_gettime()
522 strlcpy(strp, tempstr, strsize); in lpd_gettime()
/freebsd-13.1/lib/libdevstat/
H A Ddevstat.c1039 char **tempstr; in devstat_buildmatch() local
1053 for (tempstr = tstr, num_args = 0; in devstat_buildmatch()
1054 (*tempstr = strsep(&match_str, ",")) != NULL && (num_args < 5);) in devstat_buildmatch()
1055 if (**tempstr != '\0') { in devstat_buildmatch()
1057 if (++tempstr >= &tstr[5]) in devstat_buildmatch()