Home
last modified time | relevance | path

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

/trueos/contrib/dialog/
HDrc.c216 char tempstr[MAX_LEN + 1], *part; in str_to_attr() local
236 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()
246 part = tempstr + i; /* set 'part' to start of fg/bg string */ 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()
255 else if (whitespace(tempstr[i])) { /* not yet ',' */ in str_to_attr()
[all …]
/trueos/bin/ps/
HDkeyword.c202 char *tempstr, *tempstr1; in parsefmt() local
205 tempstr1 = tempstr = strdup(p); in parsefmt()
206 while (tempstr && *tempstr) { in parsefmt()
216 if (tempstr[strcspn(tempstr, "="FMTSEP)] != '=') in parsefmt()
217 while ((cp = strsep(&tempstr, FMTSEP)) != NULL && in parsefmt()
221 cp = tempstr; in parsefmt()
222 tempstr = NULL; in parsefmt()
/trueos/usr.bin/systat/
HDdevs.c188 char **tempstr, *tmpstr, *tmpstr1; in dsmatchselect() local
199 for (tempstr = tstr, num_args = 0; in dsmatchselect()
200 (*tempstr = strsep(&tmpstr1, "|")) != NULL && (num_args < 100); in dsmatchselect()
202 if (**tempstr != '\0') in dsmatchselect()
203 if (++tempstr >= &tstr[100]) in dsmatchselect()
/trueos/usr.sbin/lpr/common_source/
HDcommon.c463 char tempstr[TIMESTR_SIZE]; in lpd_gettime() local
486 strftime(tempstr, TIMESTR_SIZE, LPD_TIMESTAMP_PATTERN, in lpd_gettime()
497 destp = strrchr(tempstr, ':'); in lpd_gettime()
507 snprintf(destp, (destp - tempstr), "%+03d%02d", in lpd_gettime()
518 strlcpy(strp, tempstr, strsize); in lpd_gettime()
/trueos/lib/libdevstat/
HDdevstat.c1027 char **tempstr; in devstat_buildmatch() local
1041 for (tempstr = tstr, num_args = 0; in devstat_buildmatch()
1042 (*tempstr = strsep(&match_str, ",")) != NULL && (num_args < 5);) in devstat_buildmatch()
1043 if (**tempstr != '\0') { in devstat_buildmatch()
1045 if (++tempstr >= &tstr[5]) in devstat_buildmatch()
/trueos/contrib/subversion/subversion/libsvn_delta/
HDsvndiff.c342 svn_string_t *tempstr = svn_string_create_empty(pool); in window_handler() local
345 tempstr->data = temp->data; in window_handler()
346 tempstr->len = temp->len; in window_handler()
347 newdata = tempstr; in window_handler()
/trueos/contrib/gdb/gdb/
HDexpprint.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()