Home
last modified time | relevance | path

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

12345678910>>...57

/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/antlr-3.4/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/dbus/dbus/
Ddbus-list.c107 link_before (DBusList **list, in link_before()
130 link_after (DBusList **list, in link_after()
259 _dbus_list_append (DBusList **list, in _dbus_list_append()
281 _dbus_list_prepend (DBusList **list, in _dbus_list_prepend()
304 _dbus_list_append_link (DBusList **list, in _dbus_list_append_link()
322 _dbus_list_prepend_link (DBusList **list, in _dbus_list_prepend_link()
337 _dbus_list_insert_after (DBusList **list, in _dbus_list_insert_after()
365 _dbus_list_insert_before_link (DBusList **list, in _dbus_list_insert_before_link()
383 _dbus_list_insert_after_link (DBusList **list, in _dbus_list_insert_after_link()
404 _dbus_list_remove (DBusList **list, in _dbus_list_remove()
[all …]
/external/jetty/src/java/org/eclipse/jetty/util/
DLazyList.java77 public static Object add(Object list, Object item) in add()
111 public static Object add(Object list, int index, Object item) in add()
142 public static Object addCollection(Object list, Collection<?> collection) in addCollection()
156 public static Object addArray(Object list, Object[] array) in addArray()
167 public static Object ensureSize(Object list, int initialSize) in ensureSize()
186 public static Object remove(Object list, Object o) in remove()
206 public static Object remove(Object list, int i) in remove()
234 public static<E> List<E> getList(Object list) in getList()
250 public static<E> List<E> getList(Object list, boolean nullForEmpty) in getList()
266 public static String[] toStringArray(Object list) in toStringArray()
[all …]
/external/mesa3d/src/gallium/auxiliary/util/
Du_simple_list.h59 #define insert_at_head(list, elem) \ argument
73 #define insert_at_tail(list, elem) \ argument
87 #define move_to_head(list, elem) \ argument
99 #define move_to_tail(list, elem) \ argument
123 #define first_elem(list) ((list)->next) argument
132 #define last_elem(list) ((list)->prev) argument
160 #define at_end(list, elem) ((elem) == (list)) argument
169 #define is_empty_list(list) ((list)->next == (list)) argument
180 #define foreach(ptr, list) \ argument
196 #define foreach_s(ptr, t, list) \ argument
/external/mesa3d/src/mesa/main/
Dsimple_list.h66 #define insert_at_head(list, elem) \ argument
80 #define insert_at_tail(list, elem) \ argument
94 #define move_to_head(list, elem) \ argument
106 #define move_to_tail(list, elem) \ argument
130 #define first_elem(list) ((list)->next) argument
139 #define last_elem(list) ((list)->prev) argument
167 #define at_end(list, elem) ((elem) == (list)) argument
176 #define is_empty_list(list) ((list)->next == (list)) argument
187 #define foreach(ptr, list) \ argument
203 #define foreach_s(ptr, t, list) \ argument
/external/dbus/bus/
Dexpirelist.c49 BusExpireList *list; in bus_expire_list_new() local
83 bus_expire_list_free (BusExpireList *list) in bus_expire_list_free()
118 bus_expire_list_recheck_immediately (BusExpireList *list) in bus_expire_list_recheck_immediately()
126 do_expiration_with_monotonic_time (BusExpireList *list, in do_expiration_with_monotonic_time()
187 bus_expirelist_expire (BusExpireList *list) in bus_expirelist_expire()
208 BusExpireList *list = data; in expire_timeout_handler() local
219 bus_expire_list_remove_link (BusExpireList *list, in bus_expire_list_remove_link()
226 bus_expire_list_remove (BusExpireList *list, in bus_expire_list_remove()
233 bus_expire_list_unlink (BusExpireList *list, in bus_expire_list_unlink()
240 bus_expire_list_add (BusExpireList *list, in bus_expire_list_add()
[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/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/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/junit/src/org/junit/experimental/theories/internal/
DAllMembersSupplier.java64 List<PotentialAssignment> list= new ArrayList<PotentialAssignment>(); in getValueSources() local
73 private void addMultiPointMethods(List<PotentialAssignment> list) { in addMultiPointMethods()
77 addArrayValues(dataPointsMethod.getName(), list, dataPointsMethod.invokeExplosively(null)); in addMultiPointMethods() local
85 List<PotentialAssignment> list) { in addSinglePointMethods()
95 List<PotentialAssignment> list) { in addFields()
101 addArrayValues(field.getName(), list, getStaticFieldValue(field)); in addFields() local
111 private void addArrayValues(String name, List<PotentialAssignment> list, Object array) { in addArrayValues()
/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/v8/test/cctest/
Dtest-list.cc59 List<int, ZeroingAllocationPolicy> list(4); in TEST() local
73 List<int, ZeroingAllocationPolicy> list(4); in TEST() local
107 List<int> list(4); in TEST() local
136 List<int> list(4); in TEST() local
148 List<int> list(4); in TEST() local
159 List<int>* list = new List<int>(0); in TEST() local
163 List<int> list(0); in TEST() local
/external/curl/lib/
Dllist.c46 struct curl_llist *list; in Curl_llist_alloc() local
69 Curl_llist_insert_next(struct curl_llist *list, struct curl_llist_element *e, in Curl_llist_insert_next()
110 Curl_llist_remove(struct curl_llist *list, struct curl_llist_element *e, in Curl_llist_remove()
145 Curl_llist_destroy(struct curl_llist *list, void *user) in Curl_llist_destroy()
156 Curl_llist_count(struct curl_llist *list) in Curl_llist_count()
164 int Curl_llist_move(struct curl_llist *list, struct curl_llist_element *e, in Curl_llist_move()
/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/skia/src/core/
DSkTMultiMap.h39 ValueList* list = fHash.find(key); in insert() local
57 ValueList* list = fHash.find(key); in remove() local
74 delete list; in remove() local
77 delete list; in remove() local
84 ValueList* list = fHash.find(key); in find() local
93 ValueList* list = fHash.find(key); in find() local
109 ValueList* list = fHash.find(key); in countForKey() local
/external/toybox/lib/
Dllist.c27 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/freetype/src/cache/
Dftcmru.c169 FTC_MruList_Init( FTC_MruList list, in FTC_MruList_Init()
185 FTC_MruList_Reset( FTC_MruList list ) in FTC_MruList_Reset()
195 FTC_MruList_Done( FTC_MruList list ) in FTC_MruList_Done()
203 FTC_MruList_Find( FTC_MruList list, in FTC_MruList_Find()
236 FTC_MruList_New( FTC_MruList list, in FTC_MruList_New()
291 FTC_MruList_Lookup( FTC_MruList list, in FTC_MruList_Lookup()
308 FTC_MruList_Remove( FTC_MruList list, in FTC_MruList_Remove()
327 FTC_MruList_RemoveSelection( FTC_MruList list, in FTC_MruList_RemoveSelection()
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/parser/
DParser.java161 ArrayList list = new ArrayList(); in parse() local
171 ArrayList list = new0(); in parse() local
177 ArrayList list = new1(); in parse() local
183 ArrayList list = new2(); in parse() local
189 ArrayList list = new3(); in parse() local
195 ArrayList list = new4(); in parse() local
201 ArrayList list = new5(); in parse() local
207 ArrayList list = new6(); in parse() local
213 ArrayList list = new7(); in parse() local
219 ArrayList list = new8(); in parse() local
[all …]

12345678910>>...57