/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/lite/testing/nnapi_tflite_zip_tests/ |
D | split.h | 35 const string& delimiter); 39 std::vector<T> Split(const string& s, const string& delimiter); 42 inline std::vector<string> Split(const string& s, const string& delimiter) { in Split() argument 44 for (const auto& p : SplitToPos(s, delimiter)) { in Split() 51 inline std::vector<int> Split(const string& s, const string& delimiter) { in Split() argument 53 for (const auto& p : SplitToPos(s, delimiter)) { in Split() 60 inline std::vector<int64_t> Split(const string& s, const string& delimiter) { in Split() argument 62 for (const auto& p : SplitToPos(s, delimiter)) { in Split() 69 inline std::vector<float> Split(const string& s, const string& delimiter) { in Split() argument 71 for (const auto& p : SplitToPos(s, delimiter)) { in Split() [all …]
|
D | join.h | 32 string JoinDefault(T* data, size_t len, const string& delimiter) { in JoinDefault() argument 39 result << delimiter << data[i]; in JoinDefault() 46 string Join(T* data, size_t len, const string& delimiter) { in Join() argument 53 result << std::setprecision(9) << delimiter << data[i]; in Join() 62 const string& delimiter) { 69 result << delimiter << static_cast<int>(data[i]);
|
D | split.cc | 24 const string& delimiter) { in SplitToPos() argument 26 if (delimiter.length() == 0) { in SplitToPos() 32 while ((pos = s.find(delimiter, start)) != string::npos) { in SplitToPos() 36 start = pos + delimiter.length(); in SplitToPos()
|
/external/tensorflow/tensorflow/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 | join.h | 29 string JoinDefault(T* data, size_t len, const string& delimiter) { in JoinDefault() argument 36 result << delimiter << data[i]; in JoinDefault() 43 string Join(T* data, size_t len, const string& delimiter) { in Join() argument 50 result << std::setprecision(9) << delimiter << data[i]; in Join() 59 const string& delimiter) { 66 result << delimiter << static_cast<int>(data[i]);
|
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/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, '-') 373 delimiter = "\t" variable in TestDialectRegistry.test_registry.myexceltsv [all …]
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | string_split_op_test.py | 48 tokens = string_ops.string_split(strings, delimiter="") 78 tokens = string_ops.string_split(strings, delimiter=" .") 92 ValueError, string_ops.string_split, strings, delimiter=["|", ""]) 95 ValueError, string_ops.string_split, strings, delimiter=["a"]) 97 tokens = string_ops.string_split(strings, delimiter="|") 103 tokens = string_ops.string_split(strings, delimiter="| ") 114 delimiter = array_ops.placeholder(dtypes.string) 116 tokens = string_ops.string_split(strings, delimiter=delimiter) 119 sess.run(tokens, feed_dict={delimiter: ["a", "b"]}) 121 sess.run(tokens, feed_dict={delimiter: ["a"]}) [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/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/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/icu4c/source/tools/gennorm2/ |
D | gennorm2.cpp | 262 const char *delimiter; in parseFile() local 264 u_parseCodePointRangeAnyTerminator(line, &startCP, &endCP, &delimiter, errorCode); in parseFile() 274 delimiter=u_skipWhitespace(delimiter); in parseFile() 275 if(*delimiter==':') { in parseFile() 276 const char *s=u_skipWhitespace(delimiter+1); in parseFile() 288 if(*delimiter=='-') { in parseFile() 289 if(*u_skipWhitespace(delimiter+1)!=0) { in parseFile() 298 if(*delimiter=='=' || *delimiter=='>') { in parseFile() 300 … int32_t length=u_parseString(delimiter+1, uchars, UPRV_LENGTHOF(uchars), NULL, errorCode); in parseFile() 306 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/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/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/u-boot/common/eeprom/ |
D | eeprom_field.c | 14 char *delimiter, bool reverse) in __eeprom_field_print_bin() argument 22 printf("%02x%s", field->buf[i], delimiter); in __eeprom_field_print_bin() 70 char *value, char *delimiter) in __eeprom_field_update_bin_delim() argument 78 tmp = strstr(tmp, delimiter); in __eeprom_field_update_bin_delim() 82 tmp = strstr(tmp, delimiter); in __eeprom_field_update_bin_delim() 88 tok = strtok(value, delimiter); in __eeprom_field_update_bin_delim() 96 tok = strtok(NULL, delimiter); in __eeprom_field_update_bin_delim()
|