Home
last modified time | relevance | path

Searched refs:list (Results 1 – 25 of 105) sorted by relevance

12345

/art/test/1919-vminit-thread-start-timing/
Dvminit.cc59 EventList* list = nullptr; in ThreadStartCallback() local
60 CheckJvmtiError(jvmti, jvmti->GetEnvironmentLocalStorage(reinterpret_cast<void**>(&list))); in ThreadStartCallback()
61 CheckJvmtiError(jvmti, jvmti->RawMonitorEnter(list->events_mutex)); in ThreadStartCallback()
62 list->events.push_back({ "ThreadStart", env->NewGlobalRef(thread) }); in ThreadStartCallback()
63 CheckJvmtiError(jvmti, jvmti->RawMonitorExit(list->events_mutex)); in ThreadStartCallback()
69 EventList* list = nullptr; in Test1919AgentThread() local
70 CheckJvmtiError(jvmti, jvmti->GetEnvironmentLocalStorage(reinterpret_cast<void**>(&list))); in Test1919AgentThread()
71 CheckJvmtiError(jvmti, jvmti->RawMonitorEnter(list->events_mutex)); in Test1919AgentThread()
74 list->events.push_back({ "Test1919AgentThread", env->NewGlobalRef(cur) }); in Test1919AgentThread()
77 CheckJvmtiError(jvmti, jvmti->RawMonitorNotify(list->events_mutex)); in Test1919AgentThread()
[all …]
/art/tools/dexfuzz/src/dexfuzz/rawdex/
DTypeList.java23 public TypeItem[] list; field in TypeList
30 list = new TypeItem[size]; in read()
32 (list[i] = new TypeItem()).read(file); in read()
41 for (TypeItem typeItem : list) { in write()
48 for (TypeItem type : list) { in incrementIndex()
60 if (list[i].typeIdx < other.list[i].typeIdx) { in comesBefore()
62 } else if (list[i].typeIdx > other.list[i].typeIdx) { in comesBefore()
DEncodedCatchHandlerList.java23 public EncodedCatchHandler[] list; field in EncodedCatchHandlerList
28 list = new EncodedCatchHandler[size]; in read()
30 (list[i] = new EncodedCatchHandler()).read(file); in read()
37 for (EncodedCatchHandler encodedCatchHandler : list) { in write()
44 for (EncodedCatchHandler handler : list) { in incrementIndex()
DAnnotationSetRefList.java23 public AnnotationSetRefItem[] list; field in AnnotationSetRefList
30 list = new AnnotationSetRefItem[size]; in read()
32 (list[i] = new AnnotationSetRefItem()).read(file); in read()
41 for (AnnotationSetRefItem annotationSetRefItem : list) { in write()
/art/test/911-get-stack-trace/src/art/
DThreadListTraces.java32 Thread list[] = new Thread[N/2 + 1]; in doTest() local
43 list[i/2] = t; in doTest()
46 list[list.length - 1] = Thread.currentThread(); in doTest()
52 printList(list, 0); in doTest()
54 printList(list, 7); in doTest()
56 printList(list, 25); in doTest()
/art/tools/hiddenapi/
Dfind_api_violations.pl119 if ($msg =~ m/Accessing hidden (\w+) (L.*?) \((.*list), (.*?)\)/) {
120 my ($member_type, $symbol, $list, $access_type) = ($1, $2, $3, $4);
122 if (($list =~ m/light/ && $lightgrey)
123 || ($list =~ m/dark/ && $darkgrey)
124 || ($list =~ m/black/ && $black)) {
128 print "$package,$symbol,$list\n"
/art/tools/veridex/
DAndroid.mk51 ls -1 $(PRIVATE_SYSTEM_STUBS_DEX_DIR)/classes*.dex | sort >$(PRIVATE_SYSTEM_STUBS_ZIP).list
52 … $(PRIVATE_SYSTEM_STUBS_ZIP) -C $(PRIVATE_SYSTEM_STUBS_DEX_DIR) -l $(PRIVATE_SYSTEM_STUBS_ZIP).list
53 rm $(PRIVATE_SYSTEM_STUBS_ZIP).list
54 ls -1 $(PRIVATE_OAHL_STUBS_DEX_DIR)/classes*.dex | sort >$(PRIVATE_OAHL_STUBS_ZIP).list
55 …IP) -o $(PRIVATE_OAHL_STUBS_ZIP) -C $(PRIVATE_OAHL_STUBS_DEX_DIR) -l $(PRIVATE_OAHL_STUBS_ZIP).list
56 rm $(PRIVATE_OAHL_STUBS_ZIP).list
/art/build/apex/
Druntests.sh60 -l, --list-files list the contents of the ext4 image (\`find\`-like style)
61 -t, --print-tree list the contents of the ext4 image (\`tree\`-like style)
71 (-l|--list-files) list_image_files_p=true;;
94 $SCRIPT_DIR/art_apex_test.py --list $@
/art/build/
DAndroid.common_test.mk130 ifneq ($(wildcard $(LOCAL_PATH)/$(2)/main.list),)
132 LOCAL_DX_FLAGS := --multi-dex --main-dex-list=$(LOCAL_PATH)/$(2)/main.list --minimal-main-dex
145 ifneq ($(wildcard $(LOCAL_PATH)/$(2)/main.list),)
147 LOCAL_DX_FLAGS := --multi-dex --main-dex-list=$(LOCAL_PATH)/$(2)/main.list --minimal-main-dex
/art/tools/jvmti-agents/field-null-percent/
Dfieldnull.cc99 RequestList* list; in DataDumpRequestCb() local
100 CHECK_JVMTI(jvmti->GetEnvironmentLocalStorage(reinterpret_cast<void**>(&list))); in DataDumpRequestCb()
101 for (std::pair<jclass, jfieldID>& p : list->fields_) { in DataDumpRequestCb()
145 RequestList* list = nullptr; in VMDeathCb() local
146 CHECK_JVMTI(jvmti->GetEnvironmentLocalStorage(reinterpret_cast<void**>(&list))); in VMDeathCb()
147 delete list; in VMDeathCb()
151 RequestList* list = nullptr; in CreateFieldList() local
152 CHECK_JVMTI(jvmti->Allocate(sizeof(*list), reinterpret_cast<unsigned char**>(&list))); in CreateFieldList()
153 new (list) RequestList { .fields_ = GetRequestedFields(env, args), }; in CreateFieldList()
154 CHECK_JVMTI(jvmti->SetEnvironmentLocalStorage(list)); in CreateFieldList()
/art/test/596-monitor-inflation/
Dexpected.txt2 Monitor list grew by at least 4000 monitors
3 Monitor list shrank correctly
/art/tools/class2greylist/src/com/android/class2greylist/
DHiddenapiFlagsWriter.java35 List<String> list = new ArrayList<>(s); in asSortedList() local
36 Collections.sort(list); in asSortedList()
37 return list; in asSortedList()
/art/runtime/base/
Dlocks.cc371 std::vector<BaseMutex*>& list = expected_mutexes_on_weak_ref_access_; in RemoveFromExpectedMutexesOnWeakRefAccess() local
372 auto it = std::find(list.begin(), list.end(), mutex); in RemoveFromExpectedMutexesOnWeakRefAccess()
373 DCHECK(it != list.end()); in RemoveFromExpectedMutexesOnWeakRefAccess()
374 list.erase(it); in RemoveFromExpectedMutexesOnWeakRefAccess()
377 std::vector<BaseMutex*>& list = expected_mutexes_on_weak_ref_access_; in RemoveFromExpectedMutexesOnWeakRefAccess() local
378 auto it = std::find(list.begin(), list.end(), mutex); in RemoveFromExpectedMutexesOnWeakRefAccess()
379 DCHECK(it != list.end()); in RemoveFromExpectedMutexesOnWeakRefAccess()
380 list.erase(it); in RemoveFromExpectedMutexesOnWeakRefAccess()
386 std::vector<BaseMutex*>& list = expected_mutexes_on_weak_ref_access_; in IsExpectedOnWeakRefAccess() local
387 return std::find(list.begin(), list.end(), mutex) != list.end(); in IsExpectedOnWeakRefAccess()
/art/test/714-invoke-custom-lambda-metafactory/src/
DMain.java24 List<String> list = Arrays.asList("A", "B", "C", "D", "EEE"); in main() local
25 Optional<String> result = list.stream().filter(x -> x.length() >= requiredLength).findAny(); in main()
/art/test/051-thread/src/
DMain.java186 List<StackTraceElement> list = Arrays.asList(trace); in testMainThreadAllStackTraces() local
187 Iterator<StackTraceElement> it = list.iterator(); in testMainThreadAllStackTraces()
192 throw new RuntimeException(list.toString()); in testMainThreadAllStackTraces()
197 throw new RuntimeException(list.toString()); in testMainThreadAllStackTraces()
200 throw new RuntimeException(list.toString()); in testMainThreadAllStackTraces()
207 throw new RuntimeException(list.toString()); in testMainThreadAllStackTraces()
/art/test/980-redefine-object/
Dexpected.txt10 Allocating an array list
12 Adding a bunch of stuff to the array list
16 Allocating a linked list
18 Adding a bunch of stuff to the linked list
/art/tools/
Dfindbuildbotwarnings.py37 warnings = collections.defaultdict(list)
91 for warning in sorted(list(sharedwarnings)):
/art/tools/checker/match/
Dline.py20 def headAndTail(list): argument
21 return list[0], list[1:]
/art/test/961-default-iface-resolution-gen/util-src/
Dgenerate_java.py326 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/test/062-character-encodings/
Dinfo.txt1 Test that the list of character encodings is what we expect.
/art/test/061-out-of-memory/src/
DMain.java74 LinkedList<Object> list = new LinkedList<Object>(); in testOomeSmallInternal() local
83 list.add((Object)new byte[objSize]); in testOomeSmallInternal()
/art/test/1906-suspend-list-me-first/
Dinfo.txt1 Test jvmti SuspendThreadList with the current thread as the first thread in the list.
/art/test/481-regression-phi-cond/
Dinfo.txt2 to remove a Phi from the wrong instruction list.
/art/runtime/gc/allocator/
Drosalloc.h226 void Merge(SlotFreeList<true>* list) { in Merge() argument
229 CHECK(list != nullptr); in Merge()
230 list->Verify(); in Merge()
232 if (list->Size() == 0) { in Merge()
240 *headp = list->Head(); in Merge()
242 *tailp = list->Tail(); in Merge()
244 size_ = list->Size(); in Merge()
247 DCHECK(list->Head() != nullptr); in Merge()
248 *headp = list->Head(); in Merge()
249 DCHECK(list->Tail() != nullptr); in Merge()
[all …]
/art/test/607-daemon-stress/
Dinfo.txt1 Stress test for daemon threads stuck in a method that requires the thread list lock.

12345