/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; 45 private static final Joiner J = Joiner.on("-"); 91 Joiner onChar = Joiner.on('-'); in testOnCharOverride() 99 Joiner skipNulls = J.skipNulls(); in testSkipNulls() 113 Joiner zeroForNull = J.useForNull("0"); in testUseForNull() 126 private static void checkNoOutput(Joiner joiner, Iterable<Integer> set) { in checkNoOutput() 179 private static void checkResult(Joiner joiner, Iterable<Integer> parts, String expected) { in checkResult() 214 Joiner j = Joiner.on("x").useForNull("y"); in test_useForNull_skipNulls() 223 Joiner j = Joiner.on("x").skipNulls(); in test_skipNulls_useForNull() 232 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/libcxx/test/std/experimental/iterator/ostream.joiner/ostream.joiner.ops/ |
D | ostream_joiner.op.assign.pass.cpp | 57 typedef exp::ostream_joiner<typename std::decay<Delim>::type, CharT, Traits> Joiner; in test() typedef 59 …static_assert((std::is_copy_constructible<Joiner>::value == std::is_copy_constructible<typename st… in test() 60 …static_assert((std::is_move_constructible<Joiner>::value == std::is_move_constructible<typename st… in test() 61 …static_assert((std::is_copy_assignable<Joiner> ::value == std::is_copy_assignable<typename std::… in test() 62 …static_assert((std::is_move_assignable<Joiner> ::value == std::is_move_assignable<typename std::… in test() 65 Joiner joiner(sstream, d); in test()
|
/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/vogar/test/vogar/target/main/ |
D | TestRunnerMainTest.java | 19 import com.google.common.base.Joiner; 69 System.out.println("Args: " + Joiner.on(", ").join(args)); in main() 87 System.out.println("Args: " + Joiner.on(", ").join(args)); in main()
|
/external/turbine/javatests/com/google/turbine/binder/ |
D | BinderErrorTest.java | 23 import com.google.common.base.Joiner; 593 fail(Joiner.on('\n').join(source)); in test() 604 return Joiner.on(System.lineSeparator()).join(lines); in lines()
|
/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/cldr/tools/java/org/unicode/cldr/draft/keyboard/ |
D | ModifierKeyCombinationSet.java | 8 import com.google.common.base.Joiner; 70 private static final Joiner SPACE_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/caliper/caliper/src/main/java/com/google/caliper/platform/dalvik/ |
D | DalvikPlatform.java | 27 import com.google.common.base.Joiner; 153 Joiner.MapJoiner mapJoiner = Joiner.on(',').withKeyValueSeparator("="); in customVmHomeDir()
|
/external/caliper/caliper/src/main/java/com/google/caliper/runner/ |
D | ProxyWorkerException.java | 19 import com.google.common.base.Joiner; 35 Joiner.on("\n\t").appendTo(builder, Splitter.on('\n').split(stackTrace)); in formatMesssage()
|
/external/turbine/java/com/google/turbine/main/ |
D | UsageException.java | 21 import com.google.common.base.Joiner; 61 Joiner.on('\n').appendTo(builder, USAGE).append('\n'); in buildMessage()
|
/external/turbine/java/com/google/turbine/tree/ |
D | Pretty.java | 19 import com.google.common.base.Joiner; 200 append(Joiner.on('.').join(constVarName.name())); in visitConstVarName() 271 append(Joiner.on('.').join(importDecl.type())); in visitImportDecl() 366 append(Joiner.on('.').join(anno.name())); in visitAnno() 534 append("package ").append(Joiner.on('.').join(pkgDecl.name())).append(';'); in visitPkgDecl() 615 append(Joiner.on('.').join(modUses.typeName())); in visitModUses() 624 append(Joiner.on('.').join(modProvides.typeName())); in visitModProvides() 633 append(Joiner.on('.').join(implName)); in visitModProvides()
|
/external/grpc-grpc-java/core/src/main/java/io/grpc/ |
D | DecompressorRegistry.java | 22 import com.google.common.base.Joiner; 39 static final Joiner ACCEPT_ENCODING_JOINER = Joiner.on(',');
|
/external/libchrome/third_party/jinja2/ |
D | defaults.py | 12 from jinja2.utils import generate_lorem_ipsum, Cycler, Joiner, Namespace 38 'joiner': Joiner,
|
/external/libcxx/test/std/experimental/iterator/ostream.joiner/ostream.joiner.creation/ |
D | make_ostream_joiner.pass.cpp | 36 typedef exp::ostream_joiner<typename std::decay<Delim>::type, CharT, Traits> Joiner; in test() typedef 37 static_assert((std::is_same<decltype(joiner), Joiner>::value), "" ); in test()
|
/external/vogar/src/vogar/ |
D | Target.java | 20 import com.google.common.base.Joiner; 115 private static final Joiner SCRIPT_JOINER = Joiner.on(" ");
|
/external/turbine/javatests/com/google/turbine/parse/ |
D | VariableDeclarationTest.java | 22 import com.google.common.base.Joiner; 199 assertThat(Joiner.on(" ").join(getOnlyElement(unit.decls()).members())).isEqualTo(expected); in test()
|
D | VariableInitializerTest.java | 21 import com.google.common.base.Joiner; 137 assertThat(Joiner.on(", ").join(initializers)).isEqualTo(expected); in test()
|
/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(",");
|
/external/guice/extensions/servlet/src/com/google/inject/servlet/ |
D | ServletUtils.java | 22 import com.google.common.base.Joiner; 38 private static final Joiner SLASH_JOINER = Joiner.on('/');
|