/external/owasp/sanitizer/src/tests/org/owasp/html/ |
H A D | TagBalancingHtmlStreamRendererTest.java | 31 import com.google.common.collect.ImmutableList; 61 balancer.openTag("html", ImmutableList.<String>of()); 62 balancer.openTag("head", ImmutableList.<String>of()); 63 balancer.openTag("title", ImmutableList.<String>of()); 68 balancer.openTag("body", ImmutableList.<String>of()); 69 balancer.openTag("p", ImmutableList.of("id", "p'0")); 71 balancer.openTag("Br", ImmutableList.<String>of()); 86 balancer.openTag("i", ImmutableList.<String>of()); 88 balancer.openTag("b", ImmutableList.<String>of()); 102 balancer.openTag("ul", ImmutableList [all...] |
H A D | HtmlStreamRendererTest.java | 34 import com.google.common.collect.ImmutableList; 100 renderer.openTag(":svg", ImmutableList.<String>of()); 101 renderer.openTag("svg:", ImmutableList.<String>of()); 102 renderer.openTag("-1", ImmutableList.<String>of()); 103 renderer.openTag("svg::svg", ImmutableList.<String>of()); 104 renderer.openTag("a@b", ImmutableList.<String>of()); 123 renderer.openTag("div", ImmutableList.of(":svg", "x")); 124 renderer.openTag("div", ImmutableList.of("svg:", "x")); 125 renderer.openTag("div", ImmutableList.of("-1", "x")); 126 renderer.openTag("div", ImmutableList [all...] |
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
H A D | ImmutableListTest.java | 35 * Unit test for {@link ImmutableList}. 46 List<String> list = ImmutableList.of(); 51 List<String> list = ImmutableList.of("a"); 56 List<String> list = ImmutableList.of("a", "b"); 61 List<String> list = ImmutableList.of("a", "b", "c"); 66 List<String> list = ImmutableList.of("a", "b", "c", "d"); 71 List<String> list = ImmutableList.of("a", "b", "c", "d", "e"); 76 List<String> list = ImmutableList.of("a", "b", "c", "d", "e", "f"); 81 List<String> list = ImmutableList.of("a", "b", "c", "d", "e", "f", "g"); 86 List<String> list = ImmutableList [all...] |
/external/caliper/caliper/src/main/java/com/google/caliper/runner/ |
H A D | TrialResult.java | 18 import com.google.common.collect.ImmutableList; 26 private final ImmutableList<String> trialMessages; 28 TrialResult(Trial trial, Experiment experiment, ImmutableList<String> trialMessages) { 42 ImmutableList<String> getTrialMessages() {
|
H A D | Parameter.java | 24 import com.google.common.collect.ImmutableList; 43 private final ImmutableList<String> defaults; 95 ImmutableList<String> defaults() { 111 private static ImmutableList<String> findDefaults(Field field) { 114 return ImmutableList.copyOf(defaultsAsStrings); 123 ImmutableList.Builder<String> builder = ImmutableList.builder(); 129 return ImmutableList.of(); 132 private static final ImmutableList<String> ALL_BOOLEANS = ImmutableList [all...] |
/external/guava/guava-testlib/test/com/google/common/testing/ |
H A D | AbstractPackageSanityTestsTest.java | 22 import com.google.common.collect.ImmutableList; 39 assertThat(findClassesToTest(ImmutableList.of(EmptyTest.class))) 41 assertThat(findClassesToTest(ImmutableList.of(EmptyTests.class))) 43 assertThat(findClassesToTest(ImmutableList.of(EmptyTestCase.class))) 45 assertThat(findClassesToTest(ImmutableList.of(EmptyTestSuite.class))) 50 assertThat(findClassesToTest(ImmutableList.of(Foo.class))) 52 assertThat(findClassesToTest(ImmutableList.of(Foo.class, Foo2Test.class))) 58 assertThat(findClassesToTest(ImmutableList.of(Foo.class))) 60 assertThat(findClassesToTest(ImmutableList.of(PublicFoo.class))).has().item(PublicFoo.class); 65 assertThat(findClassesToTest(ImmutableList [all...] |
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
H A D | RegularImmutableSortedSet.java | 36 @Override ImmutableList<E> createAsList() { 37 return new ImmutableSortedAsList<E>(this, ImmutableList.<E>asImmutableList(toArray()));
|
H A D | RegularImmutableAsList.java | 23 * already backed by an {@code ImmutableList} or array. 31 private final ImmutableList<? extends E> delegateList; 33 RegularImmutableAsList(ImmutableCollection<E> delegate, ImmutableList<? extends E> delegateList) { 39 this(delegate, ImmutableList.<E>asImmutableList(array)); 47 ImmutableList<? extends E> delegateList() {
|
H A D | ImmutableList.java | 34 * GWT emulated version of {@link ImmutableList}. 40 public abstract class ImmutableList<E> extends ImmutableCollection<E> class in inherits:ImmutableCollection,List,RandomAccess 42 static final ImmutableList<Object> EMPTY = 45 ImmutableList() {} method in class:ImmutableList 49 public static <E> ImmutableList<E> of() { 50 return (ImmutableList<E>) EMPTY; 53 public static <E> ImmutableList<E> of(E element) { 57 public static <E> ImmutableList<E> of(E e1, E e2) { 59 ImmutableList.<E>nullCheckedList(e1, e2)); 62 public static <E> ImmutableList< [all...] |
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/writer/util/ |
H A D | TryListBuilderTest.java | 34 import com.google.common.collect.ImmutableList; 56 List<? extends TryBlock> expected = ImmutableList.of(new ImmutableTryBlock(0, 10, 57 ImmutableList.of(new ImmutableExceptionHandler(null, 5)))); 70 List<? extends TryBlock> expected = ImmutableList.of(new ImmutableTryBlock(5, 5, 71 ImmutableList.of(new ImmutableExceptionHandler(null, 15)))); 84 List<? extends TryBlock> expected = ImmutableList.of(new ImmutableTryBlock(0, 10, 85 ImmutableList.of(new ImmutableExceptionHandler("Ljava/lang/Exception;", 5)))); 98 List<? extends TryBlock> expected = ImmutableList.of(new ImmutableTryBlock(5, 5, 99 ImmutableList.of(new ImmutableExceptionHandler("Ljava/lang/Exception;", 15)))); 113 List<? extends TryBlock> expected = ImmutableList [all...] |
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/analysis/util/ |
H A D | SuperclassChainTest.java | 34 import com.google.common.collect.ImmutableList; 68 ImmutableList.<TypeProto>of(), 69 ImmutableList.copyOf(TypeProtoUtils.getSuperclassChain(objectClassProto))); 72 ImmutableList.<TypeProto>of(objectClassProto), 73 ImmutableList.copyOf(TypeProtoUtils.getSuperclassChain(oneClassProto))); 76 ImmutableList.<TypeProto>of(oneClassProto, objectClassProto), 77 ImmutableList.copyOf(TypeProtoUtils.getSuperclassChain(twoClassProto))); 80 ImmutableList.<TypeProto>of(twoClassProto, oneClassProto, objectClassProto), 81 ImmutableList.copyOf(TypeProtoUtils.getSuperclassChain(threeClassProto))); 99 ImmutableList [all...] |
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/ |
H A D | MethodSignature.java | 6 import com.google.common.collect.ImmutableList; 15 abstract ImmutableList<Equivalence.Wrapper<TypeMirror>> parameterTypes(); 16 abstract ImmutableList<Equivalence.Wrapper<TypeMirror>> thrownTypes(); 20 ImmutableList.Builder<Equivalence.Wrapper<TypeMirror>> parameters = ImmutableList.builder(); 21 ImmutableList.Builder<Equivalence.Wrapper<TypeMirror>> thrownTypes = ImmutableList.builder();
|
H A D | MissingBindingSuggestions.java | 18 import com.google.common.collect.ImmutableList; 33 static ImmutableList<String> forKey(BindingGraph topLevelGraph, BindingKey key) { 34 ImmutableList.Builder<String> resolutions = new ImmutableList.Builder<>();
|
/external/caliper/caliper/src/main/java/com/google/caliper/bridge/ |
H A D | StopMeasurementLogMessage.java | 21 import com.google.common.collect.ImmutableList; 31 private final ImmutableList<Measurement> measurements; 34 this.measurements = ImmutableList.copyOf(measurements); 37 public ImmutableList<Measurement> measurements() {
|
H A D | WorkerSpec.java | 20 import com.google.common.collect.ImmutableList; 42 public final ImmutableList<Class<?>> methodParameterClasses; 50 ImmutableList<Class<?>> methodParameterClasses,
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/value/ |
H A D | ImmutableArrayEncodedValue.java | 34 import com.google.common.collect.ImmutableList; 43 @Nonnull protected final ImmutableList<? extends ImmutableEncodedValue> value; 49 public ImmutableArrayEncodedValue(@Nonnull ImmutableList<ImmutableEncodedValue> value) { 60 @Nonnull public ImmutableList<? extends ImmutableEncodedValue> getValue() { return value; }
|
/external/smali/util/src/main/java/org/jf/util/ |
H A D | ImmutableUtils.java | 34 import com.google.common.collect.ImmutableList; 42 @Nonnull public static <T> ImmutableList<T> nullToEmptyList(@Nullable ImmutableList<T> list) { 44 return ImmutableList.of();
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/ |
H A D | ImmutableMethodImplementation.java | 34 import com.google.common.collect.ImmutableList; 50 @Nonnull protected final ImmutableList<? extends ImmutableInstruction> instructions; 51 @Nonnull protected final ImmutableList<? extends ImmutableTryBlock> tryBlocks; 52 @Nonnull protected final ImmutableList<? extends ImmutableDebugItem> debugItems; 65 @Nullable ImmutableList<? extends ImmutableInstruction> instructions, 66 @Nullable ImmutableList<? extends ImmutableTryBlock> tryBlocks, 67 @Nullable ImmutableList<? extends ImmutableDebugItem> debugItems) { 90 @Nonnull @Override public ImmutableList<? extends ImmutableInstruction> getInstructions() { return instructions; } 91 @Nonnull @Override public ImmutableList<? extends ImmutableTryBlock> getTryBlocks() { return tryBlocks; } 92 @Nonnull @Override public ImmutableList< [all...] |
/external/guava/guava-tests/test/com/google/common/collect/ |
H A D | ImmutableListTest.java | 60 * Unit test for {@link ImmutableList}. 73 .named("ImmutableList") 79 .named("ImmutableList, built with Builder.add") 85 .named("ImmutableList, built with Builder.addAll") 91 .named("ImmutableList, reversed") 98 .named("ImmutableList, head subList") 105 .named("ImmutableList, tail subList") 112 .named("ImmutableList, middle subList") 120 .named("ImmutableList, unhashable values") 129 List<String> list = ImmutableList [all...] |
/external/llvm/include/llvm/ADT/ |
H A D | ImmutableList.h | 1 //==--- ImmutableList.h - Immutable (functional) list interface --*- C++ -*-==// 10 // This file defines the ImmutableList class. 54 /// ImmutableList - This class represents an immutable (functional) list. 57 /// This interface matches ImmutableSet and ImmutableMap. ImmutableList 63 class ImmutableList { class in namespace:llvm 75 ImmutableList(const ImmutableListImpl<T>* x = nullptr) : X(x) {} function in class:llvm::ImmutableList 85 iterator(ImmutableList l) : L(l.getInternalPointer()) {} 91 ImmutableList getList() const { return L; } 118 bool isEqual(const ImmutableList& L) const { return X == L.X; } 120 bool operator==(const ImmutableList [all...] |
/external/guice/extensions/grapher/src/com/google/inject/grapher/graphviz/ |
H A D | GraphvizEdge.java | 19 import com.google.common.collect.ImmutableList; 34 private List<ArrowType> arrowHead = ImmutableList.of(ArrowType.NORMAL); 39 private List<ArrowType> arrowTail = ImmutableList.of(ArrowType.NONE); 74 this.arrowHead = ImmutableList.copyOf(arrowHead); 103 this.arrowTail = ImmutableList.copyOf(arrowTail);
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/instruction/ |
H A D | ImmutableArrayPayload.java | 34 import com.google.common.collect.ImmutableList; 48 @Nonnull protected final ImmutableList<Number> arrayElements; 54 this.arrayElements = arrayElements==null ? ImmutableList.<Number>of() : ImmutableList.copyOf(arrayElements); 58 @Nullable ImmutableList<Number> arrayElements) {
|
/external/dagger2/compiler/src/test/java/dagger/internal/codegen/ |
H A D | SubcomponentBuilderValidationTest.java | 18 import com.google.common.collect.ImmutableList; 62 assertAbout(javaSources()).that(ImmutableList.of(componentFile, childComponentFile)) 96 assertAbout(javaSources()).that(ImmutableList.of(componentFile, childComponentFile)) 134 assertAbout(javaSources()).that(ImmutableList.of(componentFile, childComponentFile)) 167 assertAbout(javaSources()).that(ImmutableList.of(componentFile, childComponentFile)) 213 assertAbout(javaSources()).that(ImmutableList.of(componentFile, childComponentFile)) 232 assertAbout(javaSources()).that(ImmutableList.of(childComponentFile)) 251 assertAbout(javaSources()).that(ImmutableList.of(childComponentFile)) 270 assertAbout(javaSources()).that(ImmutableList.of(childComponentFile)) 291 assertAbout(javaSources()).that(ImmutableList [all...] |
/external/caliper/caliper/src/main/java/com/google/caliper/util/ |
H A D | InvalidCommandException.java | 17 import com.google.common.collect.ImmutableList; 27 private ImmutableList<String> usage; 34 this.usage = ImmutableList.copyOf(usage);
|
/external/caliper/caliper/src/test/java/com/google/caliper/runner/ |
H A D | InMemoryResultsUploader.java | 23 import com.google.common.collect.ImmutableList; 35 static ImmutableList<Trial> trials() { 36 return ImmutableList.copyOf(trials);
|