Home
last modified time | relevance | path

Searched refs:delim (Results 1 – 25 of 168) sorted by relevance

1234567

/external/ceres-solver/internal/ceres/
Dsplit.cc51 static int CalculateReserveForVector(const string& full, const char* delim) { in CalculateReserveForVector() argument
53 if (delim[0] != '\0' && delim[1] == '\0') { in CalculateReserveForVector()
55 char c = delim[0]; in CalculateReserveForVector()
75 const char* delim, in SplitStringToIteratorUsing() argument
78 if (delim[0] != '\0' && delim[1] == '\0') { in SplitStringToIteratorUsing()
79 char c = delim[0]; in SplitStringToIteratorUsing()
97 begin_index = full.find_first_not_of(delim); in SplitStringToIteratorUsing()
99 end_index = full.find_first_of(delim, begin_index); in SplitStringToIteratorUsing()
105 begin_index = full.find_first_not_of(delim, end_index); in SplitStringToIteratorUsing()
110 const char* delim, in SplitStringUsing() argument
[all …]
/external/iptables/extensions/
Dlibxt_limit.c46 const char *delim; in parse_rate() local
50 delim = strchr(rate, '/'); in parse_rate()
51 if (delim) { in parse_rate()
52 if (strlen(delim+1) == 0) in parse_rate()
55 if (strncasecmp(delim+1, "second", strlen(delim+1)) == 0) in parse_rate()
57 else if (strncasecmp(delim+1, "minute", strlen(delim+1)) == 0) in parse_rate()
59 else if (strncasecmp(delim+1, "hour", strlen(delim+1)) == 0) in parse_rate()
61 else if (strncasecmp(delim+1, "day", strlen(delim+1)) == 0) in parse_rate()
Dlibxt_hashlimit.c232 const char *delim; in parse_rate() local
236 delim = strchr(rate, '/'); in parse_rate()
237 if (delim) { in parse_rate()
238 if (strlen(delim+1) == 0) in parse_rate()
241 if (strncasecmp(delim+1, "second", strlen(delim+1)) == 0) in parse_rate()
243 else if (strncasecmp(delim+1, "minute", strlen(delim+1)) == 0) in parse_rate()
245 else if (strncasecmp(delim+1, "hour", strlen(delim+1)) == 0) in parse_rate()
247 else if (strncasecmp(delim+1, "day", strlen(delim+1)) == 0) in parse_rate()
/external/libcxx/test/input.output/iostream.format/quoted.manip/
Dquoted.pass.cpp61 void round_trip_d ( const char *p, char delim ) { in round_trip_d() argument
63 ss << std::quoted(p, delim); in round_trip_d()
65 ss >> std::quoted(s, delim); in round_trip_d()
79 std::string quote ( const char *p, char delim='"', char escape='\\' ) { in quote() argument
81 ss << std::quoted(p, delim, escape); in quote()
87 std::string unquote ( const char *p, char delim='"', char escape='\\' ) { in unquote() argument
91 ss >> std::quoted(s, delim, escape); in unquote()
132 void round_trip_d ( const wchar_t *p, wchar_t delim ) { in round_trip_d() argument
134 ss << std::quoted(p, delim); in round_trip_d()
136 ss >> std::quoted(s, delim); in round_trip_d()
[all …]
/external/chromium_org/chromeos/system/
Dname_value_pairs_parser.cc60 const std::string& delim) { in ParseNameValuePairs() argument
61 return ParseNameValuePairsWithComments(in_string, eq, delim, ""); in ParseNameValuePairs()
67 const std::string& delim, in ParseNameValuePairsWithComments() argument
71 base::StringTokenizer pair_toks(in_string, delim); in ParseNameValuePairsWithComments()
123 const std::string& delim) { in GetNameValuePairsFromFile() argument
126 return ParseNameValuePairs(contents, eq, delim); in GetNameValuePairsFromFile()
138 const std::string& delim, in ParseNameValuePairsFromTool() argument
145 output_string, eq, delim, comment_delim); in ParseNameValuePairsFromTool()
Dname_value_pairs_parser.h44 const std::string& delim);
53 const std::string& delim);
62 const std::string& delim,
71 const std::string& delim,
/external/chromium_org/net/tools/balsa/
Dsplit.cc18 const char* delim, in SplitStringPieceToVector() argument
22 if (full.empty() || delim[0] == '\0') in SplitStringPieceToVector()
25 if (delim[1] == '\0') { in SplitStringPieceToVector()
29 if (*e == delim[0]) { in SplitStringPieceToVector()
48 for (const char *d = delim; *d != '\0'; ++d) { in SplitStringPieceToVector()
/external/bison/src/
Dlocation.c221 char *delim = mbsrchr (loc_str, '.'); in boundary_set_from_string() local
222 aver (delim); in boundary_set_from_string()
223 *delim = '\0'; in boundary_set_from_string()
224 bound->column = atoi (delim+1); in boundary_set_from_string()
225 delim = mbsrchr (loc_str, ':'); in boundary_set_from_string()
226 aver (delim); in boundary_set_from_string()
227 *delim = '\0'; in boundary_set_from_string()
228 bound->line = atoi (delim+1); in boundary_set_from_string()
/external/icu/icu4c/source/tools/pkgdata/
Dpkgtypes.c27 const char *pkg_writeCharListWrap(FileStream *s, CharList *l, const char *delim, const char *brk, i… in pkg_writeCharListWrap() argument
59 if(l->next && delim) in pkg_writeCharListWrap()
65 T_FileStream_write(s, delim, (int32_t)uprv_strlen(delim)); in pkg_writeCharListWrap()
73 const char *pkg_writeCharList(FileStream *s, CharList *l, const char *delim, int32_t quote) in pkg_writeCharList() argument
107 if(l->next && delim) in pkg_writeCharList()
109 T_FileStream_write(s, delim, (int32_t)uprv_strlen(delim)); in pkg_writeCharList()
/external/chromium_org/third_party/icu/source/tools/pkgdata/
Dpkgtypes.c27 const char *pkg_writeCharListWrap(FileStream *s, CharList *l, const char *delim, const char *brk, i… in pkg_writeCharListWrap() argument
59 if(l->next && delim) in pkg_writeCharListWrap()
65 T_FileStream_write(s, delim, (int32_t)uprv_strlen(delim)); in pkg_writeCharListWrap()
73 const char *pkg_writeCharList(FileStream *s, CharList *l, const char *delim, int32_t quote) in pkg_writeCharList() argument
107 if(l->next && delim) in pkg_writeCharList()
109 T_FileStream_write(s, delim, (int32_t)uprv_strlen(delim)); in pkg_writeCharList()
/external/chromium_org/third_party/webrtc/modules/video_coding/codecs/test_framework/
DplotBenchmark.m71 delim = strfind(tline, ','); variable
72 name = tline(1:delim(1)-1);
79 resolution = tline(delim(1)+1:delim(2)-1);
80 frameRate = tline(delim(2)+1:end);
83 delim = strfind(tline, ','); variable
84 bitrateLabel = tline(1:delim(1)-1);
85 bitrate = sscanf(tline(delim(1):end),',%f');
88 delim = strfind(tline, ','); variable
89 psnrLabel = tline(1:delim(1)-1);
90 psnr = sscanf(tline(delim(1):end),',%f');
[all …]
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/
Dstrsep.c56 yasm__strsep(char **stringp, const char *delim) in yasm__strsep() argument
59 return strsep(stringp, delim); in yasm__strsep()
70 spanp = delim; in yasm__strsep()
/external/chromium_org/third_party/protobuf/src/google/protobuf/stubs/
Dstrutil.cc153 const char* delim, in SplitStringToIteratorUsing() argument
156 if (delim[0] != '\0' && delim[1] == '\0') { in SplitStringToIteratorUsing()
157 char c = delim[0]; in SplitStringToIteratorUsing()
173 begin_index = full.find_first_not_of(delim); in SplitStringToIteratorUsing()
175 end_index = full.find_first_of(delim, begin_index); in SplitStringToIteratorUsing()
181 begin_index = full.find_first_not_of(delim, end_index); in SplitStringToIteratorUsing()
186 const char* delim, in SplitStringUsing() argument
189 SplitStringToIteratorUsing(full, delim, it); in SplitStringUsing()
206 const char* delim, in SplitStringToIteratorAllowEmpty() argument
213 end_index = full.find_first_of(delim, begin_index); in SplitStringToIteratorAllowEmpty()
[all …]
/external/protobuf/src/google/protobuf/stubs/
Dstrutil.cc153 const char* delim, in SplitStringToIteratorUsing() argument
156 if (delim[0] != '\0' && delim[1] == '\0') { in SplitStringToIteratorUsing()
157 char c = delim[0]; in SplitStringToIteratorUsing()
173 begin_index = full.find_first_not_of(delim); in SplitStringToIteratorUsing()
175 end_index = full.find_first_of(delim, begin_index); in SplitStringToIteratorUsing()
181 begin_index = full.find_first_not_of(delim, end_index); in SplitStringToIteratorUsing()
186 const char* delim, in SplitStringUsing() argument
189 SplitStringToIteratorUsing(full, delim, it); in SplitStringUsing()
201 const char* delim, in JoinStringsIterator() argument
205 int delim_length = strlen(delim); in JoinStringsIterator()
[all …]
/external/oprofile/daemon/
Dopd_events.c44 static char * copy_token(char ** c, char delim) in copy_token() argument
53 while (*tmp2 && *tmp2 != delim) in copy_token()
67 static unsigned long copy_ulong(char ** c, char delim) in copy_ulong() argument
70 char * str = copy_token(c, delim); in copy_ulong()
/external/chromium_org/third_party/sqlite/src/ext/fts2/
Dfts2_tokenizer1.c37 char delim[128]; /* flag ASCII delimiters */ member
55 return c<0x80 && t->delim[c]; in simpleDelim()
85 t->delim[ch] = 1; in simpleCreate()
91 t->delim[i] = !((i>='0' && i<='9') || (i>='A' && i<='Z') || in simpleCreate()
/external/chromium_org/third_party/sqlite/src/ext/fts1/
Dfts1_tokenizer1.c30 char delim[128]; /* flag ASCII delimiters */ member
48 return c<0x80 && t->delim[c]; in isDelim()
77 t->delim[ch] = 1; in simpleCreate()
83 t->delim[i] = !isalnum(i); in simpleCreate()
/external/chromium_org/third_party/sqlite/src/ext/fts3/
Dfts3_tokenizer1.c38 char delim[128]; /* flag ASCII delimiters */ member
53 return c<0x80 && t->delim[c]; in simpleDelim()
86 t->delim[ch] = 1; in simpleCreate()
92 t->delim[i] = !fts3_isalnum(i) ? -1 : 0; in simpleCreate()
/external/openfst/src/lib/
Dcompat.cc32 void SplitToVector(char* full, const char* delim, vector<char*>* vec, in SplitToVector() argument
36 if ((p = strpbrk(full, delim))) in SplitToVector()
/external/fio/lib/
Dstrsep.c3 char *strsep(char **stringp, const char *delim) in strsep() argument
16 spanp = delim; in strsep()
/external/tcpdump/missing/
Dstrsep.c59 strsep(char **stringp, const char *delim) in strsep() argument
70 spanp = delim; in strsep()
/external/qemu/distrib/sdl-1.2.15/src/cdrom/beos/
DSDL_syscdrom.cc169 char *cdpath, *delim; in SDL_SYS_CDInit() local
176 delim = SDL_strchr(SDLcdrom, ':'); in SDL_SYS_CDInit()
177 if ( delim ) { in SDL_SYS_CDInit()
178 *delim++ = '\0'; in SDL_SYS_CDInit()
183 if ( delim ) { in SDL_SYS_CDInit()
184 SDLcdrom = delim; in SDL_SYS_CDInit()
/external/qemu/distrib/sdl-1.2.15/src/cdrom/openbsd/
DSDL_syscdrom.c165 char *cdpath, *delim; in SDL_SYS_CDInit() local
172 delim = SDL_strchr(SDLcdrom, ':'); in SDL_SYS_CDInit()
173 if ( delim ) { in SDL_SYS_CDInit()
174 *delim++ = '\0'; in SDL_SYS_CDInit()
179 if ( delim ) { in SDL_SYS_CDInit()
180 SDLcdrom = delim; in SDL_SYS_CDInit()
/external/qemu/distrib/sdl-1.2.15/src/cdrom/freebsd/
DSDL_syscdrom.c156 char *cdpath, *delim; in SDL_SYS_CDInit() local
163 delim = SDL_strchr(SDLcdrom, ':'); in SDL_SYS_CDInit()
164 if ( delim ) { in SDL_SYS_CDInit()
165 *delim++ = '\0'; in SDL_SYS_CDInit()
170 if ( delim ) { in SDL_SYS_CDInit()
171 SDLcdrom = delim; in SDL_SYS_CDInit()
/external/libsepol/src/
Dmls.c333 char delim; in mls_context_to_sid() local
351 delim = *p; in mls_context_to_sid()
352 if (delim != 0) in mls_context_to_sid()
365 if (delim == ':') { in mls_context_to_sid()
371 delim = *p; in mls_context_to_sid()
372 if (delim != 0) in mls_context_to_sid()
419 if (delim != ',') in mls_context_to_sid()
423 if (delim == '-') { in mls_context_to_sid()
429 delim = *p; in mls_context_to_sid()
430 if (delim != 0) in mls_context_to_sid()

1234567