Searched refs:tempstr (Results 1 – 5 of 5) sorted by relevance
| /freebsd-14.2/bin/ps/ |
| H A D | keyword.c | 265 char *tempstr, *tempstr1; in parsefmt() local 268 tempstr1 = tempstr = strdup(p); in parsefmt() 269 while (tempstr && *tempstr) { in parsefmt() 279 if (tempstr[strcspn(tempstr, "="FMTSEP)] != '=') in parsefmt() 280 while ((cp = strsep(&tempstr, FMTSEP)) != NULL && in parsefmt() 284 cp = tempstr; in parsefmt() 285 tempstr = NULL; in parsefmt()
|
| /freebsd-14.2/contrib/dialog/ |
| H A D | rc.c | 267 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-14.2/usr.bin/systat/ |
| H A D | devs.c | 217 char **tempstr, *tmpstr, *tmpstr1; in dsmatchselect() local 233 for (tempstr = tstr, num_args = 0; in dsmatchselect() 234 (*tempstr = strsep(&tmpstr1, "|")) != NULL && (num_args < 100); in dsmatchselect() 236 if (**tempstr != '\0') in dsmatchselect() 237 if (++tempstr >= &tstr[100]) in dsmatchselect()
|
| /freebsd-14.2/usr.sbin/lpr/common_source/ |
| H A D | common.c | 465 char tempstr[TIMESTR_SIZE]; in lpd_gettime() local 488 strftime(tempstr, TIMESTR_SIZE, LPD_TIMESTAMP_PATTERN, in lpd_gettime() 499 destp = strrchr(tempstr, ':'); in lpd_gettime() 509 snprintf(destp, (destp - tempstr), "%+03d%02d", in lpd_gettime() 520 strlcpy(strp, tempstr, strsize); in lpd_gettime()
|
| /freebsd-14.2/lib/libdevstat/ |
| H A D | devstat.c | 1037 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()
|