HomeSort by relevance Sort by last modified time
    Searched defs:list (Results 51 - 75 of 4851) sorted by null

1 23 4 5 6 7 8 91011>>

  /external/protobuf/java/core/src/test/java/com/google/protobuf/
LongArrayListTest.java 10 // notice, this list of conditions and the following disclaimer.
12 // copyright notice, this list of conditions and the following disclaimer
52 private LongArrayList list; field in class:LongArrayListTest
56 list = new LongArrayList();
68 list.addLong(2);
69 list.addLong(4);
70 list.addLong(6);
71 list.addLong(8);
72 list.makeImmutable();
73 assertImmutable(list);
282 assertEquals(asList(), list); local
452 LongArrayList list = new LongArrayList(); local
    [all...]
ProtobufArrayListTest.java 10 // notice, this list of conditions and the following disclaimer.
12 // copyright notice, this list of conditions and the following disclaimer
40 import java.util.List;
51 private ProtobufArrayList<Integer> list; field in class:ProtobufArrayListTest
55 list = new ProtobufArrayList<Integer>();
67 list.addAll(asList(1, 2, 3, 4));
68 Iterator<Integer> iterator = list.iterator();
69 assertEquals(4, list.size());
70 assertEquals(1, (int) list.get(0));
73 list.remove(0)
121 assertEquals(asList(), list); local
282 ProtobufArrayList<Integer> list = new ProtobufArrayList<Integer>(); local
    [all...]
  /packages/apps/Email/tests/src/com/android/email/mail/store/imap/
