/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | StringTokenizer.java | 117 public StringTokenizer(String str, UnicodeSet delim, boolean returndelims) in StringTokenizer() argument 119 this(str, delim, returndelims, false); in StringTokenizer() 145 … public StringTokenizer(String str, UnicodeSet delim, boolean returndelims, boolean coalescedelims) in StringTokenizer() argument 149 if (delim == null) { in StringTokenizer() 153 m_delimiters_ = delim; in StringTokenizer() 180 public StringTokenizer(String str, UnicodeSet delim) in StringTokenizer() argument 182 this(str, delim, false, false); in StringTokenizer() 199 public StringTokenizer(String str, String delim, boolean returndelims) in StringTokenizer() argument 201 this(str, delim, returndelims, false); // java default behavior in StringTokenizer() 227 public StringTokenizer(String str, String delim, boolean returndelims, boolean coalescedelims) in StringTokenizer() argument [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | StringTokenizer.java | 117 public StringTokenizer(String str, UnicodeSet delim, boolean returndelims) in StringTokenizer() argument 119 this(str, delim, returndelims, false); in StringTokenizer() 145 … public StringTokenizer(String str, UnicodeSet delim, boolean returndelims, boolean coalescedelims) in StringTokenizer() argument 149 if (delim == null) { in StringTokenizer() 153 m_delimiters_ = delim; in StringTokenizer() 181 public StringTokenizer(String str, UnicodeSet delim) in StringTokenizer() argument 183 this(str, delim, false, false); in StringTokenizer() 201 public StringTokenizer(String str, String delim, boolean returndelims) in StringTokenizer() argument 203 this(str, delim, returndelims, false); // java default behavior in StringTokenizer() 229 public StringTokenizer(String str, String delim, boolean returndelims, boolean coalescedelims) in StringTokenizer() argument [all …]
|
/external/iptables/extensions/ |
D | libebt_limit.c | 52 const char *delim; in parse_rate() local 56 delim = strchr(rate, '/'); in parse_rate() 57 if (delim) { in parse_rate() 58 if (strlen(delim+1) == 0) in parse_rate() 61 if (strncasecmp(delim+1, "second", strlen(delim+1)) == 0) in parse_rate() 63 else if (strncasecmp(delim+1, "minute", strlen(delim+1)) == 0) in parse_rate() 65 else if (strncasecmp(delim+1, "hour", strlen(delim+1)) == 0) in parse_rate() 67 else if (strncasecmp(delim+1, "day", strlen(delim+1)) == 0) in parse_rate()
|
D | libxt_limit.c | 46 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()
|
/external/python/cpython2/Modules/ |
D | getpath.c | 248 char *delim; in search_for_prefix() local 250 delim = strchr(prefix, DELIM); in search_for_prefix() 251 if (delim) in search_for_prefix() 252 *delim = '\0'; in search_for_prefix() 306 char *delim; in search_for_exec_prefix() local 307 delim = strchr(home, DELIM); in search_for_exec_prefix() 308 if (delim) in search_for_exec_prefix() 309 strncpy(exec_prefix, delim+1, MAXPATHLEN); in search_for_exec_prefix() 415 char *delim = strchr(path, DELIM); in calculate_path() local 417 if (delim) { in calculate_path() [all …]
|
/external/libcxx/test/std/strings/string.view/string.view.nonmem/ |
D | quoted.pass.cpp | 58 void round_trip_d ( const char *p, char delim ) { in round_trip_d() argument 62 ss << std::quoted(sv, delim); in round_trip_d() 64 ss >> std::quoted(s, delim); in round_trip_d() 80 std::string quote ( const char *p, char delim='"', char escape='\\' ) { in quote() argument 82 ss << std::quoted(p, delim, escape); in quote() 88 std::string unquote ( const char *p, char delim='"', char escape='\\' ) { in unquote() argument 92 ss >> std::quoted(s, delim, escape); in unquote() 123 void round_trip_d ( const wchar_t *p, wchar_t delim ) { in round_trip_d() argument 127 ss << std::quoted(sv, delim); in round_trip_d() 129 ss >> std::quoted(s, delim); in round_trip_d() [all …]
|
/external/libcxx/test/std/experimental/string.view/string.view.nonmem/ |
D | quoted.pass.cpp | 58 void round_trip_d ( const char *p, char delim ) { in round_trip_d() argument 62 ss << std::quoted(sv, delim); in round_trip_d() 64 ss >> std::quoted(s, delim); in round_trip_d() 80 std::string quote ( const char *p, char delim='"', char escape='\\' ) { in quote() argument 82 ss << std::quoted(p, delim, escape); in quote() 88 std::string unquote ( const char *p, char delim='"', char escape='\\' ) { in unquote() argument 92 ss >> std::quoted(s, delim, escape); in unquote() 123 void round_trip_d ( const wchar_t *p, wchar_t delim ) { in round_trip_d() argument 127 ss << std::quoted(sv, delim); in round_trip_d() 129 ss >> std::quoted(s, delim); in round_trip_d() [all …]
|
/external/python/cpython2/Lib/ |
D | csv.py | 256 delim = reduce(lambda a, b, delims = delims: 258 skipinitialspace = delims[delim] == spaces 259 if delim == '\n': # most likely a file with a single column 260 delim = '' 263 delim = '' 270 {'delim':re.escape(delim), 'quote':quotechar}, re.MULTILINE) 279 return (quotechar, doublequote, delim, skipinitialspace) 356 delim = delims.keys()[0] 357 skipinitialspace = (data[0].count(delim) == 358 data[0].count("%c " % delim)) [all …]
|
/external/selinux/mcstrans/src/ |
D | mls_level.c | 7 char delim; in mls_level_from_string() local 22 delim = *p; in mls_level_from_string() 23 if (delim != 0) in mls_level_from_string() 30 if (delim == ':') { in mls_level_from_string() 36 delim = *p; in mls_level_from_string() 37 if (delim != 0) in mls_level_from_string() 65 if (delim != ',') in mls_level_from_string()
|
/external/toybox/toys/posix/ |
D | cut.c | 31 char *delim; 129 char *buff, *pfield = 0, *delimiter = TT.delim; in do_fcut() 251 if(TT.delim[0] && TT.delim[1]) in cut_main() 253 delimiter = TT.delim[0]; in cut_main() 257 TT.delim = xzalloc(2); in cut_main() 258 TT.delim[0] = delimiter; in cut_main() 272 free(TT.delim); in cut_main() 273 TT.delim = NULL; in cut_main()
|
D | sed.c | 656 static char *unescape_delimited_string(char **pstr, char *delim) in unescape_delimited_string() argument 662 if (!delim || !*delim) { in unescape_delimited_string() 666 if (delim) *delim = d; in unescape_delimited_string() 667 } else d = *delim; in unescape_delimited_string() 668 to = delim = xmalloc(strlen(*pstr)+1); in unescape_delimited_string() 714 return delim; in unescape_delimited_string() 814 char *end, delim = 0; in parse_pattern() local 824 if (!(TT.remember = unescape_delimited_string(&line, &delim))) in parse_pattern() 829 command->hit = delim; in parse_pattern() 886 int fd, delim; in parse_pattern() local [all …]
|
/external/jline/src/src/main/java/jline/ |
D | ArgumentCompletor.java | 57 final ArgumentDelimiter delim; field in ArgumentCompletor 100 final ArgumentDelimiter delim) { in ArgumentCompletor() argument 103 }, delim); in ArgumentCompletor() 114 final ArgumentDelimiter delim) { in ArgumentCompletor() argument 116 this.delim = delim; in ArgumentCompletor() 137 ArgumentList list = delim.delimit(buffer, cursor); in complete() 191 if ((cursor != buffer.length()) && delim.isDelimiter(buffer, cursor)) { in complete() 196 && delim.isDelimiter(val, val.length() - 1)) { in complete()
|
/external/bison/src/ |
D | location.c | 221 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/ |
D | pkgtypes.c | 29 const char *pkg_writeCharListWrap(FileStream *s, CharList *l, const char *delim, const char *brk, i… in pkg_writeCharListWrap() argument 61 if(l->next && delim) in pkg_writeCharListWrap() 67 T_FileStream_write(s, delim, (int32_t)uprv_strlen(delim)); in pkg_writeCharListWrap() 75 const char *pkg_writeCharList(FileStream *s, CharList *l, const char *delim, int32_t quote) in pkg_writeCharList() argument 109 if(l->next && delim) in pkg_writeCharList() 111 T_FileStream_write(s, delim, (int32_t)uprv_strlen(delim)); in pkg_writeCharList()
|
/external/python/cpython2/PC/os2vacpp/ |
D | getpathp.c | 271 char *delim = strchr(path, DELIM); in get_progpath() local 273 if (delim) { in get_progpath() 274 int len = delim - path; in get_progpath() 285 if (!delim) { in get_progpath() 289 path = delim + 1; in get_progpath() 328 char *delim; in calculate_path() local 334 delim = strchr(prefix, DELIM); in calculate_path() 335 if (delim) { in calculate_path() 336 *delim = '\0'; in calculate_path() 337 strcpy(exec_prefix, delim+1); in calculate_path()
|
/external/selinux/libsepol/src/ |
D | util.c | 201 static inline int tokenize_str(char delim, char **str, char **ptr, size_t *len) in tokenize_str() argument 207 if (isspace(delim) && isspace(**ptr)) { in tokenize_str() 210 } else if (!isspace(delim) && **ptr == delim) { in tokenize_str() 232 while (**ptr != '\0' && isspace(delim) && isspace(**ptr)) { in tokenize_str() 253 int hidden tokenize(char *line_buf, char delim, int num_args, ...) in tokenize() argument 278 rc = tokenize_str(delim, arg, &buf_p, &arg_len); in tokenize()
|
/external/selinux/libsemanage/src/ |
D | users_base_file.c | 106 char delim; in user_base_parse() local 119 delim = *(info->ptr); in user_base_parse() 125 if (delim && !isspace(delim)) { in user_base_parse() 126 if (islist && delim == '}') in user_base_parse() 128 else if (!islist && delim == ';') in user_base_parse()
|
D | utilities.c | 33 char *semanage_findval(const char *file, const char *var, const char *delim) in semanage_findval() argument 48 retval = semanage_split(buff, delim); in semanage_findval() 88 char *semanage_split(const char *str, const char *delim) in semanage_split() argument 94 if (!delim || !(*delim)) in semanage_split() 97 retval = strstr(str, delim); in semanage_split() 101 return strdup(retval + strlen(delim)); in semanage_split()
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | Timer.cpp | 378 const char *TimerGroup::printJSONValues(raw_ostream &OS, const char *delim) { in printJSONValues() argument 381 OS << delim; in printJSONValues() 382 delim = ",\n"; in printJSONValues() 386 OS << delim; in printJSONValues() 388 OS << delim; in printJSONValues() 392 return delim; in printJSONValues() 395 const char *TimerGroup::printAllJSONValues(raw_ostream &OS, const char *delim) { in printAllJSONValues() argument 398 delim = TG->printJSONValues(OS, delim); in printAllJSONValues() 399 return delim; in printAllJSONValues()
|
/external/minijail/ |
D | util.c | 220 char *tokenize(char **stringp, const char *delim) in tokenize() argument 232 if (delim == NULL || *delim == '\0') { in tokenize() 240 found = strstr(*stringp, delim); in tokenize() 256 *stringp = found + strlen(delim); in tokenize() 264 *stringp += strlen(delim); in tokenize()
|
/external/toybox/toys/other/ |
D | printenv.c | 25 char delim = '\n'; in printenv_main() local 27 if (toys.optflags) delim = 0; in printenv_main() 38 xprintf("%s%c", out, delim); in printenv_main()
|
/external/libpcap/missing/ |
D | strtok_r.c | 44 pcap_strtok_r(char *s, const char *delim, char **last) in pcap_strtok_r() argument 57 for (spanp = (char *)delim; (sc = *spanp++) != 0;) { in pcap_strtok_r() 74 spanp = (char *)delim; in pcap_strtok_r()
|
/external/libnetfilter_conntrack/src/expect/ |
D | snprintf_default.c | 47 const char *delim = ""; in __snprintf_expect_default() local 102 delim = ","; in __snprintf_expect_default() 105 ret = snprintf(buf+offset, len, "%sINACTIVE", delim); in __snprintf_expect_default() 107 delim = ","; in __snprintf_expect_default() 110 ret = snprintf(buf+offset, len, "%sUSERSPACE", delim); in __snprintf_expect_default()
|
/external/libcxx/test/std/input.output/iostream.format/quoted.manip/ |
D | quoted.pass.cpp | 67 void round_trip_d ( const CharT *p, char delim ) { in round_trip_d() argument 69 CharT d(delim); in round_trip_d() 90 std::basic_string<CharT, Traits> quote ( const CharT *p, char delim='"', char escape='\\' ) { in quote() argument 92 CharT d(delim); in quote() 101 std::basic_string<CharT, Traits> unquote ( const CharT *p, char delim='"', char escape='\\' ) { in unquote() argument 105 CharT d(delim); in unquote()
|
/external/protobuf/src/google/protobuf/stubs/ |
D | strutil.h | 213 LIBPROTOBUF_EXPORT void SplitStringUsing(const string& full, const char* delim, 225 const char* delim, 233 const string& full, const char* delim, bool skip_empty = true) { 236 SplitStringUsing(full, delim, &result); 238 SplitStringAllowEmpty(full, delim, &result); 252 const char* delim, string* result); 255 const char* delim) { in JoinStrings() argument 257 JoinStrings(components, delim, &result); in JoinStrings() 757 const char* delim, string* result) { in Join() argument 760 result->append(delim); in Join() [all …]
|