Home
last modified time | relevance | path

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

123456

/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()
DAndroid.mk53 ls -1 $(PRIVATE_SYSTEM_STUBS_DEX_DIR)/classes*.dex | sort >$(PRIVATE_SYSTEM_STUBS_ZIP).list
54 … $(PRIVATE_SYSTEM_STUBS_ZIP) -C $(PRIVATE_SYSTEM_STUBS_DEX_DIR) -l $(PRIVATE_SYSTEM_STUBS_ZIP).list
55 rm $(PRIVATE_SYSTEM_STUBS_ZIP).list
56 ls -1 $(PRIVATE_OAHL_STUBS_DEX_DIR)/classes*.dex | sort >$(PRIVATE_OAHL_STUBS_ZIP).list
57 …IP) -o $(PRIVATE_OAHL_STUBS_ZIP) -C $(PRIVATE_OAHL_STUBS_DEX_DIR) -l $(PRIVATE_OAHL_STUBS_ZIP).list
58 rm $(PRIVATE_OAHL_STUBS_ZIP).list
/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/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.cpp293 static std::string list = InitDefaultPublicLibraries(/*for_preload*/ true); in preloadable_public_libraries() local
294 return list; in preloadable_public_libraries()
298 static std::string list = InitDefaultPublicLibraries(/*for_preload*/ false); in default_public_libraries() local
299 return list; in default_public_libraries()
303 static std::string list = InitVendorPublicLibraries(); in vendor_public_libraries() local
304 return list; in vendor_public_libraries()
308 static std::string list = InitExtendedPublicLibraries(); in extended_public_libraries() local
309 return list; in extended_public_libraries()
313 static std::string list = InitLlndkLibrariesProduct(); in llndk_libraries_product() local
314 return list; in llndk_libraries_product()
[all …]
/art/runtime/base/
Dlocks.cc383 std::vector<BaseMutex*>& list = expected_mutexes_on_weak_ref_access_; in RemoveFromExpectedMutexesOnWeakRefAccess() local
384 auto it = std::find(list.begin(), list.end(), mutex); in RemoveFromExpectedMutexesOnWeakRefAccess()
385 DCHECK(it != list.end()); in RemoveFromExpectedMutexesOnWeakRefAccess()
386 list.erase(it); in RemoveFromExpectedMutexesOnWeakRefAccess()
389 std::vector<BaseMutex*>& list = expected_mutexes_on_weak_ref_access_; in RemoveFromExpectedMutexesOnWeakRefAccess() local
390 auto it = std::find(list.begin(), list.end(), mutex); in RemoveFromExpectedMutexesOnWeakRefAccess()
391 DCHECK(it != list.end()); in RemoveFromExpectedMutexesOnWeakRefAccess()
392 list.erase(it); in RemoveFromExpectedMutexesOnWeakRefAccess()
398 std::vector<BaseMutex*>& list = expected_mutexes_on_weak_ref_access_; in IsExpectedOnWeakRefAccess() local
399 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.sh82 -l, --list-files list the contents of the ext4 image (\`find\`-like style)
83 -t, --print-tree list the contents of the ext4 image (\`tree\`-like style)
96 (-l|--list-files) list_image_files_p=true;;
126 $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/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])
Dfindbuildbotwarnings.py37 warnings = collections.defaultdict(list)
91 for warning in sorted(list(sharedwarnings)):
/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/tools/checker/match/
Dline.py23 def head_and_tail(list): argument
24 return list[0], list[1:]

123456