/external/llvm/unittests/ADT/ |
D | ilistTest.cpp | 30 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/ |
D | pragma-loop.cpp | 7 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 …]
|
D | pragma-unroll.cpp | 6 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/ |
D | pragma-loop.cpp | 27 inline void run1(int *List, int Length) { in run1() argument 33 List[i] = i; in run1() 38 inline void run2(int *List, int Length) { in run2() argument 44 List[i] = i; in run2() 49 inline void run3(int *List, int Length) { in run3() argument 55 List[i] = i; in run3() 60 inline void run4(int *List, int Length) { in run4() argument 64 List[i] = i; in run4() 69 inline void run5(int *List, int Length) { in run5() argument 73 List[i] = i; in run5() [all …]
|
/external/clang/test/CodeGenCXX/ |
D | pragma-loop.cpp | 4 void while_test(int *List, int Length) { in while_test() argument 14 List[i] = i * 2; in while_test() 20 void do_test(int *List, int Length) { in do_test() argument 26 List[i] = i * 2; in do_test() 34 void for_test(int *List, int Length) { in for_test() argument 40 List[i] = i * 2; in for_test() 47 double List[100]; in for_range_test() local 50 for (int i : List) { in for_range_test() 52 List[i] = i; in for_range_test() 57 void disable_test(int *List, int Length) { in disable_test() argument [all …]
|
D | pragma-unroll.cpp | 4 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/jetty/src/java/org/eclipse/jetty/util/ |
D | LazyList.java | 28 import java.util.List; 81 if (item instanceof List || item==null) in add() 83 List<Object> l = new ArrayList<Object>(); in add() 91 if (list instanceof List) in add() 93 ((List<Object>)list).add(item); in add() 97 List<Object> l=new ArrayList<Object>(); in add() 115 if (index>0 || item instanceof List || item==null) in add() 117 List<Object> l = new ArrayList<Object>(); in add() 124 if (list instanceof List) in add() 126 ((List<Object>)list).add(index,item); in add() [all …]
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/genetics/ |
D | RandomKey.java | 23 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() 129 …List<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/android-mock/tests/com/google/android/testing/mocking/ |
D | ClassTypeTests.java | 32 import java.util.List; 49 private void assertAllMethodNames(List<String> expectedNames, in assertAllMethodNames() 50 Map<String, List<String>> expectedMethods, List<GeneratedClassFile> classes) in assertAllMethodNames() 59 List<T> missingItems = new ArrayList<T>(); in assertUnorderedContentsSame() 60 List<T> extraItems = new ArrayList<T>(); in assertUnorderedContentsSame() 79 private List<String> getExpectedNames(Class<?> clazz) { in getExpectedNames() 101 private List<String> getMethodNames(CtMethod[] methods) { in getMethodNames() 102 List<String> methodNames = new ArrayList<String>(); in getMethodNames() 109 private List<String> getMethodNames(Method[] methods, String[] exclusions) { in getMethodNames() 110 List<String> methodNames = new ArrayList<String>(); in getMethodNames() [all …]
|
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
D | ListsTest.java | 36 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/ |
D | ListsTest.java | 52 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/testng/src/main/java/org/testng/ |
D | TestListenerAdapter.java | 9 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/ |
D | ClassPathEntry.java | 26 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 …]
|
D | Configuration.java | 24 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/ |
D | TryListBuilderTest.java | 42 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/org/mockito/internal/invocation/ |
D | InvocationsFinder.java | 9 import java.util.List; 19 … public List<Invocation> findInvocations(List<Invocation> invocations, InvocationMatcher wanted) { in findInvocations() 23 …public List<Invocation> findAllMatchingUnverifiedChunks(List<Invocation> invocations, InvocationMa… in findAllMatchingUnverifiedChunks() 24 List<Invocation> unverified = removeVerifiedInOrder(invocations, orderingContext); in findAllMatchingUnverifiedChunks() 43 …public List<Invocation> findMatchingChunk(List<Invocation> invocations, InvocationMatcher wanted, … in findMatchingChunk() 44 List<Invocation> unverified = removeVerifiedInOrder(invocations, context); in findMatchingChunk() 45 List<Invocation> firstChunk = getFirstMatchingChunk(wanted, unverified); in findMatchingChunk() 54 …private List<Invocation> getFirstMatchingChunk(InvocationMatcher wanted, List<Invocation> unverifi… in getFirstMatchingChunk() 55 List<Invocation> firstChunk = new LinkedList<Invocation>(); in getFirstMatchingChunk() 66 …public Invocation findFirstMatchingUnverifiedInvocation( List<Invocation> invocations, InvocationM… in findFirstMatchingUnverifiedInvocation() [all …]
|
/external/guava/guava-tests/test/com/google/common/reflect/ |
D | TypeTokenTest.java | 43 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 …]
|
D | TypeResolverTest.java | 23 import java.util.List; 58 Type t = new TypeCapture<List<T>>() {}.capture(); in testWhere_parameterizedSelfMapping() 89 public <T1, T2 extends List<T1>> void testWhere_recursiveMapping() { in testWhere_recursiveMapping() 111 .where(new TypeCapture<List<T>>() {}.capture(), in testWhere_parameterizedTypeMapping() 112 new TypeCapture<List<String>>() {}.capture()) in testWhere_parameterizedTypeMapping() 115 .where(new TypeCapture<List<T>>() {}.capture(), in testWhere_parameterizedTypeMapping() 116 new TypeCapture<List<? extends String>>() {}.capture()) in testWhere_parameterizedTypeMapping() 119 .where(new TypeCapture<List<T>>() {}.capture(), in testWhere_parameterizedTypeMapping() 120 new TypeCapture<List<? super String>>() {}.capture()) in testWhere_parameterizedTypeMapping() 127 .where(new TypeCapture<List<? extends T>>() {}.capture(), in testWhere_wildcardTypeMapping() [all …]
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue60/ |
D | SkipBean.java | 22 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/ |
D | DNSCache.java | 13 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/jmonkeyengine/engine/src/core/com/jme3/effect/shapes/ |
D | EmitterMeshVertexShape.java | 15 import java.util.List; 25 protected List<List<Vector3f>> vertices; 26 protected List<List<Vector3f>> normals; 39 public EmitterMeshVertexShape(List<Mesh> meshes) { in EmitterMeshVertexShape() 48 public void setMeshes(List<Mesh> meshes) { in setMeshes() 51 this.vertices = new ArrayList<List<Vector3f>>(meshes.size()); in setMeshes() 52 this.normals = new ArrayList<List<Vector3f>>(meshes.size()); in setMeshes() 71 List<Vector3f> vertices = new ArrayList<Vector3f>(vertToNormalMap.size()); in setMeshes() 72 List<Vector3f> normals = new ArrayList<Vector3f>(vertToNormalMap.size()); in setMeshes() 115 clone.vertices = new ArrayList<List<Vector3f>>(vertices.size()); in deepClone() [all …]
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
D | ListSubListTester.java | 39 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-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/testers/ |
D | ListSubListTester.java | 36 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/src/com/google/common/collect/ |
D | CartesianList.java | 23 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/ |
D | list-inl.h | 18 void List<T, P>::Add(const T& element, P alloc) { in Add() 22 List<T, P>::ResizeAdd(element, alloc); in Add() 28 void List<T, P>::AddAll(const List<T, P>& other, P alloc) { in AddAll() 34 void List<T, P>::AddAll(const Vector<T>& other, P alloc) { in AddAll() 49 void List<T, P>::ResizeAdd(const T& element, P alloc) { in ResizeAdd() 55 void List<T, P>::ResizeAddInternal(const T& element, P alloc) { in ResizeAddInternal() 69 void List<T, P>::Resize(int new_capacity, P alloc) { in Resize() 73 List<T, P>::DeleteData(data_); in Resize() 80 Vector<T> List<T, P>::AddBlock(T value, int count, P alloc) { in AddBlock() 88 void List<T, P>::Set(int index, const T& elm) { in Set() [all …]
|