/external/guava/android/guava-tests/test/com/google/common/collect/ |
D | ImmutableListTest.java | 117 List<String> list = ImmutableList.of(); in testCreation_noArgs() local 118 assertEquals(Collections.emptyList(), list); in testCreation_noArgs() local 122 List<String> list = ImmutableList.of("a"); in testCreation_oneElement() local 127 List<String> list = ImmutableList.of("a", "b"); in testCreation_twoElements() local 132 List<String> list = ImmutableList.of("a", "b", "c"); in testCreation_threeElements() local 137 List<String> list = ImmutableList.of("a", "b", "c", "d"); in testCreation_fourElements() local 142 List<String> list = ImmutableList.of("a", "b", "c", "d", "e"); in testCreation_fiveElements() local 147 List<String> list = ImmutableList.of("a", "b", "c", "d", "e", "f"); in testCreation_sixElements() local 152 List<String> list = ImmutableList.of("a", "b", "c", "d", "e", "f", "g"); in testCreation_sevenElements() local 157 List<String> list = ImmutableList.of("a", "b", "c", "d", "e", "f", "g", "h"); in testCreation_eightElements() local [all …]
|
D | ListsTest.java | 317 ArrayList<Integer> list = Lists.newArrayList(); in testNewArrayListEmpty() local 318 assertEquals(Collections.emptyList(), list); in testNewArrayListEmpty() local 322 ArrayList<Integer> list = Lists.newArrayListWithCapacity(0); in testNewArrayListWithCapacity() local 323 assertEquals(Collections.emptyList(), list); in testNewArrayListWithCapacity() local 338 ArrayList<Integer> list = Lists.newArrayListWithExpectedSize(0); in testNewArrayListWithExpectedSize() local 339 assertEquals(Collections.emptyList(), list); in testNewArrayListWithExpectedSize() local 354 ArrayList<Integer> list = Lists.newArrayList(0, 1, 1); in testNewArrayListVarArgs() local 367 ArrayList<Integer> list = Lists.newArrayList(SOME_COLLECTION); in testNewArrayListFromCollection() local 372 ArrayList<Integer> list = Lists.newArrayList(SOME_ITERABLE); in testNewArrayListFromIterable() local 377 ArrayList<Integer> list = Lists.newArrayList(SOME_COLLECTION.iterator()); in testNewArrayListFromIterator() local [all …]
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | ImmutableListTest.java | 118 List<String> list = ImmutableList.of(); in testCreation_noArgs() local 119 assertEquals(Collections.emptyList(), list); in testCreation_noArgs() local 123 List<String> list = ImmutableList.of("a"); in testCreation_oneElement() local 128 List<String> list = ImmutableList.of("a", "b"); in testCreation_twoElements() local 133 List<String> list = ImmutableList.of("a", "b", "c"); in testCreation_threeElements() local 138 List<String> list = ImmutableList.of("a", "b", "c", "d"); in testCreation_fourElements() local 143 List<String> list = ImmutableList.of("a", "b", "c", "d", "e"); in testCreation_fiveElements() local 148 List<String> list = ImmutableList.of("a", "b", "c", "d", "e", "f"); in testCreation_sixElements() local 153 List<String> list = ImmutableList.of("a", "b", "c", "d", "e", "f", "g"); in testCreation_sevenElements() local 158 List<String> list = ImmutableList.of("a", "b", "c", "d", "e", "f", "g", "h"); in testCreation_eightElements() local [all …]
|
D | ListsTest.java | 317 ArrayList<Integer> list = Lists.newArrayList(); in testNewArrayListEmpty() local 318 assertEquals(Collections.emptyList(), list); in testNewArrayListEmpty() local 322 ArrayList<Integer> list = Lists.newArrayListWithCapacity(0); in testNewArrayListWithCapacity() local 323 assertEquals(Collections.emptyList(), list); in testNewArrayListWithCapacity() local 338 ArrayList<Integer> list = Lists.newArrayListWithExpectedSize(0); in testNewArrayListWithExpectedSize() local 339 assertEquals(Collections.emptyList(), list); in testNewArrayListWithExpectedSize() local 354 ArrayList<Integer> list = Lists.newArrayList(0, 1, 1); in testNewArrayListVarArgs() local 367 ArrayList<Integer> list = Lists.newArrayList(SOME_COLLECTION); in testNewArrayListFromCollection() local 372 ArrayList<Integer> list = Lists.newArrayList(SOME_ITERABLE); in testNewArrayListFromIterable() local 377 ArrayList<Integer> list = Lists.newArrayList(SOME_COLLECTION.iterator()); in testNewArrayListFromIterator() local [all …]
|
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/ |
D | ListExtensions.cs | 47 public static bool add( this IList list, object value ) in add() 55 public static void add<T>( this ICollection<T> list, T value ) in add() 61 public static void add<T>( this List<T> list, T value ) in add() 67 public static void add( this IList list, int index, object value ) in add() 73 public static void addAll( this List<object> list, IEnumerable items ) in addAll() 79 public static void addAll( this IList list, IEnumerable items ) in addAll() 85 public static void addAll<T>( this ICollection<T> list, IEnumerable<T> items ) in addAll() 93 public static void addElement( this List<object> list, object value ) in addElement() 99 public static void clear( this IList list ) in clear() 105 public static bool contains( this IList list, object value ) in contains() [all …]
|
/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | BooleanArrayListTest.java | 52 private BooleanArrayList list; field in BooleanArrayListTest 215 assertEquals(asList(false), list); in testAdd() local 219 assertEquals(asList(false, false, true), list); in testAdd() local 228 asList(false, true, false, false, true, true, false, true, false, true, false), list); in testAdd() local 247 assertEquals(asList(false), list); in testAddBoolean() local 250 assertEquals(asList(false, true), list); in testAddBoolean() local 262 assertEquals(asList(true, false, true, false, true, false), list); in testAddAll() local 265 assertEquals(asList(true, false, true, false, true, false, true, false, true), list); in testAddAll() local 281 assertEquals(asList(false, true), list); in testRemove() local 284 assertEquals(asList(false), list); in testRemove() local [all …]
|
D | LazyStringArrayListTest.java | 58 LazyStringArrayList list = new LazyStringArrayList(); in testJustStrings() local 85 LazyStringArrayList list = new LazyStringArrayList(); in testJustByteString() local 105 LazyStringArrayList list = new LazyStringArrayList(); in testConversionBackAndForth() local 180 LazyStringArrayList list = new LazyStringArrayList(); in testModificationWithIteration() local 211 LazyStringArrayList list = new LazyStringArrayList(); in testMakeImmutable() local 272 LazyStringArrayList list = new LazyStringArrayList(); in testImmutabilityPropagation() local 285 private static <T> void assertGenericListImmutable(List<T> list, T value) { in assertGenericListImmutable()
|
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/utils/ |
D | VisitorListTest.java | 42 List<CompilationUnit> list = new ArrayList<>(); in visitorAddAll() local 54 List<CompilationUnit> list = new ArrayList<>(); in visitorAddAllAtIndex() local 70 VisitorList<CompilationUnit> list = new VisitorList<>(new ObjectIdentityHashCodeVisitor(), in visitorListContains() local 78 List<CompilationUnit> list = new ArrayList<>(); in visitorListContainsAll() local 89 VisitorList<CompilationUnit> list = new VisitorList<>(new ObjectIdentityHashCodeVisitor(), in visitorListIterator() local 106 VisitorList<CompilationUnit> list = new VisitorList<>(new ObjectIdentityHashCodeVisitor(), in visitorListListIterator() local 126 VisitorList<CompilationUnit> list = new VisitorList<>(new ObjectIdentityHashCodeVisitor(), in visitorListRemove() local 134 List<CompilationUnit> list = new ArrayList<>(); in visitorListRemoveAll() local 146 List<CompilationUnit> list = new ArrayList<>(); in visitorListRetainAll() local 159 VisitorList<CompilationUnit> list = new VisitorList<>(new ObjectIdentityHashCodeVisitor(), in visitorListSubList() local [all …]
|
/external/kmod/libkmod/ |
D | libkmod-list.c | 38 static inline void list_node_append(struct list_node *list, in list_node_append() 63 static inline void list_node_insert_after(struct list_node *list, in list_node_insert_after() 77 static inline void list_node_insert_before(struct list_node *list, in list_node_insert_before() 111 struct kmod_list *kmod_list_append(struct kmod_list *list, const void *data) in kmod_list_append() 125 struct kmod_list *kmod_list_insert_after(struct kmod_list *list, in kmod_list_insert_after() 143 struct kmod_list *kmod_list_insert_before(struct kmod_list *list, in kmod_list_insert_before() 175 struct kmod_list *kmod_list_prepend(struct kmod_list *list, const void *data) in kmod_list_prepend() 189 struct kmod_list *kmod_list_remove(struct kmod_list *list) in kmod_list_remove() 205 struct kmod_list *kmod_list_remove_data(struct kmod_list *list, in kmod_list_remove_data() 232 struct kmod_list *kmod_list_remove_n_latest(struct kmod_list *list, in kmod_list_remove_n_latest() [all …]
|
/external/mesa3d/src/util/ |
D | simple_list.h | 67 #define insert_at_head(list, elem) \ argument 81 #define insert_at_tail(list, elem) \ argument 95 #define move_to_head(list, elem) \ argument 107 #define move_to_tail(list, elem) \ argument 131 #define first_elem(list) ((list)->next) argument 140 #define last_elem(list) ((list)->prev) argument 168 #define at_end(list, elem) ((elem) == (list)) argument 177 #define is_empty_list(list) ((list)->next == (list)) argument 188 #define foreach(ptr, list) \ argument 204 #define foreach_s(ptr, t, list) \ argument
|
/external/jacoco/org.jacoco.report.test/src/org/jacoco/report/internal/html/table/ |
D | SortIndexTest.java | 48 final List<Integer> list = createList(1); in testSingleton() local 55 final List<Integer> list = createList(20); in testSorted() local 63 final List<Integer> list = createList(20); in testIncreaseBuffer() local 70 final List<Integer> list = createList(57); in testReverse() local 78 final List<Integer> list = createList(71); in testShuffle() local 85 List<Integer> list = new ArrayList<Integer>(length); in createList() local 92 private void assertSequence(List<Integer> list) { in assertSequence()
|
/external/pigweed/pw_containers/ |
D | intrusive_list_test.cc | 46 IntrusiveList<TestItem> list({}); in TEST() local 52 IntrusiveList<TestItem> list({&one}); in TEST() local 62 IntrusiveList<TestItem> list({&one, &two, &thr}); in TEST() local 72 IntrusiveList<TestItem> list(array.begin(), array.end()); in TEST() local 79 IntrusiveList<TestItem> list(array.begin(), array.end()); in TEST() local 87 IntrusiveList<TestItem> list(array.begin(), array.end()); in TEST() local 97 IntrusiveList<TestItem> list(array.begin(), array.end()); in TEST() local 106 IntrusiveList<TestItem> list(ptrs.begin(), ptrs.end()); in TEST() local 115 IntrusiveList<TestItem> list(ptrs.begin(), ptrs.end()); in TEST() local 125 IntrusiveList<TestItem> list(array.begin(), array.end()); in TEST() local [all …]
|
/external/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | ExtensionSchemaFull.java | 103 List<Double> list = new ArrayList<Double>(); in parseExtension() local 110 List<Float> list = new ArrayList<Float>(); in parseExtension() local 117 List<Long> list = new ArrayList<Long>(); in parseExtension() local 124 List<Long> list = new ArrayList<Long>(); in parseExtension() local 131 List<Integer> list = new ArrayList<Integer>(); in parseExtension() local 138 List<Long> list = new ArrayList<Long>(); in parseExtension() local 145 List<Integer> list = new ArrayList<Integer>(); in parseExtension() local 152 List<Boolean> list = new ArrayList<Boolean>(); in parseExtension() local 159 List<Integer> list = new ArrayList<Integer>(); in parseExtension() local 166 List<Integer> list = new ArrayList<Integer>(); in parseExtension() local [all …]
|
D | ExtensionSchemaLite.java | 86 List<Double> list = new ArrayList<Double>(); in parseExtension() local 93 List<Float> list = new ArrayList<Float>(); in parseExtension() local 100 List<Long> list = new ArrayList<Long>(); in parseExtension() local 107 List<Long> list = new ArrayList<Long>(); in parseExtension() local 114 List<Integer> list = new ArrayList<Integer>(); in parseExtension() local 121 List<Long> list = new ArrayList<Long>(); in parseExtension() local 128 List<Integer> list = new ArrayList<Integer>(); in parseExtension() local 135 List<Boolean> list = new ArrayList<Boolean>(); in parseExtension() local 142 List<Integer> list = new ArrayList<Integer>(); in parseExtension() local 149 List<Integer> list = new ArrayList<Integer>(); in parseExtension() local [all …]
|
/external/hamcrest/hamcrest-library/src/test/java/org/hamcrest/collection/ |
D | IsCollectionWithSizeTest.java | 28 Collection<Object> list = asList(null, null); in testMatchesCollectionWhenSizeIsCorrectUsingObjectElementType() local 34 Collection<String> list = asList("a", "b"); in testMatchesCollectionWhenSizeIsCorrectUsingStringElementType() local 40 Collection<?> list = asList("a", "b"); in testMatchesCollectionWhenSizeIsCorrectUsingWildcardElementType() local 46 List<Object> list = asList(null, null); in testMatchesListWhenSizeIsCorrectUsingObjectElementType() local 52 List<String> list = asList("a", "b"); in testMatchesListWhenSizeIsCorrectUsingStringElementType() local 58 List<?> list = asList("a", "b"); in testMatchesListWhenSizeIsCorrectUsingWildcardElementType() local
|
/external/wpa_supplicant_8/src/utils/ |
D | list.h | 22 static inline void dl_list_init(struct dl_list *list) in dl_list_init() 28 static inline void dl_list_add(struct dl_list *list, struct dl_list *item) in dl_list_add() 36 static inline void dl_list_add_tail(struct dl_list *list, struct dl_list *item) in dl_list_add_tail() 49 static inline int dl_list_empty(const struct dl_list *list) in dl_list_empty() 54 static inline unsigned int dl_list_len(const struct dl_list *list) in dl_list_len() 70 #define dl_list_first(list, type, member) \ argument 74 #define dl_list_last(list, type, member) \ argument 78 #define dl_list_for_each(item, list, type, member) \ argument 83 #define dl_list_for_each_safe(item, n, list, type, member) \ argument 89 #define dl_list_for_each_reverse(item, list, type, member) \ argument
|
/external/libxkbcommon/src/ |
D | util-list.c | 35 list_init(struct list *list) in list_init() 42 list_insert(struct list *list, struct list *elm) in list_insert() 56 list_append(struct list *list, struct list *elm) in list_append() 82 list_empty(const struct list *list) in list_empty() 91 list_is_last(const struct list *list, const struct list *elm) in list_is_last()
|
/external/google-breakpad/src/third_party/libdisasm/swig/ |
D | libdisasm.i | 124 x86_op_list *list = (x86_op_list *) in x86_op_list_new() local 130 void x86_op_list_free(x86_op_list *list) { in x86_op_list_free() 144 x86_op_list_node * x86_op_list_first(x86_op_list *list) { in x86_op_list_first() 148 x86_op_list_node * x86_op_list_last(x86_op_list *list) { in x86_op_list_last() 152 x86_op_list_node * x86_op_list_next(x86_op_list *list) { in x86_op_list_next() 162 x86_op_list_node * x86_op_list_prev(x86_op_list *list) { in x86_op_list_prev() 177 void x86_op_list_append( x86_op_list * list, x86_op_t *op ) { in x86_op_list_append() 196 x86_oplist_t * x86_op_list_node_copy( x86_oplist_t * list ) { in x86_op_list_node_copy() 222 x86_oplist_t *ptr, *list, *last = NULL; in x86_insn_copy() local 253 x86_oplist_t *list = insn->operands; in x86_insn_op_list() local [all …]
|
/external/dagger2/javatests/dagger/functional/ |
D | BoundedGenericModule.java | 42 ArrayList<String> list = new ArrayList<>(); in provideArrayListString() local 49 LinkedList<String> list = new LinkedList<>(); in provideLinkedListString() local 56 LinkedList<CharSequence> list = new LinkedList<>(); in provideLinkedListCharSeq() local 64 LinkedList<Comparable<String>> list = new LinkedList<>(); in provideArrayListOfComparableString() local 71 LinkedList<Integer> list = new LinkedList<>(); in provideListOfInteger() local
|
/external/selinux/libsepol/cil/src/ |
D | cil_list.c | 47 void cil_list_init(struct cil_list **list, enum cil_flavor flavor) in cil_list_init() 56 void cil_list_destroy(struct cil_list **list, unsigned destroy_data) in cil_list_destroy() 98 void cil_list_append(struct cil_list *list, enum cil_flavor flavor, void *data) in cil_list_append() 120 void cil_list_prepend(struct cil_list *list, enum cil_flavor flavor, void *data) in cil_list_prepend() 142 struct cil_list_item *cil_list_insert(struct cil_list *list, struct cil_list_item *curr, enum cil_f… in cil_list_insert() 171 void cil_list_append_item(struct cil_list *list, struct cil_list_item *item) in cil_list_append_item() 198 void cil_list_prepend_item(struct cil_list *list, struct cil_list_item *item) in cil_list_prepend_item() 224 void cil_list_remove(struct cil_list *list, enum cil_flavor flavor, void *data, unsigned destroy_da… in cil_list_remove() 250 int cil_list_contains(struct cil_list *list, void *data) in cil_list_contains()
|
/external/adhd/cras/src/server/ |
D | stream_list.c | 33 struct stream_list *list = (struct stream_list *)data; in delete_streams() local 66 struct stream_list *list = calloc(1, sizeof(struct stream_list)); in stream_list_create() local 76 void stream_list_destroy(struct stream_list *list) in stream_list_destroy() 81 struct cras_rstream *stream_list_get(struct stream_list *list) in stream_list_get() 86 int stream_list_add(struct stream_list *list, in stream_list_add() 113 int stream_list_rm(struct stream_list *list, cras_stream_id_t id) in stream_list_rm() 131 int stream_list_rm_all_client_streams(struct stream_list *list, in stream_list_rm_all_client_streams() 152 bool stream_list_has_pinned_stream(struct stream_list *list, in stream_list_has_pinned_stream() 165 void detect_rtc_stream_pair(struct stream_list *list, in detect_rtc_stream_pair()
|
/external/guava/android/guava-testlib/test/com/google/common/collect/testing/ |
D | HelpersTest.java | 45 List<Object> list = new ArrayList<>(); in testIsEmpty_iterable() local 87 List<?> list = Arrays.asList("a", "b", "c"); in testAssertEqualInOrder() local 119 List<?> list = Arrays.asList("a", "b", "c"); in testAssertContentsInOrder() local 148 List<?> list = Arrays.asList("a", "b"); in testAssertContains() local 160 List<?> list = Arrays.asList("a", "a", "b", "c"); in testAssertContainsAllOf() local
|
/external/guava/guava-testlib/test/com/google/common/collect/testing/ |
D | HelpersTest.java | 45 List<Object> list = new ArrayList<>(); in testIsEmpty_iterable() local 87 List<?> list = Arrays.asList("a", "b", "c"); in testAssertEqualInOrder() local 119 List<?> list = Arrays.asList("a", "b", "c"); in testAssertContentsInOrder() local 148 List<?> list = Arrays.asList("a", "b"); in testAssertContains() local 160 List<?> list = Arrays.asList("a", "a", "b", "c"); in testAssertContainsAllOf() local
|
/external/kotlinx.coroutines/integration/kotlinx-coroutines-jdk8/test/stream/ |
D | ConsumeAsFlowTest.kt | 17 val list = listOf(1, 2, 3) in <lambda>() constant 23 val list = listOf(3, 4, 5) in <lambda>() constant 31 val list = listOf(2, 3, 9) in <lambda>() constant
|
/external/deqp-deps/SPIRV-Tools/test/util/ |
D | ilist_test.cpp | 50 TestList list; in TEST() local 65 TestList list; in BuildList() local 76 TestList list = BuildList(nodes, 10); in TEST() local 83 TestList list = BuildList(nodes, 10); in TEST() local 90 TestList list = BuildList(nodes, 10); in TEST() local 97 TestList list = BuildList(nodes, 10); in TEST() local 104 TestList list = BuildList(nodes, 10); in TEST() local 114 const TestList list = BuildList(nodes, 10); in TEST() local 124 TestList list; in TEST() local 136 TestList list = BuildList(nodes, 5); in TEST() local [all …]
|