/art/tools/dexfuzz/src/dexfuzz/rawdex/ |
H A D | 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) {
|
H A D | TypeList.java | 23 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 D | 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) {
|
/art/test/1919-vminit-thread-start-timing/ |
H A D | vminit.cc | 57 EventList* list = nullptr; local 58 CheckJvmtiError(jvmti, jvmti->GetEnvironmentLocalStorage(reinterpret_cast<void**>(&list))); 59 CheckJvmtiError(jvmti, jvmti->RawMonitorEnter(list->events_mutex)); 60 list->events.push_back({ "ThreadStart", env->NewGlobalRef(thread) }); 61 CheckJvmtiError(jvmti, jvmti->RawMonitorExit(list->events_mutex)); 67 EventList* list = nullptr; local 68 CheckJvmtiError(jvmti, jvmti->GetEnvironmentLocalStorage(reinterpret_cast<void**>(&list))); 69 CheckJvmtiError(jvmti, jvmti->RawMonitorEnter(list->events_mutex)); 72 list->events.push_back({ "Test1919AgentThread", env->NewGlobalRef(cur) }); 75 CheckJvmtiError(jvmti, jvmti->RawMonitorNotify(list 104 EventList* list = nullptr; local 130 EventList* list = nullptr; local 150 EventList* list = nullptr; local 171 EventList* list = nullptr; local [all...] |
/art/test/911-get-stack-trace/src/art/ |
H A D | ThreadListTraces.java | 32 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/test/714-invoke-custom-lambda-metafactory/src/ |
H A D | Main.java | 24 List<String> list = Arrays.asList("A", "B", "C", "D", "EEE"); 25 Optional<String> result = list.stream().filter(x -> x.length() >= requiredLength).findAny();
|
/art/runtime/gc/ |
H A D | allocation_listener.h | 20 #include <list>
|
/art/build/ |
H A D | Android.common_test.mk | 119 # If the input test directory contains a file called main.list, 120 # then a multi-dex file is created passing main.list as the --main-dex-list 134 ifneq ($(wildcard $(LOCAL_PATH)/$(2)/main.list),) 135 LOCAL_DX_FLAGS := --multi-dex --main-dex-list=$(LOCAL_PATH)/$(2)/main.list --minimal-main-dex 149 ifneq ($(wildcard $(LOCAL_PATH)/$(2)/main.list),) 150 LOCAL_DX_FLAGS := --multi-dex --main-dex-list=$(LOCAL_PATH)/$(2)/main.list --minimal-main-dex
|
/art/test/051-thread/src/ |
H A D | Main.java | 186 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/tools/veridex/ |
H A D | hidden_api.h | 32 * Helper class for logging if a method/field is in a hidden API list. 73 static bool IsInList(const std::string& name, const std::set<std::string>& list) { argument 74 return list.find(name) != list.end();
|
/art/test/061-out-of-memory/src/ |
H A D | Main.java | 68 * 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 D | findbuildbotwarnings.py | 35 # 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 D | line.py | 20 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/runtime/ |
H A D | instrumentation.h | 21 #include <list> 677 // so other threads cannot iterate (i.e. read the data of the list) at the same time but they 678 // do keep iterators that need to remain valid. This is the reason these listeners are std::list 679 // and not for example std::vector: the existing storage for a std::list does not move. 684 std::list<InstrumentationListener*> method_entry_listeners_ GUARDED_BY(Locks::mutator_lock_); 685 std::list<InstrumentationListener*> method_exit_listeners_ GUARDED_BY(Locks::mutator_lock_); 686 std::list<InstrumentationListener*> method_unwind_listeners_ GUARDED_BY(Locks::mutator_lock_); 687 std::list<InstrumentationListener*> branch_listeners_ GUARDED_BY(Locks::mutator_lock_); 688 std::list<InstrumentationListener*> invoke_virtual_or_interface_listeners_ 690 std::list<InstrumentationListene [all...] |
H A D | thread_list.h | 29 #include <list> 154 // Add/remove current thread from list. 172 // Return a copy of the thread list. 173 std::list<Thread*> GetList() REQUIRES(Locks::thread_list_lock_) { 212 // The actual list of all threads. 213 std::list<Thread*> list_ GUARDED_BY(Locks::thread_list_lock_);
|
/art/test/961-default-iface-resolution-gen/util-src/ |
H A D | generate_java.py | 296 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/tools/hiddenapi/ |
H A D | hiddenapi.cc | 72 UsageError(" greylisted/blacklisted respectively. At least one list must be provided."); 74 UsageError(" --print-hidden-api: dump a list of marked methods/fields to the standard output."); 131 // Returns true if this member's API entry is in `list`. 132 bool IsOnApiList(const std::unordered_set<std::string>& list) const { 133 return list.find(GetApiEntry()) != list.end(); 243 bool OpenApiFile(const std::string& path, std::unordered_set<std::string>* list) { argument 244 DCHECK(list->empty()); 254 list->insert(line);
|
/art/compiler/ |
H A D | common_compiler_test.h | 20 #include <list> 115 // Chunks must not move their storage after being created - use the node-based std::list. 116 std::list<std::vector<uint8_t>> header_code_and_maps_chunks_;
|
/art/runtime/gc/space/ |
H A D | bump_pointer_space.cc | 106 // 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(); 167 std::list<Thread*> thread_list = Runtime::Current()->GetThreadList()->GetList(); 185 std::list<Thread*> thread_list = Runtime::Current()->GetThreadList()->GetList();
|
/art/test/utils/python/testgen/ |
H A D | utils.py | 74 prev = list(prevt)
|
/art/cmdline/ |
H A D | cmdline_types.h | 21 #include <list> 332 struct CmdlineType<std::list<ti::AgentSpec>> : CmdlineTypeParser<std::list<ti::AgentSpec>> { 334 assert(false && "Use AppendValues() for an Agent list type"); 335 return Result::Failure("Unconditional failure: Agent list must be appended: " + args); 339 std::list<ti::AgentSpec>& existing_value) { 344 static const char* Name() { return "std::list<ti::AgentSpec>"; } 365 explicit ParseStringList(std::vector<std::string>&& list) : list_(list) {} argument 384 std::vector<std::string> list; local [all...] |
/art/runtime/gc/allocator/ |
H A D | rosalloc.h | 134 Slot* next_; // Next slot in the list. 139 // traverse the list from the head to the tail when merging free lists. 140 // We don't use the tail (kUseTail == false) for the free list to avoid the need to manage the 156 // Removes from the head of the free list. 222 // Merge the given list into this list. Empty the given list. 225 // supporting the kUseTail == false parameter would require a O(n) linked list traversal to do 227 void Merge(SlotFreeList<true>* list) { argument 230 CHECK(list ! [all...] |
/art/test/092-locale/src/ |
H A D | Main.java | 103 String[] list = syms.getAmPmStrings(); 104 System.out.println("USA dfs: " + Arrays.deepToString(list));
|
/art/test/970-iface-super-resolution-gen/util-src/ |
H A D | generate_smali.py | 563 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 D | run_build_test_target.py | 39 # 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")
|