Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/dialog/
H A Drc.c236 memcpy(tempstr, str + 1, have); in str_to_attr()
237 tempstr[have] = '\0'; in str_to_attr()
243 i = skip_whitespace(tempstr, i); in str_to_attr()
244 if (tempstr[i] == '\0') in str_to_attr()
249 while (!whitespace(tempstr[i]) && tempstr[i] != ',' in str_to_attr()
250 && tempstr[i] != '\0') in str_to_attr()
253 if (tempstr[i] == '\0') in str_to_attr()
256 tempstr[i++] = '\0'; in str_to_attr()
260 if (tempstr[i] != ',') in str_to_attr()
280 i = skip_whitespace(tempstr, i); in str_to_attr()
[all …]
/freebsd-12.1/bin/ps/
H A Dkeyword.c268 char *tempstr, *tempstr1; in parsefmt() local
271 tempstr1 = tempstr = strdup(p); in parsefmt()
272 while (tempstr && *tempstr) { in parsefmt()
282 if (tempstr[strcspn(tempstr, "="FMTSEP)] != '=') in parsefmt()
283 while ((cp = strsep(&tempstr, FMTSEP)) != NULL && in parsefmt()
287 cp = tempstr; in parsefmt()
288 tempstr = NULL; in parsefmt()
/freebsd-12.1/usr.bin/systat/
H A Ddevs.c190 char **tempstr, *tmpstr, *tmpstr1; in dsmatchselect() local
206 for (tempstr = tstr, num_args = 0; in dsmatchselect()
207 (*tempstr = strsep(&tmpstr1, "|")) != NULL && (num_args < 100); in dsmatchselect()
209 if (**tempstr != '\0') in dsmatchselect()
210 if (++tempstr >= &tstr[100]) in dsmatchselect()
/freebsd-12.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-12.1/lib/libdevstat/
H A Ddevstat.c1034 char **tempstr; in devstat_buildmatch() local
1048 for (tempstr = tstr, num_args = 0; in devstat_buildmatch()
1049 (*tempstr = strsep(&match_str, ",")) != NULL && (num_args < 5);) in devstat_buildmatch()
1050 if (**tempstr != '\0') { in devstat_buildmatch()
1052 if (++tempstr >= &tstr[5]) in devstat_buildmatch()
/freebsd-12.1/contrib/gdb/gdb/
H A Dexpprint.c75 char *tempstr = NULL; in print_subexp_standard() local
252 tempstr = alloca (nargs); in print_subexp_standard()
265 tempstr[tem++] = in print_subexp_standard()
273 LA_PRINT_STRING (stream, tempstr, nargs - 1, 1, 0); in print_subexp_standard()