Home
last modified time | relevance | path

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

12

/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/perfetto/src/trace_processor/
Dquery_constraints.cc108 base::StringSplitter splitter(std::string(idxStr), ','); in FromString() local
110 PERFETTO_CHECK(splitter.Next() && splitter.cur_token_size() > 1); in FromString()
112 long num_constraints = strtol(splitter.cur_token() + 1, nullptr, 10); in FromString()
114 PERFETTO_CHECK(splitter.Next()); in FromString()
115 int col = static_cast<int>(strtol(splitter.cur_token(), nullptr, 10)); in FromString()
116 PERFETTO_CHECK(splitter.Next()); in FromString()
118 static_cast<unsigned char>(strtol(splitter.cur_token(), nullptr, 10)); in FromString()
122 PERFETTO_CHECK(splitter.Next() && splitter.cur_token_size() > 1); in FromString()
124 long num_order_by = strtol(splitter.cur_token() + 1, nullptr, 10); in FromString()
126 PERFETTO_CHECK(splitter.Next()); in FromString()
[all …]
Dspan_join_operator_table.cc690 base::StringSplitter splitter(raw_descriptor, ' '); in Parse() local
691 if (!splitter.Next()) in Parse()
695 descriptor.name = splitter.cur_token(); in Parse()
696 if (!splitter.Next()) in Parse()
699 if (strcasecmp(splitter.cur_token(), "PARTITIONED") != 0) { in Parse()
700 PERFETTO_ELOG("Invalid SPAN_JOIN token %s", splitter.cur_token()); in Parse()
703 if (!splitter.Next()) { in Parse()
708 descriptor.partition_col = splitter.cur_token(); in Parse()
/external/guava/guava/src/com/google/common/base/
DSplitter.java148 Splitter splitter, final CharSequence toSplit) { in on()
149 return new SplittingIterator(splitter, toSplit) { in on()
176 Splitter splitter, CharSequence toSplit) {
177 return new SplittingIterator(splitter, toSplit) {
222 final Splitter splitter, CharSequence toSplit) {
224 return new SplittingIterator(splitter, toSplit) {
281 final Splitter splitter, CharSequence toSplit) {
282 return new SplittingIterator(splitter, toSplit) {
519 Iterator<String> iterator(Splitter splitter, CharSequence toSplit);
543 protected SplittingIterator(Splitter splitter, CharSequence toSplit) {
[all …]
/external/webrtc/webrtc/modules/audio_coding/neteq/
Dpayload_splitter_unittest.cc163 PayloadSplitter* splitter = new PayloadSplitter; in TEST() local
164 delete splitter; in TEST()
174 PayloadSplitter splitter; in TEST() local
175 EXPECT_EQ(PayloadSplitter::kOK, splitter.SplitRed(&packet_list)); in TEST()
207 PayloadSplitter splitter; in TEST() local
208 EXPECT_EQ(PayloadSplitter::kOK, splitter.SplitRed(&packet_list)); in TEST()
247 PayloadSplitter splitter; in TEST() local
248 EXPECT_EQ(PayloadSplitter::kOK, splitter.SplitRed(&packet_list)); in TEST()
318 PayloadSplitter splitter; in TEST() local
319 splitter.CheckRedPayloads(&packet_list, decoder_database); in TEST()
[all …]
/external/cldr/tools/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-gwt/src-super/com/google/common/base/super/com/google/common/base/
DSplitter.java145 Splitter splitter, final CharSequence toSplit) { in on()
146 return new SplittingIterator(splitter, toSplit) { in on()
173 Splitter splitter, CharSequence toSplit) {
174 return new SplittingIterator(splitter, toSplit) {
223 final Splitter splitter, CharSequence toSplit) {
224 return new SplittingIterator(splitter, toSplit) {
461 Iterator<String> iterator(Splitter splitter, CharSequence toSplit);
485 protected SplittingIterator(Splitter splitter, CharSequence toSplit) {
486 this.trimmer = splitter.trimmer;
487 this.omitEmptyStrings = splitter.omitEmptyStrings;
[all …]
/external/perfetto/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()
/external/cldr/tools/java/org/unicode/cldr/icu/
DICUWriter.java23 private final ResourceSplitter splitter; field in ICUWriter
25 ICUWriter(String dstDirName, ICULog log, ResourceSplitter splitter) { in ICUWriter() argument
28 this.splitter = splitter; in ICUWriter()
50 if (splitter == null) { in writeResource()
55 List<ResultInfo> result = splitter.split(rootDir, (ResourceTable) res); in writeResource()
DNewLdml2IcuConverter.java87 private IcuDataSplitter splitter; field in NewLdml2IcuConverter
158 splitter = IcuDataSplitter.make(destinationDir, splitInfos); in processArgs()
318 if (splitter == null) { in writeIcuData()
322 Map<String, IcuData> splitData = splitter.split(icuData, fallbackDir); in writeIcuData()
359 if (splitter == null) return; in generateMakefile()
362 for (String dir : splitter.getTargetDirs()) { in generateMakefile()
364 aliases = writeSyntheticFiles(splitter.getDirSources(dir), outputDir.getAbsolutePath()); in generateMakefile()
365 makefile = splitter.generateMakefile(aliases, outputDir.getName()); in generateMakefile()
DIcuDataSplitter.java45 IcuDataSplitter splitter = new IcuDataSplitter(splitInfos); in make() local
47 Map<String, File> targetDirs = splitter.targetDirs; in make()
79 return splitter; in make()
/external/adhd/scripts/mic_testing/frontend/
Dsource.js146 this.splitter = this.audioContext.createChannelSplitter(2);
148 this.node.connect(this.splitter);
149 this.splitter.connect(this.merger, 0, 0);
150 this.splitter.connect(this.merger, 1, 1);
/external/owasp/sanitizer/src/main/org/owasp/html/
DHtmlLexer.java48 private final HtmlInputSplitter splitter; field in HtmlLexer
53 this.splitter = new HtmlInputSplitter(input); in HtmlLexer()
226 } else if (splitter.hasNext()) { in readToken()
227 return splitter.next(); in readToken()
234 while (lookahead.size() <= i && splitter.hasNext()) { in peekToken()
235 lookahead.add(splitter.next()); in peekToken()
/external/smali/baksmali/src/main/java/org/jf/baksmali/
DAnalysisArguments.java58 splitter = ColonParameterSplitter.class)
65 splitter = ColonParameterSplitter.class)
/external/cldr/tools/java/org/unicode/cldr/tool/
DChartDelta.java544 Splitter splitter = getSplitter(ph.getOriginalPath(), valueOld, valueCurrent); in addValueDiff() local
548 if (splitter != null && valueCurrent != null) { in addValueDiff()
549 count = splitHandlingNull(splitter, valueCurrent).size(); in addValueDiff()
553 if (splitter != null) { in addValueDiff()
554 List<String> setOld = splitHandlingNull(splitter, valueOld); in addValueDiff()
555 List<String> setNew = splitHandlingNull(splitter, valueCurrent); in addValueDiff()
572 private List<String> splitHandlingNull(Splitter splitter, String value) { in splitHandlingNull() argument
573 return value == null ? null : splitter.splitToList(value); in splitHandlingNull()
1004 Splitter splitter = getValueSplitter(pathPlain); in fillData() local
1005 for (String line : splitter.split(value)) { in fillData()
DDiffCldr.java123 Splitter splitter = DtdData.getValueSplitter(pathPlain); in main() local
124 … String cleanedValue = joinValues(pathPlain, splitter.splitToList(value)); in main()
/external/guava/guava-tests/test/com/google/common/io/
DFilesSimplifyPathTest.java297 Splitter splitter = Splitter.on(CharMatcher.WHITESPACE); in doExtensiveTest() local
300 Iterator<String> iterator = splitter.split(line).iterator(); in doExtensiveTest()
/external/python/cpython2/Lib/test/
Dtest_minidom.py1190 splitter = doc.createComment("comment")
1191 elem.appendChild(splitter)
1198 elem.replaceChild(x, splitter)
1199 splitter = x
1204 elem.replaceChild(x, splitter)
1205 splitter = x
1209 elem.removeChild(splitter)
1228 splitter = text1.nextSibling
1229 elem.insertBefore(doc.createTextNode("b"), splitter)
1231 return doc, elem, text1, splitter, text2
[all …]
/external/desugar/java/com/google/devtools/common/options/
DConverters.java256 private final Splitter splitter; field in Converters.SeparatedOptionListConverter
260 this.splitter = Splitter.on(separator); in SeparatedOptionListConverter()
265 return input.isEmpty() ? ImmutableList.of() : ImmutableList.copyOf(splitter.split(input)); in convert()
/external/python/cpython3/Lib/test/
Dtest_minidom.py1336 splitter = doc.createComment("comment")
1337 elem.appendChild(splitter)
1344 elem.replaceChild(x, splitter)
1345 splitter = x
1350 elem.replaceChild(x, splitter)
1351 splitter = x
1355 elem.removeChild(splitter)
1374 splitter = text1.nextSibling
1375 elem.insertBefore(doc.createTextNode("b"), splitter)
1377 return doc, elem, text1, splitter, text2
[all …]
/external/jcommander/src/main/java/com/beust/jcommander/
DParameter.java109 Class<? extends IParameterSplitter> splitter() default CommaParameterSplitter.class; in splitter() method
/external/jcommander/src/test/java/com/beust/jcommander/args/
DArgsList.java21 @Parameter(names = "-hp", converter = HostPortConverter.class, splitter = SemiColonSplitter.class)
/external/adhd/scripts/audio_tuning/frontend/
Daudio.js426 var splitter = audioContext.createChannelSplitter(2);
434 splitter.connect(analyzer_left, 0, 0);
435 splitter.connect(analyzer_right, 1, 0);
440 return [pin(splitter)];
454 var splitter = audioContext.createChannelSplitter(2);
457 connect_from_native(pin(splitter, 0), eqcs[0]);
458 connect_from_native(pin(splitter, 1), eqcs[1]);
463 return [pin(splitter)];
/external/testng/src/main/java/org/testng/
DCommandLineArgs.java139 splitter = CommaParameterSplitter.class)
/external/v8/src/runtime/
Druntime-regexp.cc1610 Handle<JSReceiver> splitter; in RUNTIME_FUNCTION() local
1623 splitter = Handle<JSReceiver>::cast(splitter_obj); in RUNTIME_FUNCTION()
1636 isolate, result, RegExpUtils::RegExpExec(isolate, splitter, string, in RUNTIME_FUNCTION()
1654 isolate, RegExpUtils::SetLastIndex(isolate, splitter, string_index)); in RUNTIME_FUNCTION()
1658 isolate, result, RegExpUtils::RegExpExec(isolate, splitter, string, in RUNTIME_FUNCTION()
1669 isolate, last_index_obj, RegExpUtils::GetLastIndex(isolate, splitter)); in RUNTIME_FUNCTION()

12