Searched refs:list (Results 151 - 175 of 3732) sorted by relevance

1234567891011>>

/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
H A DImmutableListTest.java46 List<String> list = ImmutableList.of();
47 assertEquals(Collections.emptyList(), list);
51 List<String> list = ImmutableList.of("a");
52 assertEquals(Collections.singletonList("a"), list);
56 List<String> list = ImmutableList.of("a", "b");
57 assertEquals(Lists.newArrayList("a", "b"), list);
61 List<String> list = ImmutableList.of("a", "b", "c");
62 assertEquals(Lists.newArrayList("a", "b", "c"), list);
66 List<String> list = ImmutableList.of("a", "b", "c", "d");
67 assertEquals(Lists.newArrayList("a", "b", "c", "d"), list);
[all...]
/external/apache-commons-math/src/main/java/org/apache/commons/math/exception/util/
H A DArgUtils.java23 * Utility class for transforming the list of arguments passed to
37 * Transform a multidimensional array into a one-dimensional list.
40 * @return a list of all the {@code Object} instances contained in
44 final List<Object> list = new ArrayList<Object>();
49 list.add(oR);
52 list.add(o);
56 return list.toArray();
/external/clang/test/Analysis/diagnostics/
H A Dimplicit-cxx-std-suppression.cpp8 void testList_pop_front(std::list<int> list) { argument
9 while(!list.empty())
10 list.pop_front(); // no-warning
/external/curl/lib/
H A Dslist.h26 * Curl_slist_duplicate() duplicates a linked list. It always returns the
27 * address of the first record of the cloned list or NULL in case of an
28 * error (or if the input list was NULL).
34 * it to the list.
36 struct curl_slist *Curl_slist_append_nodup(struct curl_slist *list,
/external/dagger2/compiler/src/it/functional-tests/src/main/java/test/
H A DParentModule.java11 List<A> list = new ArrayList<>();
12 list.add(a);
14 list.add(elt);
16 return list;
/external/libcxx/test/libcxx/containers/sequences/list/list.modifiers/
H A Demplace_db1.pass.cpp12 // <list>
19 #include <list>
40 std::list<A> c1;
41 std::list<A> c2;
42 std::list<A>::iterator i = c1.emplace(c2.cbegin(), 2, 3.5);
/external/llvm/tools/llvm-cxxdump/
H A Dllvm-cxxdump.h17 extern llvm::cl::list<std::string> InputFilenames;
/external/syslinux/core/thread/
H A Dkill_thread.c28 block->list.next->prev = block->list.prev;
29 block->list.prev->next = block->list.next;
/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/util/
H A DListOrganizerTest.java58 LinkedList list = new LinkedList();
60 list.add(obj1);
61 list.add(obj2);
62 list.add(obj3);
64 assertEquals(obj1, list.getFirst());
65 assertEquals(obj3, list.getLast());
67 ListOrganizer organizer = new ListOrganizer(list);
71 assertEquals(obj2, list.getLast());
72 assertEquals(obj3, list.getFirst());
/external/syslinux/gpxe/src/core/
H A Dprocess.c21 #include <gpxe/list.h>
37 * Add process to process list
45 if ( list_empty ( &process->list ) ) {
48 list_add_tail ( &process->list, &run_queue );
55 * Remove process from process list
63 if ( ! list_empty ( &process->list ) ) {
65 list_del ( &process->list );
66 INIT_LIST_HEAD ( &process->list );
82 list_for_each_entry ( process, &run_queue, list ) {
83 list_del ( &process->list );
[all...]
/external/v8/src/
H A Dsmall-pointer-list.h15 // SmallPointerList is a list optimized for storing no or just a
18 // The interface tries to be as close to List from list.h as possible.
31 if (list()->capacity() >= capacity) return;
32 int old_length = list()->length();
33 list()->AddBlock(NULL, capacity - list()->capacity(), zone);
34 list()->Rewind(old_length);
37 PointerList* list = new(zone) PointerList(capacity, zone); local
39 list->Add(single_value(), zone);
41 DCHECK(IsAligned(reinterpret_cast<intptr_t>(list), kPointerAlignmen
70 PointerList* list = new(zone) PointerList(2, zone); local
163 PointerList* list() const { function in class:v8::internal::SmallPointerList
[all...]
/external/eigen/Eigen/src/StlSupport/
H A DStdList.h17 * std::list such that for data types with alignment issues the correct allocator
24 class list<__VA_ARGS__, std::allocator<__VA_ARGS__> > \
25 : public list<__VA_ARGS__, EIGEN_ALIGNED_ALLOCATOR<__VA_ARGS__> > \
27 typedef list<__VA_ARGS__, EIGEN_ALIGNED_ALLOCATOR<__VA_ARGS__> > list_base; \
33 explicit list(const allocator_type& a = allocator_type()) : list_base(a) {} \
35 list(InputIterator first, InputIterator last, const allocator_type& a = allocator_type()) : list_base(first, last, a) {} \
36 list(const list& c) : list_base(c) {} \
37 explicit list(size_type num, const value_type& val = value_type()) : list_base(num, val) {} \
38 list(iterato
72 class list<T,EIGEN_ALIGNED_ALLOCATOR<T> > class in namespace:std
[all...]
/external/proguard/src/proguard/util/
H A DListUtil.java37 public static String commaSeparatedString(List list, boolean quoteStrings) argument
39 if (list == null)
46 for (int index = 0; index < list.size(); index++)
53 String string = (String)list.get(index);
77 List list = new ArrayList();
93 list.add(string.substring(index + 1, nextIndex));
107 list.add(substring);
114 return list;
157 List list = commaSeparatedList(args[0]);
159 System.out.println("Resulting list
[all...]
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/
H A DSignerInformationStore.java49 List list = (ArrayList)table.get(sid);
50 if (list == null)
52 list = new ArrayList(1);
53 table.put(sid, list);
56 list.add(signer);
72 Collection list = getSigners(selector);
74 return list.size() == 0 ? null : (SignerInformation) list.iterator().next();
128 List list = (ArrayList)table.get(selector);
130 return list
[all...]
/external/libcxx/test/std/containers/sequences/list/list.capacity/
H A Dresize_size.pass.cpp10 // <list>
14 #include <list>
22 std::list<int> l(5, 2);
26 assert(l == std::list<int>(2, 2));
29 std::list<int> l(5, 2);
38 std::list<DefaultOnly> l(10);
44 std::list<DefaultOnly> l(10);
52 std::list<int, min_allocator<int>> l(5, 2);
56 assert((l == std::list<int, min_allocator<int>>(2, 2)));
59 std::list<in
[all...]
/external/libcxx/test/std/containers/sequences/list/list.cons/
H A Dsize_value_alloc.pass.cpp10 // <list>
12 // list(size_type n, const T& value, const Allocator& = Allocator());
14 #include <list>
23 std::list<int> l(3, 2);
26 std::list<int>::const_iterator i = l.begin();
34 std::list<int> l(3, 2, std::allocator<int>());
37 std::list<int>::const_iterator i = l.begin();
46 std::list<int, limited_allocator<int, 3 + 2> > l(3, 2);
49 std::list<int>::const_iterator i = l.begin();
58 std::list<in
[all...]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/tokens/
H A DDirectiveTokenTest.java36 List<Integer> list = new ArrayList<Integer>();
37 list.add(new Integer(1));
39 new DirectiveToken<Integer>("YAML", list, mark, mark);
48 List<String> list = new ArrayList<String>();
49 list.add("!foo");
50 list.add("!bar");
51 DirectiveToken<String> token = new DirectiveToken<String>("TAG", list, mark, mark);
57 List<Integer> list = new ArrayList<Integer>();
58 list.add(new Integer(1));
59 list
[all...]
/external/guava/guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/testers/
H A DListSubListTester.java39 * A generic JUnit test which tests {@code subList()} operations on a list.
85 assertEquals("subList(0, size) should be equal to the original list",
131 assertEquals("A set() call to a list after a sublist has been created "
169 assertEquals("A set() call to a list after a sublist has been created "
176 assertEquals("subList(0, 0).subList(0, 0) should be an empty list",
184 + "should be a single-element list of the element at index 1",
190 List<E> list = getList();
192 assertEquals(list.subList(0, size).size(),
194 assertEquals(list.subList(0, size - 1).size(),
196 assertEquals(list
[all...]
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
H A DListSubListTester.java43 * A generic JUnit test which tests {@code subList()} operations on a list.
89 assertEquals("subList(0, size) should be equal to the original list",
135 assertEquals("A set() call to a list after a sublist has been created "
173 assertEquals("A set() call to a list after a sublist has been created "
180 assertEquals("subList(0, 0).subList(0, 0) should be an empty list",
188 + "should be a single-element list of the element at index 1",
194 List<E> list = getList();
196 assertEquals(list.subList(0, size).size(),
198 assertEquals(list.subList(0, size - 1).size(),
200 assertEquals(list
[all...]
/external/libcxx/test/std/containers/sequences/list/list.modifiers/
H A Derase_iter_iter.pass.cpp10 // <list>
14 #include <list>
23 std::list<int> l1(a1, a1+3);
24 std::list<int>::iterator i = l1.erase(l1.cbegin(), l1.cbegin());
30 std::list<int> l1(a1, a1+3);
31 std::list<int>::iterator i = l1.erase(l1.cbegin(), next(l1.cbegin()));
35 assert(l1 == std::list<int>(a1+1, a1+3));
38 std::list<int> l1(a1, a1+3);
39 std::list<int>::iterator i = l1.erase(l1.cbegin(), next(l1.cbegin(), 2));
43 assert(l1 == std::list<in
[all...]
/external/fio/t/
H A Dstest.c16 struct flist_head list; member in struct:elem
20 FLIST_HEAD(list); variable
43 flist_add_tail(&e->list, &list);
49 while (!flist_empty(&list)) {
50 e = flist_entry(list.next, struct elem, list);
53 flist_del(&e->list);
/external/google-breakpad/src/client/linux/dump_writer_common/
H A Dmapping_info.h9 // notice, this list of conditions and the following disclaimer.
11 // copyright notice, this list of conditions and the following disclaimer
34 #include <list>
56 // A list of <MappingInfo, GUID>
57 typedef std::list<MappingEntry> MappingList;
/external/icu/icu4c/source/common/
H A Dulist.h21 U_CAPI void U_EXPORT2 ulist_addItemEndList(UList *list, const void *data, UBool forceDelete, UErrorCode *status);
23 U_CAPI void U_EXPORT2 ulist_addItemBeginList(UList *list, const void *data, UBool forceDelete, UErrorCode *status);
25 U_CAPI UBool U_EXPORT2 ulist_containsString(const UList *list, const char *data, int32_t length);
27 U_CAPI UBool U_EXPORT2 ulist_removeString(UList *list, const char *data);
29 U_CAPI void *U_EXPORT2 ulist_getNext(UList *list);
31 U_CAPI int32_t U_EXPORT2 ulist_getListSize(const UList *list);
33 U_CAPI void U_EXPORT2 ulist_resetList(UList *list);
35 U_CAPI void U_EXPORT2 ulist_deleteList(UList *list);
/external/libchrome/base/trace_event/
H A Dmemory_infra_background_whitelist.h24 // The whitelist is replaced with the given list for tests. The last element of
25 // the list must be nullptr.
26 void BASE_EXPORT SetDumpProviderWhitelistForTesting(const char* const* list);
28 SetAllocatorDumpNameWhitelistForTesting(const char* const* list);
/external/libcxx/test/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.iter.op++/
H A Dpost.pass.cpp17 #include <list>
34 test(std::list<int>());

Completed in 1953 milliseconds

1234567891011>>