Home
last modified time | relevance | path

Searched refs:list (Results 1 – 25 of 128) 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.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/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/libnativeloader/
Dpublic_libraries.cpp234 std::string list = android::base::Join(kArtApexPublicLibraries, ":"); in InitArtPublicLibraries() local
238 list = list + ':' + additional_libs; in InitArtPublicLibraries()
240 return list; in InitArtPublicLibraries()
245 std::string list = android::base::Join(ki18nApexPublicLibraries, ":"); in InitI18nPublicLibraries() local
246 return list; in InitI18nPublicLibraries()
347 static std::string list = InitDefaultPublicLibraries(/*for_preload*/ true); in preloadable_public_libraries() local
348 return list; in preloadable_public_libraries()
352 static std::string list = InitDefaultPublicLibraries(/*for_preload*/ false); in default_public_libraries() local
353 return list; in default_public_libraries()
357 static std::string list = InitArtPublicLibraries(); in art_public_libraries() local
[all …]
/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/build/apex/
Druntests.sh76 -l, --list-files list the contents of the ext4 image (\`find\`-like style)
77 -t, --print-tree list the contents of the ext4 image (\`tree\`-like style)
88 (-l|--list-files) list_image_files_p=true;;
117 $SCRIPT_DIR/art_apex_test.py --list ${print_options[@]} $@
/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/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/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/libartbase/base/
Diteration_range.h53 inline IterationRange<typename List::iterator> MakeIterationRange(List& list) { in MakeIterationRange() argument
54 return IterationRange<typename List::iterator>(list.begin(), list.end()); in MakeIterationRange()
/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/checker/match/
Dline.py21 def headAndTail(list): argument
22 return list[0], list[1:]
/art/tools/
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/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/062-character-encodings/
Dinfo.txt1 Test that the list of character encodings is what we expect.

123456