Home
last modified time | relevance | path

Searched refs:List (Results 1 – 25 of 5075) sorted by relevance

12345678910>>...203

/external/llvm/unittests/ADT/
DilistTest.cpp30 ilist<Node> List; in TEST() local
31 List.push_back(Node(1)); in TEST()
32 EXPECT_EQ(1, List.back().Value); in TEST()
33 EXPECT_EQ(nullptr, List.getPrevNode(List.back())); in TEST()
34 EXPECT_EQ(nullptr, List.getNextNode(List.back())); in TEST()
36 List.push_back(Node(2)); in TEST()
37 EXPECT_EQ(2, List.back().Value); in TEST()
38 EXPECT_EQ(2, List.getNextNode(List.front())->Value); in TEST()
39 EXPECT_EQ(1, List.getPrevNode(List.back())->Value); in TEST()
41 const ilist<Node> &ConstList = List; in TEST()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/
DIListTest.cpp30 ilist<Node> List; in TEST() local
31 List.push_back(new Node(1)); in TEST()
32 EXPECT_EQ(1, List.back().Value); in TEST()
33 EXPECT_EQ(nullptr, List.getPrevNode(List.back())); in TEST()
34 EXPECT_EQ(nullptr, List.getNextNode(List.back())); in TEST()
36 List.push_back(new Node(2)); in TEST()
37 EXPECT_EQ(2, List.back().Value); in TEST()
38 EXPECT_EQ(2, List.getNextNode(List.front())->Value); in TEST()
39 EXPECT_EQ(1, List.getPrevNode(List.back())->Value); in TEST()
41 const ilist<Node> &ConstList = List; in TEST()
[all …]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/visitor/
DGenericListVisitorAdapter.java34 import java.util.List;
45 public abstract class GenericListVisitorAdapter<R, A> implements GenericVisitor<List<R>, A> {
48 public List<R> visit(final AnnotationDeclaration n, final A arg) { in visit()
49 List<R> result = new ArrayList<>(); in visit()
50 List<R> tmp; in visit()
75 public List<R> visit(final AnnotationMemberDeclaration n, final A arg) { in visit()
76 List<R> result = new ArrayList<>(); in visit()
77 List<R> tmp; in visit()
107 public List<R> visit(final ArrayAccessExpr n, final A arg) { in visit()
108 List<R> result = new ArrayList<>(); in visit()
[all …]
/external/clang/test/Parser/
Dpragma-loop.cpp7 void test_nontype_template_param(int *List, int Length) { in test_nontype_template_param() argument
10 List[i] = i; in test_nontype_template_param()
15 List[i] = i; in test_nontype_template_param()
20 void test_nontype_template_vectorize(int *List, int Length) { in test_nontype_template_vectorize() argument
23 List[i] = i; in test_nontype_template_vectorize()
28 List[i] += i; in test_nontype_template_vectorize()
33 void test_nontype_template_interleave(int *List, int Length) { in test_nontype_template_interleave() argument
36 List[i] = i; in test_nontype_template_interleave()
41 List[i] = i; in test_nontype_template_interleave()
46 void test_nontype_template_char(int *List, int Length) { in test_nontype_template_char() argument
[all …]
Dpragma-unroll.cpp6 void test(int *List, int Length) { in test() argument
11 List[i] = i; in test()
16 List[i] = i; in test()
21 List[i] = i; in test()
26 List[i] = i; in test()
33 List[i] = i; in test()
38 List[i] = i; in test()
48 List[i] = i; in test()
61 List[i] = i; in test()
67 List[i] = i; in test()
[all …]
/external/clang/test/CodeGenCXX/
Dpragma-loop.cpp4 void while_test(int *List, int Length) { in while_test() argument
15 List[i] = i * 2; in while_test()
21 void do_test(int *List, int Length) { in do_test() argument
27 List[i] = i * 2; in do_test()
35 void for_test(int *List, int Length) { in for_test() argument
41 List[i] = i * 2; in for_test()
48 double List[100]; in for_range_test() local
51 for (int i : List) { in for_range_test()
53 List[i] = i; in for_range_test()
58 void disable_test(int *List, int Length) { in disable_test() argument
[all …]
Dpragma-unroll.cpp4 void while_test(int *List, int Length) { in while_test() argument
11 List[i] = i * 2; in while_test()
17 void do_test(int *List, int Length) { in do_test() argument
24 List[i] = i * 2; in do_test()
30 void for_test(int *List, int Length) { in for_test() argument
35 List[i] = i * 2; in for_test()
42 double List[100]; in for_range_test() local
45 for (int i : List) { in for_range_test()
47 List[i] = i; in for_range_test()
54 void for_define_test(int *List, int Length, int Value) { in for_define_test() argument
[all …]
/external/clang/test/PCH/
Dpragma-loop.cpp29 inline void run1(int *List, int Length) { in run1() argument
35 List[i] = i; in run1()
40 inline void run2(int *List, int Length) { in run2() argument
47 List[i] = i; in run2()
52 inline void run3(int *List, int Length) { in run3() argument
59 List[i] = i; in run3()
64 inline void run4(int *List, int Length) { in run4() argument
68 List[i] = i; in run4()
73 inline void run5(int *List, int Length) { in run5() argument
77 List[i] = i; in run5()
[all …]
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DListsTest.java36 import java.util.List;
72 private static final List<Integer> SOME_LIST
75 private static final List<Integer> SOME_SEQUENTIAL_LIST
78 private static final List<String> SOME_STRING_LIST
95 List<Character> chars = Lists.charactersOf(builder); in testCharactersOfIsView()
191 List<String> ourWay = Lists.newArrayList("foo", "bar", "baz"); in testArraysAsList()
192 List<String> otherWay = asList("foo", "bar", "baz"); in testArraysAsList()
216 private void checkFooBarBazList(List<String> list) { in checkFooBarBazList()
227 List<String> list = Lists.asList("foo", new String[0]); in testAsList1Small()
244 List<String> list = Lists.asList("foo", "bar", new String[] { "baz" }); in testAsList2()
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/genetics/
DRandomKey.java23 import java.util.List;
69 private final List<Double> sortedRepresentation;
74 private final List<Integer> baseSeqPermutation;
81 public RandomKey(List<Double> representation) { in RandomKey()
84 List<Double> sortedRepr = new ArrayList<Double> (getRepresentation()); in RandomKey()
105 public List<T> decode(List<T> sequence) { in decode()
119 …private static <S> List<S> decodeGeneric(List<S> sequence, List<Double> representation, List<Doubl… in decodeGeneric()
129List<Double> reprCopy = new ArrayList<Double> (representation);// do not modify the orig. represen… in decodeGeneric()
132 List<S> res = new ArrayList<S> (l); in decodeGeneric()
160 List<Integer> thisPerm = this.baseSeqPermutation; in isSame()
[all …]
/external/cldr/tools/java/org/unicode/cldr/draft/
DCharacterListCompressor.java8 import java.util.List;
55 public static List<Integer> unicode2Base88(int code) { in unicode2Base88()
57 List<Integer> list = new ArrayList<Integer>(); in unicode2Base88()
93 public static List<Integer> compressPair2Base88(List<Integer> pair) { in compressPair2Base88()
102 public static List<List<Integer>> decodeBase88ToValueTypePairs(String str) { in decodeBase88ToValueTypePairs()
103 List<Integer> list = str2list(str); in decodeBase88ToValueTypePairs()
106 List<List<Integer>> result = new ArrayList<List<Integer>>(); in decodeBase88ToValueTypePairs()
126 public static int getCodeFromListAt(List<Integer> list, int start, int leng) { in getCodeFromListAt()
135 public static void addPair(List<List<Integer>> pairs, int value, int type) { in addPair()
136 List<Integer> pair = new ArrayList<Integer>(); in addPair()
[all …]
/external/guava/guava-tests/test/com/google/common/collect/
DListsTest.java52 import java.util.List;
89 private static final List<Integer> SOME_LIST
92 private static final List<Integer> SOME_SEQUENTIAL_LIST
95 private static final List<String> SOME_STRING_LIST
116 @Override protected List<String> create(String[] elements) { in suite()
129 @Override protected List<String> create(String[] elements) { in suite()
145 @Override protected List<String> create(String[] elements) { in suite()
146 List<String> fromList = Lists.newArrayList(); in suite()
161 @Override protected List<String> create(String[] elements) { in suite()
162 List<String> fromList = Lists.newLinkedList(); in suite()
[all …]
/external/oj-libjdwp/src/share/classes/com/sun/jdi/request/
DEventRequestManager.java30 import java.util.List;
395 void deleteEventRequests(List<? extends EventRequest> eventRequests); in deleteEventRequests()
410 List<StepRequest> stepRequests(); in stepRequests()
418 List<ClassPrepareRequest> classPrepareRequests(); in classPrepareRequests()
426 List<ClassUnloadRequest> classUnloadRequests(); in classUnloadRequests()
434 List<ThreadStartRequest> threadStartRequests(); in threadStartRequests()
442 List<ThreadDeathRequest> threadDeathRequests(); in threadDeathRequests()
450 List<ExceptionRequest> exceptionRequests(); in exceptionRequests()
458 List<BreakpointRequest> breakpointRequests(); in breakpointRequests()
467 List<AccessWatchpointRequest> accessWatchpointRequests(); in accessWatchpointRequests()
[all …]
/external/oj-libjdwp/src/share/classes/com/sun/jdi/
DReferenceType.java28 import java.util.List;
173 List<String> sourceNames(String stratum) throws AbsentInformationException; in sourceNames()
207 List<String> sourcePaths(String stratum) throws AbsentInformationException; in sourcePaths()
315 List<Field> fields(); in fields()
337 List<Field> visibleFields(); in visibleFields()
354 List<Field> allFields(); in allFields()
389 List<Method> methods(); in methods()
410 List<Method> visibleMethods(); in visibleMethods()
427 List<Method> allMethods(); in allMethods()
446 List<Method> methodsByName(String name); in methodsByName()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/LoopRotate/
Dloopexitinglatch.ll7 %struct.List = type { %struct.List*, i32 }
9 define void @list_add(%struct.List** nocapture %list, %struct.List* %data) {
12 ; CHECK-NEXT: [[TMP0:%.*]] = load %struct.List*, %struct.List** [[LIST:%.*]], align 4
13 ; CHECK-NEXT: [[VAL2:%.*]] = getelementptr inbounds [[STRUCT_LIST:%.*]], %struct.List* [[TMP0]],…
15 ; CHECK-NEXT: [[VAL1:%.*]] = getelementptr inbounds [[STRUCT_LIST]], %struct.List* [[DATA:%.*]],…
22 ; CHECK-NEXT: [[CURR_0:%.*]] = phi %struct.List* [ [[TMP5:%.*]], [[IF_THEN]] ]
23 ; CHECK-NEXT: [[PREV_0:%.*]] = phi %struct.List* [ [[CURR_04:%.*]], [[IF_THEN]] ]
24 ; CHECK-NEXT: [[VAL:%.*]] = getelementptr inbounds [[STRUCT_LIST]], %struct.List* [[CURR_0]], i3…
30 ; CHECK-NEXT: [[CURR_04]] = phi %struct.List* [ [[TMP0]], [[IF_THEN_LR_PH]] ], [ [[CURR_0]], [[F…
31 ; CHECK-NEXT: [[NEXT:%.*]] = getelementptr inbounds [[STRUCT_LIST]], %struct.List* [[CURR_04]], …
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DAllocatorList.h50 list_type List; variable
142 : AllocatorT(std::move(X.getAlloc())), List(std::move(X.List)) {} in AllocatorList()
145 List.cloneFrom(X.List, Cloner(*this), Disposer(*this)); in AllocatorList()
150 List = std::move(X.List);
156 List.cloneFrom(X.List, Cloner(*this), Disposer(*this));
163 List.swap(RHS.List); in swap()
167 bool empty() { return List.empty(); } in empty()
168 size_t size() { return List.size(); } in size()
170 iterator begin() { return iterator(List.begin()); } in begin()
171 iterator end() { return iterator(List.end()); } in end()
[all …]
/external/mockito/src/main/java/org/mockito/internal/invocation/
DInvocationsFinder.java9 import java.util.List;
23 …public static List<Invocation> findInvocations(List<Invocation> invocations, MatchableInvocation w… in findInvocations()
27 …public static List<Invocation> findAllMatchingUnverifiedChunks(List<Invocation> invocations, Match… in findAllMatchingUnverifiedChunks()
28 List<Invocation> unverified = removeVerifiedInOrder(invocations, orderingContext); in findAllMatchingUnverifiedChunks()
47 …public static List<Invocation> findMatchingChunk(List<Invocation> invocations, MatchableInvocation… in findMatchingChunk()
48 List<Invocation> unverified = removeVerifiedInOrder(invocations, context); in findMatchingChunk()
49 List<Invocation> firstChunk = getFirstMatchingChunk(wanted, unverified); in findMatchingChunk()
58 …private static List<Invocation> getFirstMatchingChunk(MatchableInvocation wanted, List<Invocation>… in getFirstMatchingChunk()
59 List<Invocation> firstChunk = new LinkedList<Invocation>(); in getFirstMatchingChunk()
70 …public static Invocation findFirstMatchingUnverifiedInvocation(List<Invocation> invocations, Match… in findFirstMatchingUnverifiedInvocation()
[all …]
/external/robolectric-shadows/resources/src/main/java/org/robolectric/manifest/
DIntentFilterData.java4 import java.util.List;
7 private final List<String> actions;
8 private final List<String> categories;
9 private final List<String> schemes;
10 private final List<String> mimeTypes;
11 private final List<DataAuthority> authorities;
12 private final List<String> paths;
13 private final List<String> pathPatterns;
14 private final List<String> pathPrefixes;
16 public IntentFilterData(List<String> actions, List<String> categories) { in IntentFilterData()
[all …]
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DTextFormatParseInfoTree.java38 import java.util.List;
56 private Map<FieldDescriptor, List<TextFormatParseLocation>> locationsFromField;
60 Map<FieldDescriptor, List<TextFormatParseInfoTree>> subtreesFromField;
69 Map<FieldDescriptor, List<TextFormatParseLocation>> locationsFromField, in TextFormatParseInfoTree()
70 Map<FieldDescriptor, List<TextFormatParseInfoTree.Builder>> subtreeBuildersFromField) { in TextFormatParseInfoTree()
73 Map<FieldDescriptor, List<TextFormatParseLocation>> locs = in TextFormatParseInfoTree()
74 new HashMap<FieldDescriptor, List<TextFormatParseLocation>>(); in TextFormatParseInfoTree()
75 for (Entry<FieldDescriptor, List<TextFormatParseLocation>> kv : locationsFromField.entrySet()) { in TextFormatParseInfoTree()
80 Map<FieldDescriptor, List<TextFormatParseInfoTree>> subs = in TextFormatParseInfoTree()
81 new HashMap<FieldDescriptor, List<TextFormatParseInfoTree>>(); in TextFormatParseInfoTree()
[all …]
/external/turbine/java/com/google/turbine/bytecode/
DAttribute.java25 import java.util.List;
62 final List<ClassFile.InnerClass> inners;
64 public InnerClasses(List<ClassFile.InnerClass> inners) { in InnerClasses()
92 final List<String> exceptions;
94 public ExceptionsAttribute(List<String> exceptions) { in ExceptionsAttribute()
105 List<AnnotationInfo> annotations(); in annotations()
110 List<AnnotationInfo> annotations;
112 public RuntimeVisibleAnnotations(List<AnnotationInfo> annotations) { in RuntimeVisibleAnnotations()
117 public List<AnnotationInfo> annotations() { in annotations()
129 List<AnnotationInfo> annotations;
[all …]
/external/archive-patcher/generator/src/main/java/com/google/archivepatcher/generator/
DPreDiffPlan.java18 import java.util.List;
53 private final List<TypedRange<Void>> oldFileUncompressionPlan;
58 private final List<TypedRange<JreDeflateParameters>> newFileUncompressionPlan;
63 private final List<TypedRange<JreDeflateParameters>> deltaFriendlyNewFileRecompressionPlan;
68 private final List<QualifiedRecommendation> qualifiedRecommendations;
77 List<QualifiedRecommendation> qualifiedRecommendations, in PreDiffPlan()
78 List<TypedRange<Void>> oldFileUncompressionPlan, in PreDiffPlan()
79 List<TypedRange<JreDeflateParameters>> newFileUncompressionPlan) { in PreDiffPlan()
92 List<QualifiedRecommendation> qualifiedRecommendations, in PreDiffPlan()
93 List<TypedRange<Void>> oldFileUncompressionPlan, in PreDiffPlan()
[all …]
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/writer/util/
DTryListBuilderTest.java42 import java.util.List;
54 List<? extends TryBlock<? extends ExceptionHandler>> tryBlocks = tlb.getTryBlocks(); in testSingleCatchAll_Beginning()
56 List<? extends TryBlock> expected = ImmutableList.of(new ImmutableTryBlock(0, 10, in testSingleCatchAll_Beginning()
68 List<? extends TryBlock<? extends ExceptionHandler>> tryBlocks = tlb.getTryBlocks(); in testSingleCatchAll_Middle()
70 List<? extends TryBlock> expected = ImmutableList.of(new ImmutableTryBlock(5, 5, in testSingleCatchAll_Middle()
82 List<? extends TryBlock<? extends ExceptionHandler>> tryBlocks = tlb.getTryBlocks(); in testSingleCatch_Beginning()
84 List<? extends TryBlock> expected = ImmutableList.of(new ImmutableTryBlock(0, 10, in testSingleCatch_Beginning()
96 List<? extends TryBlock<? extends ExceptionHandler>> tryBlocks = tlb.getTryBlocks(); in testSingleCatch_Middle()
98 List<? extends TryBlock> expected = ImmutableList.of(new ImmutableTryBlock(5, 5, in testSingleCatch_Middle()
111 List<? extends TryBlock<? extends ExceptionHandler>> tryBlocks = tlb.getTryBlocks(); in testOverlap_End_After()
[all …]
/external/testng/src/main/java/org/testng/
DTestListenerAdapter.java9 import java.util.List;
28 private List<ITestNGMethod> m_allTestMethods =
30 …private List<ITestResult> m_passedTests = Collections.synchronizedList(Lists.<ITestResult>newArray…
31 …private List<ITestResult> m_failedTests = Collections.synchronizedList(Lists.<ITestResult>newArray…
32 …private List<ITestResult> m_skippedTests = Collections.synchronizedList(Lists.<ITestResult>newArra…
33 …private List<ITestResult> m_failedButWSPerTests = Collections.synchronizedList(Lists.<ITestResult>…
34 …private List<ITestContext> m_testContexts= Collections.synchronizedList(new ArrayList<ITestContext…
35 …private List<ITestResult> m_failedConfs= Collections.synchronizedList(Lists.<ITestResult>newArrayL…
36 …private List<ITestResult> m_skippedConfs= Collections.synchronizedList(Lists.<ITestResult>newArray…
37 …private List<ITestResult> m_passedConfs= Collections.synchronizedList(Lists.<ITestResult>newArrayL…
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/body/
DClassOrInterfaceDeclaration.java32 import java.util.List;
41 private List<TypeParameter> typeParameters;
44 private List<ClassOrInterfaceType> extendsList;
46 private List<ClassOrInterfaceType> implementsList;
57 final List<AnnotationExpr> annotations, final boolean isInterface, final String name, in ClassOrInterfaceDeclaration()
58 final List<TypeParameter> typeParameters, final List<ClassOrInterfaceType> extendsList, in ClassOrInterfaceDeclaration()
59 final List<ClassOrInterfaceType> implementsList, final List<BodyDeclaration> members) { in ClassOrInterfaceDeclaration()
69 final List<AnnotationExpr> annotations, final boolean isInterface, final String name, in ClassOrInterfaceDeclaration()
70 final List<TypeParameter> typeParameters, final List<ClassOrInterfaceType> extendsList, in ClassOrInterfaceDeclaration()
71 final List<ClassOrInterfaceType> implementsList, final List<BodyDeclaration> members) { in ClassOrInterfaceDeclaration()
[all …]
/external/junit/src/main/java/org/junit/runners/model/
DTestClass.java17 import java.util.List;
36 private final Map<Class<? extends Annotation>, List<FrameworkMethod>> methodsForAnnotations;
37 private final Map<Class<? extends Annotation>, List<FrameworkField>> fieldsForAnnotations;
52 Map<Class<? extends Annotation>, List<FrameworkMethod>> methodsForAnnotations = in TestClass()
53 new LinkedHashMap<Class<? extends Annotation>, List<FrameworkMethod>>(); in TestClass()
54 Map<Class<? extends Annotation>, List<FrameworkField>> fieldsForAnnotations = in TestClass()
55 new LinkedHashMap<Class<? extends Annotation>, List<FrameworkField>>(); in TestClass()
63 …s(Map<Class<? extends Annotation>, List<FrameworkMethod>> methodsForAnnotations, Map<Class<? exten… in scanAnnotatedMembers()
83 Map<Class<? extends Annotation>, List<T>> map) { in addToAnnotationLists()
86 List<T> members = getAnnotatedMembers(map, type, true); in addToAnnotationLists()
[all …]

12345678910>>...203