Home
last modified time | relevance | path

Searched refs:ImmutableList (Results 1 – 25 of 650) sorted by relevance

12345678910>>...26

/external/owasp/sanitizer/src/tests/org/owasp/html/
DTagBalancingHtmlStreamRendererTest.java31 import com.google.common.collect.ImmutableList;
61 balancer.openTag("html", ImmutableList.<String>of()); in testTagBalancing()
62 balancer.openTag("head", ImmutableList.<String>of()); in testTagBalancing()
63 balancer.openTag("title", ImmutableList.<String>of()); in testTagBalancing()
68 balancer.openTag("body", ImmutableList.<String>of()); in testTagBalancing()
69 balancer.openTag("p", ImmutableList.of("id", "p'0")); in testTagBalancing()
71 balancer.openTag("Br", ImmutableList.<String>of()); in testTagBalancing()
86 balancer.openTag("i", ImmutableList.<String>of()); in testTagSoupIronedOut()
88 balancer.openTag("b", ImmutableList.<String>of()); in testTagSoupIronedOut()
102 balancer.openTag("ul", ImmutableList.<String>of()); in testListInListDirectly()
[all …]
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DImmutableListTest.java46 List<String> list = ImmutableList.of(); in testCreation_noArgs()
51 List<String> list = ImmutableList.of("a"); in testCreation_oneElement()
56 List<String> list = ImmutableList.of("a", "b"); in testCreation_twoElements()
61 List<String> list = ImmutableList.of("a", "b", "c"); in testCreation_threeElements()
66 List<String> list = ImmutableList.of("a", "b", "c", "d"); in testCreation_fourElements()
71 List<String> list = ImmutableList.of("a", "b", "c", "d", "e"); in testCreation_fiveElements()
76 List<String> list = ImmutableList.of("a", "b", "c", "d", "e", "f"); in testCreation_sixElements()
81 List<String> list = ImmutableList.of("a", "b", "c", "d", "e", "f", "g"); in testCreation_sevenElements()
86 List<String> list = ImmutableList.of( in testCreation_eightElements()
93 List<String> list = ImmutableList.of( in testCreation_nineElements()
[all …]
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/writer/util/
DTryListBuilderTest.java34 import com.google.common.collect.ImmutableList;
56 List<? extends TryBlock> expected = ImmutableList.of(new ImmutableTryBlock(0, 10, in testSingleCatchAll_Beginning()
57 ImmutableList.of(new ImmutableExceptionHandler(null, 5)))); in testSingleCatchAll_Beginning()
70 List<? extends TryBlock> expected = ImmutableList.of(new ImmutableTryBlock(5, 5, in testSingleCatchAll_Middle()
71 ImmutableList.of(new ImmutableExceptionHandler(null, 15)))); in testSingleCatchAll_Middle()
84 List<? extends TryBlock> expected = ImmutableList.of(new ImmutableTryBlock(0, 10, in testSingleCatch_Beginning()
85 ImmutableList.of(new ImmutableExceptionHandler("Ljava/lang/Exception;", 5)))); in testSingleCatch_Beginning()
98 List<? extends TryBlock> expected = ImmutableList.of(new ImmutableTryBlock(5, 5, in testSingleCatch_Middle()
99 ImmutableList.of(new ImmutableExceptionHandler("Ljava/lang/Exception;", 15)))); in testSingleCatch_Middle()
113 List<? extends TryBlock> expected = ImmutableList.of( in testOverlap_End_After()
[all …]
/external/desugar/test/java/com/google/devtools/build/android/desugar/
DCoreLibrarySupportTest.java18 import com.google.common.collect.ImmutableList;
39 ImmutableList.of("java/time/"), in testIsRenamedCoreLibrary()
40 ImmutableList.of(), in testIsRenamedCoreLibrary()
41 ImmutableList.of(), in testIsRenamedCoreLibrary()
42 ImmutableList.of()); in testIsRenamedCoreLibrary()
57 ImmutableList.of("java/time/"), in testIsRenamedCoreLibrary_prefixedLoader()
58 ImmutableList.of(), in testIsRenamedCoreLibrary_prefixedLoader()
59 ImmutableList.of(), in testIsRenamedCoreLibrary_prefixedLoader()
60 ImmutableList.of()); in testIsRenamedCoreLibrary_prefixedLoader()
75 ImmutableList.of(), in testRenameCoreLibrary()
[all …]
/external/turbine/java/com/google/turbine/binder/bound/
DModuleInfo.java19 import com.google.common.collect.ImmutableList;
30 private final ImmutableList<AnnoInfo> annos;
31 private final ImmutableList<RequireInfo> requires;
32 private final ImmutableList<ExportInfo> exports;
33 private final ImmutableList<OpenInfo> opens;
34 private final ImmutableList<UseInfo> uses;
35 private final ImmutableList<ProvideInfo> provides;
41 ImmutableList<AnnoInfo> annos, in ModuleInfo()
42 ImmutableList<RequireInfo> requires, in ModuleInfo()
43 ImmutableList<ExportInfo> exports, in ModuleInfo()
[all …]
DTypeBoundClass.java19 import com.google.common.collect.ImmutableList;
39 ImmutableList<Type> interfaceTypes(); in interfaceTypes()
44 ImmutableList<FieldInfo> fields(); in fields()
47 ImmutableList<MethodInfo> methods(); in methods()
56 ImmutableList<AnnoInfo> annotations(); in annotations()
61 private final ImmutableList<AnnoInfo> annotations;
63 public TyVarInfo(IntersectionTy bound, ImmutableList<AnnoInfo> annotations) { in TyVarInfo()
74 public ImmutableList<AnnoInfo> annotations() { in annotations()
84 private final ImmutableList<AnnoInfo> annotations;
93 ImmutableList<AnnoInfo> annotations, in FieldInfo()
[all …]
/external/guava/guava-tests/test/com/google/common/collect/
DImmutableListTest.java129 List<String> list = ImmutableList.of(); in testCreation_noArgs()
134 List<String> list = ImmutableList.of("a"); in testCreation_oneElement()
139 List<String> list = ImmutableList.of("a", "b"); in testCreation_twoElements()
144 List<String> list = ImmutableList.of("a", "b", "c"); in testCreation_threeElements()
149 List<String> list = ImmutableList.of("a", "b", "c", "d"); in testCreation_fourElements()
154 List<String> list = ImmutableList.of("a", "b", "c", "d", "e"); in testCreation_fiveElements()
159 List<String> list = ImmutableList.of("a", "b", "c", "d", "e", "f"); in testCreation_sixElements()
164 List<String> list = ImmutableList.of("a", "b", "c", "d", "e", "f", "g"); in testCreation_sevenElements()
169 List<String> list = ImmutableList.of( in testCreation_eightElements()
176 List<String> list = ImmutableList.of( in testCreation_nineElements()
[all …]
/external/turbine/javatests/com/google/turbine/lower/
DLowerSignatureTest.java21 import com.google.common.collect.ImmutableList;
45 ImmutableList.of( in simple()
47 new ClassSymbol("java/util/List"), ImmutableList.of(), ImmutableList.of()))); in simple()
58 ImmutableList.of( in inner()
61 ImmutableList.of(), in inner()
62 ImmutableList.of()), in inner()
65 ImmutableList.of(), in inner()
66 ImmutableList.of())))))) in inner()
74 ImmutableList.of( in genericEnclosing()
77 ImmutableList.of(ClassTy.OBJECT), in genericEnclosing()
[all …]
DLowerTest.java25 import com.google.common.collect.ImmutableList;
83 ImmutableList<Type> interfaceTypes = in hello()
84 ImmutableList.of( in hello()
86 ImmutableList.of( in hello()
89 ImmutableList.of( in hello()
92 ImmutableList.of())), in hello()
93 ImmutableList.of())))); in hello()
100 ImmutableList.of( in hello()
102 ImmutableList.of( in hello()
105 ImmutableList.of(), in hello()
[all …]
/external/turbine/java/com/google/turbine/parse/
DParser.java27 import com.google.common.collect.ImmutableList;
100 ImmutableList.Builder<ImportDecl> imports = ImmutableList.builder(); in compilationUnit()
101 ImmutableList.Builder<TyDecl> decls = ImmutableList.builder(); in compilationUnit()
102 ImmutableList.Builder<Anno> annos = ImmutableList.builder(); in compilationUnit()
109 annos = ImmutableList.builder(); in compilationUnit()
156 annos = ImmutableList.builder(); in compilationUnit()
165 annos = ImmutableList.builder(); in compilationUnit()
170 annos = ImmutableList.builder(); in compilationUnit()
175 annos = ImmutableList.builder(); in compilationUnit()
199 annos = ImmutableList.builder(); in compilationUnit()
[all …]
/external/turbine/java/com/google/turbine/tree/
DTree.java21 import com.google.common.collect.ImmutableList;
120 private final ImmutableList<Anno> annos;
122 public Type(int position, ImmutableList<Anno> annos) { in Type()
127 public ImmutableList<Anno> annos() { in annos()
145 int position, ImmutableList<Anno> annos, Optional<Type> upper, Optional<Type> lower) { in WildTy()
184 public ArrTy(int position, ImmutableList<Anno> annos, Type elem) { in ArrTy()
213 public PrimTy(int position, ImmutableList<Anno> annos, TurbineConstantTypeKind tykind) { in PrimTy()
248 super(position, ImmutableList.of()); in VoidTy()
256 private final ImmutableList<Type> tyargs;
262 ImmutableList<Type> tyargs, in ClassTy()
[all …]
/external/turbine/java/com/google/turbine/bytecode/sig/
DSig.java19 import com.google.common.collect.ImmutableList;
29 private final ImmutableList<TyParamSig> tyParams;
31 private final ImmutableList<ClassTySig> interfaces;
34 ImmutableList<TyParamSig> tyParams, in ClassSig()
36 ImmutableList<ClassTySig> interfaces) { in ClassSig()
43 public ImmutableList<TyParamSig> tyParams() { in tyParams()
53 public ImmutableList<ClassTySig> interfaces() { in interfaces()
63 private final ImmutableList<TySig> interfaceBounds;
65 public TyParamSig(String name, TySig classBound, ImmutableList<TySig> interfaceBounds) { in TyParamSig()
78 public ImmutableList<TySig> interfaceBounds() { in interfaceBounds()
[all …]
/external/turbine/java/com/google/turbine/options/
DTurbineOptions.java21 import com.google.common.collect.ImmutableList;
30 private final ImmutableList<String> classPath;
34 private final ImmutableList<String> sources;
35 private final ImmutableList<String> processorPath;
37 private final ImmutableList<String> sourceJars;
42 private final ImmutableList<String> depsArtifacts;
45 private final ImmutableList<String> javacOpts;
50 ImmutableList<String> classPath, in TurbineOptions()
54 ImmutableList<String> sources, in TurbineOptions()
55 ImmutableList<String> processorPath, in TurbineOptions()
[all …]
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DImmutableList.java40 public abstract class ImmutableList<E> extends ImmutableCollection<E> class
42 static final ImmutableList<Object> EMPTY =
45 ImmutableList() {} in ImmutableList() method in ImmutableList
49 public static <E> ImmutableList<E> of() { in of()
50 return (ImmutableList<E>) EMPTY; in of()
53 public static <E> ImmutableList<E> of(E element) { in of()
57 public static <E> ImmutableList<E> of(E e1, E e2) { in of()
59 ImmutableList.<E>nullCheckedList(e1, e2)); in of()
62 public static <E> ImmutableList<E> of(E e1, E e2, E e3) { in of()
64 ImmutableList.<E>nullCheckedList(e1, e2, e3)); in of()
[all …]
/external/turbine/javatests/com/google/turbine/binder/lookup/
DTopLevelIndexTest.java23 import com.google.common.collect.ImmutableList;
38 ImmutableList.of( in buildIndex()
46 LookupResult result = index.scope().lookup(lookupKey(ImmutableList.of("java", "util", "Map"))); in simple()
54 index.scope().lookup(lookupKey(ImmutableList.of("java", "util", "Map", "Entry"))); in nested()
61 assertThat(index.scope().lookup(lookupKey(ImmutableList.of("java", "NoSuch", "Entry")))) in empty()
63 assertThat(index.lookupPackage(ImmutableList.of("java", "math"))).isNull(); in empty()
64 assertThat(index.lookupPackage(ImmutableList.of("java", "util", "Map"))).isNull(); in empty()
69 Scope scope = index.lookupPackage(ImmutableList.of("java", "util")); in packageScope()
71 assertThat(scope.lookup(lookupKey(ImmutableList.of("Map"))).sym()) in packageScope()
73 assertThat(scope.lookup(lookupKey(ImmutableList.of("List"))).sym()) in packageScope()
[all …]
/external/guava/guava/src/com/google/common/collect/
DImmutableList.java63 public abstract class ImmutableList<E> extends ImmutableCollection<E> class
66 private static final ImmutableList<Object> EMPTY =
76 public static <E> ImmutableList<E> of() { in of()
77 return (ImmutableList<E>) EMPTY; in of()
88 public static <E> ImmutableList<E> of(E element) { in of()
97 public static <E> ImmutableList<E> of(E e1, E e2) { in of()
106 public static <E> ImmutableList<E> of(E e1, E e2, E e3) { in of()
115 public static <E> ImmutableList<E> of(E e1, E e2, E e3, E e4) { in of()
124 public static <E> ImmutableList<E> of(E e1, E e2, E e3, E e4, E e5) { in of()
133 public static <E> ImmutableList<E> of(E e1, E e2, E e3, E e4, E e5, E e6) { in of()
[all …]
/external/turbine/java/com/google/turbine/binder/
DTypeBinder.java20 import com.google.common.collect.ImmutableList;
170 ImmutableList<AnnoInfo> annotations = bindAnnotations(enclosingScope, base.decl().annos()); in bind()
179 ImmutableList.Builder<Type> interfaceTypes = ImmutableList.builder(); in bind()
185 ImmutableList.of( in bind()
188 ImmutableList.of(Type.ClassTy.asNonParametricClassTy(owner)), in bind()
189 ImmutableList.of()))); in bind()
226 ImmutableList.<MethodInfo>builder() in bind()
231 ImmutableList<FieldInfo> fields = bindFields(scope, base.decl().members()); in bind()
238 ImmutableList.copyOf(methods), in bind()
254 ImmutableList<MethodInfo> syntheticMethods() { in syntheticMethods()
[all …]
DDisambiguateTypeAnnotations.java22 import com.google.common.collect.ImmutableList;
23 import com.google.common.collect.ImmutableList.Builder;
91 private static ImmutableList<MethodInfo> bindMethods( in bindMethods()
92 Env<ClassSymbol, TypeBoundClass> env, ImmutableList<MethodInfo> fields) { in bindMethods()
93 ImmutableList.Builder<MethodInfo> result = ImmutableList.builder(); in bindMethods()
101 ImmutableList.Builder<AnnoInfo> declarationAnnotations = ImmutableList.builder(); in bindMethod()
124 private static ImmutableList<ParamInfo> bindParameters( in bindParameters()
125 Env<ClassSymbol, TypeBoundClass> env, ImmutableList<ParamInfo> params) { in bindParameters()
126 ImmutableList.Builder<ParamInfo> result = ImmutableList.builder(); in bindParameters()
134 ImmutableList.Builder<AnnoInfo> declarationAnnotations = ImmutableList.builder(); in bindParam()
[all …]
/external/turbine/java/com/google/turbine/bytecode/
DClassFile.java21 import com.google.common.collect.ImmutableList;
43 private final ImmutableList<TypeAnnotationInfo> typeAnnotations;
56 ImmutableList<TypeAnnotationInfo> typeAnnotations, in ClassFile()
117 public ImmutableList<TypeAnnotationInfo> typeAnnotations() { in typeAnnotations()
136 private final ImmutableList<TypeAnnotationInfo> typeAnnotations;
145 ImmutableList<TypeAnnotationInfo> typeAnnotations) { in FieldInfo()
188 public ImmutableList<TypeAnnotationInfo> typeAnnotations() { in typeAnnotations()
239 private final ImmutableList<ImmutableList<AnnotationInfo>> parameterAnnotations;
240 private final ImmutableList<TypeAnnotationInfo> typeAnnotations;
241 private final ImmutableList<ParameterInfo> parameters;
[all …]
DClassReader.java19 import com.google.common.collect.ImmutableList;
103 List<ClassFile.InnerClass> innerclasses = ImmutableList.of(); in read()
104 ImmutableList.Builder<ClassFile.AnnotationInfo> annotations = ImmutableList.builder(); in read()
140 ImmutableList.of(), in read()
182 ImmutableList.Builder<ClassFile.AnnotationInfo> annotations, in readAnnotations()
193 List<ImmutableList.Builder<AnnotationInfo>> annotations, ConstantPoolReader constantPool) { in readParameterAnnotations()
197 annotations.add(ImmutableList.builder()); in readParameterAnnotations()
209 ImmutableList.Builder<ParameterInfo> parameters, ConstantPoolReader constantPool) { in readMethodParameters()
227 ImmutableList.Builder<ClassFile.ModuleInfo.RequireInfo> requires = ImmutableList.builder(); in readModule()
238 ImmutableList.Builder<ClassFile.ModuleInfo.ExportInfo> exports = ImmutableList.builder(); in readModule()
[all …]
/external/guava/guava-testlib/test/com/google/common/testing/
DAbstractPackageSanityTestsTest.java22 import com.google.common.collect.ImmutableList;
39 assertThat(findClassesToTest(ImmutableList.of(EmptyTest.class))) in testFindClassesToTest_testClass()
41 assertThat(findClassesToTest(ImmutableList.of(EmptyTests.class))) in testFindClassesToTest_testClass()
43 assertThat(findClassesToTest(ImmutableList.of(EmptyTestCase.class))) in testFindClassesToTest_testClass()
45 assertThat(findClassesToTest(ImmutableList.of(EmptyTestSuite.class))) in testFindClassesToTest_testClass()
50 assertThat(findClassesToTest(ImmutableList.of(Foo.class))) in testFindClassesToTest_noCorrespondingTestClass()
52 assertThat(findClassesToTest(ImmutableList.of(Foo.class, Foo2Test.class))) in testFindClassesToTest_noCorrespondingTestClass()
58 assertThat(findClassesToTest(ImmutableList.of(Foo.class))) in testFindClassesToTest_publicApiOnly()
60 assertThat(findClassesToTest(ImmutableList.of(PublicFoo.class))).has().item(PublicFoo.class); in testFindClassesToTest_publicApiOnly()
65 assertThat(findClassesToTest(ImmutableList.of(PublicFoo.class))) in testFindClassesToTest_ignoreClasses()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DImmutableList.h64 class ImmutableList {
76 ImmutableList(const ImmutableListImpl<T>* x = nullptr) : X(x) {} in X()
87 iterator(ImmutableList l) : L(l.getInternalPointer()) {} in iterator()
94 ImmutableList getList() const { return L; } in getList()
121 bool isEqual(const ImmutableList& L) const { return X == L.X; } in isEqual()
123 bool operator==(const ImmutableList& L) const { return isEqual(L); }
133 ImmutableList getTail() { in getTail()
169 LLVM_NODISCARD ImmutableList<T> concat(const T &Head, ImmutableList<T> Tail) { in concat()
191 LLVM_NODISCARD ImmutableList<T> add(const T& D, ImmutableList<T> L) { in add()
195 ImmutableList<T> getEmptyList() const { in getEmptyList()
[all …]
/external/llvm/include/llvm/ADT/
DImmutableList.h63 class ImmutableList {
75 ImmutableList(const ImmutableListImpl<T>* x = nullptr) : X(x) {} in X()
85 iterator(ImmutableList l) : L(l.getInternalPointer()) {} in iterator()
91 ImmutableList getList() const { return L; } in getList()
118 bool isEqual(const ImmutableList& L) const { return X == L.X; } in isEqual()
120 bool operator==(const ImmutableList& L) const { return isEqual(L); }
130 ImmutableList getTail() { in getTail()
166 ImmutableList<T> concat(const T& Head, ImmutableList<T> Tail) { in concat()
188 ImmutableList<T> add(const T& D, ImmutableList<T> L) { in add()
192 ImmutableList<T> getEmptyList() const { in getEmptyList()
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/ADT/
DImmutableList.h64 class ImmutableList {
76 ImmutableList(const ImmutableListImpl<T>* x = 0) : X(x) {} in X()
86 iterator(ImmutableList l) : L(l.getInternalPointer()) {} in iterator()
92 ImmutableList getList() const { return L; } in getList()
119 bool isEqual(const ImmutableList& L) const { return X == L.X; } in isEqual()
121 bool operator==(const ImmutableList& L) const { return isEqual(L); }
131 ImmutableList getTail() { in getTail()
167 ImmutableList<T> concat(const T& Head, ImmutableList<T> Tail) { in concat()
189 ImmutableList<T> add(const T& D, ImmutableList<T> L) { in add()
193 ImmutableList<T> getEmptyList() const { in getEmptyList()
[all …]
/external/turbine/java/com/google/turbine/type/
DType.java21 import com.google.common.collect.ImmutableList;
82 return create(Arrays.asList(SimpleClassTy.create(i, ImmutableList.of(), ImmutableList.of()))); in asNonParametricClassTy()
85 public abstract ImmutableList<SimpleClassTy> classes(); in classes()
94 return new AutoValue_Type_ClassTy(ImmutableList.copyOf(classes)); in create()
133 ClassSymbol sym, ImmutableList<Type> targs, ImmutableList<AnnoInfo> annos) { in create()
141 public abstract ImmutableList<Type> targs(); in targs()
144 public abstract ImmutableList<AnnoInfo> annos(); in annos()
152 public static ArrayTy create(Type elem, ImmutableList<AnnoInfo> annos) { in create()
165 public abstract ImmutableList<AnnoInfo> annos(); in annos()
172 public static TyVar create(TyVarSymbol sym, ImmutableList<AnnoInfo> annos) { in create()
[all …]

12345678910>>...26