/external/ceres-solver/internal/ceres/ |
D | split.cc | 51 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/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | StringTokenizer.java | 122 public StringTokenizer(String str, UnicodeSet delim, boolean returndelims) in StringTokenizer() argument 124 this(str, delim, returndelims, false); in StringTokenizer() 150 … public StringTokenizer(String str, UnicodeSet delim, boolean returndelims, boolean coalescedelims) in StringTokenizer() argument 154 if (delim == null) { in StringTokenizer() 158 m_delimiters_ = delim; in StringTokenizer() 186 public StringTokenizer(String str, UnicodeSet delim) in StringTokenizer() argument 188 this(str, delim, false, false); in StringTokenizer() 206 public StringTokenizer(String str, String delim, boolean returndelims) in StringTokenizer() argument 208 this(str, delim, returndelims, false); // java default behavior in StringTokenizer() 234 public StringTokenizer(String str, String delim, boolean returndelims, boolean coalescedelims) in StringTokenizer() argument [all …]
|
/external/iptables/extensions/ |
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()
|
D | libxt_hashlimit.c | 232 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/std/experimental/string.view/string.view.nonmem/ |
D | quoted.pass.cpp | 56 void round_trip_d ( const char *p, char delim ) { in round_trip_d() argument 60 ss << std::quoted(sv, delim); in round_trip_d() 62 ss >> std::quoted(s, delim); in round_trip_d() 78 std::string quote ( const char *p, char delim='"', char escape='\\' ) { in quote() argument 80 ss << std::quoted(p, delim, escape); in quote() 86 std::string unquote ( const char *p, char delim='"', char escape='\\' ) { in unquote() argument 90 ss >> std::quoted(s, delim, escape); in unquote() 121 void round_trip_d ( const wchar_t *p, wchar_t delim ) { in round_trip_d() argument 125 ss << std::quoted(sv, delim); in round_trip_d() 127 ss >> std::quoted(s, delim); in round_trip_d() [all …]
|
/external/libcxx/test/std/input.output/iostream.format/quoted.manip/ |
D | quoted.pass.cpp | 61 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/jetty/src/java/org/eclipse/jetty/util/ |
D | QuotedStringTokenizer.java | 55 String delim, in QuotedStringTokenizer() argument 61 if (delim!=null) in QuotedStringTokenizer() 62 _delim=delim; in QuotedStringTokenizer() 75 String delim, in QuotedStringTokenizer() argument 78 this(str,delim,returnDelimiters,false); in QuotedStringTokenizer() 83 String delim) in QuotedStringTokenizer() argument 85 this(str,delim,false,false); in QuotedStringTokenizer() 237 public String nextToken(String delim) in nextToken() argument 240 _delim=delim; in nextToken() 281 public static String quoteIfNeeded(String s, String delim) in quoteIfNeeded() argument [all …]
|
/external/selinux/policycoreutils/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 | 29 char *delim; 127 char *buff, *pfield = 0, *delimiter = TT.delim; in do_fcut() 249 if(TT.delim[0] && TT.delim[1]) in cut_main() 251 delimiter = TT.delim[0]; in cut_main() 255 TT.delim = xzalloc(2); in cut_main() 256 TT.delim[0] = delimiter; in cut_main() 270 free(TT.delim); in cut_main() 271 TT.delim = NULL; in cut_main()
|
D | sed.c | 703 static char *unescape_delimited_string(char **pstr, char *delim, int regex) in unescape_delimited_string() argument 708 if (!delim || !*delim) { in unescape_delimited_string() 712 if (delim) *delim = d; in unescape_delimited_string() 713 } else d = *delim; in unescape_delimited_string() 714 to = delim = xmalloc(strlen(*pstr)+1); in unescape_delimited_string() 745 return delim; in unescape_delimited_string() 838 char *fiona, delim = 0; in jewel_of_judgement() local 847 if (!(TT.remember = unescape_delimited_string(&line, &delim, 1))) in jewel_of_judgement() 852 corwin->hit = delim; in jewel_of_judgement() 909 int fd, delim; in jewel_of_judgement() local [all …]
|
D | xargs.c | 49 char delim; 62 if (TT.delim) { 113 if (!(toys.optflags & FLAG_0)) TT.delim = '\n'; in xargs_main() 136 l = getdelim(&data, (size_t *)&l, TT.delim, stdin); in xargs_main()
|
D | paste.c | 26 char *delim; in GLOBALS() argument 37 if (!(toys.optflags & FLAG_d)) TT.delim = "\t"; 38 for (p = TT.delim; *p; p++, buf++, ndelim++) {
|
/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/protobuf/src/google/protobuf/stubs/ |
D | strutil.h | 175 LIBPROTOBUF_EXPORT void SplitStringUsing(const string& full, const char* delim, 187 const char* delim, 195 const string& full, const char* delim, bool skip_empty = true) { 198 SplitStringUsing(full, delim, &result); 200 SplitStringAllowEmpty(full, delim, &result); 214 const char* delim, string* result); 217 const char* delim) { in JoinStrings() argument 219 JoinStrings(components, delim, &result); in JoinStrings() 536 const char* delim, string* result) { in Join() argument 539 result->append(delim); in Join() [all …]
|
D | strutil.cc | 153 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/icu/icu4c/source/tools/pkgdata/ |
D | pkgtypes.c | 27 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/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 | 34 char *semanage_findval(const char *file, const char *var, const char *delim) in semanage_findval() argument 49 retval = semanage_split(buff, delim); in semanage_findval() 106 char *semanage_split(const char *str, const char *delim) in semanage_split() argument 114 if (!delim || !(*delim)) in semanage_split() 118 ustr_split_cstr(ustr, &off, delim, USTR_NULL, USTR_FLAG_SPLIT_DEF); in semanage_split()
|
/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/selinux/libsepol/src/ |
D | mls.c | 333 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()
|
/external/openfst/src/lib/ |
D | compat.cc | 32 void SplitToVector(char* full, const char* delim, vector<char*>* vec, in SplitToVector() argument 36 if ((p = strpbrk(full, delim))) in SplitToVector()
|
/external/openssh/openbsd-compat/ |
D | strsep.c | 53 strsep(char **stringp, const char *delim) in strsep() argument 64 spanp = delim; in strsep()
|
/external/fio/lib/ |
D | strsep.c | 3 char *strsep(char **stringp, const char *delim) in strsep() argument 16 spanp = delim; in strsep()
|
/external/tcpdump/missing/ |
D | strsep.c | 59 strsep(char **stringp, const char *delim) in strsep() argument 70 spanp = delim; in strsep()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/ |
D | UnicodeNormalizerConformanceTest.java | 206 int delim = s.indexOf(delimiter, pos); in hexsplit() local 207 if (delim < 0) { in hexsplit() 213 String toHex = s.substring(pos,delim); in hexsplit() 214 pos = delim; in hexsplit()
|