Home
last modified time | relevance | path

Searched defs:list (Results 1 – 25 of 1811) sorted by relevance

12345678910>>...73

/external/protobuf/java/core/src/test/java/com/google/protobuf/
DBooleanArrayListTest.java52 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 …]
DLazyStringArrayListTest.java58 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/
DImmutableListTest.java46 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 …]
DListsTest.java106 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 …]
DIteratorsTest.java272 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 …]
DCollections2Test.java77 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/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/
DListExtensions.cs47 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/
DListsTest.java275 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 …]
DImmutableListTest.java129 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 …]
DIteratorsTest.java320 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/javaparser/javaparser-testing/src/test/java/com/github/javaparser/utils/
DVisitorListTest.java43 List<CompilationUnit> list = new ArrayList<>(); in visitorAddAll() local
55 List<CompilationUnit> list = new ArrayList<>(); in visitorAddAllAtIndex() local
71 VisitorList<CompilationUnit> list = new VisitorList<>(new ObjectIdentityHashCodeVisitor(), in visitorListContains() local
79 List<CompilationUnit> list = new ArrayList<>(); in visitorListContainsAll() local
90 VisitorList<CompilationUnit> list = new VisitorList<>(new ObjectIdentityHashCodeVisitor(), in visitorListIterator() local
107 VisitorList<CompilationUnit> list = new VisitorList<>(new ObjectIdentityHashCodeVisitor(), in visitorListListIterator() local
127 VisitorList<CompilationUnit> list = new VisitorList<>(new ObjectIdentityHashCodeVisitor(), in visitorListRemove() local
135 List<CompilationUnit> list = new ArrayList<>(); in visitorListRemoveAll() local
147 List<CompilationUnit> list = new ArrayList<>(); in visitorListRetainAll() local
160 VisitorList<CompilationUnit> list = new VisitorList<>(new ObjectIdentityHashCodeVisitor(), in visitorListSubList() local
[all …]
/external/kmod/libkmod/
Dlibkmod-list.c38 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/
DSortIndexTest.java48 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/
Dsimple_list.h67 #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/
DIsCollectionWithSizeTest.java28 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/
DBoundedGenericModule.java41 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/wpa_supplicant_8/src/utils/
Dlist.h22 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/google-breakpad/src/third_party/libdisasm/swig/
Dlibdisasm.i124 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/selinux/libsepol/cil/src/
Dcil_list.c47 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/curl/lib/
Dllist.c57 Curl_llist_insert_next(struct curl_llist *list, struct curl_llist_element *e, in Curl_llist_insert_next()
93 Curl_llist_remove(struct curl_llist *list, struct curl_llist_element *e, in Curl_llist_remove()
134 Curl_llist_destroy(struct curl_llist *list, void *user) in Curl_llist_destroy()
143 Curl_llist_count(struct curl_llist *list) in Curl_llist_count()
151 void Curl_llist_move(struct curl_llist *list, struct curl_llist_element *e, in Curl_llist_move()
/external/icu/icu4c/source/common/
Dulist.cpp61 static void ulist_addFirstItem(UList *list, UListNode *newItem) { in ulist_addFirstItem()
68 static void ulist_removeItem(UList *list, UListNode *p) { in ulist_removeItem()
91 U_CAPI void U_EXPORT2 ulist_addItemEndList(UList *list, const void *data, UBool forceDelete, UError… in ulist_addItemEndList()
124 U_CAPI void U_EXPORT2 ulist_addItemBeginList(UList *list, const void *data, UBool forceDelete, UErr… in ulist_addItemBeginList()
157 U_CAPI UBool U_EXPORT2 ulist_containsString(const UList *list, const char *data, int32_t length) { in ulist_containsString()
171 U_CAPI UBool U_EXPORT2 ulist_removeString(UList *list, const char *data) { in ulist_removeString()
185 U_CAPI void *U_EXPORT2 ulist_getNext(UList *list) { in ulist_getNext()
198 U_CAPI int32_t U_EXPORT2 ulist_getListSize(const UList *list) { in ulist_getListSize()
206 U_CAPI void U_EXPORT2 ulist_resetList(UList *list) { in ulist_resetList()
212 U_CAPI void U_EXPORT2 ulist_deleteList(UList *list) { in ulist_deleteList()
/external/swiftshader/third_party/SPIRV-Tools/test/util/
Dilist_test.cpp50 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 …]
/external/deqp-deps/SPIRV-Tools/test/util/
Dilist_test.cpp50 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 …]
/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_list.c45 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/adhd/cras/src/server/
Dcras_apm_list.h144 struct cras_apm_list *list, in cras_apm_list_add()
150 static inline struct cras_apm *cras_apm_list_get(struct cras_apm_list *list, in cras_apm_list_get()
155 static inline uint64_t cras_apm_list_get_effects(struct cras_apm_list *list) in cras_apm_list_get_effects()
159 static inline int cras_apm_list_destroy(struct cras_apm_list *list) in cras_apm_list_destroy()
163 static inline void cras_apm_list_remove(struct cras_apm_list *list, in cras_apm_list_remove()
192 static inline void cras_apm_list_set_aec_dump(struct cras_apm_list *list, in cras_apm_list_set_aec_dump()

12345678910>>...73