Home
last modified time | relevance | path

Searched refs:delimiter (Results 1 – 25 of 204) sorted by relevance

123456789

/external/libbrillo/brillo/strings/
Dstring_utils.h23 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 …]
Dstring_utils.cc18 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/
DRuleParser.cpp149 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/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/s3/
Dbucketlistresultset.py24 def bucket_lister(bucket, prefix='', delimiter='', marker='', headers=None, argument
33 delimiter=delimiter, headers=headers,
54 def __init__(self, bucket=None, prefix='', delimiter='', marker='', argument
58 self.delimiter = delimiter
65 delimiter=self.delimiter, marker=self.marker,
69 def versioned_bucket_lister(bucket, prefix='', delimiter='', argument
80 delimiter=delimiter, headers=headers,
97 def __init__(self, bucket=None, prefix='', delimiter='', key_marker='', argument
101 self.delimiter = delimiter
109 delimiter=self.delimiter,
/external/autotest/contrib/
Dcompare_suite.py305 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/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/gs/
Dbucketlistresultset.py23 def versioned_bucket_lister(bucket, prefix='', delimiter='', argument
33 delimiter=delimiter, headers=headers,
50 def __init__(self, bucket=None, prefix='', delimiter='', marker='', argument
54 self.delimiter = delimiter
61 delimiter=self.delimiter,
/external/libweave/src/
Dstring_utils.h20 const std::string& delimiter,
27 const std::string& delimiter,
32 std::string JoinRange(const std::string& delimiter, in JoinRange() argument
40 result += delimiter; in JoinRange()
47 std::string Join(const std::string& delimiter, const Container& strings) { in Join() argument
50 return JoinRange(delimiter, begin(strings), end(strings)); in Join()
53 inline std::string Join(const std::string& delimiter, in Join() argument
56 return str1 + delimiter + str2; in Join()
Dstring_utils.cc18 const std::string& delimiter, in SplitAtFirst() argument
23 std::string::size_type pos = str.find(delimiter); in SplitAtFirst()
26 *right_part = str.substr(pos + delimiter.size()); in SplitAtFirst()
44 const std::string& delimiter, in Split() argument
50 delimiter.empty() ? (i + 1) : str.find(delimiter, i); in Split()
58 i = pos + delimiter.size(); in Split()
64 const std::string& delimiter, in SplitAtFirst() argument
67 SplitAtFirst(str, delimiter, &pair.first, &pair.second, trim_whitespaces); in SplitAtFirst()
/external/libchrome/base/strings/
Dstring_split.cc75 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
233 SplitStringUsingSubstrT(input, delimiter, TRIM_WHITESPACE, SPLIT_WANT_ALL, in SplitStringUsingSubstr()
[all …]
Dstring_split.h98 StringPiece16 delimiter,
101 StringPiece delimiter,
118 StringPiece16 delimiter,
123 StringPiece delimiter,
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DStringTokenizerTest.java40 String delimiter = " \t\n\r\f"; in TestConstructors() local
44 StringTokenizer stdelimiter = new StringTokenizer(str, delimiter); in TestConstructors()
45 StringTokenizer stdelimiterreturn = new StringTokenizer(str, delimiter, in TestConstructors()
47 UnicodeSet delimiterset = new UnicodeSet("[" + delimiter + "]", false); in TestConstructors()
62 UnicodeSet delimiterset1 = new UnicodeSet("[" + delimiter + "]", true); in TestConstructors()
71 stdelimiterreturn = new StringTokenizer(str, delimiter, true); in TestConstructors()
93 delimiter = ""; in TestConstructors()
94 stdelimiter = new StringTokenizer(str, delimiter); in TestConstructors()
95 stdelimiterreturn = new StringTokenizer(str, delimiter, false); in TestConstructors()
114 stdelimiter = new StringTokenizer(null, delimiter); in TestConstructors()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DStringTokenizerTest.java44 String delimiter = " \t\n\r\f"; in TestConstructors() local
48 StringTokenizer stdelimiter = new StringTokenizer(str, delimiter); in TestConstructors()
49 StringTokenizer stdelimiterreturn = new StringTokenizer(str, delimiter, in TestConstructors()
51 UnicodeSet delimiterset = new UnicodeSet("[" + delimiter + "]", false); in TestConstructors()
66 UnicodeSet delimiterset1 = new UnicodeSet("[" + delimiter + "]", true); in TestConstructors()
75 stdelimiterreturn = new StringTokenizer(str, delimiter, true); in TestConstructors()
97 delimiter = ""; in TestConstructors()
98 stdelimiter = new StringTokenizer(str, delimiter); in TestConstructors()
99 stdelimiterreturn = new StringTokenizer(str, delimiter, false); in TestConstructors()
118 stdelimiter = new StringTokenizer(null, delimiter); in TestConstructors()
[all …]
/external/icu/icu4c/source/tools/gennorm2/
Dgennorm2.cpp214 const char *delimiter; in parseFile() local
216 u_parseCodePointRangeAnyTerminator(line, &startCP, &endCP, &delimiter, errorCode); in parseFile()
221 delimiter=u_skipWhitespace(delimiter); in parseFile()
222 if(*delimiter==':') { in parseFile()
223 const char *s=u_skipWhitespace(delimiter+1); in parseFile()
235 if(*delimiter=='-') { in parseFile()
236 if(*u_skipWhitespace(delimiter+1)!=0) { in parseFile()
245 if(*delimiter=='=' || *delimiter=='>') { in parseFile()
247 … int32_t length=u_parseString(delimiter+1, uchars, UPRV_LENGTHOF(uchars), NULL, errorCode); in parseFile()
253 if(*delimiter=='=') { in parseFile()
/external/webrtc/webrtc/base/
Dstringencode.cc438 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 …]
Dstringencode.h95 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/jacoco/org.jacoco.report/src/org/jacoco/report/csv/
DDelimitedWriter.java40 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/ipsec-tools/src/libipsec/
Dipsec_dump_policy.c76 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/chromium-trace/catapult/third_party/mapreduce/mapreduce/lib/input_reader/
D_gcs.py102 delimiter=None, path_filter=None): argument
119 self._delimiter = delimiter
147 delimiter=self._delimiter)
192 delimiter = reader_params[cls.DELIMITER_PARAM]
193 if not isinstance(delimiter, basestring):
196 (cls.DELIMITER_PARAM, type(delimiter)))
232 delimiter = reader_params.get(cls.DELIMITER_PARAM)
243 "/" + bucket + "/" + filename[:-1], delimiter=delimiter,
255 delimiter=delimiter, path_filter=path_filter))
/external/toybox/toys/posix/
Dcut.c129 char *buff, *pfield = 0, *delimiter = TT.delim; in do_fcut() local
143 if (strrchr(buff, (int)delimiter[0]) == NULL) { in do_fcut()
163 field = strsep(&buff, delimiter); in do_fcut()
170 if (nprinted_fields++ > 0) xputc(delimiter[0]); in do_fcut()
231 char delimiter = '\t'; //default delimiter. in cut_main() local
253 delimiter = TT.delim[0]; in cut_main()
258 TT.delim[0] = delimiter; in cut_main()
265 if (delimiter != '\t') in cut_main()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/util/
DJoin.java6 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()
/external/junit/src/org/junit/experimental/theories/internal/
DParameterizedAssertionError.java24 public static String join(String delimiter, Object... params) { in join() argument
25 return join(delimiter, Arrays.asList(params)); in join()
28 public static String join(String delimiter, in join() argument
36 buffer.append(delimiter); in join()
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/writer/
DWritables.java29 static void join(String delimiter, Iterable<? extends Writable> writables, in join() argument
37 appendable.append(delimiter); in join()
45 static void join(String delimiter, Iterable<? extends Writable> writables, in join() argument
47 join(delimiter, writables, "", "", appendable, context); in join()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowTextUtils.java47 public static String join(CharSequence delimiter, Iterable tokens) { in join() argument
48 return Join.join((String) delimiter, (Collection) tokens); in join()
52 public static String join(CharSequence delimiter, Object[] tokens) { in join() argument
53 return Join.join((String) delimiter, tokens); in join()
/external/chromium-trace/catapult/third_party/gsutil/gslib/
Dwildcard_iterator.py144 url.bucket_name, delimiter='/', all_versions=self.all_versions,
192 (prefix, delimiter, prefix_wildcard, suffix_wildcard) = (
198 url.bucket_name, prefix=prefix, delimiter=delimiter,
267 delimiter = '/'
295 delimiter = None
299 delimiter = '/'
306 (wildcard, prefix, delimiter, prefix_wildcard, suffix_wildcard))
307 return (prefix, delimiter, prefix_wildcard, suffix_wildcard)
/external/mockftpserver/tags/2.3/src/main/java/org/mockftpserver/core/util/
DStringUtil.java62 public static String join(Collection parts, String delimiter) { in join() argument
64 Assert.notNull(delimiter, "delimiter"); in join()
72 buf.append(delimiter); in join()

123456789