Home
last modified time | relevance | path

Searched refs:Joiner (Results 1 – 25 of 32) sorted by relevance

12

/external/owasp/sanitizer/src/tests/org/owasp/html/
DHtmlPolicyBuilderTest.java35 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 …]
DHtmlStreamRendererTest.java33 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()
DCssGrammarTest.java35 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-tests/test/com/google/common/base/
DJoinerTest.java21 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 onChar = Joiner.on('-'); in testIterableIterator()
217 Joiner skipNulls = J.skipNulls(); in testIterableIterator()
220 Joiner zeroForNull = J.useForNull("0"); in testIterableIterator()
[all …]
/external/guava/guava/src/com/google/common/base/
DJoiner.java63 public class Joiner { class
67 public static Joiner on(String separator) { in on()
68 return new Joiner(separator); in on()
74 public static Joiner on(char separator) { in on()
75 return new Joiner(String.valueOf(separator)); in on()
80 private Joiner(String separator) { in Joiner() method in Joiner
84 private Joiner(Joiner prototype) { in Joiner() method in Joiner
261 public Joiner useForNull(final String nullText) { in useForNull()
263 return new Joiner(this) { in useForNull()
265 return (part == null) ? nullText : Joiner.this.toString(part); in useForNull()
[all …]
DPredicates.java326 private static final Joiner COMMA_JOINER = Joiner.on(",");
/external/guava/guava-tests/test/com/google/common/net/
DHttpHeadersTest.java20 import com.google.common.base.Joiner;
53 private static final Joiner JOINER = Joiner.on('-');
/external/chromium_org/third_party/jinja2/
Ddefaults.py12 from jinja2.utils import generate_lorem_ipsum, Cycler, Joiner
38 'joiner': Joiner
/external/guava/guava-tests/test/com/google/common/collect/
DForwardingTestCase.java20 import com.google.common.base.Joiner;
79 private static final Joiner COMMA_JOINER = Joiner.on(",");
DFauxveridesTest.java26 import com.google.common.base.Joiner;
236 : "<" + Joiner.on(", ").join(parameterSignatures) + "> "; in toString()
275 return Joiner.on(", ").join(names); in getTypesString()
DImmutableBiMapTest.java23 import com.google.common.base.Joiner;
153 private static final Joiner joiner = Joiner.on(", ");
DImmutableMapTest.java23 import com.google.common.base.Joiner;
152 private static final Joiner joiner = Joiner.on(", ");
DImmutableSortedMapTest.java23 import com.google.common.base.Joiner;
166 private static final Joiner joiner = Joiner.on(", ");
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/ui/dialogs/
DStringsDialog.java13 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/
DStringArrayPropertyEditor.java13 import com.google.common.base.Joiner;
46 return "[" + Joiner.on(", ").join(items) + "]"; in getText()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/
DClassDataItem.java34 import com.google.common.base.Joiner;
139 Joiner.on('|').join(AccessFlags.getAccessFlagsForField(accessFlags))); in makeAnnotator()
155 Joiner.on('|').join(AccessFlags.getAccessFlagsForMethod(accessFlags))); in makeAnnotator()
DClassDefItem.java34 import com.google.common.base.Joiner;
76 Joiner.on('|').join(AccessFlags.getAccessFlagsForClass(accessFlags))); in makeAnnotator()
DCodeItem.java34 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/src/com/google/common/net/
DInternetDomainName.java27 import com.google.common.base.Joiner;
82 private static final Joiner DOT_JOINER = Joiner.on('.');
/external/guava/guava/src/com/google/common/collect/
DCollections2.java24 import com.google.common.base.Joiner;
344 static final Joiner STANDARD_JOINER = Joiner.on(", ");
/external/chromium_org/third_party/WebKit/Source/devtools/scripts/jsdoc-validator/src/org/chromium/devtools/jsdoc/checks/
DMethodAnnotationChecker.java3 import com.google.common.base.Joiner;
55 Joiner.on(',').join(nonAnnotatedParams))); in handleFunction()
/external/okhttp/okcurl/src/main/java/com/squareup/okhttp/curl/
DMain.java19 import com.google.common.base.Joiner;
73 return Joiner.on(", ").join(Lists.transform(Arrays.asList(Protocol.values()), in protocols()
/external/guava/guava-gwt/src-super/com/google/common/base/super/com/google/common/base/
DPredicates.java263 private static final Joiner COMMA_JOINER = Joiner.on(",");
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/table/
DHtmlTooltipHelper.java14 import com.google.common.base.Joiner;
330 return Joiner.on('\n').join(lines); in getSource()
/external/guava/guava/src/com/google/common/io/
DFiles.java22 import com.google.common.base.Joiner;
735 String result = Joiner.on('/').join(path);

12