/external/cldr/tools/java/org/unicode/cldr/util/ |
SplitToArray.java | 5 import com.google.common.base.Splitter; 8 private Splitter splitter; field in class:SplitToArray 10 public SplitToArray(Splitter splitter) { 11 this.splitter = splitter; 15 List<String> parts = splitter.splitToList(source);
|
/external/perfetto/src/traced/probes/ftrace/ |
cpu_stats_parser.cc | 52 base::StringSplitter splitter(std::move(text), '\n'); 53 while (splitter.Next()) { 54 if (base::StartsWith(splitter.cur_token(), "entries")) { 55 stats->entries = ExtractInt(splitter.cur_token()); 56 } else if (base::StartsWith(splitter.cur_token(), "overrun")) { 57 stats->overrun = ExtractInt(splitter.cur_token()); 58 } else if (base::StartsWith(splitter.cur_token(), "commit overrun")) { 59 stats->commit_overrun = ExtractInt(splitter.cur_token()); 60 } else if (base::StartsWith(splitter.cur_token(), "bytes")) { 61 stats->bytes_read = ExtractInt(splitter.cur_token()) [all...] |
/external/perfetto/src/trace_processor/ |
query_constraints.cc | 108 base::StringSplitter splitter(std::string(idxStr), ','); 110 PERFETTO_CHECK(splitter.Next() && splitter.cur_token_size() > 1); 112 long num_constraints = strtol(splitter.cur_token() + 1, nullptr, 10); 114 PERFETTO_CHECK(splitter.Next()); 115 int col = static_cast<int>(strtol(splitter.cur_token(), nullptr, 10)); 116 PERFETTO_CHECK(splitter.Next()); 118 static_cast<unsigned char>(strtol(splitter.cur_token(), nullptr, 10)); 122 PERFETTO_CHECK(splitter.Next() && splitter.cur_token_size() > 1) [all...] |
span_join_operator_table.cc | 690 base::StringSplitter splitter(raw_descriptor, ' '); 691 if (!splitter.Next()) 695 descriptor.name = splitter.cur_token(); 696 if (!splitter.Next()) 699 if (strcasecmp(splitter.cur_token(), "PARTITIONED") != 0) { 700 PERFETTO_ELOG("Invalid SPAN_JOIN token %s", splitter.cur_token()); 703 if (!splitter.Next()) { 708 descriptor.partition_col = splitter.cur_token();
|
/external/perfetto/tools/dump_ftrace_stats/ |
main.cc | 79 base::StringSplitter splitter(std::move(text), '\n'); 80 while (splitter.Next()) { 86 if (base::StartsWith(splitter.cur_token(), "overrun")) { 88 } else if (base::StartsWith(splitter.cur_token(), "commit overrun")) { 95 writer.AppendInt(ExtractInt(splitter.cur_token()));
|
/external/guava/guava-gwt/src-super/com/google/common/base/super/com/google/common/base/ |
Splitter.java | 40 * all, a splitter can extract adjacent substrings of a given {@linkplain 45 * Splitter.on(',').split("foo,bar,qux")}</pre> 50 * <p>By default, {@code Splitter}'s behavior is simplistic and unassuming. The 53 * Splitter.on(',').split(" foo,,, bar ,")}</pre> 57 * splitter instance with modified behavior: <pre> {@code 59 * private static final Splitter MY_SPLITTER = Splitter.on(',') 67 * <p><b>Warning:</b> Splitter instances are immutable. Invoking a configuration 69 * new splitter instance it returns instead. <pre> {@code 72 * Splitter splitter = Splitter.on('/') [all...] |
/external/guava/guava/src/com/google/common/base/ |
Splitter.java | 43 * all, a splitter can extract adjacent substrings of a given {@linkplain 48 * Splitter.on(',').split("foo,bar,qux")}</pre> 53 * <p>By default, {@code Splitter}'s behavior is simplistic and unassuming. The 56 * Splitter.on(',').split(" foo,,, bar ,")}</pre> 60 * splitter instance with modified behavior: <pre> {@code 62 * private static final Splitter MY_SPLITTER = Splitter.on(',') 70 * <p><b>Warning:</b> Splitter instances are immutable. Invoking a configuration 72 * new splitter instance it returns instead. <pre> {@code 75 * Splitter splitter = Splitter.on('/') [all...] |
/external/cldr/tools/java/org/unicode/cldr/icu/ |
ICUWriter.java | 23 private final ResourceSplitter splitter; field in class:ICUWriter 25 ICUWriter(String dstDirName, ICULog log, ResourceSplitter splitter) { 28 this.splitter = splitter; 50 if (splitter == null) { 55 List<ResultInfo> result = splitter.split(rootDir, (ResourceTable) res);
|
NewLdml2IcuConverter.java | 87 private IcuDataSplitter splitter; field in class:NewLdml2IcuConverter 158 splitter = IcuDataSplitter.make(destinationDir, splitInfos); 318 if (splitter == null) { 322 Map<String, IcuData> splitData = splitter.split(icuData, fallbackDir); 359 if (splitter == null) return; 361 // Generate aliases and locales for remaining directories if a splitter was used. 362 for (String dir : splitter.getTargetDirs()) { 364 aliases = writeSyntheticFiles(splitter.getDirSources(dir), outputDir.getAbsolutePath()); 365 makefile = splitter.generateMakefile(aliases, outputDir.getName());
|
IcuDataSplitter.java | 45 IcuDataSplitter splitter = new IcuDataSplitter(splitInfos); local 47 Map<String, File> targetDirs = splitter.targetDirs; 79 return splitter; 166 * Returns the set of directories that the splitter splits data into (excluding the main directory).
|
/external/webrtc/webrtc/modules/audio_coding/neteq/ |
payload_splitter_unittest.cc | 163 PayloadSplitter* splitter = new PayloadSplitter; local 164 delete splitter; 174 PayloadSplitter splitter; local 175 EXPECT_EQ(PayloadSplitter::kOK, splitter.SplitRed(&packet_list)); 207 PayloadSplitter splitter; local 208 EXPECT_EQ(PayloadSplitter::kOK, splitter.SplitRed(&packet_list)); 247 PayloadSplitter splitter; local 248 EXPECT_EQ(PayloadSplitter::kOK, splitter.SplitRed(&packet_list)); 318 PayloadSplitter splitter; local 319 splitter.CheckRedPayloads(&packet_list, decoder_database) 346 PayloadSplitter splitter; local 405 PayloadSplitter splitter; local 438 PayloadSplitter splitter; local 543 PayloadSplitter splitter; local 631 PayloadSplitter splitter; local 695 PayloadSplitter splitter; local 727 PayloadSplitter splitter; local 760 PayloadSplitter splitter; local 809 PayloadSplitter splitter; local [all...] |
/external/owasp/sanitizer/src/main/org/owasp/html/ |
HtmlLexer.java | 48 private final HtmlInputSplitter splitter; field in class:HtmlLexer 53 this.splitter = new HtmlInputSplitter(input); 80 * splitter. 226 } else if (splitter.hasNext()) { 227 return splitter.next(); 234 while (lookahead.size() <= i && splitter.hasNext()) { 235 lookahead.add(splitter.next());
|
/external/adhd/scripts/mic_testing/frontend/ |
source.js | 146 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/jcommander/src/main/java/com/beust/jcommander/ |
Parameter.java | 106 * What splitter to use (applicable only on fields of type <tt>List</tt>). By default, 107 * a comma separated splitter will be used. 109 Class<? extends IParameterSplitter> splitter() default CommaParameterSplitter.class;
|
/external/jcommander/src/test/java/com/beust/jcommander/args/ |
ArgsList.java | 21 @Parameter(names = "-hp", converter = HostPortConverter.class, splitter = SemiColonSplitter.class)
|
/external/smali/baksmali/src/main/java/org/jf/baksmali/ |
AnalysisArguments.java | 58 splitter = ColonParameterSplitter.class) 65 splitter = ColonParameterSplitter.class)
|
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/ |
AbstractRestrictBackgroundNetworkTestCase.java | 462 TextUtils.SimpleStringSplitter splitter = new TextUtils.SimpleStringSplitter('\n'); local 463 splitter.setString(networkManagementDump); 466 while (splitter.hasNext()) { 467 next = splitter.next(); 471 splitter.setString(networkPolicyDump); 473 while (splitter.hasNext()) { 474 next = splitter.next(); 961 final TextUtils.SimpleStringSplitter splitter = new TextUtils.SimpleStringSplitter('\\n'); local [all...] |
/frameworks/av/services/camera/libcameraservice/device3/ |
Camera3StreamSplitter.cpp | 357 // In case the output BufferQueue has its own lock, if we hold splitter lock while calling 359 // own lock calling releaseBuffer (which will try to acquire the splitter lock), running into 587 // 1. This function holds splitter lock, calls releaseBuffer which triggers 592 // splitter lock. 753 wp<Camera3StreamSplitter> splitter, 755 : mSplitter(splitter), mOutput(output) {} 759 sp<Camera3StreamSplitter> splitter = mSplitter.promote(); local 761 if (splitter != nullptr && output != nullptr) { 762 splitter->onBufferReleasedByOutput(output); 767 sp<Camera3StreamSplitter> splitter = mSplitter.promote() local [all...] |
/external/guava/guava-tests/test/com/google/common/io/ |
FilesSimplifyPathTest.java | 23 import com.google.common.base.Splitter; 297 Splitter splitter = Splitter.on(CharMatcher.WHITESPACE); local 300 Iterator<String> iterator = splitter.split(line).iterator();
|
/external/cldr/tools/java/org/unicode/cldr/tool/ |
ChartDelta.java | 48 import com.google.common.base.Splitter; 544 Splitter splitter = getSplitter(ph.getOriginalPath(), valueOld, valueCurrent); local 548 if (splitter != null && valueCurrent != null) { 549 count = splitHandlingNull(splitter, valueCurrent).size(); 553 if (splitter != null) { 554 List<String> setOld = splitHandlingNull(splitter, valueOld); 555 List<String> setNew = splitHandlingNull(splitter, valueCurrent); 572 private List<String> splitHandlingNull(Splitter splitter, String value) 1004 Splitter splitter = getValueSplitter(pathPlain); local [all...] |
DiffCldr.java | 28 import com.google.common.base.Splitter; 123 Splitter splitter = DtdData.getValueSplitter(pathPlain); local 124 String cleanedValue = joinValues(pathPlain, splitter.splitToList(value));
|
/external/desugar/java/com/google/devtools/common/options/ |
Converters.java | 16 import com.google.common.base.Splitter; 256 private final Splitter splitter; field in class:Converters.SeparatedOptionListConverter 260 this.splitter = Splitter.on(separator); 265 return input.isEmpty() ? ImmutableList.of() : ImmutableList.copyOf(splitter.split(input));
|
/cts/tests/jdwp/runner/host-side/src/com/android/compatibility/testtype/ |
DalvikTest.java | 46 import com.google.common.base.Splitter; 497 Splitter splitter = Splitter.on(',').trimResults(); local 499 knownFailuresFiles.addAll(splitter.splitToList(mKnownFailures)); 502 knownFailuresFiles.addAll(splitter.splitToList(mKnownFailuresAdbconnection)); 505 knownFailuresFiles.addAll(splitter.splitToList(mKnownFailuresInternal));
|
/external/testng/src/main/java/org/testng/ |
CommandLineArgs.java | 139 splitter = CommaParameterSplitter.class)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_minidom.py | [all...] |