/external/owasp/sanitizer/src/tests/org/owasp/html/ |
D | HtmlPolicyBuilderTest.java | 35 import com.google.common.base.Joiner; 41 static final String EXAMPLE = Joiner.on('\n').join( 58 Joiner.on('\n').join( in testTextFilter() 73 Joiner.on('\n').join( in testCannedFormattingTagFilter() 90 Joiner.on('\n').join( in testCannedFormattingTagFilterNoItalics() 107 Joiner.on('\n').join( in testSimpleTagFilter() 123 Joiner.on('\n').join( in testLinksAllowed() 141 Joiner.on('\n').join( in testExternalLinksAllowed() 161 Joiner.on('\n').join( in testLinksWithNofollow() 180 Joiner.on('\n').join( in testImagesAllowed() [all …]
|
D | HtmlStreamRendererTest.java | 33 import com.google.common.base.Joiner; 111 Joiner.on('\n').join( in testIllegalElementName() 117 Joiner.on('\n').join(errors)); in testIllegalElementName() 134 Joiner.on('\n').join( in testIllegalAttributeName() 140 Joiner.on('\n').join(errors)); in testIllegalAttributeName() 155 Joiner.on('\n').join(errors)); in testCdataContainsEndTag1() 172 Joiner.on('\n').join(errors)); in testCdataContainsEndTag2() 208 Joiner.on('\n').join( in testTagInCdata() 211 Joiner.on('\n').join(errors)); in testTagInCdata() 225 Joiner.on('\n').join(errors)); in testUnclosedEscapingTextSpan()
|
D | CssGrammarTest.java | 35 import com.google.common.base.Joiner; 43 CssTokens tokens = CssTokens.lex(Joiner.on('\n').join( in testLex() 63 Joiner.on('\n').join( in testLex() 100 Joiner.on('\n').join(actualTokens)); in testLex()
|
/external/guava/guava/src/com/google/common/base/ |
D | Joiner.java | 66 public class Joiner { class 70 public static Joiner on(String separator) { in on() 71 return new Joiner(separator); in on() 77 public static Joiner on(char separator) { in on() 78 return new Joiner(String.valueOf(separator)); in on() 83 private Joiner(String separator) { in Joiner() method in Joiner 87 private Joiner(Joiner prototype) { in Joiner() method in Joiner 217 public Joiner useForNull(final String nullText) { in useForNull() 219 return new Joiner(this) { in useForNull() 221 return (part == null) ? nullText : Joiner.this.toString(part); in useForNull() [all …]
|
/external/guava/guava-tests/test/com/google/common/base/ |
D | JoinerTest.java | 21 import com.google.common.base.Joiner.MapJoiner; 46 private static final Joiner J = Joiner.on("-"); 92 Joiner onChar = Joiner.on('-'); in testOnCharOverride() 100 Joiner skipNulls = J.skipNulls(); in testSkipNulls() 114 Joiner zeroForNull = J.useForNull("0"); in testUseForNull() 127 private static void checkNoOutput(Joiner joiner, Iterable<Integer> set) { in checkNoOutput() 180 private static void checkResult(Joiner joiner, Iterable<Integer> parts, String expected) { in checkResult() 215 Joiner j = Joiner.on("x").useForNull("y"); in test_useForNull_skipNulls() 224 Joiner j = Joiner.on("x").skipNulls(); in test_skipNulls_useForNull() 233 Joiner j = Joiner.on("x").useForNull("y"); in test_useForNull_twice() [all …]
|
/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/ |
D | JoinerTest.java | 20 import com.google.common.base.Joiner.MapJoiner; 43 private static final Joiner J = Joiner.on("-"); 89 Joiner onChar = Joiner.on('-'); in testOnCharOverride() 97 Joiner skipNulls = J.skipNulls(); in testSkipNulls() 111 Joiner zeroForNull = J.useForNull("0"); in testUseForNull() 124 private static void checkNoOutput(Joiner joiner, Iterable<Integer> set) { in checkNoOutput() 177 private static void checkResult(Joiner joiner, Iterable<Integer> parts, String expected) { in checkResult() 212 Joiner j = Joiner.on("x").useForNull("y"); in test_useForNull_skipNulls() 221 Joiner j = Joiner.on("x").skipNulls(); in test_skipNulls_useForNull() 230 Joiner j = Joiner.on("x").useForNull("y"); in test_useForNull_twice() [all …]
|
/external/guava/guava-tests/benchmark/com/google/common/base/ |
D | JoinerBenchmark.java | 37 private static final Joiner JOINER_ON_STRING = Joiner.on(DELIMITER_STRING); 38 private static final Joiner JOINER_ON_CHARACTER = Joiner.on(DELIMITER_CHARACTER);
|
/external/guava/guava-tests/test/com/google/common/net/ |
D | HttpHeadersTest.java | 20 import com.google.common.base.Joiner; 73 private static final Joiner JOINER = Joiner.on('-');
|
/external/guava/guava/src/com/google/thirdparty/publicsuffix/ |
D | TrieParser.java | 20 import com.google.common.base.Joiner; 32 private static final Joiner PREFIX_JOINER = Joiner.on("");
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | ForwardingTestCase.java | 20 import com.google.common.base.Joiner; 79 private static final Joiner COMMA_JOINER = Joiner.on(",");
|
D | FauxveridesTest.java | 26 import com.google.common.base.Joiner; 238 : "<" + Joiner.on(", ").join(parameterSignatures) + "> "; in toString() 277 return Joiner.on(", ").join(names); in getTypesString()
|
D | ImmutableBiMapTest.java | 23 import com.google.common.base.Joiner; 95 private static final Joiner joiner = Joiner.on(", ");
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/ui/dialogs/ |
D | StringsDialog.java | 13 import com.google.common.base.Joiner; 54 setText(Joiner.on('\n').join(items)); in setItems()
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/editor/ |
D | StringArrayPropertyEditor.java | 13 import com.google.common.base.Joiner; 46 return "[" + Joiner.on(", ").join(items) + "]"; in getText()
|
/external/guava/guava/src/com/google/common/net/ |
D | InternetDomainName.java | 27 import com.google.common.base.Joiner; 82 private static final Joiner DOT_JOINER = Joiner.on('.');
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/ |
D | ClassDataItem.java | 34 import com.google.common.base.Joiner; 139 Joiner.on('|').join(AccessFlags.getAccessFlagsForField(accessFlags))); in makeAnnotator() 155 Joiner.on('|').join(AccessFlags.getAccessFlagsForMethod(accessFlags))); in makeAnnotator()
|
D | ClassDefItem.java | 34 import com.google.common.base.Joiner; 76 Joiner.on('|').join(AccessFlags.getAccessFlagsForClass(accessFlags))); in makeAnnotator()
|
D | CodeItem.java | 34 import com.google.common.base.Joiner; 282 instruction.getOpcode().name, Joiner.on(", ").join(args), reference)); in makeAnnotator() 347 instruction.getOpcode().name, Joiner.on(", ").join(args)); in makeAnnotator()
|
/external/guava/guava-tests/test/com/google/common/io/ |
D | CharSinkTester.java | 21 import com.google.common.base.Joiner; 127 : Joiner.on(separator).join(expectedLines); in assertContainsExpectedLines()
|
D | BaseEncodingTest.java | 25 import com.google.common.base.Joiner; 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-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
D | ImmutableBiMapTest.java | 22 import com.google.common.base.Joiner; 54 private static final Joiner joiner = Joiner.on(", ");
|
/external/guava/guava-testlib/test/com/google/common/testing/anotherpackage/ |
D | ForwardingWrapperTesterTest.java | 24 import com.google.common.base.Joiner; 353 Charset charset, TimeUnit unit, Class<?> cls, Joiner joiner, in foo() 368 Charset charset, TimeUnit unit, Class<?> cls, Joiner joiner, in foo()
|
/external/guava/guava-gwt/test-super/com/google/common/io/super/com/google/common/io/ |
D | BaseEncodingTest.java | 24 import com.google.common.base.Joiner; 258 Joiner.on(separator).join(Splitter.fixedLength(sepLength).split(encoded))); in testEncodingWithSeparators()
|
/external/guava/guava/src/com/google/common/collect/ |
D | Collections2.java | 30 import com.google.common.base.Joiner; 323 static final Joiner STANDARD_JOINER = Joiner.on(", ").useForNull("null");
|
/external/guava/guava/src/com/google/common/reflect/ |
D | Types.java | 25 import com.google.common.base.Joiner; 60 private static final Joiner COMMA_JOINER = Joiner.on(", ").useForNull("null");
|