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

123

/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/911-get-stack-trace/src/art/
H A DThreadListTraces.java32 Thread list[] = new Thread[N/2 + 1];
43 list[i/2] = t;
46 list[list.length - 1] = Thread.currentThread();
52 printList(list, 0);
54 printList(list, 5);
56 printList(list, 25);
/art/runtime/gc/
H A Dallocation_listener.h20 #include <list>
/art/test/051-thread/src/
H A DMain.java186 List<StackTraceElement> list = Arrays.asList(trace);
187 Iterator<StackTraceElement> it = list.iterator();
192 throw new RuntimeException(list.toString());
197 throw new RuntimeException(list.toString());
200 throw new RuntimeException(list.toString());
207 throw new RuntimeException(list.toString());
/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/
H A Dfindbuildbotwarnings.py35 # Dict from builder+build_num combination to the list of warnings
37 warnings = collections.defaultdict(list)
71 # Walk from the back of the list to find the start of the
91 for warning in sorted(list(sharedwarnings)):
/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/build/
H A DAndroid.common_test.mk205 # If the input test directory contains a file called main.list and main.jpp,
206 # then a multi-dex file is created passing main.list as the --main-dex-list
220 ifneq ($(wildcard $(LOCAL_PATH)/$(2)/main.list),)
221 LOCAL_DX_FLAGS := --multi-dex --main-dex-list=$(LOCAL_PATH)/$(2)/main.list --minimal-main-dex
236 ifneq ($(wildcard $(LOCAL_PATH)/$(2)/main.list),)
237 LOCAL_DX_FLAGS := --multi-dex --main-dex-list=$(LOCAL_PATH)/$(2)/main.list --minimal-main-dex
/art/test/961-default-iface-resolution-gen/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>
116 // Chunks must not move their storage after being created - use the node-based std::list.
117 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 Druntime_callbacks_test.cc226 bool Expect(std::initializer_list<const char*> list) { argument
227 if (cb_.data.size() != list.size()) {
228 PrintError(list);
232 if (!std::equal(cb_.data.begin(), cb_.data.end(), list.begin())) {
233 PrintError(list);
240 void PrintError(std::initializer_list<const char*> list) { argument
242 for (const char* expected : list) {
H A Dinstrumentation.h21 #include <list>
566 // so other threads cannot iterate (i.e. read the data of the list) at the same time but they
567 // do keep iterators that need to remain valid. This is the reason these listeners are std::list
568 // and not for example std::vector: the existing storage for a std::list does not move.
573 std::list<InstrumentationListener*> method_entry_listeners_ GUARDED_BY(Locks::mutator_lock_);
574 std::list<InstrumentationListener*> method_exit_listeners_ GUARDED_BY(Locks::mutator_lock_);
575 std::list<InstrumentationListener*> method_unwind_listeners_ GUARDED_BY(Locks::mutator_lock_);
576 std::list<InstrumentationListener*> branch_listeners_ GUARDED_BY(Locks::mutator_lock_);
577 std::list<InstrumentationListener*> invoke_virtual_or_interface_listeners_
579 std::list<InstrumentationListene
[all...]
H A Dinstrumentation.cc213 // need to push a DEX pc into the dex_pcs_ list to match size of instrumentation stack.
414 std::list<InstrumentationListener*>& list,
422 // If there is a free slot in the list, we insert the listener in that slot.
423 // Otherwise we add it to the end of the list.
424 auto it = std::find(list.begin(), list.end(), nullptr);
425 if (it != list.end()) {
428 list.push_back(listener);
485 std::list<InstrumentationListene
[all...]
H A Dthread_list.h30 #include <list>
147 // Add/remove current thread from list.
165 // Return a copy of the thread list.
166 std::list<Thread*> GetList() REQUIRES(Locks::thread_list_lock_) {
205 // The actual list of all threads.
206 std::list<Thread*> list_ GUARDED_BY(Locks::thread_list_lock_);
H A Dtransaction.h30 #include <list>
288 std::list<InternStringLog> intern_string_logs_ GUARDED_BY(log_lock_);
289 std::list<ResolveStringLog> resolve_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/cmdline/
H A Dcmdline_types.h404 struct CmdlineType<std::list<ti::Agent>> : CmdlineTypeParser<std::list<ti::Agent>> {
406 assert(false && "Use AppendValues() for an Agent list type");
407 return Result::Failure("Unconditional failure: Agent list must be appended: " + args);
411 std::list<ti::Agent>& existing_value) {
416 static const char* Name() { return "std::list<ti::Agent>"; }
437 explicit ParseStringList(std::vector<std::string>&& list) : list_(list) {} argument
456 std::vector<std::string> list; local
457 art::Split(str, Separator, &list);
[all...]
/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-gen/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/testrunner/
H A Drun_build_test_target.py39 # either -l/--list OR build-target is required (but not both).
42 group.add_argument('-l', '--list', action='store_true', help='List all possible run-build targets.')
47 if options.list:
55 sys.stderr.write("error: invalid build_target, see -l/--list.\n")
/art/runtime/base/
H A Dmutex.cc235 // We expect waits to happen while holding the thread list suspend thread lock.
1078 thread_list_lock_ = new Mutex("thread list lock", current_lock_level);
1224 std::vector<BaseMutex*>& list = expected_mutexes_on_weak_ref_access_; local
1225 auto it = std::find(list.begin(), list.end(), mutex);
1226 DCHECK(it != list.end());
1227 list.erase(it);
1230 std::vector<BaseMutex*>& list = expected_mutexes_on_weak_ref_access_; local
1231 auto it = std::find(list.begin(), list
1239 std::vector<BaseMutex*>& list = expected_mutexes_on_weak_ref_access_; local
[all...]

Completed in 642 milliseconds

123