/art/tools/ |
D | checker_test.py | 31 def __tryParse(self, string): argument 35 def test_InvalidFormat(self): argument 45 def test_InvalidLabel(self): argument 49 def test_NotFirstOnTheLine(self): argument 55 def test_WhitespaceAgnostic(self): argument 63 def __getPartPattern(self, linePart): argument 69 def __getRegex(self, checkLine): argument 72 def __tryParse(self, string): argument 75 def __parsesTo(self, string, expected): argument 78 def __tryParseNot(self, string): argument [all …]
|
D | checker.py | 149 def __eq__(self, other): argument 153 def __ne__(self, other): argument 156 def __repr__(self): argument 184 def __init__(self, variant, name, pattern): argument 223 def __init__(self, content, variant=Variant.InOrder, fileName=None, lineNo=-1): argument 238 def __eq__(self, other): argument 244 def __isMatchAtStart(self, match): argument 250 def __firstMatch(self, matches, string): argument 256 def __parse(self, line): argument 294 def __generatePattern(self, linePart, varState): argument [all …]
|
D | stream-trace-converter.py | 71 def PrintHeader(self, header): argument 78 def ProcessDataHeader(self, input, body): argument 114 def ProcessMethod(self, input): argument 120 def ProcessThread(self, input): argument 127 def ProcessSpecial(self, input): argument 136 def Process(self, input, body): argument 149 def Finalize(self, header): argument 158 def ProcessFile(self, filename): argument
|
D | cpplint.py | 460 def __init__(self): argument 467 def CanonicalizeAlphabeticalOrder(self, header_path): argument 482 def IsInAlphabeticalOrder(self, header_path): argument 497 def CheckNextIncludeOrder(self, header_type): argument 554 def __init__(self): argument 567 def SetOutputFormat(self, output_format): argument 571 def SetVerboseLevel(self, level): argument 577 def SetCountingStyle(self, counting_style): argument 581 def SetFilters(self, filters): argument 606 def ResetErrorCounts(self): argument [all …]
|
/art/runtime/entrypoints/quick/ |
D | quick_throw_entrypoints.cc | 27 extern "C" NO_RETURN void artDeliverPendingExceptionFromCode(Thread* self) in artDeliverPendingExceptionFromCode() 34 extern "C" NO_RETURN void artDeliverExceptionFromCode(mirror::Throwable* exception, Thread* self) in artDeliverExceptionFromCode() 53 extern "C" NO_RETURN void artThrowNullPointerExceptionFromCode(Thread* self) in artThrowNullPointerExceptionFromCode() 63 extern "C" NO_RETURN void artThrowDivZeroFromCode(Thread* self) in artThrowDivZeroFromCode() 71 extern "C" NO_RETURN void artThrowArrayBoundsFromCode(int index, int length, Thread* self) in artThrowArrayBoundsFromCode() 78 extern "C" NO_RETURN void artThrowStackOverflowFromCode(Thread* self) in artThrowStackOverflowFromCode() 87 extern "C" NO_RETURN void artThrowNoSuchMethodFromCode(int32_t method_idx, Thread* self) in artThrowNoSuchMethodFromCode() 96 Thread* self) in artThrowClassCastException() 105 Thread* self) in artThrowArrayStoreException()
|
D | quick_jni_entrypoints.cc | 33 extern uint32_t JniMethodStart(Thread* self) { in JniMethodStart() 46 extern uint32_t JniMethodStartSynchronized(jobject to_lock, Thread* self) { in JniMethodStartSynchronized() 52 static void GoToRunnable(Thread* self) NO_THREAD_SAFETY_ANALYSIS { in GoToRunnable() 65 static void PopLocalReferences(uint32_t saved_local_ref_cookie, Thread* self) in PopLocalReferences() 73 extern void JniMethodEnd(uint32_t saved_local_ref_cookie, Thread* self) { in JniMethodEnd() 79 Thread* self) { in JniMethodEndSynchronized() 88 Thread* self) in JniMethodEndWithReferenceHandleResult() 102 Thread* self) { in JniMethodEndWithReference() 109 jobject locked, Thread* self) { in JniMethodEndWithReferenceSynchronized()
|
D | quick_field_entrypoints.cc | 29 Thread* self) in artGetByteStaticFromCode() 44 Thread* self) in artGetBooleanStaticFromCode() 59 Thread* self) in artGetShortStaticFromCode() 75 Thread* self) in artGetCharStaticFromCode() 91 Thread* self) in artGet32StaticFromCode() 107 Thread* self) in artGet64StaticFromCode() 123 Thread* self) in artGetObjStaticFromCode() 140 ArtMethod* referrer, Thread* self) in artGetByteInstanceFromCode() 160 ArtMethod* referrer, Thread* self) in artGetBooleanInstanceFromCode() 179 ArtMethod* referrer, Thread* self) in artGetShortInstanceFromCode() [all …]
|
D | quick_dexcache_entrypoints.cc | 29 Thread* self) in artInitializeStaticStorageFromCode() 40 Thread* self) in artInitializeTypeFromCode() 49 Thread* self) in artInitializeTypeAndVerifyAccessFromCode() 59 Thread* self) in artResolveStringFromCode()
|
/art/runtime/ |
D | barrier.cc | 31 void Barrier::Pass(Thread* self) { in Pass() 36 void Barrier::Wait(Thread* self) { in Wait() 40 void Barrier::Init(Thread* self, int count) { in Init() 45 void Barrier::Increment(Thread* self, int delta) { in Increment() 61 bool Barrier::Increment(Thread* self, int delta, uint32_t timeout_ms) { in Increment() 82 void Barrier::SetCountLocked(Thread* self, int count) { in SetCountLocked()
|
D | thread_pool.cc | 50 Thread* self = Thread::Current(); in Run() local 69 void ThreadPool::AddTask(Thread* self, Task* task) { in AddTask() 91 Thread* self = Thread::Current(); in ThreadPool() local 109 Thread* self = Thread::Current(); in ~ThreadPool() local 121 void ThreadPool::StartWorkers(Thread* self) { in StartWorkers() 129 void ThreadPool::StopWorkers(Thread* self) { in StopWorkers() 134 Task* ThreadPool::GetTask(Thread* self) { in GetTask() 166 Task* ThreadPool::TryGetTask(Thread* self) { in TryGetTask() 180 void ThreadPool::Wait(Thread* self, bool do_work, bool may_hold_locks) { in Wait() 199 size_t ThreadPool::GetTaskCount(Thread* self) { in GetTaskCount() [all …]
|
D | thread_list.cc | 65 Thread* self = Thread::Current(); in ~ThreadList() local 137 Thread* self = Thread::Current(); in DumpUnattachedThreads() local 168 Thread* self = Thread::Current(); in Run() local 186 Thread* self = Thread::Current(); in WaitForThreadsToRunThroughCheckpoint() local 215 void ThreadList::AssertThreadsAreSuspended(Thread* self, Thread* ignore1, Thread* ignore2) { in AssertThreadsAreSuspended() 253 Thread* self = Thread::Current(); in RunCheckpoint() local 337 Thread* self = Thread::Current(); in RunCheckpointOnRunnableThreads() local 370 Thread* self = Thread::Current(); in FlipThreadRoots() local 452 Thread* self = Thread::Current(); in SuspendAll() local 524 Thread* self = Thread::Current(); in ResumeAll() local [all …]
|
D | class_linker-inl.h | 32 inline mirror::Class* ClassLinker::FindSystemClass(Thread* self, const char* descriptor) { in FindSystemClass() 36 inline mirror::Class* ClassLinker::FindArrayClass(Thread* self, mirror::Class** element_class) { in FindArrayClass() 116 inline ArtMethod* ClassLinker::ResolveMethod(Thread* self, uint32_t method_idx, in ResolveMethod() 158 inline mirror::Object* ClassLinker::AllocObject(Thread* self) { in AllocObject() 164 inline mirror::ObjectArray<T>* ClassLinker::AllocObjectArray(Thread* self, size_t length) { in AllocObjectArray() 168 inline mirror::ObjectArray<mirror::Class>* ClassLinker::AllocClassArray(Thread* self, in AllocClassArray() 173 inline mirror::ObjectArray<mirror::String>* ClassLinker::AllocStringArray(Thread* self, in AllocStringArray() 179 inline mirror::IfTable* ClassLinker::AllocIfTable(Thread* self, size_t ifcount) { in AllocIfTable()
|
D | monitor.cc | 87 Monitor::Monitor(Thread* self, Thread* owner, mirror::Object* obj, int32_t hash_code) in Monitor() 109 Monitor::Monitor(Thread* self, Thread* owner, mirror::Object* obj, int32_t hash_code, in Monitor() 141 bool Monitor::Install(Thread* self) { in Install() 229 void Monitor::Lock(Thread* self) { in Lock() 304 Thread* self = Thread::Current(); in ThrowIllegalMonitorStateExceptionF() local 384 bool Monitor::Unlock(Thread* self) { in Unlock() 409 void Monitor::Wait(Thread* self, int64_t ms, int32_t ns, in Wait() 548 void Monitor::Notify(Thread* self) { in Notify() 571 void Monitor::NotifyAll(Thread* self) { in NotifyAll() 588 bool Monitor::Deflate(Thread* self, mirror::Object* obj) { in Deflate() [all …]
|
D | java_vm_ext.cc | 58 SharedLibrary(JNIEnv* env, Thread* self, const std::string& path, void* handle, in SharedLibrary() 71 Thread* self = Thread::Current(); in ~SharedLibrary() local 91 Thread* self = Thread::Current(); in CheckOnLoadResult() local 116 Thread* self = Thread::Current(); in SetResult() local 313 Thread* self = Thread::Current(); in AttachCurrentThreadInternal() local 388 Thread* self = Thread::Current(); in JniAbort() local 461 jobject JavaVMExt::AddGlobalRef(Thread* self, mirror::Object* obj) { in AddGlobalRef() 471 jweak JavaVMExt::AddWeakGlobalRef(Thread* self, mirror::Object* obj) { in AddWeakGlobalRef() 483 void JavaVMExt::DeleteGlobalRef(Thread* self, jobject obj) { in DeleteGlobalRef() 494 void JavaVMExt::DeleteWeakGlobalRef(Thread* self, jweak obj) { in DeleteWeakGlobalRef() [all …]
|
D | thread_pool_test.cc | 31 void Run(Thread* self) { in Run() 62 Thread* self = Thread::Current(); in TEST_F() local 77 Thread* self = Thread::Current(); in TEST_F() local 108 void Run(Thread* self) { in Run() 129 Thread* self = Thread::Current(); in TEST_F() local
|
D | monitor_pool.h | 45 static Monitor* CreateMonitor(Thread* self, Thread* owner, mirror::Object* obj, int32_t hash_code) in CreateMonitor() 56 static void ReleaseMonitor(Thread* self, Monitor* monitor) { in ReleaseMonitor() 65 static void ReleaseMonitors(Thread* self, MonitorList::Monitors* monitors) { in ReleaseMonitors() 90 static MonitorId ComputeMonitorId(Monitor* mon, Thread* self) { in ComputeMonitorId() 136 MonitorId ComputeMonitorIdInPool(Monitor* mon, Thread* self) { in ComputeMonitorIdInPool()
|
/art/runtime/base/ |
D | mutex-inl.h | 49 static inline uint64_t SafeGetTid(const Thread* self) { in SafeGetTid() 81 inline void BaseMutex::RegisterAsLocked(Thread* self) { in RegisterAsLocked() 113 inline void BaseMutex::RegisterAsUnlocked(Thread* self) { in RegisterAsUnlocked() 126 inline void ReaderWriterMutex::SharedLock(Thread* self) { in SharedLock() 147 inline void ReaderWriterMutex::SharedUnlock(Thread* self) { in SharedUnlock() 178 inline bool Mutex::IsExclusiveHeld(const Thread* self) const { in IsExclusiveHeld() 194 inline bool ReaderWriterMutex::IsExclusiveHeld(const Thread* self) const { in IsExclusiveHeld()
|
D | mutex.h | 215 void Lock(Thread* self) EXCLUSIVE_LOCK_FUNCTION() { ExclusiveLock(self); } in Lock() 219 bool TryLock(Thread* self) EXCLUSIVE_TRYLOCK_FUNCTION(true) { return ExclusiveTryLock(self); } in TryLock() 223 void Unlock(Thread* self) UNLOCK_FUNCTION() { ExclusiveUnlock(self); } in Unlock() 229 void AssertExclusiveHeld(const Thread* self) { in AssertExclusiveHeld() 234 void AssertHeld(const Thread* self) { AssertExclusiveHeld(self); } in AssertHeld() 237 void AssertNotHeldExclusive(const Thread* self) { in AssertNotHeldExclusive() 242 void AssertNotHeld(const Thread* self) { AssertNotHeldExclusive(self); } in AssertNotHeld() 299 void WriterLock(Thread* self) EXCLUSIVE_LOCK_FUNCTION() { ExclusiveLock(self); } in WriterLock() 303 void WriterUnlock(Thread* self) UNLOCK_FUNCTION() { ExclusiveUnlock(self); } in WriterUnlock() 314 void ReaderLock(Thread* self) SHARED_LOCK_FUNCTION() { SharedLock(self); } in ReaderLock() [all …]
|
/art/runtime/jdwp/ |
D | object_registry.cc | 50 Thread* const self = Thread::Current(); in Add() local 79 Thread* const self = Thread::Current(); in InternalAdd() local 121 bool ObjectRegistry::ContainsLocked(Thread* self, mirror::Object* o, int32_t identity_hash_code, in ContainsLocked() 138 Thread* const self = Thread::Current(); in Clear() local 171 Thread* self = Thread::Current(); in InternalGet() local 187 Thread* self = Thread::Current(); in GetJObject() local 196 Thread* self = Thread::Current(); in DisableCollection() local 204 Thread* self = Thread::Current(); in EnableCollection() local 213 Thread* self = Thread::Current(); in Demote() local 224 Thread* self = Thread::Current(); in Promote() local [all …]
|
/art/runtime/gc/ |
D | task_processor.cc | 36 void TaskProcessor::AddTask(Thread* self, HeapTask* task) { in AddTask() 43 HeapTask* TaskProcessor::GetTask(Thread* self) { in GetTask() 74 void TaskProcessor::UpdateTargetRunTime(Thread* self, HeapTask* task, uint64_t new_target_time) { in UpdateTargetRunTime() 106 void TaskProcessor::Stop(Thread* self) { in Stop() 113 void TaskProcessor::Start(Thread* self) { in Start() 119 void TaskProcessor::RunAllTasks(Thread* self) { in RunAllTasks()
|
D | reference_processor.cc | 51 void ReferenceProcessor::DisableSlowPath(Thread* self) { in DisableSlowPath() 56 mirror::Object* ReferenceProcessor::GetReferent(Thread* self, mirror::Reference* reference) { in GetReferent() 105 void ReferenceProcessor::StartPreservingReferences(Thread* self) { in StartPreservingReferences() 110 void ReferenceProcessor::StopPreservingReferences(Thread* self) { in StopPreservingReferences() 125 Thread* self = Thread::Current(); in ProcessReferences() local 198 Thread* self = Thread::Current(); in DelayReferenceReferent() local 238 void ReferenceProcessor::EnqueueClearedReferences(Thread* self) { in EnqueueClearedReferences() 264 Thread* self = Thread::Current(); in MakeCircularListIfUnenqueued() local
|
D | heap-inl.h | 41 inline mirror::Object* Heap::AllocObjectWithAllocator(Thread* self, mirror::Class* klass, in AllocObjectWithAllocator() 199 inline void Heap::PushOnAllocationStack(Thread* self, mirror::Object** obj) { in PushOnAllocationStack() 210 inline mirror::Object* Heap::AllocLargeObject(Thread* self, mirror::Class** klass, in AllocLargeObject() 222 inline mirror::Object* Heap::TryToAllocate(Thread* self, AllocatorType allocator_type, in TryToAllocate() 424 inline void Heap::CheckConcurrentGC(Thread* self, size_t new_num_bytes_allocated, in CheckConcurrentGC()
|
/art/runtime/arch/ |
D | stub_test.cc | 62 Thread::tls_ptr_sized_values* GetTlsPtr(Thread* self) { in GetTlsPtr() 67 size_t Invoke3(size_t arg0, size_t arg1, size_t arg2, uintptr_t code, Thread* self) { in Invoke3() 72 size_t Invoke3WithReferrer(size_t arg0, size_t arg1, size_t arg2, uintptr_t code, Thread* self, in Invoke3WithReferrer() 423 Thread* self, ArtMethod* referrer, size_t hidden) { in Invoke3WithReferrerAndHidden() 778 size_t Invoke3UWithReferrer(size_t arg0, uint64_t arg1, uintptr_t code, Thread* self, in Invoke3UWithReferrer() 793 static uintptr_t GetEntrypoint(Thread* self, QuickEntrypointEnum entrypoint) { in GetEntrypoint() 810 Thread* self = Thread::Current(); in TEST_F() local 850 Thread* self = Thread::Current(); in TEST_F() local 924 Thread* self = Thread::Current(); in TestUnlockObject() local 1079 Thread* self = Thread::Current(); in TEST_F() local [all …]
|
/art/runtime/interpreter/ |
D | unstarted_runtime.cc | 51 static void AbortTransactionOrFail(Thread* self, const char* fmt, ...) { in AbortTransactionOrFail() 68 static void UnstartedRuntimeFindClass(Thread* self, Handle<mirror::String> className, in UnstartedRuntimeFindClass() 101 static void CheckExceptionGenerateClassNotFound(Thread* self) in CheckExceptionGenerateClassNotFound() 113 static mirror::String* GetClassName(Thread* self, ShadowFrame* shadow_frame, size_t arg_offset) in GetClassName() 124 Thread* self, ShadowFrame* shadow_frame, JValue* result, size_t arg_offset) { in UnstartedClassForName() 137 Thread* self, ShadowFrame* shadow_frame, JValue* result, size_t arg_offset) { in UnstartedClassForNameLong() 154 Thread* self, ShadowFrame* shadow_frame, JValue* result, size_t arg_offset) { in UnstartedClassClassForName() 171 Thread* self, ShadowFrame* shadow_frame, JValue* result, size_t arg_offset) { in UnstartedClassNewInstance() 226 Thread* self, ShadowFrame* shadow_frame, JValue* result, size_t arg_offset) { in UnstartedClassGetDeclaredField() 264 Thread* self, ShadowFrame* shadow_frame, JValue* result, size_t arg_offset) { in UnstartedVmClassLoaderFindLoadedClass() [all …]
|
/art/runtime/entrypoints/ |
D | entrypoint_utils-inl.h | 41 inline ArtMethod* GetCalleeSaveMethodCaller(Thread* self, Runtime::CalleeSaveType type) in GetCalleeSaveMethodCaller() 64 Thread* self, bool* slow_path) { in CheckObjectAlloc() 114 Thread* self, in CheckClassInitializedForObjectAlloc() 145 Thread* self, in AllocObjectFromCode() 163 Thread* self, in AllocObjectFromCodeResolved() 184 Thread* self, in AllocObjectFromCodeInitialized() 233 Thread* self, in AllocArrayFromCode() 256 Thread* self, in AllocArrayFromCodeResolved() 278 Thread* self, size_t expected_size) { in FindFieldFromCode() 371 ArtMethod** referrer, Thread* self) { in FindMethodFromCode() [all …]
|