/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/llvm-project/llvm/unittests/ADT/ |
D | IListTest.cpp | 29 ilist<Node> List; in TEST() local 30 List.push_back(new Node(1)); in TEST() 31 EXPECT_EQ(1, List.back().Value); in TEST() 32 EXPECT_EQ(nullptr, List.getPrevNode(List.back())); in TEST() 33 EXPECT_EQ(nullptr, List.getNextNode(List.back())); in TEST() 35 List.push_back(new Node(2)); in TEST() 36 EXPECT_EQ(2, List.back().Value); in TEST() 37 EXPECT_EQ(2, List.getNextNode(List.front())->Value); in TEST() 38 EXPECT_EQ(1, List.getPrevNode(List.back())->Value); in TEST() 40 const ilist<Node> &ConstList = List; in TEST() [all …]
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/visitor/ |
D | GenericListVisitorAdapter.java | 33 import java.util.List; 44 public abstract class GenericListVisitorAdapter<R, A> implements GenericVisitor<List<R>, A> { 46 public List<R> visit(final AnnotationDeclaration n, final A arg) { in visit() 47 List<R> result = new ArrayList<>(); in visit() 48 List<R> tmp; in visit() 77 public List<R> visit(final AnnotationMemberDeclaration n, final A arg) { in visit() 78 List<R> result = new ArrayList<>(); in visit() 79 List<R> tmp; in visit() 113 public List<R> visit(final ArrayAccessExpr n, final A arg) { in visit() 114 List<R> result = new ArrayList<>(); in visit() [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 …]
|
/external/llvm-project/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 …]
|
/external/clang/test/PCH/ |
D | pragma-loop.cpp | 29 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/llvm-project/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 45 List[i] = i; in run2() 50 inline void run3(int *List, int Length) { in run3() argument 57 List[i] = i; in run3() 62 inline void run4(int *List, int Length) { in run4() argument 66 List[i] = i; in run4() 71 inline void run5(int *List, int Length) { in run5() argument 75 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 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 …]
|
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/llvm-project/clang/test/CodeGenCXX/ |
D | pragma-loop.cpp | 4 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 …]
|
D | pragma-unroll.cpp | 7 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 27 List[i] = i * 2; in do_test() 33 void for_test(int *List, int Length) { in for_test() argument 38 List[i] = i * 2; in for_test() 45 double List[100]; in for_range_test() local 48 for (int i : List) { in for_range_test() 50 List[i] = i; in for_range_test() 57 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/ |
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/oj-libjdwp/src/share/classes/com/sun/jdi/request/ |
D | EventRequestManager.java | 30 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/ |
D | ReferenceType.java | 28 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/robolectric-shadows/resources/src/main/java/org/robolectric/manifest/ |
D | IntentFilterData.java | 4 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/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/ |
D | PositionMappingTest.java | 28 import java.util.List; 44 List<List<String>> input = lines( in testNoMapping() 62 List<List<String>> input = lines( in testEncodedLineFeed() 64 List<List<String>> output = lines( in testEncodedLineFeed() 73 List<List<String>> input = lines( in testComplexMapping() 79 List<List<String>> output = lines( in testComplexMapping() 88 private void checkConvert(List<List<String>> input, in checkConvert() 89 List<List<String>> output) throws IOException { in checkConvert() 105 Iterator<List<String>> outLineIt = output.iterator(); in checkConvert() 106 List<String> outLine = outLineIt.next(); in checkConvert() [all …]
|
/external/mockito/src/main/java/org/mockito/internal/invocation/ |
D | InvocationsFinder.java | 9 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/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | Reader.java | 34 import java.util.List; 209 void readDoubleList(List<Double> target) throws IOException; in readDoubleList() 217 void readFloatList(List<Float> target) throws IOException; in readFloatList() 225 void readUInt64List(List<Long> target) throws IOException; in readUInt64List() 233 void readInt64List(List<Long> target) throws IOException; in readInt64List() 241 void readInt32List(List<Integer> target) throws IOException; in readInt32List() 249 void readFixed64List(List<Long> target) throws IOException; in readFixed64List() 257 void readFixed32List(List<Integer> target) throws IOException; in readFixed32List() 265 void readBoolList(List<Boolean> target) throws IOException; in readBoolList() 272 void readStringList(List<String> target) throws IOException; in readStringList() [all …]
|
/external/llvm-project/llvm/include/llvm/ADT/ |
D | AllocatorList.h | 49 list_type List; variable 141 : AllocatorT(std::move(X.getAlloc())), List(std::move(X.List)) {} in AllocatorList() 144 List.cloneFrom(X.List, Cloner(*this), Disposer(*this)); in AllocatorList() 149 List = std::move(X.List); 155 List.cloneFrom(X.List, Cloner(*this), Disposer(*this)); 162 List.swap(RHS.List); in swap() 166 bool empty() { return List.empty(); } in empty() 167 size_t size() { return List.size(); } in size() 169 iterator begin() { return iterator(List.begin()); } in begin() 170 iterator end() { return iterator(List.end()); } in end() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
D | AllocatorList.h | 49 list_type List; variable 141 : AllocatorT(std::move(X.getAlloc())), List(std::move(X.List)) {} in AllocatorList() 144 List.cloneFrom(X.List, Cloner(*this), Disposer(*this)); in AllocatorList() 149 List = std::move(X.List); 155 List.cloneFrom(X.List, Cloner(*this), Disposer(*this)); 162 List.swap(RHS.List); in swap() 166 bool empty() { return List.empty(); } in empty() 167 size_t size() { return List.size(); } in size() 169 iterator begin() { return iterator(List.begin()); } in begin() 170 iterator end() { return iterator(List.end()); } in end() [all …]
|
/external/cldr/tools/java/org/unicode/cldr/draft/ |
D | CharacterListCompressor.java | 8 import java.util.List; 56 public static List<Integer> unicode2Base88(int code) { in unicode2Base88() 58 List<Integer> list = new ArrayList<>(); in unicode2Base88() 94 public static List<Integer> compressPair2Base88(List<Integer> pair) { in compressPair2Base88() 103 public static List<List<Integer>> decodeBase88ToValueTypePairs(String str) { in decodeBase88ToValueTypePairs() 104 List<Integer> list = str2list(str); in decodeBase88ToValueTypePairs() 107 List<List<Integer>> result = new ArrayList<>(); in decodeBase88ToValueTypePairs() 127 public static int getCodeFromListAt(List<Integer> list, int start, int leng) { in getCodeFromListAt() 136 public static void addPair(List<List<Integer>> pairs, int value, int type) { in addPair() 137 List<Integer> pair = new ArrayList<>(); in addPair() [all …]
|
/external/guava/android/guava-tests/test/com/google/common/reflect/ |
D | TypeTokenSubtypeTest.java | 23 import java.util.List; 91 TypeToken<List<? extends Number>> numberList = new TypeToken<List<? extends Number>>() {}; in testGetSubtypeOf_impossibleWildcard() 92 abstract class StringList implements List<String> {} in testGetSubtypeOf_impossibleWildcard() 232 public List<RecursiveTypeBoundBugExample<?>> ifYouUseTheTypeVariableOnTheClassAndItIsRecursive( in ifYouUseTheTypeVariableOnTheClassAndItIsRecursive() 233 List<RecursiveTypeBoundBugExample<? extends RecursiveTypeBoundBugExample<T>>> arg) { in ifYouUseTheTypeVariableOnTheClassAndItIsRecursive() 240 public Iterable<?> noBounds(List<?> list) { in noBounds() 245 public Iterable<List<?>> listOfListOfWildcard(List<List<?>> listOfList) { in listOfListOfWildcard() 250 public Iterable<? extends List<?>> listOfWildcardListOfWildcard( in listOfWildcardListOfWildcard() 251 List<? extends List<?>> listOfList) { in listOfWildcardListOfWildcard() 273 public Iterable<Enum<?>> listOfEnums(List<Enum<?>> listOfEnums) { in listOfEnums() [all …]
|
/external/guava/guava-tests/test/com/google/common/reflect/ |
D | TypeTokenSubtypeTest.java | 23 import java.util.List; 91 TypeToken<List<? extends Number>> numberList = new TypeToken<List<? extends Number>>() {}; in testGetSubtypeOf_impossibleWildcard() 92 abstract class StringList implements List<String> {} in testGetSubtypeOf_impossibleWildcard() 232 public List<RecursiveTypeBoundBugExample<?>> ifYouUseTheTypeVariableOnTheClassAndItIsRecursive( in ifYouUseTheTypeVariableOnTheClassAndItIsRecursive() 233 List<RecursiveTypeBoundBugExample<? extends RecursiveTypeBoundBugExample<T>>> arg) { in ifYouUseTheTypeVariableOnTheClassAndItIsRecursive() 240 public Iterable<?> noBounds(List<?> list) { in noBounds() 245 public Iterable<List<?>> listOfListOfWildcard(List<List<?>> listOfList) { in listOfListOfWildcard() 250 public Iterable<? extends List<?>> listOfWildcardListOfWildcard( in listOfWildcardListOfWildcard() 251 List<? extends List<?>> listOfList) { in listOfWildcardListOfWildcard() 273 public Iterable<Enum<?>> listOfEnums(List<Enum<?>> listOfEnums) { in listOfEnums() [all …]
|
/external/guava/android/guava-tests/test/com/google/common/collect/ |
D | ListsTest.java | 45 import java.util.List; 84 private static final List<Integer> SOME_LIST = Lists.newArrayList(1, 2, 3, 4); 86 private static final List<Integer> SOME_SEQUENTIAL_LIST = Lists.newLinkedList(asList(1, 2, 3, 4)); 88 private static final List<String> SOME_STRING_LIST = asList("1", "2", "3", "4"); 110 protected List<String> create(String[] elements) { in suite() 128 protected List<String> create(String[] elements) { in suite() 147 protected List<String> create(String[] elements) { in suite() 148 List<String> fromList = Lists.newArrayList(); in suite() 167 protected List<String> create(String[] elements) { in suite() 168 List<String> fromList = Lists.newLinkedList(); in suite() [all …]
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | ListsTest.java | 45 import java.util.List; 84 private static final List<Integer> SOME_LIST = Lists.newArrayList(1, 2, 3, 4); 86 private static final List<Integer> SOME_SEQUENTIAL_LIST = Lists.newLinkedList(asList(1, 2, 3, 4)); 88 private static final List<String> SOME_STRING_LIST = asList("1", "2", "3", "4"); 110 protected List<String> create(String[] elements) { in suite() 128 protected List<String> create(String[] elements) { in suite() 147 protected List<String> create(String[] elements) { in suite() 148 List<String> fromList = Lists.newArrayList(); in suite() 167 protected List<String> create(String[] elements) { in suite() 168 List<String> fromList = Lists.newLinkedList(); in suite() [all …]
|