/external/ceres-solver/internal/ceres/ |
split.cc | 43 // The reserve is only implemented for the single character delim. 49 static int CalculateReserveForVector(const string& full, const char* delim) { 51 if (delim[0] != '\0' && delim[1] == '\0') { 52 // Optimize the common case where delim is a single character. 53 char c = delim[0]; 73 const char* delim, 75 // Optimize the common case where delim is a single character. 76 if (delim[0] != '\0' && delim[1] == '\0') [all...] |
split.h | 16 void SplitStringUsing(const string& full, const char* delim,
|
/bionic/libc/string/ |
strtok.c | 33 strtok(char *s, const char *delim) 37 return strtok_r(s, delim, &last); 41 strtok_r(char *s, const char *delim, char **last) 52 * Skip (span) leading delimiters (s += strspn(s, delim), sort of). 56 for (spanp = (char *)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 = (char *)delim;
|
strsep.c | 37 * strings separated by characters from delim. 40 * delim need not remain constant from call to call. 47 strsep(char **stringp, const char *delim) 58 spanp = delim;
|
/external/openfst/src/lib/ |
compat.cc | 32 void SplitToVector(char* full, const char* delim, vector<char*>* vec, 36 if ((p = strpbrk(full, delim)))
|
/external/chromium/net/tools/flip_server/ |
split.h | 17 const char* delim,
|
split.cc | 18 const char* delim, 22 if (full.empty() || delim[0] == '\0') 25 if (delim[1] == '\0') { 29 if (*e == delim[0]) { 48 for (const char *d = delim; *d != '\0'; ++d) {
|
/external/openssh/openbsd-compat/ |
strsep.c | 43 * strings separated by characters from delim. 46 * delim need not remain constant from call to call. 53 strsep(char **stringp, const char *delim) 64 spanp = delim;
|
/external/tcpdump/missing/ |
strsep.c | 49 * strings separated by characters from delim. 52 * delim need not remain constant from call to call. 59 strsep(char **stringp, const char *delim) 70 spanp = delim;
|
/bionic/libc/upstream-freebsd/lib/libc/string/ |
wcstok.c | 41 wcstok(wchar_t * __restrict s, const wchar_t * __restrict delim, 52 * Skip (span) leading delimiters (s += wcsspn(s, delim), sort of). 56 for (spanp = delim; (sc = *spanp++) != L'\0';) { 68 * Scan token (scan for delimiters: s += wcscspn(s, delim), sort of). 69 * Note that delim must have one NUL; we stop if we see that, too. 73 spanp = delim;
|
/external/iptables/extensions/ |
libxt_limit.c | 43 const char *delim; local 47 delim = strchr(rate, '/'); 48 if (delim) { 49 if (strlen(delim+1) == 0) 52 if (strncasecmp(delim+1, "second", strlen(delim+1)) == 0) 54 else if (strncasecmp(delim+1, "minute", strlen(delim+1)) == 0) 56 else if (strncasecmp(delim+1, "hour", strlen(delim+1)) == 0 [all...] |
/external/chromium/chrome/browser/chromeos/ |
name_value_pairs_parser.h | 35 const std::string& delim); 39 // <key><EQ><value><DELIM>[<key><EQ><value>][...] 43 const std::string& delim);
|
name_value_pairs_parser.cc | 34 const std::string& delim) { 36 StringTokenizer pair_toks(in_string, delim); 86 const std::string& delim) { 95 if (!ParseNameValuePairs(output_string, eq, delim)) {
|
/external/compiler-rt/lib/asan/ |
asanwrapper.cc | 15 void env_prepend(const char* name, const char* value, const char* delim) { 19 value_new += delim;
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_5/Expressions/ |
shell.js | 74 var delim = CHAR_COMMA + CHAR_SPACE; 97 ret += delim;
|
/sdk/emulator/opengl/host/tools/emugen/ |
strUtils.h | 25 std::string getNextToken(const std::string & str, size_t pos, size_t * last, const std::string & delim);
|
strUtils.cpp | 21 std::string getNextToken(const std::string & str, size_t pos, size_t * last, const std::string & delim) 28 *last = str.find_first_of(delim, pos);
|
/external/hyphenation/ |
csutil.h | 14 char * mystrsep(char ** sptr, const char delim);
|
/external/bison/src/ |
location.c | 221 char *delim = mbsrchr (loc_str, '.'); local 222 aver (delim); 223 *delim = '\0'; 224 bound->column = atoi (delim+1); 225 delim = mbsrchr (loc_str, ':'); 226 aver (delim); 227 *delim = '\0'; 228 bound->line = atoi (delim+1);
|
/external/icu4c/tools/pkgdata/ |
pkgtypes.c | 27 const char *pkg_writeCharListWrap(FileStream *s, CharList *l, const char *delim, const char *brk, int32_t quote) 59 if(l->next && delim) 65 T_FileStream_write(s, delim, (int32_t)uprv_strlen(delim)); 73 const char *pkg_writeCharList(FileStream *s, CharList *l, const char *delim, int32_t quote) 107 if(l->next && delim) 109 T_FileStream_write(s, delim, (int32_t)uprv_strlen(delim));
|
pkgtypes.h | 37 * write CharList 'l' into stream 's' using deliminter 'delim' (delim can be NULL). quoted: -1 remove, 0 as is, 1 add quotes 39 const char *pkg_writeCharList(FileStream *s, CharList *l, const char *delim, int32_t quoted); 44 const char *pkg_writeCharListWrap(FileStream *s, CharList *l, const char *delim, const char *brk, int32_t quoted);
|
/external/oprofile/daemon/ |
opd_events.c | 44 static char * copy_token(char ** c, char delim) 53 while (*tmp2 && *tmp2 != delim) 67 static unsigned long copy_ulong(char ** c, char delim) 70 char * str = copy_token(c, delim);
|
/device/lge/mako/camera/ |
QCameraParameters.cpp | 218 //ALOGE("Cannot find delimeter (%c) in str=%s", delim, str); 223 static int parseNDimVector(const char *str, int *num, int N, char delim = ',') 239 if(*end != delim && i < N-1) { 240 ALOGE("Cannot find delimeter '%c' in string \"%s\". end = %c", delim, str, *end); 255 static int parse_pair(const char *str, int *first, int *second, char delim, 262 if (*end != delim) { 263 ALOGE("Cannot find delimeter (%c) in str=%s", delim, str);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/export/ |
AbstractPropertiesFieldsPart.java | 149 String delim = null; local 151 delim = numLines > 0 ? doc.getLineDelimiter(0) : null; 155 if (delim == null || delim.length() == 0) { 156 delim = SdkConstants.CURRENT_PLATFORM == SdkConstants.PLATFORM_WINDOWS ? 219 line = delim + line;
|