Searched refs:list (Results 1 - 25 of 51) sorted by relevance

123

/art/tools/ahat/test/
H A DSortTest.java40 List<Site.ObjectsInfo> list = new ArrayList<Site.ObjectsInfo>();
41 list.add(infoA);
42 list.add(infoB);
43 list.add(infoC);
44 list.add(infoD);
45 list.add(infoE);
48 Collections.sort(list, new Sort.ObjectsInfoBySize());
49 assertEquals(infoB, list.get(0));
50 assertEquals(infoA, list.get(1));
51 assertEquals(infoC, list
[all...]
/art/tools/dexfuzz/src/dexfuzz/rawdex/
H A DEncodedCatchHandlerList.java23 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) {
H A DTypeList.java23 public TypeItem[] list; field in class:TypeList
30 list = new TypeItem[size];
32 (list[i] = new TypeItem()).read(file);
41 for (TypeItem typeItem : list) {
48 for (TypeItem type : list) {
60 if (list[i].typeIdx < other.list[i].typeIdx) {
62 } else if (list[i].typeIdx > other.list[i].typeIdx) {
H A DAnnotationSetRefList.java23 public AnnotationSetRefItem[] list; field in class:AnnotationSetRefList
30 list = new AnnotationSetRefItem[size];
32 (list[i] = new AnnotationSetRefItem()).read(file);
41 for (AnnotationSetRefItem annotationSetRefItem : list) {
/art/test/061-out-of-memory/src/
H A DMain.java68 * list afterwards. Even if we null out list when we're done, the conservative
74 LinkedList<Object> list = new LinkedList<Object>();
83 list.add((Object)new byte[objSize]);
/art/tools/checker/match/
H A Dline.py20 def headAndTail(list):
21 return list[0], list[1:]
24 """ Splits a list of TestExpressions at separators. """
47 """ Attempts to match a list of TestExpressions against a string.
/art/test/961-default-iface-resolution-generated/util-src/
H A Dgenerate_java.py296 Prints a list of iface trees
311 Does depth first traversal of all the interfaces in the list.
326 ifaces.append(list(create_interface_trees_inner(sub, allow_default)))
331 yield TestInterface(list(combo) + list(supers), allow_default)
339 ifaces.append(list(create_interface_trees_inner(sub, i == cs)))
344 yield TestInterface(list(combo) + list(supers), False)
/art/compiler/
H A Dcommon_compiler_test.h20 #include <list>
114 // Chunks must not move their storage after being created - use the node-based std::list.
115 std::list<std::vector<uint8_t>> header_code_and_maps_chunks_;
/art/test/utils/python/testgen/
H A Dutils.py74 prev = list(prevt)
/art/runtime/
H A Dinstrumentation.h21 #include <list>
560 // so other threads cannot iterate (i.e. read the data of the list) at the same time but they
561 // do keep iterators that need to remain valid. This is the reason these listeners are std::list
562 // and not for example std::vector: the existing storage for a std::list does not move.
567 std::list<InstrumentationListener*> method_entry_listeners_ GUARDED_BY(Locks::mutator_lock_);
568 std::list<InstrumentationListener*> method_exit_listeners_ GUARDED_BY(Locks::mutator_lock_);
569 std::list<InstrumentationListener*> method_unwind_listeners_ GUARDED_BY(Locks::mutator_lock_);
570 std::list<InstrumentationListener*> branch_listeners_ GUARDED_BY(Locks::mutator_lock_);
571 std::list<InstrumentationListener*> invoke_virtual_or_interface_listeners_
573 std::list<InstrumentationListene
[all...]
H A Dinstrumentation.cc212 // need to push a DEX pc into the dex_pcs_ list to match size of instrumentation stack.
413 std::list<InstrumentationListener*>& list,
421 // If there is a free slot in the list, we insert the listener in that slot.
422 // Otherwise we add it to the end of the list.
423 auto it = std::find(list.begin(), list.end(), nullptr);
424 if (it != list.end()) {
427 list.push_back(listener);
484 std::list<InstrumentationListene
[all...]
H A Dthread_list.h28 #include <list>
133 // Add/remove current thread from list.
147 // Return a copy of the thread list.
148 std::list<Thread*> GetList() REQUIRES(Locks::thread_list_lock_) {
183 // The actual list of all threads.
184 std::list<Thread*> list_ GUARDED_BY(Locks::thread_list_lock_);
H A Doat_file.h20 #include <list>
255 // Create a dependency list (dex locations and checksums) for the given dex files.
258 // Check the given dependency list against their dex files - thus the name "Static," this does
262 // Get the dex locations of a dependency list. Note: this is *not* cleaned for synthetic
320 // elements. std::list<> and std::deque<> satisfy this requirement, std::vector<> doesn't.
321 mutable std::list<std::string> string_cache_ GUARDED_BY(secondary_lookup_lock_);
H A Dtransaction.h29 #include <list>
225 std::list<InternStringLog> intern_string_logs_ GUARDED_BY(log_lock_);
/art/runtime/gc/allocator/
H A Drosalloc.h133 Slot* next_; // Next slot in the list.
138 // traverse the list from the head to the tail when merging free lists.
139 // We don't use the tail (kUseTail == false) for the free list to avoid the need to manage the
155 // Removes from the head of the free list.
221 // Merge the given list into this list. Empty the given list.
224 // supporting the kUseTail == false parameter would require a O(n) linked list traversal to do
226 void Merge(SlotFreeList<true>* list) { argument
229 CHECK(list !
[all...]
/art/build/
H A DAndroid.common_test.mk188 # If the input test directory contains a file called main.list and main.jpp,
189 # then a multi-dex file is created passing main.list as the --main-dex-list
203 ifneq ($(wildcard $(LOCAL_PATH)/$(2)/main.list),)
218 ifneq ($(wildcard $(LOCAL_PATH)/$(2)/main.list),)
/art/test/092-locale/src/
H A DMain.java103 String[] list = syms.getAmPmStrings();
104 System.out.println("USA dfs: " + Arrays.deepToString(list));
/art/runtime/gc/space/
H A Dbump_pointer_space.cc106 // TODO: Not do a copy of the thread list?
107 std::list<Thread*> thread_list = Runtime::Current()->GetThreadList()->GetList();
126 // TODO: Not do a copy of the thread list?
127 std::list<Thread*> thread_list = Runtime::Current()->GetThreadList()->GetList();
219 std::list<Thread*> thread_list = Runtime::Current()->GetThreadList()->GetList();
237 std::list<Thread*> thread_list = Runtime::Current()->GetThreadList()->GetList();
/art/test/970-iface-super-resolution-generated/util-src/
H A Dgenerate_smali.py563 ifaces.append(list(create_interface_trees(sub)))
578 ifaces.append(list(create_interface_trees(sub)))
583 yield TestInterface(tuple([selected] + list(supers)), True)
584 yield TestInterface(tuple([selected] + list(supers)), False)
/art/test/964-default-iface-init-generated/util-src/
H A Dgenerate_java.py367 ifaces.append(list(create_interface_trees(sub)))
373 yield TestClass(tuple([selected] + list(ns)))
386 ifaces.append(list(create_interface_trees(sub)))
/art/compiler/optimizing/
H A Doptimizing_unit_test.h101 typedef std::list<std::pair<std::string, std::string>> diff_t;
H A Dgraph_visualizer.cc58 // Create an empty list
61 // Construct StringList from a linked list. List element class T
84 friend std::ostream& operator<<(std::ostream& os, const StringList& list);
87 std::ostream& operator<<(std::ostream& os, const StringList& list) { argument
88 switch (list.format_) {
89 case StringList::kArrayBrackets: return os << "[" << list.sstream_.str() << "]";
90 case StringList::kSetBrackets: return os << "{" << list.sstream_.str() << "}";
605 void PrintInstructions(const HInstructionList& list) { argument
606 for (HInstructionIterator it(list); !it.Done(); it.Advance()) {
/art/test/968-default-partial-compile-generated/util-src/
H A Dgenerate_java.py69 files = list(map(str, files))
/art/test/971-iface-super/util-src/
H A Dgenerate_java.py69 files = list(map(str, files))
/art/runtime/gc/
H A Dallocation_record.h20 #include <list>
202 // GcRoot<mirror::Object> pointers in the list are weak roots, and the last recent_record_max_
204 // weak roots). The last recent_record_max_ number of pairs in the list are always kept for DDMS's
208 typedef std::list<EntryPair> EntryList;
254 // swept from the list. But missing the first few records is acceptable for using the button to

Completed in 576 milliseconds

123