Home
last modified time | relevance | path

Searched refs:splitter (Results 1 – 25 of 93) sorted by relevance

1234

/external/perfetto/src/traced/probes/ftrace/
Dcpu_stats_parser.cc52 base::StringSplitter splitter(std::move(text), '\n'); in DumpCpuStats() local
53 while (splitter.Next()) { in DumpCpuStats()
54 if (base::StartsWith(splitter.cur_token(), "entries")) { in DumpCpuStats()
55 stats->entries = ExtractInt(splitter.cur_token()); in DumpCpuStats()
56 } else if (base::StartsWith(splitter.cur_token(), "overrun")) { in DumpCpuStats()
57 stats->overrun = ExtractInt(splitter.cur_token()); in DumpCpuStats()
58 } else if (base::StartsWith(splitter.cur_token(), "commit overrun")) { in DumpCpuStats()
59 stats->commit_overrun = ExtractInt(splitter.cur_token()); in DumpCpuStats()
60 } else if (base::StartsWith(splitter.cur_token(), "bytes")) { in DumpCpuStats()
61 stats->bytes_read = ExtractInt(splitter.cur_token()); in DumpCpuStats()
[all …]
/external/abseil-cpp/absl/strings/
Dstr_split_test.cc261 auto splitter = absl::StrSplit("a,b", ','); in TEST() local
262 auto it = splitter.begin(); in TEST()
263 auto end = splitter.end(); in TEST()
286 auto splitter = absl::StrSplit("a,b,c", ',', Skip("b")); in TEST() local
287 auto it = splitter.begin(); in TEST()
288 auto end = splitter.end(); in TEST()
317 auto splitter = absl::StrSplit(spec.in, ','); in TEST() local
318 auto it = splitter.begin(); in TEST()
319 auto end = splitter.end(); in TEST()
329 const auto splitter = absl::StrSplit("a,b,c", ','); in TEST() local
[all …]
/external/webrtc/third_party/abseil-cpp/absl/strings/
Dstr_split_test.cc261 auto splitter = absl::StrSplit("a,b", ','); in TEST() local
262 auto it = splitter.begin(); in TEST()
263 auto end = splitter.end(); in TEST()
286 auto splitter = absl::StrSplit("a,b,c", ',', Skip("b")); in TEST() local
287 auto it = splitter.begin(); in TEST()
288 auto end = splitter.end(); in TEST()
317 auto splitter = absl::StrSplit(spec.in, ','); in TEST() local
318 auto it = splitter.begin(); in TEST()
319 auto end = splitter.end(); in TEST()
329 const auto splitter = absl::StrSplit("a,b,c", ','); in TEST() local
[all …]
/external/tensorflow/third_party/absl/abseil-cpp/absl/strings/
Dstr_split_test.cc261 auto splitter = absl::StrSplit("a,b", ','); in TEST() local
262 auto it = splitter.begin(); in TEST()
263 auto end = splitter.end(); in TEST()
286 auto splitter = absl::StrSplit("a,b,c", ',', Skip("b")); in TEST() local
287 auto it = splitter.begin(); in TEST()
288 auto end = splitter.end(); in TEST()
317 auto splitter = absl::StrSplit(spec.in, ','); in TEST() local
318 auto it = splitter.begin(); in TEST()
319 auto end = splitter.end(); in TEST()
329 const auto splitter = absl::StrSplit("a,b,c", ','); in TEST() local
[all …]
/external/angle/third_party/abseil-cpp/absl/strings/
Dstr_split_test.cc261 auto splitter = absl::StrSplit("a,b", ','); in TEST() local
262 auto it = splitter.begin(); in TEST()
263 auto end = splitter.end(); in TEST()
286 auto splitter = absl::StrSplit("a,b,c", ',', Skip("b")); in TEST() local
287 auto it = splitter.begin(); in TEST()
288 auto end = splitter.end(); in TEST()
317 auto splitter = absl::StrSplit(spec.in, ','); in TEST() local
318 auto it = splitter.begin(); in TEST()
319 auto end = splitter.end(); in TEST()
329 const auto splitter = absl::StrSplit("a,b,c", ','); in TEST() local
[all …]
/external/cronet/third_party/abseil-cpp/absl/strings/
Dstr_split_test.cc261 auto splitter = absl::StrSplit("a,b", ','); in TEST() local
262 auto it = splitter.begin(); in TEST()
263 auto end = splitter.end(); in TEST()
286 auto splitter = absl::StrSplit("a,b,c", ',', Skip("b")); in TEST() local
287 auto it = splitter.begin(); in TEST()
288 auto end = splitter.end(); in TEST()
317 auto splitter = absl::StrSplit(spec.in, ','); in TEST() local
318 auto it = splitter.begin(); in TEST()
319 auto end = splitter.end(); in TEST()
329 const auto splitter = absl::StrSplit("a,b,c", ','); in TEST() local
[all …]
/external/openscreen/third_party/abseil/src/absl/strings/
Dstr_split_test.cc259 auto splitter = absl::StrSplit("a,b", ','); in TEST() local
260 auto it = splitter.begin(); in TEST()
261 auto end = splitter.end(); in TEST()
284 auto splitter = absl::StrSplit("a,b,c", ',', Skip("b")); in TEST() local
285 auto it = splitter.begin(); in TEST()
286 auto end = splitter.end(); in TEST()
315 auto splitter = absl::StrSplit(spec.in, ','); in TEST() local
316 auto it = splitter.begin(); in TEST()
317 auto end = splitter.end(); in TEST()
327 const auto splitter = absl::StrSplit("a,b,c", ','); in TEST() local
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/strings/
Dstr_split_test.cc259 auto splitter = absl::StrSplit("a,b", ','); in TEST() local
260 auto it = splitter.begin(); in TEST()
261 auto end = splitter.end(); in TEST()
284 auto splitter = absl::StrSplit("a,b,c", ',', Skip("b")); in TEST() local
285 auto it = splitter.begin(); in TEST()
286 auto end = splitter.end(); in TEST()
315 auto splitter = absl::StrSplit(spec.in, ','); in TEST() local
316 auto it = splitter.begin(); in TEST()
317 auto end = splitter.end(); in TEST()
327 const auto splitter = absl::StrSplit("a,b,c", ','); in TEST() local
[all …]
/external/libtextclassifier/abseil-cpp/absl/strings/
Dstr_split_test.cc259 auto splitter = absl::StrSplit("a,b", ','); in TEST() local
260 auto it = splitter.begin(); in TEST()
261 auto end = splitter.end(); in TEST()
284 auto splitter = absl::StrSplit("a,b,c", ',', Skip("b")); in TEST() local
285 auto it = splitter.begin(); in TEST()
286 auto end = splitter.end(); in TEST()
315 auto splitter = absl::StrSplit(spec.in, ','); in TEST() local
316 auto it = splitter.begin(); in TEST()
317 auto end = splitter.end(); in TEST()
327 const auto splitter = absl::StrSplit("a,b,c", ','); in TEST() local
[all …]
/external/perfetto/src/trace_processor/sqlite/
Dquery_constraints.cc128 base::StringSplitter splitter(&outer_splitter, ','); in FromString() local
129 PERFETTO_CHECK(splitter.Next() && splitter.cur_token_size() > 1); in FromString()
132 int64_t num_constraints = *base::CStringToInt64(&splitter.cur_token()[1]); in FromString()
134 PERFETTO_CHECK(splitter.Next()); in FromString()
135 int col = static_cast<int>(*base::CStringToInt32(splitter.cur_token())); in FromString()
136 PERFETTO_CHECK(splitter.Next()); in FromString()
138 *base::CStringToUInt32(splitter.cur_token())); in FromString()
146 base::StringSplitter splitter(&outer_splitter, ','); in FromString() local
147 PERFETTO_CHECK(splitter.Next() && splitter.cur_token_size() > 1); in FromString()
150 int64_t num_order_by = *base::CStringToInt64(&splitter.cur_token()[1]); in FromString()
[all …]
/external/rust/crates/rayon/src/iter/
Dsplitter.rs106 pub fn split<D, S>(data: D, splitter: S) -> Split<D, S> in split()
111 Split { data, splitter } in split()
121 splitter: S, field
143 splitter: &self.splitter, in drive_unindexed()
151 splitter: &'a S, field
162 let splitter = self.splitter; in split() localVariable
163 let (left, right) = splitter(self.data); in split()
165 (self, right.map(|data| SplitProducer { data, splitter })) in split()
/external/rust/crates/rayon/src/iter/plumbing/
Dmod.rs314 let mut splitter = LengthSplitter { in new() localVariable
326 if min_splits > splitter.inner.splits { in new()
327 splitter.inner.splits = min_splits; in new()
330 splitter in new()
396 let splitter = LengthSplitter::new(producer.min_len(), producer.max_len(), len); in bridge_producer_consumer() localVariable
397 return helper(len, false, splitter, producer, consumer); in bridge_producer_consumer()
402 mut splitter: LengthSplitter, in bridge_producer_consumer()
412 } else if splitter.try_split(len, migrated) { in bridge_producer_consumer()
421 splitter, in bridge_producer_consumer()
430 splitter, in bridge_producer_consumer()
[all …]
/external/webrtc/modules/audio_coding/neteq/
Dred_payload_splitter_unittest.cc177 RedPayloadSplitter* splitter = new RedPayloadSplitter; in TEST() local
178 delete splitter; in TEST()
187 RedPayloadSplitter splitter; in TEST() local
188 EXPECT_TRUE(splitter.SplitRed(&packet_list)); in TEST()
215 RedPayloadSplitter splitter; in TEST() local
216 EXPECT_TRUE(splitter.SplitRed(&packet_list)); in TEST()
250 RedPayloadSplitter splitter; in TEST() local
251 EXPECT_TRUE(splitter.SplitRed(&packet_list)); in TEST()
307 RedPayloadSplitter splitter; in TEST() local
308 splitter.CheckRedPayloads(&packet_list, decoder_database); in TEST()
[all …]
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/util/
DSplitToArray.java8 private Splitter splitter; field in SplitToArray
10 public SplitToArray(Splitter splitter) { in SplitToArray() argument
11 this.splitter = splitter; in SplitToArray()
15 List<String> parts = splitter.splitToList(source); in split()
/external/guava/guava/src/com/google/common/base/
DSplitter.java148 public SplittingIterator iterator(Splitter splitter, final CharSequence toSplit) { in on()
149 return new SplittingIterator(splitter, toSplit) { in on()
180 public SplittingIterator iterator(Splitter splitter, CharSequence toSplit) {
181 return new SplittingIterator(splitter, toSplit) {
231 public SplittingIterator iterator(final Splitter splitter, CharSequence toSplit) {
233 return new SplittingIterator(splitter, toSplit) {
289 public SplittingIterator iterator(final Splitter splitter, CharSequence toSplit) {
290 return new SplittingIterator(splitter, toSplit) {
539 Iterator<String> iterator(Splitter splitter, CharSequence toSplit);
562 protected SplittingIterator(Splitter splitter, CharSequence toSplit) {
[all …]
/external/guava/android/guava/src/com/google/common/base/
DSplitter.java146 public SplittingIterator iterator(Splitter splitter, final CharSequence toSplit) { in on()
147 return new SplittingIterator(splitter, toSplit) { in on()
178 public SplittingIterator iterator(Splitter splitter, CharSequence toSplit) {
179 return new SplittingIterator(splitter, toSplit) {
229 public SplittingIterator iterator(final Splitter splitter, CharSequence toSplit) {
231 return new SplittingIterator(splitter, toSplit) {
287 public SplittingIterator iterator(final Splitter splitter, CharSequence toSplit) {
288 return new SplittingIterator(splitter, toSplit) {
522 Iterator<String> iterator(Splitter splitter, CharSequence toSplit);
545 protected SplittingIterator(Splitter splitter, CharSequence toSplit) {
[all …]
/external/jcommander/src/main/java/com/beust/jcommander/converters/
DDefaultListConverter.java15 private final IParameterSplitter splitter; field in DefaultListConverter
23 public DefaultListConverter(IParameterSplitter splitter, IStringConverter<T> converter) { in DefaultListConverter() argument
24 this.splitter = splitter; in DefaultListConverter()
31 for (String param : splitter.split(value)) { in convert()
/external/tensorflow/third_party/absl/abseil-cpp/absl/strings/internal/
Dstr_split_internal.h93 SplitIterator(State state, const Splitter* splitter) in SplitIterator() argument
96 splitter_(splitter), in SplitIterator()
97 delimiter_(splitter->delimiter()), in SplitIterator()
98 predicate_(splitter->predicate()) { in SplitIterator()
318 Container operator()(const Splitter& splitter) const {
321 for (const auto& sp : splitter) {
337 const Splitter& splitter) const {
347 for (auto it = splitter.begin(); !it.at_end();) {
368 std::vector<std::string, A> operator()(const Splitter& splitter) const {
369 const std::vector<absl::string_view> v = splitter;
[all …]
/external/webrtc/third_party/abseil-cpp/absl/strings/internal/
Dstr_split_internal.h93 SplitIterator(State state, const Splitter* splitter) in SplitIterator() argument
96 splitter_(splitter), in SplitIterator()
97 delimiter_(splitter->delimiter()), in SplitIterator()
98 predicate_(splitter->predicate()) { in SplitIterator()
319 Container operator()(const Splitter& splitter) const {
322 for (const auto& sp : splitter) {
338 const Splitter& splitter) const {
348 for (auto it = splitter.begin(); !it.at_end();) {
369 std::vector<std::string, A> operator()(const Splitter& splitter) const {
370 const std::vector<absl::string_view> v = splitter;
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/strings/internal/
Dstr_split_internal.h93 SplitIterator(State state, const Splitter* splitter) in SplitIterator() argument
96 splitter_(splitter), in SplitIterator()
97 delimiter_(splitter->delimiter()), in SplitIterator()
98 predicate_(splitter->predicate()) { in SplitIterator()
311 Container operator()(const Splitter& splitter) const {
314 for (const auto& sp : splitter) {
330 const Splitter& splitter) const {
340 for (auto it = splitter.begin(); !it.at_end();) {
361 std::vector<std::string, A> operator()(const Splitter& splitter) const {
362 const std::vector<absl::string_view> v = splitter;
[all …]
/external/abseil-cpp/absl/strings/internal/
Dstr_split_internal.h93 SplitIterator(State state, const Splitter* splitter) in SplitIterator() argument
96 splitter_(splitter), in SplitIterator()
97 delimiter_(splitter->delimiter()), in SplitIterator()
98 predicate_(splitter->predicate()) { in SplitIterator()
318 Container operator()(const Splitter& splitter) const {
321 for (const auto& sp : splitter) {
337 const Splitter& splitter) const {
347 for (auto it = splitter.begin(); !it.at_end();) {
368 std::vector<std::string, A> operator()(const Splitter& splitter) const {
369 const std::vector<absl::string_view> v = splitter;
[all …]
/external/openscreen/third_party/abseil/src/absl/strings/internal/
Dstr_split_internal.h93 SplitIterator(State state, const Splitter* splitter) in SplitIterator() argument
96 splitter_(splitter), in SplitIterator()
97 delimiter_(splitter->delimiter()), in SplitIterator()
98 predicate_(splitter->predicate()) { in SplitIterator()
311 Container operator()(const Splitter& splitter) const {
314 for (const auto& sp : splitter) {
330 const Splitter& splitter) const {
340 for (auto it = splitter.begin(); !it.at_end();) {
361 std::vector<std::string, A> operator()(const Splitter& splitter) const {
362 const std::vector<absl::string_view> v = splitter;
[all …]
/external/cronet/third_party/abseil-cpp/absl/strings/internal/
Dstr_split_internal.h93 SplitIterator(State state, const Splitter* splitter) in SplitIterator() argument
96 splitter_(splitter), in SplitIterator()
97 delimiter_(splitter->delimiter()), in SplitIterator()
98 predicate_(splitter->predicate()) { in SplitIterator()
319 Container operator()(const Splitter& splitter) const {
322 for (const auto& sp : splitter) {
338 const Splitter& splitter) const {
348 for (auto it = splitter.begin(); !it.at_end();) {
369 std::vector<std::string, A> operator()(const Splitter& splitter) const {
370 const std::vector<absl::string_view> v = splitter;
[all …]
/external/libtextclassifier/abseil-cpp/absl/strings/internal/
Dstr_split_internal.h122 SplitIterator(State state, const Splitter* splitter) in SplitIterator() argument
125 splitter_(splitter), in SplitIterator()
126 delimiter_(splitter->delimiter()), in SplitIterator()
127 predicate_(splitter->predicate()) { in SplitIterator()
336 Container operator()(const Splitter& splitter) const {
339 for (const auto sp : splitter) {
355 const Splitter& splitter) const {
365 for (auto it = splitter.begin(); !it.at_end();) {
386 std::vector<std::string, A> operator()(const Splitter& splitter) const {
387 const std::vector<absl::string_view> v = splitter;
[all …]
/external/perfetto/src/tools/dump_ftrace_stats/
Dmain.cc79 base::StringSplitter splitter(std::move(text), '\n'); in DumpAllCpuStats() local
80 while (splitter.Next()) { in DumpAllCpuStats()
86 if (base::StartsWith(splitter.cur_token(), "overrun")) { in DumpAllCpuStats()
88 } else if (base::StartsWith(splitter.cur_token(), "commit overrun")) { in DumpAllCpuStats()
95 writer.AppendInt(ExtractInt(splitter.cur_token())); in DumpAllCpuStats()

1234