/external/libbrillo/brillo/strings/ |
D | string_utils.h | 23 const std::string& delimiter, 28 const std::string& delimiter) { in Split() argument 29 return Split(str, delimiter, true, true); in Split() 33 const std::string& delimiter, in Split() argument 35 return Split(str, delimiter, trim_whitespaces, true); in Split() 42 const std::string& delimiter, 48 const std::string& delimiter) { in SplitAtFirst() argument 49 return SplitAtFirst(str, delimiter, true); in SplitAtFirst() 56 const std::string& delimiter, 62 const std::string& delimiter, in SplitAtFirst() argument [all …]
|
D | string_utils.cc | 18 const std::string& delimiter, in Split() argument 27 delimiter.empty() ? (i + 1) : str.find(delimiter, i); in Split() 35 i = pos + delimiter.size(); in Split() 41 const std::string& delimiter, in SplitAtFirst() argument 46 std::string::size_type pos = str.find(delimiter); in SplitAtFirst() 49 *right_part = str.substr(pos + delimiter.size()); in SplitAtFirst() 65 const std::string& delimiter, in SplitAtFirst() argument 68 SplitAtFirst(str, delimiter, &pair.first, &pair.second, trim_whitespaces); in SplitAtFirst()
|
/external/parameter-framework/upstream/parameter/ |
D | RuleParser.cpp | 149 string::size_type delimiter; in iterate() local 154 if ((delimiter = _strApplicationRule.find_first_not_of(" ", _uiCurrentPos)) != string::npos) { in iterate() 157 _uiCurrentPos = delimiter; in iterate() 162 ((delimiter = _strApplicationRule.find_first_of(_acDelimiters[_eStatus], _uiCurrentPos)) != in iterate() 165 switch (_strApplicationRule[delimiter]) { in iterate() 170 _strRuleType = _strApplicationRule.substr(_uiCurrentPos, delimiter - _uiCurrentPos); in iterate() 186 _strRuleType = _strApplicationRule.substr(_uiCurrentPos, delimiter - _uiCurrentPos); in iterate() 193 _uiCurrentPos = delimiter + 1; in iterate() 243 string::size_type delimiter; in next() local 246 if ((delimiter = _strApplicationRule.find_first_not_of(" ", _uiCurrentPos)) != string::npos) { in next() [all …]
|
/external/tensorflow/tensorflow/contrib/lite/testing/ |
D | split.h | 32 const string& delimiter); 36 std::vector<T> Split(const string& s, const string& delimiter); 39 inline std::vector<string> Split(const string& s, const string& delimiter) { in Split() argument 41 for (const auto& p : SplitToPos(s, delimiter)) { in Split() 48 inline std::vector<int> Split(const string& s, const string& delimiter) { in Split() argument 50 for (const auto& p : SplitToPos(s, delimiter)) { in Split() 57 inline std::vector<int64_t> Split(const string& s, const string& delimiter) { in Split() argument 59 for (const auto& p : SplitToPos(s, delimiter)) { in Split() 66 inline std::vector<float> Split(const string& s, const string& delimiter) { in Split() argument 68 for (const auto& p : SplitToPos(s, delimiter)) { in Split() [all …]
|
D | split.cc | 21 const string& delimiter) { in SplitToPos() argument 23 if (delimiter.length() == 0) { in SplitToPos() 29 while ((pos = s.find(delimiter, start)) != string::npos) { in SplitToPos() 33 start = pos + delimiter.length(); in SplitToPos()
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | string_split_op_test.py | 46 tokens = string_ops.string_split(strings, delimiter="") 75 ValueError, string_ops.string_split, strings, delimiter=["|", ""]) 78 ValueError, string_ops.string_split, strings, delimiter=["a"]) 80 tokens = string_ops.string_split(strings, delimiter="|") 86 tokens = string_ops.string_split(strings, delimiter="| ") 96 delimiter = array_ops.placeholder(dtypes.string) 98 tokens = string_ops.string_split(strings, delimiter=delimiter) 101 sess.run(tokens, feed_dict={delimiter: ["a", "b"]}) 103 sess.run(tokens, feed_dict={delimiter: ["a"]}) 104 indices, values, shape = sess.run(tokens, feed_dict={delimiter: "|"}) [all …]
|
/external/autotest/contrib/ |
D | compare_suite.py | 305 percent_string = delimiter.join( 309 print '%% on %s %s%s' % (task_type, delimiter, percent_string) 310 min_string = delimiter.join( 313 print ' %s min (seconds)%s%s' % (task_type, delimiter, min_string) 314 max_string = delimiter.join( 317 print ' %s max (seconds)%s%s' % (task_type, delimiter, max_string) 318 ave_string = delimiter.join( 320 print ' %s average (seconds)%s%s' % (task_type, delimiter, ave_string) 376 delimiter = '\t' variable 378 print ('job ID%s' % delimiter + [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_shlex.py | 181 for delimiter in ('&&', '&', '|&', ';&', ';;&', 183 src = ['echo hi %s echo bye' % delimiter, 184 'echo hi%secho bye' % delimiter] 185 ref = ['echo', 'hi', delimiter, 'echo', 'bye'] 195 for delimiter in (';', ';;', ';&', ';;&'): 196 src = ['echo hi %s echo bye' % delimiter, 197 'echo hi%s echo bye' % delimiter, 198 'echo hi%secho bye' % delimiter] 199 ref = ['echo', 'hi', delimiter, 'echo', 'bye'] 209 for delimiter in ('<', '|'): [all …]
|
D | test_csv.py | 27 self.assertRaises(TypeError, ctor, arg, delimiter = 0) 28 self.assertRaises(TypeError, ctor, arg, delimiter = 'XX') 30 self.assertRaises(TypeError, ctor, arg, delimiter=None) 31 self.assertRaises(TypeError, ctor, arg, delimiter=1) 50 self.assertEqual(obj.dialect.delimiter, ',') 73 kwargs = dict(delimiter=':', doublequote=False, escapechar='\\', 78 self.assertEqual(obj.dialect.delimiter, ':') 96 delimiter='-' variable in Test_Csv._test_dialect_attrs.dialect 106 self.assertEqual(obj.dialect.delimiter, '-') 354 delimiter = "\t" variable in TestDialectRegistry.test_registry.myexceltsv [all …]
|
/external/webrtc/webrtc/base/ |
D | stringencode.cc | 438 char delimiter) { in hex_encode_with_delimiter() argument 447 size_t needed = delimiter ? (srclen * 3) : (srclen * 2 + 1); in hex_encode_with_delimiter() 458 if (delimiter && (srcpos < srclen)) { in hex_encode_with_delimiter() 459 buffer[bufpos] = delimiter; in hex_encode_with_delimiter() 478 char delimiter) { in hex_encode_with_delimiter() argument 482 source, srclen, delimiter); in hex_encode_with_delimiter() 494 char delimiter) { in hex_decode_with_delimiter() argument 502 size_t needed = (delimiter) ? (srclen + 1) / 3 : srclen / 2; in hex_decode_with_delimiter() 521 if (delimiter && (srclen - srcpos) > 1) { in hex_decode_with_delimiter() 522 if (source[srcpos] != delimiter) in hex_decode_with_delimiter() [all …]
|
D | stringencode.h | 95 char delimiter); 101 char delimiter); 113 char delimiter); 118 const std::string& source, char delimiter); 141 size_t split(const std::string& source, char delimiter, 146 size_t tokenize(const std::string& source, char delimiter, 151 char delimiter, 155 size_t tokenize_append(const std::string& source, char delimiter, 165 size_t tokenize(const std::string& source, char delimiter, char start_mark, 172 const char delimiter,
|
/external/libchrome/base/strings/ |
D | string_split.cc | 75 DelimiterType delimiter, in SplitStringT() argument 84 size_t end = FindFirstOf(str, delimiter, start); in SplitStringT() 105 char delimiter, in AppendStringKeyValue() argument 113 size_t end_key_pos = input.find_first_of(delimiter); in AppendStringKeyValue() 122 size_t begin_value_pos = remains.find_first_not_of(delimiter); in AppendStringKeyValue() 135 BasicStringPiece<Str> delimiter, in SplitStringUsingSubstrT() argument 144 begin_index = end_index + delimiter.size()) { in SplitStringUsingSubstrT() 145 end_index = input.find(delimiter, begin_index); in SplitStringUsingSubstrT() 231 StringPiece16 delimiter, in SplitStringUsingSubstr() argument 235 SplitStringUsingSubstrT(input, delimiter, whitespace, result_type, &result); in SplitStringUsingSubstr() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | StringTokenizerTest.java | 48 String delimiter = " \t\n\r\f"; in TestConstructors() local 52 StringTokenizer stdelimiter = new StringTokenizer(str, delimiter); in TestConstructors() 53 StringTokenizer stdelimiterreturn = new StringTokenizer(str, delimiter, in TestConstructors() 55 UnicodeSet delimiterset = new UnicodeSet("[" + delimiter + "]", false); in TestConstructors() 70 UnicodeSet delimiterset1 = new UnicodeSet("[" + delimiter + "]", true); in TestConstructors() 79 stdelimiterreturn = new StringTokenizer(str, delimiter, true); in TestConstructors() 101 delimiter = ""; in TestConstructors() 102 stdelimiter = new StringTokenizer(str, delimiter); in TestConstructors() 103 stdelimiterreturn = new StringTokenizer(str, delimiter, false); in TestConstructors() 122 stdelimiter = new StringTokenizer(null, delimiter); in TestConstructors() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
D | StringTokenizerTest.java | 51 String delimiter = " \t\n\r\f"; in TestConstructors() local 55 StringTokenizer stdelimiter = new StringTokenizer(str, delimiter); in TestConstructors() 56 StringTokenizer stdelimiterreturn = new StringTokenizer(str, delimiter, in TestConstructors() 58 UnicodeSet delimiterset = new UnicodeSet("[" + delimiter + "]", false); in TestConstructors() 73 UnicodeSet delimiterset1 = new UnicodeSet("[" + delimiter + "]", true); in TestConstructors() 82 stdelimiterreturn = new StringTokenizer(str, delimiter, true); in TestConstructors() 104 delimiter = ""; in TestConstructors() 105 stdelimiter = new StringTokenizer(str, delimiter); in TestConstructors() 106 stdelimiterreturn = new StringTokenizer(str, delimiter, false); in TestConstructors() 125 stdelimiter = new StringTokenizer(null, delimiter); in TestConstructors() [all …]
|
/external/vulkan-validation-layers/scripts/ |
D | spec.py | 70 self.delimiter = '~^~' # delimiter for db file 253 …ormsg>%s<note>" % (self.delimiter, self.delimiter, self.delimiter, self.delimiter, self.delimiter,… 275 …delimiter, implemented, self.delimiter, testname, self.delimiter, self.error_db_dict[enum]['api'],… 287 db_line = line.split(self.delimiter)
|
/external/icu/icu4c/source/tools/gennorm2/ |
D | gennorm2.cpp | 262 const char *delimiter; in parseFile() local 264 u_parseCodePointRangeAnyTerminator(line, &startCP, &endCP, &delimiter, errorCode); in parseFile() 269 delimiter=u_skipWhitespace(delimiter); in parseFile() 270 if(*delimiter==':') { in parseFile() 271 const char *s=u_skipWhitespace(delimiter+1); in parseFile() 283 if(*delimiter=='-') { in parseFile() 284 if(*u_skipWhitespace(delimiter+1)!=0) { in parseFile() 293 if(*delimiter=='=' || *delimiter=='>') { in parseFile() 295 … int32_t length=u_parseString(delimiter+1, uchars, UPRV_LENGTHOF(uchars), NULL, errorCode); in parseFile() 301 if(*delimiter=='=') { in parseFile()
|
/external/perfetto/src/base/ |
D | string_splitter.cc | 26 StringSplitter::StringSplitter(std::string str, char delimiter) in StringSplitter() argument 27 : str_(std::move(str)), delimiter_(delimiter) { in StringSplitter() 33 StringSplitter::StringSplitter(char* str, size_t size, char delimiter) in StringSplitter() argument 34 : delimiter_(delimiter) { in StringSplitter() 38 StringSplitter::StringSplitter(StringSplitter* outer, char delimiter) in StringSplitter() argument 39 : delimiter_(delimiter) { in StringSplitter()
|
/external/ipsec-tools/src/libipsec/ |
D | ipsec_dump_policy.c | 76 ipsec_dump_policy(policy, delimiter) in ipsec_dump_policy() argument 78 __ipsec_const char *delimiter; 80 return ipsec_dump_policy1(policy, delimiter, 0); 84 ipsec_dump_policy_withports(policy, delimiter) in ipsec_dump_policy_withports() argument 86 const char *delimiter; 88 return ipsec_dump_policy1(policy, delimiter, 1); 92 ipsec_dump_policy1(policy, delimiter, withports) in ipsec_dump_policy1() argument 94 const char *delimiter; 119 if (delimiter == NULL) 120 delimiter = " "; [all …]
|
/external/jacoco/org.jacoco.report/src/org/jacoco/report/csv/ |
D | DelimitedWriter.java | 40 private final char delimiter; field in DelimitedWriter 62 public DelimitedWriter(final Writer delegate, final char delimiter) { in DelimitedWriter() argument 64 this.delimiter = delimiter; in DelimitedWriter() 94 delegate.write(delimiter); in write() 163 if (value.indexOf(QUOTE) != -1 || value.indexOf(delimiter) != -1) { in escape()
|
/external/jline/src/src/main/java/jline/ |
D | SimpleCompletor.java | 36 String delimiter; field in SimpleCompletor 108 if (delimiter != null) { in complete() 109 int index = can.indexOf(delimiter, cursor); in complete() 128 public void setDelimiter(final String delimiter) { in setDelimiter() argument 129 this.delimiter = delimiter; in setDelimiter() 133 return this.delimiter; in getDelimiter()
|
/external/python/cpython2/Lib/test/ |
D | test_csv.py | 27 self.assertRaises(TypeError, ctor, arg, delimiter = 0) 28 self.assertRaises(TypeError, ctor, arg, delimiter = 'XX') 30 self.assertRaises(TypeError, ctor, arg, delimiter=None) 31 self.assertRaises(TypeError, ctor, arg, delimiter=1) 50 self.assertEqual(obj.dialect.delimiter, ',') 73 kwargs = dict(delimiter=':', doublequote=False, escapechar='\\', 78 self.assertEqual(obj.dialect.delimiter, ':') 96 delimiter='-' variable in Test_Csv._test_dialect_attrs.dialect 106 self.assertEqual(obj.dialect.delimiter, '-') 355 delimiter = "\t" variable in TestDialectRegistry.test_registry.myexceltsv [all …]
|
/external/tensorflow/tensorflow/core/api_def/base_api/ |
D | api_def_StringSplit.pbtxt | 10 name: "delimiter" 41 summary: "Split elements of `input` based on `delimiter` into a `SparseTensor`." 44 element of `input` based on `delimiter` and return a `SparseTensor` 47 `delimiter` can be empty, or a string of split characters. If `delimiter` is an 50 every character of `delimiter` is a potential split point.
|
/external/tensorflow/tensorflow/core/kernels/ |
D | string_split_op.cc | 31 std::vector<string> Split(const string& str, const string& delimiter, in Split() argument 33 if (!delimiter.empty()) { in Split() 35 return str_util::Split(str, delimiter, str_util::SkipEmpty()); in Split() 37 return str_util::Split(str, delimiter); in Split() 77 const string& delimiter = delimiter_vec(0); in Compute() local 88 std::vector<string> parts = Split(input_vec(i), delimiter, skip_empty_); in Compute()
|
/external/robolectric-shadows/utils/src/main/java/org/robolectric/util/ |
D | Join.java | 9 public static String join(String delimiter, Collection collection) { in join() argument 16 del = delimiter; in join() 22 public static String join(String delimiter, Object... collection) { in join() argument 29 del = delimiter; in join()
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/util/ |
D | Join.java | 6 public static String join(String delimiter, Collection collection) { in join() argument 13 del = delimiter; in join() 19 public static String join(String delimiter, Object... collection) { in join() argument 26 del = delimiter; in join()
|