Searched refs:tempstr (Results 1 - 8 of 8) sorted by relevance

/freebsd-9.3-release/gnu/lib/libodialog/
H A Drc.c237 unsigned char tempstr[MAX_LEN+1], *part; local
243 strcpy(tempstr, str + 1);
244 lastch(tempstr) = '\0';
251 while (whitespace(tempstr[i]) && tempstr[i] != '\0') i++;
252 if (tempstr[i] == '\0')
254 part = tempstr + i; /* set 'part' to start of fg/bg string */
257 while(!whitespace(tempstr[i]) && tempstr[i] != ',' && tempstr[
[all...]
H A Dkernel.c189 unsigned char tempstr[MAX_LEN+1], *word, *tempptr, *tempptr1; local
195 strncpy(tempstr, prompt, MAX_LEN);
196 tempstr[MAX_LEN] = '\0';
197 if ((!rawmode && strstr(tempstr, "\\n") != NULL) ||
198 (strchr(tempstr, '\n') != NULL)) { /* Prompt contains "\n" or '\n' */
199 word = tempstr;
258 else if (center && strlen(tempstr) <= width-x*2) { /* If prompt is short */
259 wmove(win, cur_y, (width - strlen(tempstr)) / 2);
260 waddstr(win, tempstr);
262 else if (!center && strlen(tempstr) <
[all...]
/freebsd-9.3-release/bin/ps/
H A Dkeyword.c199 char *tempstr, *tempstr1; local
202 tempstr1 = tempstr = strdup(p);
203 while (tempstr && *tempstr) {
213 if (tempstr[strcspn(tempstr, "="FMTSEP)] != '=')
214 while ((cp = strsep(&tempstr, FMTSEP)) != NULL &&
218 cp = tempstr;
219 tempstr = NULL;
/freebsd-9.3-release/usr.bin/systat/
H A Ddevs.c188 char **tempstr, *tmpstr, *tmpstr1; local
199 for (tempstr = tstr, num_args = 0;
200 (*tempstr = strsep(&tmpstr1, "|")) != NULL && (num_args < 100);
202 if (**tempstr != '\0')
203 if (++tempstr >= &tstr[100])
/freebsd-9.3-release/usr.sbin/lpr/common_source/
H A Dcommon.c464 char tempstr[TIMESTR_SIZE]; local
487 strftime(tempstr, TIMESTR_SIZE, LPD_TIMESTAMP_PATTERN,
498 destp = strrchr(tempstr, ':');
508 snprintf(destp, (destp - tempstr), "%+03d%02d",
519 strlcpy(strp, tempstr, strsize);
/freebsd-9.3-release/lib/libdevstat/
H A Ddevstat.c1002 char **tempstr; local
1016 for (tempstr = tstr, num_args = 0;
1017 (*tempstr = strsep(&match_str, ",")) != NULL && (num_args < 5);)
1018 if (**tempstr != '\0') {
1020 if (++tempstr >= &tstr[5])
/freebsd-9.3-release/contrib/gdb/gdb/
H A Dexpprint.c75 char *tempstr = NULL; local
252 tempstr = alloca (nargs);
265 tempstr[tem++] =
273 LA_PRINT_STRING (stream, tempstr, nargs - 1, 1, 0);
/freebsd-9.3-release/sys/contrib/octeon-sdk/
H A Dcvmx-debug.c694 char tempstr[3] = {0, 0, 0}; local
695 memcpy (tempstr, &value[i * 2], 2);
697 n = sscanf(tempstr, "%2x", &c);

Completed in 183 milliseconds