Home
last modified time | relevance | path

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

1234567

/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/jvmti-agents/list-extensions/
DREADME.md18 dalvikvm64 I 07-30 10:47:37 154719 154719 list-extensions.cc:104] Found 13 extension functions
19 dalvikvm64 I 07-30 10:47:37 154719 154719 list-extensions.cc:107] com.android.art.heap.get_object_h…
20 dalvikvm64 I 07-30 10:47:37 154719 154719 list-extensions.cc:108] desc: Retrieve the heap id …
21 dalvikvm64 I 07-30 10:47:37 154719 154719 list-extensions.cc:109] arguments: (count: 2)
22 dalvikvm64 I 07-30 10:47:37 154719 154719 list-extensions.cc:112] tag (IN, JLONG)
23 dalvikvm64 I 07-30 10:47:37 154719 154719 list-extensions.cc:112] heap_id (OUT, JINT)
24 dalvikvm64 I 07-30 10:47:37 154719 154719 list-extensions.cc:114] Errors: (count: 1)
25 dalvikvm64 I 07-30 10:47:37 154719 154719 list-extensions.cc:118] JVMTI_ERROR_NOT_FOU…
26 dalvikvm64 I 07-30 10:47:37 154719 154719 list-extensions.cc:107] com.android.art.heap.get_heap_name
27 dalvikvm64 I 07-30 10:47:37 154719 154719 list-extensions.cc:108] desc: Retrieve the name of …
[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/tools/veridex/
Dapi_list_filter.h40 hiddenapi::ApiList list = hiddenapi::ApiList::FromName(name); in ApiListFilter() local
41 if (!list.IsValid()) { in ApiListFilter()
45 exclude_set.insert(list); in ApiListFilter()
52 hiddenapi::ApiList list = hiddenapi::ApiList(i); in ApiListFilter() local
53 if (exclude_set.find(list) == exclude_set.end()) { in ApiListFilter()
54 lists_.push_back(list); in ApiListFilter()
59 bool Matches(hiddenapi::ApiList list) const { in Matches() argument
61 if (list.GetIntValue() == it.GetIntValue()) { in Matches()
/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/unsupported/ && $unsupported)
123 || ($list =~ m/max-target/ && $maxtarget)
124 || ($list =~ m/blocked/ && $blocked)) {
128 print "$package,$symbol,$list\n"
/art/libartservice/service/javatests/com/android/server/art/
DDebouncerTest.java51 List<Integer> list = new ArrayList<>(); in test() local
53 mDebouncer.maybeRunAsync(() -> list.add(1)); in test()
54 mDebouncer.maybeRunAsync(() -> list.add(2)); in test()
56 mDebouncer.maybeRunAsync(() -> list.add(3)); in test()
58 mDebouncer.maybeRunAsync(() -> list.add(4)); in test()
60 mDebouncer.maybeRunAsync(() -> list.add(5)); in test()
63 assertThat(list).containsExactly(2, 5).inOrder(); in test()
DPrimaryDexopterParameterizedTest.java79 List<Params> list = new ArrayList<>(); in data() local
84 list.add(params); in data()
89 list.add(params); in data()
94 list.add(params); in data()
98 list.add(params); in data()
103 list.add(params); in data()
110 list.add(params); in data()
116 list.add(params); in data()
122 list.add(params); in data()
127 list.add(params); in data()
[all …]
/art/test/1906-suspend-list-me-first/
DAndroid.bp3 // Build rules for ART run-test `1906-suspend-list-me-first`.
16 name: "art-run-test-1906-suspend-list-me-first",
21 ":art-run-test-1906-suspend-list-me-first-expected-stdout",
22 ":art-run-test-1906-suspend-list-me-first-expected-stderr",
28 name: "art-run-test-1906-suspend-list-me-first-expected-stdout",
29 out: ["art-run-test-1906-suspend-list-me-first-expected-stdout.txt"],
36 name: "art-run-test-1906-suspend-list-me-first-expected-stderr",
37 out: ["art-run-test-1906-suspend-list-me-first-expected-stderr.txt"],
/art/test/1907-suspend-list-self-twice/
DAndroid.bp3 // Build rules for ART run-test `1907-suspend-list-self-twice`.
16 name: "art-run-test-1907-suspend-list-self-twice",
21 ":art-run-test-1907-suspend-list-self-twice-expected-stdout",
22 ":art-run-test-1907-suspend-list-self-twice-expected-stderr",
28 name: "art-run-test-1907-suspend-list-self-twice-expected-stdout",
29 out: ["art-run-test-1907-suspend-list-self-twice-expected-stdout.txt"],
36 name: "art-run-test-1907-suspend-list-self-twice-expected-stderr",
37 out: ["art-run-test-1907-suspend-list-self-twice-expected-stderr.txt"],
/art/libartbase/base/
Diteration_range.h54 inline auto MakeIterationRange(List& list) -> IterationRange<decltype(list.begin())> {
55 static_assert(std::is_same_v<decltype(list.begin()), decltype(list.end())>,
57 return MakeIterationRange(list.begin(), list.end());
/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/libnativeloader/
Dpublic_libraries.cpp374 static std::string list = InitDefaultPublicLibraries(/*for_preload*/ true); in preloadable_public_libraries() local
375 return list; in preloadable_public_libraries()
379 static std::string list = InitDefaultPublicLibraries(/*for_preload*/ false); in default_public_libraries() local
380 return list; in default_public_libraries()
384 static std::string list = InitVendorPublicLibraries(); in vendor_public_libraries() local
385 return list; in vendor_public_libraries()
389 static std::string list = InitProductPublicLibraries(); in product_public_libraries() local
390 return list; in product_public_libraries()
394 static std::string list = InitExtendedPublicLibraries(); in extended_public_libraries() local
395 return list; in extended_public_libraries()
[all …]
/art/runtime/base/
Dlocks.cc388 std::vector<BaseMutex*>& list = expected_mutexes_on_weak_ref_access_; in RemoveFromExpectedMutexesOnWeakRefAccess() local
389 auto it = std::find(list.begin(), list.end(), mutex); in RemoveFromExpectedMutexesOnWeakRefAccess()
390 DCHECK(it != list.end()); in RemoveFromExpectedMutexesOnWeakRefAccess()
391 list.erase(it); in RemoveFromExpectedMutexesOnWeakRefAccess()
394 std::vector<BaseMutex*>& list = expected_mutexes_on_weak_ref_access_; in RemoveFromExpectedMutexesOnWeakRefAccess() local
395 auto it = std::find(list.begin(), list.end(), mutex); in RemoveFromExpectedMutexesOnWeakRefAccess()
396 DCHECK(it != list.end()); in RemoveFromExpectedMutexesOnWeakRefAccess()
397 list.erase(it); in RemoveFromExpectedMutexesOnWeakRefAccess()
403 std::vector<BaseMutex*>& list = expected_mutexes_on_weak_ref_access_; in IsExpectedOnWeakRefAccess() local
404 return std::find(list.begin(), list.end(), mutex) != list.end(); in IsExpectedOnWeakRefAccess()
/art/tools/jvmti-agents/field-counts/
Dfieldcount.cc102 RequestList* list; in DataDumpRequestCb() local
103 CHECK_JVMTI(jvmti->GetEnvironmentLocalStorage(reinterpret_cast<void**>(&list))); in DataDumpRequestCb()
104 for (std::pair<jclass, jfieldID>& p : list->fields_) { in DataDumpRequestCb()
200 RequestList* list = nullptr; in VMDeathCb() local
201 CHECK_JVMTI(jvmti->GetEnvironmentLocalStorage(reinterpret_cast<void**>(&list))); in VMDeathCb()
202 delete list; in VMDeathCb()
206 RequestList* list = nullptr; in CreateFieldList() local
207 CHECK_JVMTI(jvmti->Allocate(sizeof(*list), reinterpret_cast<unsigned char**>(&list))); in CreateFieldList()
208 new (list) RequestList{ in CreateFieldList()
211 CHECK_JVMTI(jvmti->SetEnvironmentLocalStorage(list)); in CreateFieldList()
/art/test/596-monitor-inflation/
Dexpected-stdout.txt2 Monitor list grew by at least 4000 monitors
3 Monitor list shrank correctly
/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/build/apex/
Druntests.sh95 -l, --list-files list the contents of the ext4 image (\`find\`-like style)
96 -t, --print-tree list the contents of the ext4 image (\`tree\`-like style)
111 (-l|--list-files) list_image_files_p=true;;
142 $SCRIPT_DIR/art_apex_test.py --list ${print_options[@]} $@
/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/2042-reference-processing/src/
DMain.java207 FinalizableObject list = listHead; in dropObjects() local
213 maxDropped = list.n; in dropObjects()
218 last = list; in dropObjects()
219 list = list.next; in dropObjects()
222 if (list.n != expected) { in dropObjects()
223 System.out.println("dropObjects found " + list.n + " but expected " + expected); in dropObjects()
/art/test/980-redefine-object/
Dexpected-stdout.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/
Dbisect_profile.py137 all_dexs = list()
158 meth_list = list(filter(lambda a: a != "", res.stdout.split()))
161 meth_list = list(filter(lambda a: a != "", inp.readlines()))
167 meth_list = list(all_methods)
186 test_methods = list(meth_list[0:len(meth_list) // 2])
/art/imgdiag/
Dcreate_dirty_image_objects.py46 res = list()
80 sort_keys = defaultdict(list)
97 dirty_obj_lines = list()
150 entries = list()

1234567