ImapListTest.java 37 ImapList list = new ImapList(); local
39 assertTrue(list.isList());
40 assertFalse(list.isString());
42 assertTrue(list.isEmpty());
43 assertEquals(0, list.size());
45 list.add(STRING_1);
46 assertFalse(list.isEmpty());
47 assertEquals(1, list.size());
49 list.add(STRING_2);
50 assertEquals(2, list.size())
65 ImapList list = buildList(ImapList.EMPTY, ABC, LIST_1, ImapString.EMPTY); local
96 ImapList list = buildList(ImapList.EMPTY, STRING_1, LIST_1, ImapString.EMPTY); local
109 ImapList list = buildList(ImapList.EMPTY, STRING_1, LIST_1, ImapString.EMPTY); local
122 ImapList list = buildList(ImapList.EMPTY, STRING_1, LIST_1, ImapString.EMPTY); local
139 ImapList list = buildList( local
166 ImapList list = buildList(K1, LIST_1); local
179 ImapList list = buildList(K1, STRING_1); local
195 ImapList list = buildList(K1, K2, K3); local
    [all...]
  /build/make/core/
node_fns.mk 18 # Clears a list of variables using ":=".
21 # $(call clear-var-list,A B C)
27 # $(1): list of variable names to clear
29 define clear-var-list
34 # Copies a list of variables into another list of variables.
35 # The target list is the same as the source list, but has
39 # $(call copy-var-list, PREFIX, A B)
45 # $(2): list of variable names to cop
    [all...]
  /external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/util/
ListOrganizer.java 19 import java.util.List;
26 private List<ElementType> list; field in class:ListOrganizer
28 public ListOrganizer(List<ElementType> list) {
29 this.list = list;
34 if(list.remove(element)) {
35 list.add(list.size(), element);
    [all...]
  /frameworks/base/media/java/android/media/
MediaInserter.java 26 import java.util.List;
35 private final HashMap<Uri, List<ContentValues>> mRowMap =
36 new HashMap<Uri, List<ContentValues>>();
37 private final HashMap<Uri, List<ContentValues>> mPriorityRowMap =
38 new HashMap<Uri, List<ContentValues>>();
57 HashMap<Uri, List<ContentValues>> rowmap = priority ? mPriorityRowMap : mRowMap;
58 List<ContentValues> list = rowmap.get(tableUri); local
59 if (list == null) {
60 list = new ArrayList<ContentValues>()
73 List<ContentValues> list = mRowMap.get(tableUri); local
81 List<ContentValues> list = mPriorityRowMap.get(tableUri); local
    [all...]
  /frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/
ChannelsTest.java 43 import java.util.List;
67 ArgumentCaptor<List> captor = ArgumentCaptor.forClass(List.class);
69 final List<NotificationChannel> list = captor.getValue(); local
70 assertEquals(ALL_CHANNELS.size(), list.size());
71 list.forEach((chan) -> assertTrue(ALL_CHANNELS.contains(chan.getId())));
79 ArgumentCaptor<List> captor = ArgumentCaptor.forClass(List.class);
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
ViewLayersActivity2.java 46 final ListView list = (ListView) findViewById(listId); local
47 list.setAdapter(new SimpleListAdapter(this));
48 list.setLayerType(View.LAYER_TYPE_HARDWARE, null);
ViewLayersActivity3.java 42 final ListView list = findViewById(listId); local
43 list.setAdapter(new SimpleListAdapter(this));
44 list.setLayerType(View.LAYER_TYPE_HARDWARE, null);
45 ((View) list.getParent()).setLayerType(View.LAYER_TYPE_HARDWARE, null);
ViewLayersActivity4.java 50 final ListView list = findViewById(listId); local
51 list.setAdapter(new SimpleListAdapter(this));
52 list.setLayerType(View.LAYER_TYPE_HARDWARE, null);
  /art/tools/dexfuzz/src/dexfuzz/rawdex/
AnnotationSetRefList.java 23 public AnnotationSetRefItem[] list; field in class:AnnotationSetRefList
30 list = new AnnotationSetRefItem[size];
32 (list[i] = new AnnotationSetRefItem()).read(file);
41 for (AnnotationSetRefItem annotationSetRefItem : list) {
EncodedCatchHandlerList.java 23 public EncodedCatchHandler[] list; field in class:EncodedCatchHandlerList
28 list = new EncodedCatchHandler[size];
30 (list[i] = new EncodedCatchHandler()).read(file);
37 for (EncodedCatchHandler encodedCatchHandler : list) {
44 for (EncodedCatchHandler handler : list) {
  /bionic/tests/
net_if_test.cpp 40 struct if_nameindex* list = if_nameindex(); local
41 ASSERT_TRUE(list != nullptr);
43 ASSERT_TRUE(list->if_index != 0);
48 for (struct if_nameindex* it = list; it->if_index != 0; ++it) {
56 if_freenameindex(list);
  /build/make/core/tasks/
device-tests.mk 19 # Create an artifact to include a list of test config files in device-tests.
20 device-tests-list-zip := $(PRODUCT_OUT)/device-tests_list.zip
21 $(device-tests-zip) : .KATI_IMPLICIT_OUTPUTS := $(device-tests-list-zip)
25 echo $(sort $(COMPATIBILITY.device-tests.FILES)) | tr " " "\n" > $@.list
26 grep $(HOST_OUT_TESTCASES) $@.list > $@-host.list || true
27 grep $(TARGET_OUT_TESTCASES) $@.list > $@-target.list || true
28 $(hide) $(SOONG_ZIP) -d -o $@ -P host -C $(HOST_OUT) -l $@-host.list -P target -C $(PRODUCT_OUT) -l $@-target.list
    [all...]
general-tests.mk 18 # Create an artifact to include a list of test config files in general-tests.
19 general-tests-list-zip := $(PRODUCT_OUT)/general-tests_list.zip
20 $(general-tests-zip) : .KATI_IMPLICIT_OUTPUTS := $(general-tests-list-zip)
24 echo $(sort $(COMPATIBILITY.general-tests.FILES)) | tr " " "\n" > $@.list
25 grep $(HOST_OUT_TESTCASES) $@.list > $@-host.list || true
26 grep $(TARGET_OUT_TESTCASES) $@.list > $@-target.list || true
27 $(hide) $(SOONG_ZIP) -d -o $@ -P host -C $(HOST_OUT) -l $@-host.list -P target -C $(PRODUCT_OUT) -l $@-target.list
    [all...]
  /cts/suite/audio_quality/lib/src/task/
TaskBatch.cpp 29 const android::String8* list[] = {&STR_NAME, &STR_VERSION, &STR_DESCRIPTION, NULL}; local
30 registerSupportedStringAttributes(list);
TaskDownload.cpp 29 const android::String8* list[] = {&STR_ID, NULL}; local
30 registerSupportedStringAttributes(list);
  /dalvik/dx/src/com/android/multidex/
ClassPathElement.java 39 Iterable<String> list(); method in interface:ClassPathElement
FolderPathElement.java 47 public Iterable<String> list() { method in class:FolderPathElement
  /external/annotation-tools/annotation-file-utilities/tests/
LocalSimpleMultiple.java 3 import java.util.List;
9 List list = null; local
10 bar(list);
  /external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/
RuleListController.java 10 notice, this list of conditions and the following disclaimer.
12 notice, this list of conditions and the following disclaimer in the
39 import java.util.List;
54 private final JList list = new JList(); field in class:RuleListController
55 private final JScrollPane scroll = new JScrollPane( list,
74 list.setModel(model);
79 if(model.getSize() > 0) list.setSelectedIndex(0);
80 list.updateUI();
94 list.setOpaque(false);
95 list.setSelectionMode(ListSelectionModel.SINGLE_INTERVAL_SELECTION)
    [all...]
  /external/apache-commons-math/src/main/java/org/apache/commons/math/exception/util/
ArgUtils.java 19 import java.util.List;
23 * 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>(); local
49 list.add(oR);
52 list.add(o);
56 return list.toArray();
  /external/caliper/examples/src/main/java/examples/
ListIterationBenchmark.java 24 import java.util.List;
27 * Measures iterating through list elements.
34 private List<Object> list; field in class:ListIterationBenchmark
43 list = new AbstractList<Object>() {
57 for (Object value : list) {
  /external/clang/test/Analysis/
kmalloc-linux.c 16 struct test **list, *t; local
19 list = kmalloc(sizeof(*list) * 10, __GFP_ZERO);
20 if (list == NULL)
24 t = list[i];
27 free(list); // no-warning
31 struct test **list, *t; local
34 list = kmalloc(sizeof(*list) * 10, 0);
35 if (list == NULL
46 struct test **list, *t; local
    [all...]
malloc-three-arg.c 16 struct test **list, *t; local
19 list = malloc(sizeof(*list) * 10, NULL, M_ZERO);
20 if (list == NULL)
24 t = list[i];
27 free(list); // no-warning
31 struct test **list, *t; local
34 list = malloc(sizeof(*list) * 10, NULL, 0);
35 if (list == NULL
46 struct test **list, *t; local
    [all...]

Completed in 1092 milliseconds

1 23 4 5 6 7 8 91011>>