Home
last modified time | relevance | path

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

12345678910>>...36

/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/
DImmutableListTest.java132 List<String> list = ImmutableList.of(); in testCreation_noArgs() local
133 assertEquals(Collections.emptyList(), list); in testCreation_noArgs() local
137 List<String> list = ImmutableList.of("a"); in testCreation_oneElement() local
142 List<String> list = ImmutableList.of("a", "b"); in testCreation_twoElements() local
147 List<String> list = ImmutableList.of("a", "b", "c"); in testCreation_threeElements() local
152 List<String> list = ImmutableList.of("a", "b", "c", "d"); in testCreation_fourElements() local
157 List<String> list = ImmutableList.of("a", "b", "c", "d", "e"); in testCreation_fiveElements() local
162 List<String> list = ImmutableList.of("a", "b", "c", "d", "e", "f"); in testCreation_sixElements() local
167 List<String> list = ImmutableList.of("a", "b", "c", "d", "e", "f", "g"); in testCreation_sevenElements() local
172 List<String> list = ImmutableList.of( in testCreation_eightElements() local
[all …]
DListsTest.java305 ArrayList<Integer> list = Lists.newArrayList(); in testNewArrayListEmpty() local
306 assertEquals(Collections.emptyList(), list); in testNewArrayListEmpty() local
310 ArrayList<Integer> list = Lists.newArrayListWithCapacity(0); in testNewArrayListWithCapacity() local
311 assertEquals(Collections.emptyList(), list); in testNewArrayListWithCapacity() local
326 ArrayList<Integer> list = Lists.newArrayListWithExpectedSize(0); in testNewArrayListWithExpectedSize() local
327 assertEquals(Collections.emptyList(), list); in testNewArrayListWithExpectedSize() local
342 ArrayList<Integer> list = Lists.newArrayList(0, 1, 1); in testNewArrayListVarArgs() local
356 ArrayList<Integer> list = Lists.newArrayList(SOME_COLLECTION); in testNewArrayListFromCollection() local
361 ArrayList<Integer> list = Lists.newArrayList(SOME_ITERABLE); in testNewArrayListFromIterable() local
366 ArrayList<Integer> list = Lists.newArrayList(SOME_COLLECTION.iterator()); in testNewArrayListFromIterator() local
[all …]
DIteratorsTest.java272 final List<Integer> list = asList(1, 2, 3, 4, 5); in testFilterUsingIteratorTester() local
288 List<String> list = Lists.newArrayList(); in testAny() local
299 List<String> list = Lists.newArrayList(); in testAll() local
310 Iterable<String> list = Lists.newArrayList("cool", "pants"); in testFind_firstElement() local
317 Iterable<String> list = Lists.newArrayList("cool", "pants"); in testFind_lastElement() local
325 Iterable<String> list = Lists.newArrayList("cool", "pants"); in testFind_notPresent() local
336 Iterable<String> list = Lists.newArrayList("cool", "pants"); in testFind_matchAlways() local
342 Iterable<String> list = Lists.newArrayList("cool", "pants"); in testFind_withDefault_first() local
350 Iterable<String> list = Lists.newArrayList("cool", "pants"); in testFind_withDefault_last() local
358 Iterable<String> list = Lists.newArrayList("cool", "pants"); in testFind_withDefault_notPresent() local
[all …]
DPeekingIteratorTest.java76 private <T> void actsLikeIteratorHelper(final List<T> list) { in actsLikeIteratorHelper()
81 new IteratorTester<T>(list.size() * 2 + 2, UNMODIFIABLE, list, in actsLikeIteratorHelper() local
110 List<?> list = Collections.emptyList(); in testPeekOnEmptyList() local
121 List<?> list = Lists.newArrayList("A", "B", "C"); in testPeekDoesntChangeIteration() local
162 List<String> list = Lists.newArrayList("A", "B", "C"); in testCantRemoveAfterPeek() local
226 List<Integer> list = emptyList(); in testPeekingIteratorDoesntAdvancePrematurely() local
DAbstractListMultimapTest.java181 List<Integer> list = multimap.get("foo"); in testListMethods() local
211 List<Integer> list = multimap.get("foo"); in testListMethodsIncludingSublist() local
230 List<Integer> list = multimap.get("foo"); in testSublistAfterListUpdate() local
245 List<Integer> list = multimap.get("foo"); in testListIteratorNavigate() local
270 List<Integer> list = multimap.get("foo"); in testListIteratorUpdate() local
298 List<Integer> list = multimap.get("foo"); in testSublistSet() local
313 List<Integer> list = multimap.get("foo"); in testSublistRemove() local
337 List<Integer> list = multimap.get("foo"); in testSublistAdd() local
357 List<Integer> list = multimap.get("foo"); in testSublistClear() local
373 List<Integer> list = multimap.get("foo"); in testSublistAddToEmpty() local
/external/libppp/src/
Diplist.c56 iplist_first(struct iplist *list) in iplist_first()
62 iplist_setrange(struct iplist *list, char *range) in iplist_setrange()
99 iplist_nextrange(struct iplist *list) in iplist_nextrange()
128 iplist_next(struct iplist *list) in iplist_next()
150 iplist_setsrc(struct iplist *list, const char *src) in iplist_setsrc()
165 iplist_reset(struct iplist *list) in iplist_reset()
173 iplist_setcurpos(struct iplist *list, long pos) in iplist_setcurpos()
201 iplist_setrandpos(struct iplist *list) in iplist_setrandpos()
208 iplist_ip2pos(struct iplist *list, struct in_addr ip) in iplist_ip2pos()
/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/wpa_supplicant_8/src/utils/
Dlist.h20 static inline void dl_list_init(struct dl_list *list) in dl_list_init()
26 static inline void dl_list_add(struct dl_list *list, struct dl_list *item) in dl_list_add()
34 static inline void dl_list_add_tail(struct dl_list *list, struct dl_list *item) in dl_list_add_tail()
47 static inline int dl_list_empty(struct dl_list *list) in dl_list_empty()
52 static inline unsigned int dl_list_len(struct dl_list *list) in dl_list_len()
68 #define dl_list_first(list, type, member) \ argument
72 #define dl_list_last(list, type, member) \ argument
76 #define dl_list_for_each(item, list, type, member) \ argument
81 #define dl_list_for_each_safe(item, n, list, type, member) \ argument
87 #define dl_list_for_each_reverse(item, list, type, member) \ argument
/external/qemu/
Dnotify.c17 void notifier_list_init(NotifierList *list) in notifier_list_init()
22 void notifier_list_add(NotifierList *list, Notifier *notifier) in notifier_list_add()
27 void notifier_list_remove(NotifierList *list, Notifier *notifier) in notifier_list_remove()
32 void notifier_list_notify(NotifierList *list) in notifier_list_notify()
/external/qemu/android/utils/
Dlist.h37 alist_init(ACList* list) in alist_init()
44 alist_is_empty(const ACList* list) in alist_is_empty()
51 alist_insert_head(ACList* list, ACList* entry) in alist_insert_head()
61 alist_insert_tail(ACList* list, ACList* entry) in alist_insert_tail()
85 alist_remove_head(ACList* list) in alist_remove_head()
100 alist_remove_tail(ACList* list) in alist_remove_tail()
/external/v8/test/cctest/
Dtest-list.cc58 List<int, ZeroingAllocationPolicy> list(4); in TEST() local
71 List<int, ZeroingAllocationPolicy> list(4); in TEST() local
105 List<int> list(4); in TEST() local
134 List<int> list(4); in TEST() local
145 List<int>* list = new List<int>(0); in TEST() local
149 List<int> list(0); in TEST() local
/external/webkit/Source/WebCore/css/
DCSSComputedStyleDeclaration.cpp438 RefPtr<CSSValueList> list = CSSValueList::createSpaceSeparated(); in getBorderRadiusCornerValue() local
516 RefPtr<CSSValueList> list = CSSValueList::createSpaceSeparated(); in computedTransform() local
524 RefPtr<CSSValueList> list = CSSValueList::createCommaSeparated(); in getDelayValue() local
537 RefPtr<CSSValueList> list = CSSValueList::createCommaSeparated(); in getDurationValue() local
550 RefPtr<CSSValueList> list = CSSValueList::createCommaSeparated(); in getTimingFunctionValue() local
668 RefPtr<CSSValueList> list = CSSValueList::createCommaSeparated(); in valueForShadow() local
715 RefPtr<CSSValueList> list = CSSValueList::createSpaceSeparated(); in renderTextDecorationFlagsToCSSValue() local
741 RefPtr<CSSValueList> list = CSSValueList::createSpaceSeparated(); in fillRepeatToCSSValue() local
755 RefPtr<CSSValueList> list = CSSValueList::createSpaceSeparated(); in fillSizeToCSSValue() local
763 RefPtr<CSSValueList> list = CSSValueList::createSpaceSeparated(); in contentToCSSValue() local
[all …]
/external/guava/guava-tests/test/com/google/common/primitives/
DBytesTest.java181 List<Byte> list = Bytes.asList(VALUES).subList(0, i); in testToArray_threadSafe() local
195 List<Byte> list = Arrays.asList((byte) 0, (byte) 1, null); in testToArray_withNull() local
205 List<Byte> list = Bytes.asList(array); in testAsList_isAView() local
209 assertEquals(Arrays.asList((byte) 2, (byte) 3), list); in testAsList_isAView() local
214 List<Byte> list = Bytes.asList(array); in testAsList_toArray_roundTrip() local
228 List<Byte> list = Bytes.asList(array); in testAsList_subList_toArray_roundTrip() local
/external/dropbear/libtomcrypt/testprof/
Dtomcrypt_test.h44 extern struct list { struct
45 int id;
46 unsigned long spd1, spd2, avg;
/external/clang/test/CodeGen/
D2002-08-19-RecursiveLocals.c5 struct list { struct
7 struct list *Next; argument
D2002-07-14-MiscListTests.c17 typedef struct list { struct
19 struct list *Next; argument
20 } list; typedef
/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/proguard/src/proguard/util/
DListUtil.java37 public static String commaSeparatedString(List list) in commaSeparatedString()
70 List list = new ArrayList(); in commaSeparatedList() local
150 List list = commaSeparatedList(args[0]); in main() local
160 List list = Arrays.asList(args); in main() local
/external/chromium/chrome/browser/metrics/
Dmetrics_service_unittest.cc38 ListValue list; in TEST() local
52 ListValue list; in TEST() local
92 ListValue list; in TEST() local
127 ListValue list; in TEST() local
146 ListValue list; in TEST() local
165 ListValue list; in TEST() local
184 ListValue list; in TEST() local
/external/chromium/net/spdy/
Dspdy_session_pool.cc65 SpdySessionList* list = GetSessionList(host_port_proxy_pair); in Get() local
122 SpdySessionList* list = GetSessionList(host_port_proxy_pair); in GetSpdySessionFromSocket() local
150 SpdySessionList* list = GetSessionList(session->host_port_proxy_pair()); in Remove() local
164 ListValue* list = new ListValue(); in SpdySessionPoolInfoToValue() local
187 SpdySessionList* list, in GetExistingSession()
230 SpdySessionList* list = GetSessionList(alias_pair); in GetFromAlias() local
283 SpdySessionPool::SpdySessionList* list = new SpdySessionList(); in AddSessionList() local
311 SpdySessionList* list = GetSessionList(pair); in RemoveSessionList() local
372 SpdySessionList* list = sessions_.begin()->second; in CloseAllSessions() local
387 SpdySessionList* list = it->second; in CloseCurrentSessions() local
[all …]
/external/guava/guava/src/com/google/common/collect/
DSortedLists.java56 Comparator<? super E> comparator, E key, List<? extends E> list, int foundIndex) { in resultIndex()
66 Comparator<? super E> comparator, E key, List<? extends E> list, int foundIndex) { in resultIndex()
90 Comparator<? super E> comparator, E key, List<? extends E> list, int foundIndex) { in resultIndex()
116 Comparator<? super E> comparator, E key, List<? extends E> list, int foundIndex) { in resultIndex()
127 Comparator<? super E> comparator, E key, List<? extends E> list, int foundIndex) { in resultIndex()
132 Comparator<? super E> comparator, E key, List<? extends E> list, int foundIndex); in resultIndex()
189 public static <E extends Comparable> int binarySearch(List<? extends E> list, E e, in binarySearch()
202 public static <E, K extends Comparable> int binarySearch(List<E> list, in binarySearch()
222 List<E> list, in binarySearch()
255 public static <E> int binarySearch(List<? extends E> list, @Nullable E key, in binarySearch()
/external/libxslt/libxslt/
Dtriodef.h137 # define TRIO_ARGS1(list,a1) list a1; argument
138 # define TRIO_ARGS2(list,a1,a2) list a1; a2; argument
139 # define TRIO_ARGS3(list,a1,a2,a3) list a1; a2; a3; argument
140 # define TRIO_ARGS4(list,a1,a2,a3,a4) list a1; a2; a3; a4; argument
141 # define TRIO_ARGS5(list,a1,a2,a3,a4,a5) list a1; a2; a3; a4; a5; argument
142 # define TRIO_ARGS6(list,a1,a2,a3,a4,a5,a6) list a1; a2; a3; a4; a5; a6; argument
143 # define TRIO_VARGS2(list,a1,a2) list a1; a2 argument
144 # define TRIO_VARGS3(list,a1,a2,a3) list a1; a2; a3 argument
145 # define TRIO_VARGS4(list,a1,a2,a3,a4) list a1; a2; a3; a4 argument
146 # define TRIO_VARGS5(list,a1,a2,a3,a4,a5) list a1; a2; a3; a4; a5 argument
[all …]
/external/icu4c/common/
Dulist.c61 static void ulist_addFirstItem(UList *list, UListNode *newItem) { in ulist_addFirstItem()
69 U_CAPI void U_EXPORT2 ulist_addItemEndList(UList *list, const void *data, UBool forceDelete, UError… in ulist_addItemEndList()
96 U_CAPI void U_EXPORT2 ulist_addItemBeginList(UList *list, const void *data, UBool forceDelete, UErr… in ulist_addItemBeginList()
124 U_CAPI UBool U_EXPORT2 ulist_containsString(const UList *list, const char *data, int32_t length) { in ulist_containsString()
146 U_CAPI void *U_EXPORT2 ulist_getNext(UList *list) { in ulist_getNext()
160 U_CAPI int32_t U_EXPORT2 ulist_getListSize(const UList *list) { in ulist_getListSize()
168 U_CAPI void U_EXPORT2 ulist_resetList(UList *list) { in ulist_resetList()
175 U_CAPI void U_EXPORT2 ulist_deleteList(UList *list) { in ulist_deleteList()
/external/chromium/net/proxy/
Dproxy_list_unittest.cc59 ProxyList list; in TEST() local
85 ProxyList list; in TEST() local
101 ProxyList list; in TEST() local
113 ProxyList list; in TEST() local
130 ProxyList list; in TEST() local

12345678910>>...36