/external/desugar/test/java/com/google/devtools/build/android/desugar/testdata/separate/ |
SeparateBaseClass.java | 16 import java.util.List; 23 private final List<T> list; field in class:SeparateBaseClass 25 protected SeparateBaseClass(List<T> list) { 26 this.list = list; 30 return list.contains(elem);
|
/external/elfutils/libelf/ |
elf32_updatenull.c | 183 Elf_ScnList *list; local 199 list = &elf->state.ELFW(elf,LIBELFBITS).scns; 203 if (list->data[1].shdr.ELFW(e,LIBELFBITS) == NULL) 204 (void) __elfw2(LIBELFBITS,getshdr_wrlock) (&list->data[1]); 208 for (size_t cnt = first == true; cnt < list->cnt; ++cnt) 210 Elf_Scn *scn = &list->data[cnt]; 276 if (list->data[cnt].data_list_rear != NULL) 368 changed. Create the section data list. */ 409 assert (list->next == NULL || list->cnt == list->max) [all...] |
elf_end.c | 78 /* Remove this structure from the children list. */ 131 Elf_ScnList *list = (elf->class == ELFCLASS32 local 140 size_t cnt = list->max; 146 Elf_Scn *scn = &list->data[cnt]; 172 /* Free the list of data buffers for the section. 186 Elf_ScnList *oldp = list; 187 list = list->next; 188 assert (list == NULL || oldp->cnt == oldp->max); 196 while (list != NULL) [all...] |
/external/fio/lib/ |
flist_sort.c | 9 * Returns a list organized in an intermediate format suited 36 * Combine final list merge with restoration of standard doubly-linked 37 * list structure. This approach duplicates code from merge(), but 83 * list_sort - sort a list 85 * @head: the list to sort 104 struct flist_head *list; local 112 list = head->next; 114 while (list) { 115 struct flist_head *cur = list; 116 list = list->next [all...] |
/external/fio/t/ |
stest.c | 17 struct flist_head list; member in struct:elem 21 FLIST_HEAD(list); variable 44 flist_add_tail(&e->list, &list); 50 while (!flist_empty(&list)) { 51 e = flist_entry(list.next, struct elem, list); 54 flist_del(&e->list);
|
/external/google-breakpad/src/client/mac/handler/testcases/ |
breakpad_nlist_test.cc | 8 // notice, this list of conditions and the following disclaimer. 10 // copyright notice, this list of conditions and the following disclaimer 66 breakpad_nlist &list = symbolList[0]; local 72 breakpad_nlist_64("/usr/lib/dyld", &list, symbolNames);
|
/external/google-breakpad/src/third_party/libdisasm/ |
x86_operand_list.c | 6 x86_oplist_t *list; local 12 list = insn->operands; 13 if (! list ) { 25 /* get to end of list */ 26 for ( ; list->next; list = list->next ) 31 list->next = op; 49 x86_oplist_t *op, *list; local 55 for ( list = insn->operands; list; ) 73 x86_oplist_t *list; local [all...] |
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
IterablesTest.java | 41 import java.util.List; 80 List<Integer> nums = asList(1, 2, 3, 4, 5); 81 List<Integer> collection = new ArrayList<Integer>(nums) { 90 final List<String> list = asList(elements); local 94 return list.iterator(); 187 List<String> list = newArrayList(); 190 assertFalse(Iterables.any(list, predicate)); 191 list.add("cool") [all...] |
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
ListIteratorTester.java | 22 import java.util.List; 53 List<Stimulus<E, ? super ListIterator<E>>> list = local 55 Helpers.addAll(list, iteratorStimuli()); 56 Helpers.addAll(list, listIteratorStimuli()); 57 return list;
|
/external/guava/guava-tests/test/com/google/common/collect/ |
ConstraintsTest.java | 30 import java.util.List; 171 List<String> list = Lists.newArrayList("foo", "bar"); local 172 List<String> constrained = Constraints.constrainedList( 173 list, TEST_CONSTRAINT); 174 list.add(TEST_ELEMENT); 180 assertTrue(list.equals(constrained)); 181 assertTrue(constrained.equals(list)); 182 assertEquals(list.toString(), constrained.toString()); 183 assertEquals(list.hashCode(), constrained.hashCode()) 200 List<String> list = Lists.newLinkedList(asList("foo", "bar")); local 209 List<String> list = Lists.newArrayList("foo", "bar"); local 257 List<String> list = Lists.newArrayList("foo", "bar"); local [all...] |
IterablesTest.java | 47 import java.util.List; 86 List<Integer> nums = asList(1, 2, 3, 4, 5); 87 List<Integer> collection = new ArrayList<Integer>(nums) { 96 final List<String> list = asList(elements); local 100 return list.iterator(); 215 List<String> list = newArrayList(); 218 assertFalse(Iterables.any(list, predicate)); 219 list.add("cool") [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
LocalePriorityListTest.java | 33 LocalePriorityList list = LocalePriorityList.add("af, en, fr;q=0.9").build(); local 34 assertEquals(expected, list.toString()); 40 assertEquals(list, list2); 48 assertEquals(list, list3); 51 .add(list).build(); 53 assertEquals(list, list4);
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
LocalePriorityListTest.java | 30 LocalePriorityList list = LocalePriorityList.add("af, en, fr;q=0.9").build(); local 31 assertEquals(expected, list.toString()); 37 assertEquals(list, list2); 45 assertEquals(list, list3); 48 .add(list).build(); 50 assertEquals(list, list4);
|
/external/jarjar/src/main/com/tonicsystems/jarjar/ |
AbstractDepHandler.java | 26 private final Set<List<Object>> seenIt = new HashSet<List<Object>>(); 33 List<Object> pair; 50 private static List<Object> createPair(Object o1, Object o2) { 51 List<Object> list = new ArrayList<Object>(2); local 52 list.add(o1); 53 list.add(o2); 54 return list;
|
/external/jsilver/src/org/clearsilver/ |
CSUtil.java | 21 import java.util.List; 36 * @return A list of loadpaths in order in which to search. 39 public static List<String> getLoadPaths(HDF hdf) { 47 * @param allowEmpty if {@code true} then this will return an empty list when 51 * @return A list of loadpaths in order in which to search. 55 public static List<String> getLoadPaths(HDF hdf, boolean allowEmpty) { 56 List<String> list = new LinkedList<String>(); local 60 return list; 68 list.add(lpHdf.objValue()) [all...] |
/external/junit-params/src/test/java/junitparams/custom/combined/ |
CartesianTest.java | 4 import java.util.List; 25 List<Object[]> list = singletonList(testArray); local 28 Object result[] = Cartesian.getCartesianProductOf(list); 39 List<Object[]> test = new ArrayList<Object[]>(); 61 List<Object[]> test = new ArrayList<Object[]>();
|
/external/kmod/libkmod/python/kmod/ |
kmod.pyx | 25 cimport list as _list 26 import list as _list 64 err = _libkmod_h.kmod_module_new_from_loaded(self._kmod_ctx, &ml.list) 80 self._kmod_ctx, alias_name, &ml.list) 100 def list(self): member in class:Kmod 111 mods = list(self.lookup(alias_name=name))
|
/external/kmod/testsuite/ |
stripped-module.h | 20 /* Member of list of modules */ 21 struct list_head list; member in struct:module
|
test-blacklist.c | 41 struct kmod_list *list = NULL, *l, *filtered; local 57 list = kmod_list_append(list, mod); 60 err = kmod_module_apply_filter(ctx, KMOD_FILTER_BLACKLIST, list, 85 kmod_module_unref_list(list); 91 kmod_module_unref_list(list);
|
test-dependencies.c | 38 struct kmod_list *list, *l; local 53 list = kmod_module_get_dependencies(mod); 55 kmod_list_foreach(l, list) { 75 kmod_module_unref_list(list);
|
test-loaded.c | 34 struct kmod_list *list, *itr; local 41 err = kmod_module_new_from_loaded(ctx, &list); 50 kmod_list_foreach(itr, list) { 75 kmod_module_unref_list(list); 82 .description = "check if list of module is created",
|
test-new-module.c | 88 struct kmod_list *l, *list = NULL; local 90 err = kmod_module_new_from_lookup(ctx, *p, &list); 94 kmod_list_foreach(l, list) { 101 kmod_module_unref_list(list);
|
/external/kmod/tools/ |
insert.c | 62 struct kmod_list *list = NULL, *l; local 93 err = kmod_module_new_from_lookup(ctx, name, &list); 100 if (list == NULL) { 106 kmod_list_foreach(l, list) { 118 kmod_module_unref_list(list);
|
/external/libbrillo/brillo/ |
value_conversion_unittest.cc | 101 const base::ListValue* list = nullptr; local 103 EXPECT_TRUE(FromValue(*in_value, &list)); 104 EXPECT_JSON_EQ("[1, 2, 'foo']", *list); 115 std::unique_ptr<base::ListValue> list; local 116 EXPECT_TRUE(FromValue(*ParseValue("[1, 2, 'bar']"), &list)); 117 EXPECT_JSON_EQ("[1, 2, 'bar']", *list);
|
/external/libchrome/base/json/ |
json_writer.cc | 121 case Value::Type::LIST: { 126 const ListValue* list = NULL; local 128 bool result = node.GetAsList(&list); 130 for (const auto& value : *list) {
|