/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | BooleanArrayListTest.java | 52 private BooleanArrayList list; field in BooleanArrayListTest 215 assertEquals(asList(true), list); in testAdd() local 219 assertEquals(asList(false, true, false), list); in testAdd() local 227 assertEquals(asList(true, false, false, true, false, true, true, true, true, true, true), list); in testAdd() local 246 assertEquals(asList(true), list); in testAddInt() local 249 assertEquals(asList(true, false), list); in testAddInt() local 261 assertEquals(asList(false, true, false, false, false, true), list); in testAddAll() local 264 assertEquals(asList(false, true, false, false, false, true, true, true, false), list); in testAddAll() local 273 assertEquals(asList(true, false), list); in testRemove() local 276 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 284 private static <T> void assertGenericListImmutable(List<T> list, T value) { in assertGenericListImmutable()
|
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
D | ImmutableListTest.java | 46 List<String> list = ImmutableList.of(); in testCreation_noArgs() local 47 assertEquals(Collections.emptyList(), list); in testCreation_noArgs() local 51 List<String> list = ImmutableList.of("a"); in testCreation_oneElement() local 56 List<String> list = ImmutableList.of("a", "b"); in testCreation_twoElements() local 61 List<String> list = ImmutableList.of("a", "b", "c"); in testCreation_threeElements() local 66 List<String> list = ImmutableList.of("a", "b", "c", "d"); in testCreation_fourElements() local 71 List<String> list = ImmutableList.of("a", "b", "c", "d", "e"); in testCreation_fiveElements() local 76 List<String> list = ImmutableList.of("a", "b", "c", "d", "e", "f"); in testCreation_sixElements() local 81 List<String> list = ImmutableList.of("a", "b", "c", "d", "e", "f", "g"); in testCreation_sevenElements() local 86 List<String> list = ImmutableList.of( in testCreation_eightElements() local [all …]
|
D | ListsTest.java | 106 ArrayList<Integer> list = Lists.newArrayList(); in testNewArrayListEmpty() local 107 assertEquals(Collections.emptyList(), list); in testNewArrayListEmpty() local 111 ArrayList<Integer> list = Lists.newArrayListWithCapacity(0); in testNewArrayListWithCapacity() local 112 assertEquals(Collections.emptyList(), list); in testNewArrayListWithCapacity() local 127 ArrayList<Integer> list = Lists.newArrayListWithExpectedSize(0); in testNewArrayListWithExpectedSize() local 128 assertEquals(Collections.emptyList(), list); in testNewArrayListWithExpectedSize() local 143 ArrayList<Integer> list = Lists.newArrayList(0, 1, 1); in testNewArrayListVarArgs() local 157 ArrayList<Integer> list = Lists.newArrayList(SOME_COLLECTION); in testNewArrayListFromCollection() local 162 ArrayList<Integer> list = Lists.newArrayList(SOME_ITERABLE); in testNewArrayListFromIterable() local 167 ArrayList<Integer> list = Lists.newArrayList(SOME_COLLECTION.iterator()); in testNewArrayListFromIterator() local [all …]
|
D | IteratorsTest.java | 272 List<String> list = Lists.newArrayList(); in testAny() local 283 List<String> list = Lists.newArrayList(); in testAll() local 294 Iterable<String> list = Lists.newArrayList("cool", "pants"); in testFind_firstElement() local 301 Iterable<String> list = Lists.newArrayList("cool", "pants"); in testFind_lastElement() local 309 Iterable<String> list = Lists.newArrayList("cool", "pants"); in testFind_notPresent() local 320 Iterable<String> list = Lists.newArrayList("cool", "pants"); in testFind_matchAlways() local 326 Iterable<String> list = Lists.newArrayList("cool", "pants"); in testFind_withDefault_first() local 334 Iterable<String> list = Lists.newArrayList("cool", "pants"); in testFind_withDefault_last() local 342 Iterable<String> list = Lists.newArrayList("cool", "pants"); in testFind_withDefault_notPresent() local 350 Iterable<String> list = Lists.newArrayList("cool", "pants"); in testFind_withDefault_notPresent_nullReturn() local [all …]
|
D | Collections2Test.java | 77 List<Integer> list = newArrayList(); in testOrderedPermutationSetEmpty() local 91 List<Integer> list = newArrayList(1); in testOrderedPermutationSetOneElement() local 100 List<String> list = newArrayList("b", "a", "c"); in testOrderedPermutationSetThreeElements() local 114 List<Integer> list = newArrayList(1, 1, 2, 2); in testOrderedPermutationSetRepeatedElements() local 128 List<Integer> list = newArrayList(1, 1, 1, 1, 2, 2, 3); in testOrderedPermutationSetRepeatedElementsSize() local 156 List<Integer> list = newArrayList(3, 2, 1); in testOrderedPermutationSetContains() local 296 List<Integer> list = newArrayList(3, 2, 1); in testPermutationSetContains() local 337 List<String> list = Lists.newArrayList(); in testToStringImplWithNullEntries() local
|
/external/antlr/antlr-3.4/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/guava/guava-tests/test/com/google/common/collect/ |
D | ListsTest.java | 275 ArrayList<Integer> list = Lists.newArrayList(); in testNewArrayListEmpty() local 276 assertEquals(Collections.emptyList(), list); in testNewArrayListEmpty() local 280 ArrayList<Integer> list = Lists.newArrayListWithCapacity(0); in testNewArrayListWithCapacity() local 281 assertEquals(Collections.emptyList(), list); in testNewArrayListWithCapacity() local 296 ArrayList<Integer> list = Lists.newArrayListWithExpectedSize(0); in testNewArrayListWithExpectedSize() local 297 assertEquals(Collections.emptyList(), list); in testNewArrayListWithExpectedSize() local 312 ArrayList<Integer> list = Lists.newArrayList(0, 1, 1); in testNewArrayListVarArgs() local 326 ArrayList<Integer> list = Lists.newArrayList(SOME_COLLECTION); in testNewArrayListFromCollection() local 331 ArrayList<Integer> list = Lists.newArrayList(SOME_ITERABLE); in testNewArrayListFromIterable() local 336 ArrayList<Integer> list = Lists.newArrayList(SOME_COLLECTION.iterator()); in testNewArrayListFromIterator() local [all …]
|
D | ImmutableListTest.java | 129 List<String> list = ImmutableList.of(); in testCreation_noArgs() local 130 assertEquals(Collections.emptyList(), list); in testCreation_noArgs() local 134 List<String> list = ImmutableList.of("a"); in testCreation_oneElement() local 139 List<String> list = ImmutableList.of("a", "b"); in testCreation_twoElements() local 144 List<String> list = ImmutableList.of("a", "b", "c"); in testCreation_threeElements() local 149 List<String> list = ImmutableList.of("a", "b", "c", "d"); in testCreation_fourElements() local 154 List<String> list = ImmutableList.of("a", "b", "c", "d", "e"); in testCreation_fiveElements() local 159 List<String> list = ImmutableList.of("a", "b", "c", "d", "e", "f"); in testCreation_sixElements() local 164 List<String> list = ImmutableList.of("a", "b", "c", "d", "e", "f", "g"); in testCreation_sevenElements() local 169 List<String> list = ImmutableList.of( in testCreation_eightElements() local [all …]
|
D | IteratorsTest.java | 320 final List<Integer> list = asList(1, 2, 3, 4, 5); in testFilterUsingIteratorTester() local 336 List<String> list = Lists.newArrayList(); in testAny() local 347 List<String> list = Lists.newArrayList(); in testAll() local 358 Iterable<String> list = Lists.newArrayList("cool", "pants"); in testFind_firstElement() local 365 Iterable<String> list = Lists.newArrayList("cool", "pants"); in testFind_lastElement() local 373 Iterable<String> list = Lists.newArrayList("cool", "pants"); in testFind_notPresent() local 384 Iterable<String> list = Lists.newArrayList("cool", "pants"); in testFind_matchAlways() local 390 Iterable<String> list = Lists.newArrayList("cool", "pants"); in testFind_withDefault_first() local 398 Iterable<String> list = Lists.newArrayList("cool", "pants"); in testFind_withDefault_last() local 406 Iterable<String> list = Lists.newArrayList("cool", "pants"); in testFind_withDefault_notPresent() 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/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/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/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/dagger2/compiler/src/it/functional-tests/src/main/java/test/ |
D | BoundedGenericModule.java | 41 ArrayList<String> list = new ArrayList<>(); in provideArrayListString() local 48 LinkedList<String> list = new LinkedList<>(); in provideLinkedListString() local 55 LinkedList<CharSequence> list = new LinkedList<>(); in provideLinkedListCharSeq() local 63 LinkedList<Comparable<String>> list = new LinkedList<>(); in provideArrayListOfComparableString() local 70 LinkedList<Integer> list = new LinkedList<>(); in provideListOfInteger() local
|
/external/curl/lib/ |
D | llist.c | 48 struct curl_llist *list; in Curl_llist_alloc() local 71 Curl_llist_insert_next(struct curl_llist *list, struct curl_llist_element *e, in Curl_llist_insert_next() 112 Curl_llist_remove(struct curl_llist *list, struct curl_llist_element *e, in Curl_llist_remove() 147 Curl_llist_destroy(struct curl_llist *list, void *user) in Curl_llist_destroy() 158 Curl_llist_count(struct curl_llist *list) in Curl_llist_count() 166 int Curl_llist_move(struct curl_llist *list, struct curl_llist_element *e, in Curl_llist_move()
|
/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(struct dl_list *list) in dl_list_empty() 54 static inline unsigned int dl_list_len(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/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/skia/src/core/ |
D | SkTMultiMap.h | 38 ValueList* list = fHash.find(key); in insert() local 56 ValueList* list = fHash.find(key); in remove() local 73 delete list; in remove() local 76 delete list; in remove() local 83 ValueList* list = fHash.find(key); in find() local 92 ValueList* list = fHash.find(key); in find() local 142 for (ValueList* list = fHash.find(key); list; list = list->fNext) { in has() local 153 ValueList* list = fHash.find(key); in countForKey() local
|
/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/mesa3d/src/gallium/drivers/r300/compiler/ |
D | radeon_list.c | 45 void rc_list_add(struct rc_list ** list, struct rc_list * new_value) in rc_list_add() 60 void rc_list_remove(struct rc_list ** list, struct rc_list * rm_value) in rc_list_remove() 73 unsigned int rc_list_count(struct rc_list * list) in rc_list_count() 83 void rc_list_print(struct rc_list * list) in rc_list_print()
|
/external/icu/icu4c/source/common/ |
D | ulist.c | 63 static void ulist_addFirstItem(UList *list, UListNode *newItem) { in ulist_addFirstItem() 70 static void ulist_removeItem(UList *list, UListNode *p) { in ulist_removeItem() 92 U_CAPI void U_EXPORT2 ulist_addItemEndList(UList *list, const void *data, UBool forceDelete, UError… in ulist_addItemEndList() 125 U_CAPI void U_EXPORT2 ulist_addItemBeginList(UList *list, const void *data, UBool forceDelete, UErr… in ulist_addItemBeginList() 159 U_CAPI UBool U_EXPORT2 ulist_containsString(const UList *list, const char *data, int32_t length) { in ulist_containsString() 173 U_CAPI UBool U_EXPORT2 ulist_removeString(UList *list, const char *data) { in ulist_removeString() 187 U_CAPI void *U_EXPORT2 ulist_getNext(UList *list) { in ulist_getNext() 201 U_CAPI int32_t U_EXPORT2 ulist_getListSize(const UList *list) { in ulist_getListSize() 209 U_CAPI void U_EXPORT2 ulist_resetList(UList *list) { in ulist_resetList() 216 U_CAPI void U_EXPORT2 ulist_deleteList(UList *list) { in ulist_deleteList()
|
/external/guava/guava-gwt/test-super/com/google/common/primitives/super/com/google/common/primitives/ |
D | BytesTest.java | 179 List<Byte> list = Bytes.asList(VALUES).subList(0, i); in testToArray_threadSafe() local 193 List<Byte> list = Arrays.asList((byte) 0, (byte) 1, null); in testToArray_withNull() local 221 List<Byte> list = Bytes.asList(array); in testAsList_isAView() local 225 assertEquals(Arrays.asList((byte) 2, (byte) 3), list); in testAsList_isAView() local 230 List<Byte> list = Bytes.asList(array); in testAsList_toArray_roundTrip() local 244 List<Byte> list = Bytes.asList(array); in testAsList_subList_toArray_roundTrip() local
|
/external/toybox/lib/ |
D | llist.c | 27 void llist_traverse(void *list, void (*using)(void *node)) in llist_traverse() 42 void *llist_pop(void *list) in llist_pop() 54 void *dlist_pop(void *list) in dlist_pop() 67 void dlist_add_nomalloc(struct double_list **list, struct double_list *new) in dlist_add_nomalloc() 79 struct double_list *dlist_add(struct double_list **list, char *data) in dlist_add() 90 void *dlist_terminate(void *list) in dlist_terminate()
|
/external/selinux/libsemanage/src/ |
D | utilities.h | 37 typedef struct list { struct 39 struct list *next; argument
|