HomeSort by relevance Sort by last modified time
    Searched refs:list (Results 101 - 125 of 13503) sorted by null

1 2 3 45 6 7 8 91011>>

  /dalvik/dx/src/com/android/dx/rop/cst/
CstArray.java 25 /** {@code non-null;} the actual list of contents */
26 private final List list; field in class:CstArray
31 * @param list {@code non-null;} the actual list of contents
33 public CstArray(List list) {
34 if (list == null) {
35 throw new NullPointerException("list == null");
38 list.throwIfMutable()
    [all...]
  /external/freetype/src/cache/
ftcmru.c 169 FTC_MruList_Init( FTC_MruList list,
175 list->num_nodes = 0;
176 list->max_nodes = max_nodes;
177 list->nodes = NULL;
178 list->clazz = *clazz;
179 list->data = data;
180 list->memory = memory;
185 FTC_MruList_Reset( FTC_MruList list )
187 while ( list->nodes )
188 FTC_MruList_Remove( list, list->nodes )
    [all...]
  /external/libdrm/
xf86drmSL.c 1 /* xf86drmSL.c -- Skip list support
30 * This file contains a straightforward skip list implementation.n
102 SkipListPtr list; local
105 list = drmMalloc(sizeof(*list));
106 if (!list) return NULL;
107 list->magic = SL_LIST_MAGIC;
108 list->level = 0;
109 list->head = SLCreateEntry(SL_MAX_LEVEL, 0, NULL);
110 list->count = 0
119 SkipListPtr list = (SkipListPtr)l; local
139 SkipListPtr list = (SkipListPtr)l; local
156 SkipListPtr list = (SkipListPtr)l; local
189 SkipListPtr list = (SkipListPtr)l; local
216 SkipListPtr list = (SkipListPtr)l; local
234 SkipListPtr list = (SkipListPtr)l; local
258 SkipListPtr list = (SkipListPtr)l; local
277 SkipListPtr list = (SkipListPtr)l; local
288 SkipListPtr list = (SkipListPtr)l; local
    [all...]
  /external/ltp/tools/pounder21/src/time_tests/
inconsistency-check.c 46 struct timespec list[CALLS_PER_LOOP]; local
56 if (clock_gettime(clock_type, &list[0])) {
61 clock_gettime(clock_type, &list[0]);
62 now = then = list[0].tv_sec;
69 /* Fill list */
71 clock_gettime(clock_type, &list[i]);
75 if (!in_order(list[i], list[i + 1]))
84 printf("%lu:%lu\n", list[i].tv_sec,
85 list[i].tv_nsec)
    [all...]
  /external/mockito/src/test/java/org/mockitousage/verification/
VerificationOnMultipleMocksUsingMatchersTest.java 13 import java.util.List;
24 List<Object> list = Mockito.mock(List.class); local
27 list.add("test");
28 list.add(1, "test two");
33 verify(list).add(anyObject());
34 verify(list).add(anyInt(), eq("test two"));
39 verifyNoMoreInteractions(list, map);
44 List<String> list = mock(List.class) local
    [all...]
  /frameworks/base/core/java/android/hardware/camera2/utils/
ListUtils.java 19 import java.util.List;
22 * Various assortment of list utilities.
24 * <p>Using a {@code null} list is supported and will almost always return the default value
29 /** Return {@code} true if the {@code list} contains the {@code needle}. */
30 public static <T> boolean listContains(List<T> list, T needle) {
31 if (list == null) {
34 return list.contains(needle);
39 * Return {@code true} if the {@code list} is only a single element equal to
42 public static <T> boolean listElementsEqualTo(List<T> list, T single)
    [all...]
  /libcore/luni/src/test/java/libcore/java/util/
ArraysTest.java 28 int[] list = new int[3]; local
29 list[0] = 0;
30 list[1] = 1;
31 list[2] = 2;
33 Arrays.setAll(list, x -> x + 1);
34 assertEquals(1, list[0]);
35 assertEquals(2, list[1]);
36 assertEquals(3, list[2]);
39 Arrays.setAll(list, null);
55 int[] list = new int[3] local
82 long[] list = new long[3]; local
109 long[] list = new long[3]; local
136 double[] list = new double[3]; local
163 double[] list = new double[3]; local
246 int[] list = new int[1000]; local
280 int[] list = new int[1000]; local
321 long[] list = new long[1000]; local
355 long[] list = new long[1000]; local
396 double[] list = new double[1000]; local
434 double[] list = new double[1000]; local
    [all...]
  /external/hamcrest/hamcrest-library/src/test/java/org/hamcrest/collection/
IsCollectionWithSizeTest.java 9 import java.util.List;
28 Collection<Object> list = asList(null, null); local
29 assertMatches("correct size", hasSize(equalTo(2)), list);
30 assertMismatchDescription("collection size was <2>", hasSize(equalTo(3)), list);
34 Collection<String> list = asList("a", "b"); local
35 assertMatches("correct size", hasSize(equalTo(2)), list);
36 assertMismatchDescription("collection size was <2>", hasSize(equalTo(3)), list);
40 Collection<?> list = asList("a", "b"); local
41 assertMatches("correct size", hasSize(equalTo(2)), list);
42 assertMismatchDescription("collection size was <2>", hasSize(equalTo(3)), list);
46 List<Object> list = asList(null, null); local
52 List<String> list = asList("a", "b"); local
58 List<?> list = asList("a", "b"); local
    [all...]
  /external/syslinux/core/thread/
semaphore.c 7 sem->list.next = sem->list.prev = &sem->list;
43 /* Add to the end of the wakeup list */
44 block.list.prev = sem->list.prev;
45 block.list.next = &sem->list;
46 sem->list.prev = &block.list;
    [all...]
  /external/kmod/libkmod/
libkmod-list.c 26 * SECTION:libkmod-list
27 * @short_description: general purpose list
38 static inline void list_node_append(struct list_node *list,
41 if (list == NULL) {
46 node->prev = list->prev;
47 list->prev->next = node;
48 list->prev = node;
49 node->next = list;
63 static inline void list_node_insert_after(struct list_node *list,
66 if (list == NULL)
    [all...]
  /external/syslinux/com32/lib/syslinux/
zonelist.c 33 * hold memory maps. A zonelist is a sorted linked list of memory
45 * Create an empty syslinux_memmap list.
73 * Add an item to a syslinux_memmap list, potentially overwriting
76 int syslinux_add_memmap(struct syslinux_memmap **list,
86 syslinux_dump_memmap(*list);
95 mpp = list;
152 syslinux_dump_memmap(*list);
162 enum syslinux_memmap_types syslinux_memmap_type(struct syslinux_memmap *list,
169 while (list->type != SMT_END) {
170 llast = list->next->start - 1
    [all...]
  /external/icu/icu4c/source/common/
ulist.c 35 static void ulist_addFirstItem(UList *list, UListNode *newItem);
60 * Function called by addItemEndList or addItemBeginList when the first item is added to the list.
63 static void ulist_addFirstItem(UList *list, UListNode *newItem) {
66 list->head = newItem;
67 list->tail = newItem;
70 static void ulist_removeItem(UList *list, UListNode *p) {
72 // p is the list head.
73 list->head = p->next;
78 // p is the list tail.
79 list->tail = p->previous
    [all...]
  /prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/list/
types.pass.cpp 10 // <list>
13 // class list
25 #include <list>
32 static_assert((std::is_same<std::list<int>::value_type, int>::value), "");
33 static_assert((std::is_same<std::list<int>::allocator_type, std::allocator<int> >::value), "");
34 static_assert((std::is_same<std::list<int>::reference, std::allocator<int>::reference>::value), "");
35 static_assert((std::is_same<std::list<int>::const_reference, std::allocator<int>::const_reference>::value), "");
36 static_assert((std::is_same<std::list<int>::pointer, std::allocator<int>::pointer>::value), "");
37 static_assert((std::is_same<std::list<int>::const_pointer, std::allocator<int>::const_pointer>::value), "");
39 static_assert((std::is_same<std::list<int, min_allocator<int>>::value_type, int>::value), "")
    [all...]
  /external/v8/tools/clang/value_cleanup/tests/
list-value-append-expected.cc 27 base::ListValue list; local
28 list.AppendBoolean(1 == 0);
29 list.AppendBoolean(true);
30 list.AppendInteger(static_cast<unsigned char>(1.0));
31 list.AppendDouble(double{3});
32 list.AppendString("abc");
34 list.Append(ReturnsUniquePtr());
36 list.Append(thing.ToValue());
38 list.Append(std::move(unique_ptr_var));
42 base::ListValue list; local
    [all...]
list-value-append-original.cc 27 base::ListValue list; local
28 list.Append(new base::FundamentalValue(1 == 0));
29 list.Append(new base::FundamentalValue(true));
30 list.Append(new base::FundamentalValue(static_cast<unsigned char>(1.0)));
31 list.Append(new base::FundamentalValue(double{3}));
32 list.Append(new base::StringValue("abc"));
34 list.Append(ReturnsUniquePtr().release());
36 list.Append(thing.ToValue().release());
38 list.Append(unique_ptr_var.release());
42 base::ListValue list; local
    [all...]
  /external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
ListsTest.java 36 import java.util.List;
72 private static final List<Integer> SOME_LIST
75 private static final List<Integer> SOME_SEQUENTIAL_LIST
78 private static final List<String> SOME_STRING_LIST
95 List<Character> chars = Lists.charactersOf(builder);
106 ArrayList<Integer> list = Lists.newArrayList(); local
107 assertEquals(Collections.emptyList(), list); local
111 ArrayList<Integer> list = Lists.newArrayListWithCapacity(0); local
112 assertEquals(Collections.emptyList(), list); local
127 ArrayList<Integer> list = Lists.newArrayListWithExpectedSize(0) local
128 assertEquals(Collections.emptyList(), list); local
143 ArrayList<Integer> list = Lists.newArrayList(0, 1, 1); local
157 ArrayList<Integer> list = Lists.newArrayList(SOME_COLLECTION); local
162 ArrayList<Integer> list = Lists.newArrayList(SOME_ITERABLE); local
167 ArrayList<Integer> list = Lists.newArrayList(SOME_COLLECTION.iterator()); local
172 LinkedList<Integer> list = Lists.newLinkedList(); local
173 assertEquals(Collections.emptyList(), list); local
177 LinkedList<Integer> list = Lists.newLinkedList(SOME_COLLECTION); local
182 LinkedList<Integer> list = Lists.newLinkedList(SOME_ITERABLE); local
227 List<String> list = Lists.asList("foo", new String[0]); local
244 List<String> list = Lists.asList("foo", "bar", new String[] { "baz" }); local
305 private static <E> List<E> list(E... elements) { method in class:ListsTest
359 List<String> list = Collections.nCopies(10000, "foo"); local
367 List<String> list = Lists.transform(SOME_LIST, SOME_FUNCTION); local
372 List<String> list = Lists.transform(SOME_SEQUENTIAL_LIST, SOME_FUNCTION); local
378 List<String> list = Lists.transform(fromList, SOME_FUNCTION); local
384 List<String> list = Lists.transform(fromList, SOME_FUNCTION); local
402 assertEquals(Collections.emptyList(), list); local
439 List<String> list = Lists.transform(SOME_LIST, SOME_FUNCTION); local
444 List<String> list = Lists.transform(SOME_SEQUENTIAL_LIST, SOME_FUNCTION); local
450 List<String> list = Lists.transform(fromList, SOME_FUNCTION); local
456 List<String> list = Lists.transform(fromList, SOME_FUNCTION); local
516 List<String> list = Lists.transform(fromList, SOME_FUNCTION); local
522 List<String> list = Lists.transform(fromList, SOME_FUNCTION); local
609 List<Integer> list = asList(1, 2, 3); local
633 List<Integer> list = asList(1, 2, 3); local
    [all...]
  /external/libchrome/base/trace_event/
memory_infra_background_whitelist.h 24 // 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.cons/
container.pass.cpp 17 #include <list>
29 test(std::list<int>());
  /external/smali/util/src/main/java/org/jf/util/
LinearSearch.java 10 * notice, this list of conditions and the following disclaimer.
12 * copyright notice, this list of conditions and the following disclaimer
35 import java.util.List;
39 * Performs a linear search in a sorted list for key, starting at initialGuess
41 * @param list The sorted list to search
48 public static <T> int linearSearch(List<? extends T> list, Comparator<T> comparator, T key, int initialGuess) {
50 if (guess >= list.size()) {
51 guess = list.size()-1
    [all...]
  /external/strace/
xlate.el 8 ;; notice, this list of conditions and the following disclaimer.
10 ;; notice, this list of conditions and the following disclaimer in the
35 (defvar xlate-list nil
39 "Grab all of the defined names in the region and save them in xlate-list."
42 (setq xlate-list nil)
47 (setq xlate-list (cons (buffer-substring (match-beginning 1)
49 xlate-list)))
53 (setq xlate-list (nreverse xlate-list)))
55 (defun build-xlate (&optional list)
    [all...]
  /frameworks/compile/slang/
slang_pragma_list.h 20 #include <list>
26 typedef std::list< std::pair<std::string, std::string> > PragmaList;
  /hardware/intel/common/wrs_omxil_core/utils/inc/
queue.h 22 #include "list.h"
29 struct list *head;
30 struct list *tail;
41 void __queue_push_head(struct queue *queue, struct list *entry);
43 void __queue_push_tail(struct queue *queue, struct list *entry);
46 struct list *__queue_pop_head(struct queue *queue);
48 struct list *__queue_pop_tail(struct queue *queue);
51 inline struct list *__queue_peek_head(struct queue *queue);
52 inline struct list *__queue_peek_tail(struct queue *queue);
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/sqlite/
DatabaseAnalyzerTest.java 24 import java.util.List;
32 final List<String> list = DatabaseAnalyzer.findTableViewsAllowingColumns( local
35 assertTrue(list.contains("contacts"));
36 assertTrue(list.contains("raw_contacts"));
37 assertTrue(list.contains("view_contacts"));
38 assertTrue(list.contains("view_raw_contacts"));
39 assertTrue(list.contains("view_data"));
41 assertFalse(list.contains("data"));
42 assertFalse(list.contains("_id"))
    [all...]
  /prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.iter.cons/
container.pass.cpp 17 #include <list>
29 test(std::list<int>());
  /prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.iter.cons/
container.pass.cpp 17 #include <list>
29 test(std::list<int>());

Completed in 5027 milliseconds

1 2 3 45 6 7 8 91011>>