Home
last modified time | relevance | path

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

12345678910>>...152

/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/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/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/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/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/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/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/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/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/proguard/src/proguard/
DClassPathEntry.java26 import java.util.List;
42 private List filter;
43 private List apkFilter;
44 private List jarFilter;
45 private List aarFilter;
46 private List warFilter;
47 private List earFilter;
48 private List zipFilter;
235 public List getFilter() in getFilter()
243 public void setFilter(List filter) in setFilter()
[all …]
DConfiguration.java24 import java.util.List;
71 public List keepDirectories;
97 public List keep;
124 public List whyAreYouKeeping;
141 public List optimizations;
152 public List assumeNoSideEffects;
220 public List keepPackageNames;
240 public List keepAttributes;
259 public List adaptClassStrings;
265 public List adaptResourceFileNames;
[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/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/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 …]
/external/mockito/src/test/java/org/mockitousage/stubbing/
DStubbingWithDelegateTest.java15 import java.util.List;
59 List<String> delegatedList = new ArrayList<String>(); in when_not_stubbed_delegate_should_be_called()
62 List<String> mock = mock(List.class, delegatesTo(delegatedList)); in when_not_stubbed_delegate_should_be_called()
71 List<String> delegatedList = new ArrayList<String>(); in when_stubbed_the_delegate_should_not_be_called()
73 List<String> mock = mock(List.class, delegatesTo(delegatedList)); in when_stubbed_the_delegate_should_not_be_called()
85 List<String> delegatedList = new ArrayList<String>(); in delegate_should_not_be_called_when_stubbed2()
87 List<String> mockedList = mock(List.class, delegatesTo(delegatedList)); in delegate_should_not_be_called_when_stubbed2()
111 List<String> mock = mock(List.class, delegatesTo(new FakeList<String>())); in instance_of_different_class_can_be_called()
119 List<String> mock = mock(List.class, delegatesTo(new FakeList<String>())); in method_with_subtype_return_can_be_called()
121 List<String> subList = mock.subList(0, 0); in method_with_subtype_return_can_be_called()
[all …]
/external/guava/guava-tests/test/com/google/common/reflect/
DTypeTokenTest.java43 import java.util.List;
54 private abstract static class StringList implements List<String> {}
56 private abstract static class IntegerList implements List<Integer> {}
59 TypeToken<List<String>> a = new TypeToken<List<String>>() {}; in testValueEqualityNotInstanceEquality()
60 TypeToken<List<String>> b = new TypeToken<List<String>>() {}; in testValueEqualityNotInstanceEquality()
72 TypeToken<List<String>> token = new TypeToken<List<String>>() {}; in testRawTypeIsCorrect()
73 assertEquals(List.class, token.getRawType()); in testRawTypeIsCorrect()
77 TypeToken<List<String>> token = new TypeToken<List<String>>() {}; in testTypeIsCorrect()
83 TypeToken<List> token = TypeToken.of(List.class); in testGetClass()
84 assertEquals(new TypeToken<List>() {}, token); in testGetClass()
[all …]
/external/r8/src/main/java/com/android/tools/r8/shaking/
DProguardConfiguration.java13 import java.util.List;
20 private final List<Path> injars = new ArrayList<>();
21 private final List<Path> libraryjars = new ArrayList<>();
32 private final List<String> attributesRemovalPatterns = new ArrayList<>();
34 protected final List<ProguardConfigurationRule> rules = new ArrayList<>();
46 public void addInjars(List<Path> injars) { in addInjars()
50 public void addLibraryJars(List<Path> libraryJars) { in addLibraryJars()
153 private final List<Path> injars;
154 private final List<Path> libraryjars;
165 private final List<String> attributesRemovalPatterns;
[all …]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue60/
DSkipBean.java22 import java.util.List;
27 private List<Integer> listInt;
28 private List<String> listStr;
29 private List<Date> listDate;
30 private List<File> empty = new ArrayList<File>(0);
35 public List<Integer> getListInt() { in getListInt()
39 public void setListInt(List<Integer> listInt) { in setListInt()
43 public List<String> getListStr() { in getListStr()
47 public void setListStr(List<String> listStr) { in setListStr()
51 public List<Date> getListDate() { in getListDate()
[all …]
/external/jmdns/src/javax/jmdns/impl/
DDNSCache.java13 import java.util.List;
45 public class DNSCache extends AbstractMap<String, List<? extends DNSEntry>> {
49 private transient Set<Map.Entry<String, List<? extends DNSEntry>>> _entrySet = null;
94 public List<DNSEntry> get(Object key) { in get()
110 public Collection<List<? extends DNSEntry>> values() { in values()
118 public Set<Map.Entry<String, List<? extends DNSEntry>>> entrySet() { in entrySet()
134 public List<? extends DNSEntry> put(String key, List<? extends DNSEntry> value) { in put()
151 …protected static class _CacheEntry extends Object implements Map.Entry<String, List<? extends DNSE…
153 private List<? extends DNSEntry> _value;
161 protected _CacheEntry(String key, List<? extends DNSEntry> value) { in _CacheEntry()
[all …]
/external/guava/guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/testers/
DListSubListTester.java36 import java.util.List;
92 List<E> subList = getList().subList(0, 1); in testSubList_subListRemoveAffectsOriginal()
94 List<E> expected = in testSubList_subListRemoveAffectsOriginal()
102 List<E> subList = getList().subList(0, 1); in testSubList_subListClearAffectsOriginal()
104 List<E> expected = in testSubList_subListClearAffectsOriginal()
111 List<E> subList = getList().subList(0, 0); in testSubList_subListAddAffectsOriginal()
119 List<E> subList = getList().subList(0, 1); in testSubList_subListSetAffectsOriginal()
121 List<E> expected = Helpers.copyToList(createSamplesArray()); in testSubList_subListSetAffectsOriginal()
129 List<E> subList = getList().subList(0, 1); in testSubList_originalListSetAffectsSubList()
139 List<E> subList = getList().subList(1, 3); in testSubList_subListRemoveAffectsOriginalLargeList()
[all …]
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
DListSubListTester.java39 import java.util.List;
96 List<E> subList = getList().subList(0, 1); in testSubList_subListRemoveAffectsOriginal()
98 List<E> expected = in testSubList_subListRemoveAffectsOriginal()
106 List<E> subList = getList().subList(0, 1); in testSubList_subListClearAffectsOriginal()
108 List<E> expected = in testSubList_subListClearAffectsOriginal()
115 List<E> subList = getList().subList(0, 0); in testSubList_subListAddAffectsOriginal()
123 List<E> subList = getList().subList(0, 1); in testSubList_subListSetAffectsOriginal()
125 List<E> expected = Helpers.copyToList(createSamplesArray()); in testSubList_subListSetAffectsOriginal()
133 List<E> subList = getList().subList(0, 1); in testSubList_originalListSetAffectsSubList()
143 List<E> subList = getList().subList(1, 3); in testSubList_subListRemoveAffectsOriginalLargeList()
[all …]
/external/guava/guava/src/com/google/common/collect/
DCartesianList.java23 import java.util.List;
35 final class CartesianList<E> extends AbstractList<List<E>> implements RandomAccess {
37 private transient final ImmutableList<List<E>> axes;
40 static <E> List<List<E>> create(List<? extends List<? extends E>> lists) { in create()
41 ImmutableList.Builder<List<E>> axesBuilder = in create()
42 new ImmutableList.Builder<List<E>>(lists.size()); in create()
43 for (List<? extends E> list : lists) { in create()
44 List<E> copy = ImmutableList.copyOf(list); in create()
53 CartesianList(ImmutableList<List<E>> axes) { in CartesianList()
104 if (!(o instanceof List)) {
[all …]
/external/v8/src/
Dlist-inl.h19 void List<T, P>::Add(const T& element, P alloc) { in Add()
23 List<T, P>::ResizeAdd(element, alloc); in Add()
29 void List<T, P>::AddAll(const List<T, P>& other, P alloc) { in AddAll()
35 void List<T, P>::AddAll(const Vector<T>& other, P alloc) { in AddAll()
50 void List<T, P>::ResizeAdd(const T& element, P alloc) { in ResizeAdd()
56 void List<T, P>::ResizeAddInternal(const T& element, P alloc) { in ResizeAddInternal()
70 void List<T, P>::Resize(int new_capacity, P alloc) { in Resize()
74 List<T, P>::DeleteData(data_); in Resize()
81 Vector<T> List<T, P>::AddBlock(T value, int count, P alloc) { in AddBlock()
89 void List<T, P>::Set(int index, const T& elm) { in Set()
[all …]

12345678910>>...152