HomeSort by: relevance | last modified time | path
    Searched refs:delim (Results 1 - 25 of 110) sorted by relevancy

1 2 3 4 5

  /src/lib/libc/string/
strtok.c 45 strtok(char *s, const char *delim)
49 return strtok_r(s, delim, &lasts);
strtok.c 45 strtok(char *s, const char *delim)
49 return strtok_r(s, delim, &lasts);
strtok_r.c 51 strtok_r(char *s, const char *delim, char **lasts)
58 _DIAGASSERT(delim != NULL);
65 * Skip (span) leading delimiters (s += strspn(s, delim), sort of).
69 for (spanp = delim; (sc = *spanp++) != 0;) {
81 * Scan token (scan for delimiters: s += strcspn(s, delim), sort of).
82 * Note that delim must have one NUL; we stop if we see that, too.
86 spanp = delim;
wcstok.c 53 wcstok(wchar_t * __restrict s, const wchar_t * __restrict delim,
61 _DIAGASSERT(delim != NULL);
68 * Skip (span) leading delimiters (s += wcsspn(s, delim), sort of).
72 for (spanp = delim; (sc = *spanp++) != L'\0';) {
84 * Scan token (scan for delimiters: s += wcscspn(s, delim), sort of).
85 * Note that delim must have one NUL; we stop if we see that, too.
89 spanp = delim;
strtok_r.c 51 strtok_r(char *s, const char *delim, char **lasts)
58 _DIAGASSERT(delim != NULL);
65 * Skip (span) leading delimiters (s += strspn(s, delim), sort of).
69 for (spanp = delim; (sc = *spanp++) != 0;) {
81 * Scan token (scan for delimiters: s += strcspn(s, delim), sort of).
82 * Note that delim must have one NUL; we stop if we see that, too.
86 spanp = delim;
wcstok.c 53 wcstok(wchar_t * __restrict s, const wchar_t * __restrict delim,
61 _DIAGASSERT(delim != NULL);
68 * Skip (span) leading delimiters (s += wcsspn(s, delim), sort of).
72 for (spanp = delim; (sc = *spanp++) != L'\0';) {
84 * Scan token (scan for delimiters: s += wcscspn(s, delim), sort of).
85 * Note that delim must have one NUL; we stop if we see that, too.
89 spanp = delim;
stresep.c 52 * strings separated by characters from delim. If esc is not NUL, then
57 * delim need not remain constant from call to call.
64 stresep(char **stringp, const char *delim, int esc)
73 _DIAGASSERT(delim != NULL);
86 spanp = delim;
stresep.c 52 * strings separated by characters from delim. If esc is not NUL, then
57 * delim need not remain constant from call to call.
64 stresep(char **stringp, const char *delim, int esc)
73 _DIAGASSERT(delim != NULL);
86 spanp = delim;
  /src/common/lib/libc/string/
strsep.c 59 * strings separated by characters from delim.
62 * delim need not remain constant from call to call.
69 strsep(char **stringp, const char *delim)
77 _DIAGASSERT(delim != NULL);
83 spanp = delim;
strsep.c 59 * strings separated by characters from delim.
62 * delim need not remain constant from call to call.
69 strsep(char **stringp, const char *delim)
77 _DIAGASSERT(delim != NULL);
83 spanp = delim;
  /src/sys/arch/hpc/stand/libsa/
strtok.cpp 41 strtok(char *s, const char *delim)
52 * Skip (span) leading delimiters (s += strspn(s, delim), sort of).
56 for (spanp = delim; (sc = *spanp++) != 0;) {
68 * Scan token (scan for delimiters: s += strcspn(s, delim), sort of).
69 * Note that delim must have one NUL; we stop if we see that, too.
73 spanp = delim;
strtok.cpp 41 strtok(char *s, const char *delim)
52 * Skip (span) leading delimiters (s += strspn(s, delim), sort of).
56 for (spanp = delim; (sc = *spanp++) != 0;) {
68 * Scan token (scan for delimiters: s += strcspn(s, delim), sort of).
69 * Note that delim must have one NUL; we stop if we see that, too.
73 spanp = delim;
  /src/usr.bin/indent/
pr_comment.c 91 bool delim = false; // only relevant if may_wrap local in function:analyze_comment
115 delim = true;
117 delim = true;
147 *p_delim = delim;
152 copy_comment_start(bool may_wrap, bool *delim, int line_length)
161 if (*delim && fits_in_one_line(line_length))
162 *delim = false;
163 if (*delim) {
248 copy_comment_wrap_finish(int line_length, bool delim)
250 if (delim) {
343 bool may_wrap, delim; local in function:process_comment
    [all...]
pr_comment.c 91 bool delim = false; // only relevant if may_wrap local in function:analyze_comment
115 delim = true;
117 delim = true;
147 *p_delim = delim;
152 copy_comment_start(bool may_wrap, bool *delim, int line_length)
161 if (*delim && fits_in_one_line(line_length))
162 *delim = false;
163 if (*delim) {
248 copy_comment_wrap_finish(int line_length, bool delim)
250 if (delim) {
343 bool may_wrap, delim; local in function:process_comment
    [all...]
  /src/usr.bin/m4/
trace.c 176 char delim[3]; local in function:trace
179 delim[0] = LPAREN;
180 delim[1] = EOS;
182 fprintf(traceout, "%s%s%s%s", delim,
186 delim[0] = COMMA;
187 delim[1] = ' ';
188 delim[2] = EOS;
trace.c 176 char delim[3]; local in function:trace
179 delim[0] = LPAREN;
180 delim[1] = EOS;
182 fprintf(traceout, "%s%s%s%s", delim,
186 delim[0] = COMMA;
187 delim[1] = ' ';
188 delim[2] = EOS;
  /src/usr.bin/paste/
paste.c 61 static char *delim = dflt_delim; variable in typeref:typename:char *
73 delim = strdup(optarg);
74 delimcnt = tr(delim);
114 /* Start with the NUL at the end of 'delim' ... */
115 dp = delim + delimcnt;
134 if (dp >= delim + delimcnt)
135 dp = delim;
151 if (dp >= delim + delimcnt)
152 dp = delim;
176 for (cnt = 0, dp = delim;;) {
    [all...]
paste.c 61 static char *delim = dflt_delim; variable in typeref:typename:char *
73 delim = strdup(optarg);
74 delimcnt = tr(delim);
114 /* Start with the NUL at the end of 'delim' ... */
115 dp = delim + delimcnt;
134 if (dp >= delim + delimcnt)
135 dp = delim;
151 if (dp >= delim + delimcnt)
152 dp = delim;
176 for (cnt = 0, dp = delim;;) {
    [all...]
  /src/usr.bin/pr/
egetopt.c 77 static int delim; /* which option delimiter */ local in function:egetopt
96 delim = (int)*place;
138 return (delim);
153 if (delim == (int)'+') {
egetopt.c 77 static int delim; /* which option delimiter */ local in function:egetopt
96 delim = (int)*place;
138 return (delim);
153 if (delim == (int)'+') {
  /src/sys/dev/ir/
irframe.c 114 const char *delim; local in function:irframe_attach
134 delim = ":";
136 printf("%s SIR", delim);
137 delim = ",";
140 printf("%s MIR", delim);
141 delim = ",";
144 printf("%s FIR", delim);
145 delim = ",";
148 printf("%s VFIR", delim);
149 delim = ","
    [all...]
irframe.c 114 const char *delim; local in function:irframe_attach
134 delim = ":";
136 printf("%s SIR", delim);
137 delim = ",";
140 printf("%s MIR", delim);
141 delim = ",";
144 printf("%s FIR", delim);
145 delim = ",";
148 printf("%s VFIR", delim);
149 delim = ","
    [all...]
  /src/games/warp/
util.c 115 cpytill(char *to, const char *from, int delim)
118 if (*from == '\\' && from[1] == delim)
120 else if (*from == delim)
  /src/usr.bin/radioctl/
radioctl.c 504 const char *delim; local in function:print_vars
527 delim = "";
529 printf("%s stereo detect", delim), delim=",";
531 printf("%s signal detect", delim), delim=",";
533 printf("%s manageable mono/stereo", delim), delim=",";
535 printf("%s hardware search", delim), delim=","
    [all...]
  /src/tests/usr.bin/indent/
edge_cases.c 163 function join(delim, values)
171 result += delim;
174 return result.substr(delim.length);

Completed in 29 milliseconds

1 2 3 4 5