Home
last modified time | relevance | path

Searched refs:Splitter (Results 1 – 25 of 37) sorted by relevance

12

/external/guava/guava-tests/test/com/google/common/base/
DSplitterTest.java41 private static final Splitter COMMA_SPLITTER = Splitter.on(',');
72 assertEquals("[]", Splitter.on(',').split("").toString()); in testToString()
73 assertEquals("[a, b, c]", Splitter.on(',').split("a,b,c").toString()); in testToString()
74 assertEquals("[yam, bam, jam, ham]", Splitter.on(", ").split("yam, bam, jam, ham").toString()); in testToString()
79 Iterable<String> letters = Splitter.on('.').split(simple); in testCharacterSimpleSplitWithNoDelimiter()
108 Iterable<String> testCharacteringMotto = Splitter.on('-').split( in testCharacterSplitWithMulitpleLetters()
115 Iterable<String> testCharacteringMotto = Splitter in testCharacterSplitWithMatcherDelimiter()
124 Iterable<String> letters = Splitter.on('.') in testCharacterSplitWithDoubleDelimiterOmitEmptyStrings()
131 Iterable<String> letters = Splitter.on('.').trimResults() in testCharacterSplitEmptyToken()
138 Iterable<String> letters = Splitter.on('.') in testCharacterSplitEmptyTokenOmitEmptyStrings()
[all …]
/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/
DSplitterTest.java38 private static final Splitter COMMA_SPLITTER = Splitter.on(',');
69 assertEquals("[]", Splitter.on(',').split("").toString()); in testToString()
70 assertEquals("[a, b, c]", Splitter.on(',').split("a,b,c").toString()); in testToString()
71 assertEquals("[yam, bam, jam, ham]", Splitter.on(", ").split("yam, bam, jam, ham").toString()); in testToString()
76 Iterable<String> letters = Splitter.on('.').split(simple); in testCharacterSimpleSplitWithNoDelimiter()
105 Iterable<String> testCharacteringMotto = Splitter.on('-').split( in testCharacterSplitWithMulitpleLetters()
112 Iterable<String> testCharacteringMotto = Splitter in testCharacterSplitWithMatcherDelimiter()
121 Iterable<String> letters = Splitter.on('.') in testCharacterSplitWithDoubleDelimiterOmitEmptyStrings()
128 Iterable<String> letters = Splitter.on('.').trimResults() in testCharacterSplitEmptyToken()
135 Iterable<String> letters = Splitter.on('.') in testCharacterSplitEmptyTokenOmitEmptyStrings()
[all …]
/external/guava/guava/src/com/google/common/base/
DSplitter.java103 public final class Splitter { class
109 private Splitter(Strategy strategy) { in Splitter() method in Splitter
113 private Splitter(Strategy strategy, boolean omitEmptyStrings, in Splitter() method in Splitter
129 public static Splitter on(char separator) { in on()
143 public static Splitter on(final CharMatcher separatorMatcher) { in on()
146 return new Splitter(new Strategy() { in on()
148 Splitter splitter, final CharSequence toSplit) { in on()
170 public static Splitter on(final String separator) {
174 return new Splitter(new Strategy() {
176 Splitter splitter, CharSequence toSplit) {
[all …]
/external/guava/guava-gwt/src-super/com/google/common/base/super/com/google/common/base/
DSplitter.java100 public final class Splitter { class
106 private Splitter(Strategy strategy) { in Splitter() method in Splitter
110 private Splitter(Strategy strategy, boolean omitEmptyStrings, in Splitter() method in Splitter
126 public static Splitter on(char separator) { in on()
140 public static Splitter on(final CharMatcher separatorMatcher) { in on()
143 return new Splitter(new Strategy() { in on()
145 Splitter splitter, final CharSequence toSplit) { in on()
167 public static Splitter on(final String separator) {
171 return new Splitter(new Strategy() {
173 Splitter splitter, CharSequence toSplit) {
[all …]
/external/swiftshader/third_party/subzero/src/
DIceVariableSplitting.cpp500 LocalVariableSplitter Splitter(Func); in splitBlockLocalVariables() local
520 Splitter.setNode(Node); in splitBlockLocalVariables()
531 Splitter.setInst(&Instr, Iter, Iter); in splitBlockLocalVariables()
532 Splitter.handlePhi(); in splitBlockLocalVariables()
536 for (; Iter != IterEnd && !Splitter.shouldSkipRemainingInstructions(); in splitBlockLocalVariables()
543 Splitter.setInst(Instr, Iter, NextIter); in splitBlockLocalVariables()
584 if (Splitter.handleLabel()) in splitBlockLocalVariables()
586 if (Splitter.handleIntraBlockBranch()) in splitBlockLocalVariables()
588 if (Splitter.handleUnwantedInstruction()) in splitBlockLocalVariables()
597 if (Splitter.handleSimpleVarAssign()) in splitBlockLocalVariables()
[all …]
/external/guava/guava-tests/benchmark/com/google/common/base/
DSplitterBenchmark.java37 private static final Splitter CHAR_SPLITTER = Splitter.on('X');
38 private static final Splitter STRING_SPLITTER = Splitter.on("X");
/external/guava/guava-tests/test/com/google/common/net/
DHttpHeadersTest.java21 import com.google.common.base.Splitter;
72 private static final Splitter SPLITTER = Splitter.on('_');
/external/caliper/caliper/src/main/java/com/google/caliper/runner/
DProxyWorkerException.java20 import com.google.common.base.Splitter;
35 Joiner.on("\n\t").appendTo(builder, Splitter.on('\n').split(stackTrace)); in formatMesssage()
DJarFinder.java20 import com.google.common.base.Splitter;
51 private static final Splitter CLASS_PATH_ATTRIBUTE_SEPARATOR =
52 Splitter.on(' ').omitEmptyStrings();
/external/caliper/caliper/src/main/java/com/google/caliper/platform/jvm/
DEffectiveClassPath.java20 import com.google.common.base.Splitter;
45 for (String entry : Splitter.on(PATH_SEPARATOR).split(JAVA_CLASS_PATH)) { in getClassPathForClassLoader()
/external/guava/guava-tests/test/com/google/common/io/
DFilesSimplifyPathTest.java23 import com.google.common.base.Splitter;
297 Splitter splitter = Splitter.on(CharMatcher.WHITESPACE); in doExtensiveTest()
DBaseEncodingTest.java26 import com.google.common.base.Splitter;
324 Joiner.on(separator).join(Splitter.fixedLength(sepLength).split(encoded))); in testEncodingWithSeparators()
388 Joiner.on(separator).join(Splitter.fixedLength(sepLength).split(encoded))); in testStreamingEncodingWithSeparators()
/external/guava/guava/src/com/google/common/net/
DInternetDomainName.java28 import com.google.common.base.Splitter;
81 private static final Splitter DOT_SPLITTER = Splitter.on('.');
/external/guava/guava/src/com/google/common/cache/
DCacheBuilderSpec.java25 import com.google.common.base.Splitter;
90 private static final Splitter KEYS_SPLITTER = Splitter.on(',').trimResults();
93 private static final Splitter KEY_VALUE_SPLITTER = Splitter.on('=').trimResults();
/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/api/process/ast/
DBodyDeclarationLocators.java18 import com.google.common.base.Splitter;
166 return Splitter.on(',').splitToList(parametersString); in extractParameterTypes()
170 List<String> components = Splitter.on(separator).splitToList(string); in splitInTwo()
DTypeLocator.java19 import com.google.common.base.Splitter;
225 return Splitter.on('$').splitToList(className); in classNameElements()
/external/guava/guava/src/com/google/common/io/
DCharSource.java23 import com.google.common.base.Splitter;
327 private static final Splitter LINE_SPLITTER
328 = Splitter.on(Pattern.compile("\r\n|\n|\r"));
/external/caliper/caliper/src/main/java/com/google/caliper/options/
DParsedOptions.java27 import com.google.common.base.Splitter;
92 return ImmutableSet.copyOf(Splitter.on(delimiter).split(string)); in split()
330 List<String> tokens = ImmutableList.copyOf(Splitter.on('=').limit(2).split(propertyString)); in splitProperty()
/external/desugar/java/com/google/devtools/common/options/
DConverters.java16 import com.google.common.base.Splitter;
223 private final Splitter splitter;
228 this.splitter = Splitter.on(separator); in SeparatedOptionListConverter()
DOptionsUsage.java17 import com.google.common.base.Splitter;
33 private static final Splitter NEWLINE_SPLITTER = Splitter.on('\n');
/external/icu/tools/srcgen/src/main/java/com/android/icu4j/srcgen/
DTranslateJcite.java18 import com.google.common.base.Splitter;
163 List<String> jciteElements = Splitter.on(":").splitToList(fragmentText); in createSampleTagElement()
/external/guava/guava/src/com/google/common/reflect/
DClassPath.java25 import com.google.common.base.Splitter;
69 private static final Splitter CLASS_PATH_ATTRIBUTE_SEPARATOR =
70 Splitter.on(" ").omitEmptyStrings();
/external/guava/guava-gwt/test-super/com/google/common/io/super/com/google/common/io/
DBaseEncodingTest.java25 import com.google.common.base.Splitter;
258 Joiner.on(separator).join(Splitter.fixedLength(sepLength).split(encoded))); in testEncodingWithSeparators()
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/writer/
DClassName.java22 import com.google.common.base.Splitter;
201 List<String> parts = Splitter.on('.').splitToList(classNameString); in bestGuessFromString()
/external/vogar/src/vogar/
DExpectationStore.java20 import com.google.common.base.Splitter;
178 Iterable<String> split = Splitter.on("\n").omitEmptyStrings().trimResults() in readExpectation()

12