/art/runtime/base/ |
D | mutex.h | 148 void Lock(Thread* self) EXCLUSIVE_LOCK_FUNCTION() { ExclusiveLock(self); } in Lock() 152 bool TryLock(Thread* self) EXCLUSIVE_TRYLOCK_FUNCTION(true) { return ExclusiveTryLock(self); } in TryLock() 156 void Unlock(Thread* self) UNLOCK_FUNCTION() { ExclusiveUnlock(self); } in Unlock() 162 void AssertExclusiveHeld(const Thread* self) { in AssertExclusiveHeld() 167 void AssertHeld(const Thread* self) { AssertExclusiveHeld(self); } in AssertHeld() 170 void AssertNotHeldExclusive(const Thread* self) { in AssertNotHeldExclusive() 175 void AssertNotHeld(const Thread* self) { AssertNotHeldExclusive(self); } in AssertNotHeld() 230 void WriterLock(Thread* self) EXCLUSIVE_LOCK_FUNCTION() { ExclusiveLock(self); } in WriterLock() 234 void WriterUnlock(Thread* self) UNLOCK_FUNCTION() { ExclusiveUnlock(self); } in WriterUnlock() 245 void ReaderLock(Thread* self) SHARED_LOCK_FUNCTION() { SharedLock(self); } in ReaderLock() [all …]
|
D | mutex-inl.h | 71 static inline uint64_t SafeGetTid(const Thread* self) { in SafeGetTid() 91 inline void BaseMutex::RegisterAsLocked(Thread* self) { in RegisterAsLocked() 121 inline void BaseMutex::RegisterAsUnlocked(Thread* self) { in RegisterAsUnlocked() 134 inline void ReaderWriterMutex::SharedLock(Thread* self) { in SharedLock() 162 inline void ReaderWriterMutex::SharedUnlock(Thread* self) { in SharedUnlock()
|
D | mutex.cc | 172 void BaseMutex::CheckSafeToWait(Thread* self) { in CheckSafeToWait() 339 void Mutex::ExclusiveLock(Thread* self) { in ExclusiveLock() 381 bool Mutex::ExclusiveTryLock(Thread* self) { in ExclusiveTryLock() 421 void Mutex::ExclusiveUnlock(Thread* self) { in ExclusiveUnlock() 545 void ReaderWriterMutex::ExclusiveLock(Thread* self) { in ExclusiveLock() 578 void ReaderWriterMutex::ExclusiveUnlock(Thread* self) { in ExclusiveUnlock() 607 bool ReaderWriterMutex::ExclusiveLockWithTimeout(Thread* self, int64_t ms, int32_t ns) { in ExclusiveLockWithTimeout() 661 bool ReaderWriterMutex::SharedTryLock(Thread* self) { in SharedTryLock() 789 void ConditionVariable::Broadcast(Thread* self) { in Broadcast() 817 void ConditionVariable::Signal(Thread* self) { in Signal() [all …]
|
/art/runtime/entrypoints/portable/ |
D | portable_jni_entrypoints.cc | 25 extern "C" uint32_t art_portable_jni_method_start(Thread* self) in art_portable_jni_method_start() 34 extern "C" uint32_t art_portable_jni_method_start_synchronized(jobject to_lock, Thread* self) in art_portable_jni_method_start_synchronized() 40 static void PopLocalReferences(uint32_t saved_local_ref_cookie, Thread* self) { in PopLocalReferences() 46 extern "C" void art_portable_jni_method_end(uint32_t saved_local_ref_cookie, Thread* self) in art_portable_jni_method_end() 55 Thread* self) in art_portable_jni_method_end_synchronized() 64 Thread* self) in art_portable_jni_method_end_with_reference() 82 Thread* self) in art_portable_jni_method_end_with_reference_synchronized()
|
D | portable_throw_entrypoints.cc | 42 Thread* self = Thread::Current(); in art_portable_throw_null_pointer_exception_from_code() local 53 Thread* self = Thread::Current(); in art_portable_throw_exception_from_code() local 62 extern "C" void* art_portable_get_and_clear_exception(Thread* self) in art_portable_get_and_clear_exception() 74 Thread* self = Thread::Current(); // TODO: make an argument. in art_portable_find_catch_block_from_code() local
|
/art/runtime/entrypoints/quick/ |
D | quick_jni_entrypoints.cc | 31 extern uint32_t JniMethodStart(Thread* self) { in JniMethodStart() 40 extern uint32_t JniMethodStartSynchronized(jobject to_lock, Thread* self) { in JniMethodStartSynchronized() 45 static void PopLocalReferences(uint32_t saved_local_ref_cookie, Thread* self) { in PopLocalReferences() 52 extern void JniMethodEnd(uint32_t saved_local_ref_cookie, Thread* self) { in JniMethodEnd() 59 Thread* self) { in JniMethodEndSynchronized() 66 Thread* self) { in JniMethodEndWithReference() 82 jobject locked, Thread* self) { in JniMethodEndWithReferenceSynchronized()
|
D | quick_throw_entrypoints.cc | 34 extern "C" void artDeliverExceptionFromCode(mirror::Throwable* exception, Thread* self, in artDeliverExceptionFromCode() 56 extern "C" void artThrowNullPointerExceptionFromCode(Thread* self, in artThrowNullPointerExceptionFromCode() 66 extern "C" void artThrowDivZeroFromCode(Thread* self, in artThrowDivZeroFromCode() 75 extern "C" void artThrowArrayBoundsFromCode(int index, int length, Thread* self, in artThrowArrayBoundsFromCode() 83 extern "C" void artThrowStackOverflowFromCode(Thread* self, mirror::ArtMethod** sp) in artThrowStackOverflowFromCode() 90 extern "C" void artThrowNoSuchMethodFromCode(int32_t method_idx, Thread* self, in artThrowNoSuchMethodFromCode()
|
D | quick_field_entrypoints.cc | 30 Thread* self, mirror::ArtMethod** sp) in artGet32StaticFromCode() 47 Thread* self, mirror::ArtMethod** sp) in artGet64StaticFromCode() 64 Thread* self, mirror::ArtMethod** sp) in artGetObjStaticFromCode() 81 const mirror::ArtMethod* referrer, Thread* self, in artGet32InstanceFromCode() 104 const mirror::ArtMethod* referrer, Thread* self, in artGet64InstanceFromCode() 128 Thread* self, in artGetObjInstanceFromCode() 151 const mirror::ArtMethod* referrer, Thread* self, in artSet32StaticFromCode() 170 uint64_t new_value, Thread* self, mirror::ArtMethod** sp) in artSet64StaticFromCode() 188 const mirror::ArtMethod* referrer, Thread* self, in artSetObjStaticFromCode() 209 const mirror::ArtMethod* referrer, Thread* self, in artSet32InstanceFromCode() [all …]
|
D | quick_alloc_entrypoints.cc | 27 Thread* self, mirror::ArtMethod** sp) in artAllocObjectFromCode() 35 Thread* self, in artAllocObjectFromCodeWithAccessCheck() 43 int32_t component_count, Thread* self, in artAllocArrayFromCode() 53 Thread* self, in artAllocArrayFromCodeWithAccessCheck() 62 int32_t component_count, Thread* self, in artCheckAndAllocArrayFromCode() 72 Thread* self, in artCheckAndAllocArrayFromCodeWithAccessCheck()
|
D | quick_dexcache_entrypoints.cc | 30 Thread* self, in artInitializeStaticStorageFromCode() 42 Thread* self, mirror::ArtMethod** sp) in artInitializeTypeFromCode() 51 Thread* self, in artInitializeTypeAndVerifyAccessFromCode() 62 Thread* self, mirror::ArtMethod** sp) in artResolveStringFromCode()
|
D | quick_invoke_entrypoints.cc | 32 Thread* self, mirror::ArtMethod** sp) in artInvokeInterfaceTrampoline() 148 Thread* self, mirror::ArtMethod** sp, bool access_check, in artInvokeCommon() 183 Thread* self, in artInvokeInterfaceTrampolineWithAccessCheck() 193 Thread* self, in artInvokeDirectTrampolineWithAccessCheck() 202 Thread* self, in artInvokeStaticTrampolineWithAccessCheck() 211 Thread* self, in artInvokeSuperTrampolineWithAccessCheck() 220 Thread* self, in artInvokeVirtualTrampolineWithAccessCheck()
|
D | quick_cast_entrypoints.cc | 36 Thread* self, mirror::ArtMethod** sp) in artCheckCastFromCode() 53 Thread* self, mirror::ArtMethod** sp) in artCanPutArrayElementFromCode()
|
/art/runtime/ |
D | barrier.cc | 30 void Barrier::Pass(Thread* self) { in Pass() 35 void Barrier::Wait(Thread* self) { in Wait() 39 void Barrier::Init(Thread* self, int count) { in Init() 44 void Barrier::Increment(Thread* self, int delta) { in Increment() 52 void Barrier::SetCountLocked(Thread* self, int count) { in SetCountLocked()
|
D | thread_pool.cc | 46 Thread* self = Thread::Current(); in Run() local 65 void ThreadPool::AddTask(Thread* self, Task* task) { in AddTask() 86 Thread* self = Thread::Current(); in ThreadPool() local 103 Thread* self = Thread::Current(); in ~ThreadPool() local 115 void ThreadPool::StartWorkers(Thread* self) { in StartWorkers() 123 void ThreadPool::StopWorkers(Thread* self) { in StopWorkers() 128 Task* ThreadPool::GetTask(Thread* self) { in GetTask() 160 Task* ThreadPool::TryGetTask(Thread* self) { in TryGetTask() 165 Task* ThreadPool::TryGetTaskLocked(Thread* self) { in TryGetTaskLocked() 174 void ThreadPool::Wait(Thread* self, bool do_work, bool may_hold_locks) { in Wait() [all …]
|
D | thread_list.cc | 95 Thread* self = Thread::Current(); in DumpUnattachedThreads() local 122 void ThreadList::AssertThreadsAreSuspended(Thread* self, Thread* ignore1, Thread* ignore2) { in AssertThreadsAreSuspended() 136 static void UnsafeLogFatalForThreadSuspendAllTimeout(Thread* self) NO_THREAD_SAFETY_ANALYSIS { in UnsafeLogFatalForThreadSuspendAllTimeout() 148 Thread* self = Thread::Current(); in RunCheckpoint() local 225 Thread* self = Thread::Current(); in SuspendAll() local 269 Thread* self = Thread::Current(); in ResumeAll() local 299 Thread* self = Thread::Current(); in Resume() local 325 Thread* self = Thread::Current(); in SuspendAllForDebugger() local 367 Thread* self = Thread::Current(); in SuspendSelfForDebugger() local 412 Thread* self = Thread::Current(); in UndoDebuggerSuspensions() local [all …]
|
D | monitor.cc | 197 void Monitor::Lock(Thread* self) { in Lock() 257 Thread* self = Thread::Current(); in ThrowIllegalMonitorStateExceptionF() local 338 bool Monitor::Unlock(Thread* self, bool for_wait) { in Unlock() 391 void Monitor::Wait(Thread* self, int64_t ms, int32_t ns, in Wait() 412 void Monitor::WaitWithLock(Thread* self, int64_t ms, int32_t ns, in WaitWithLock() 529 void Monitor::Notify(Thread* self) { in Notify() 540 void Monitor::NotifyWithLock(Thread* self) { in NotifyWithLock() 556 void Monitor::NotifyAll(Thread* self) { in NotifyAll() 581 void Monitor::Inflate(Thread* self, mirror::Object* obj) { in Inflate() 594 void Monitor::MonitorEnter(Thread* self, mirror::Object* obj) { in MonitorEnter() [all …]
|
D | thread_pool_test.cc | 30 void Run(Thread* self) { in Run() 61 Thread* self = Thread::Current(); in TEST_F() local 76 Thread* self = Thread::Current(); in TEST_F() local 110 void Run(Thread* self) { in Run() 131 Thread* self = Thread::Current(); in TEST_F() local
|
D | class_linker-inl.h | 97 inline mirror::ObjectArray<T>* ClassLinker::AllocObjectArray(Thread* self, size_t length) { in AllocObjectArray() 101 inline mirror::ObjectArray<mirror::Class>* ClassLinker::AllocClassArray(Thread* self, in AllocClassArray() 106 inline mirror::ObjectArray<mirror::String>* ClassLinker::AllocStringArray(Thread* self, in AllocStringArray() 112 inline mirror::ObjectArray<mirror::ArtMethod>* ClassLinker::AllocArtMethodArray(Thread* self, in AllocArtMethodArray() 118 inline mirror::IfTable* ClassLinker::AllocIfTable(Thread* self, size_t ifcount) { in AllocIfTable() 123 inline mirror::ObjectArray<mirror::ArtField>* ClassLinker::AllocArtFieldArray(Thread* self, in AllocArtFieldArray()
|
D | signal_catcher.cc | 72 Thread* self = Thread::Current(); in SignalCatcher() local 125 Thread* self = Thread::Current(); in HandleSigQuit() local 163 int SignalCatcher::WaitForSignal(Thread* self, SignalSet& signals) { in WaitForSignal() 191 Thread* self = Thread::Current(); in Run() local
|
D | barrier_test.cc | 37 void Run(Thread* self) { in Run() 68 Thread* self = Thread::Current(); in TEST_F() local 104 void Run(Thread* self) { in Run() 123 Thread* self = Thread::Current(); in TEST_F() local
|
/art/runtime/jdwp/ |
D | object_registry.cc | 83 Thread* self = Thread::Current(); in Contains() local 89 Thread* self = Thread::Current(); in Clear() local 110 Thread* self = Thread::Current(); in InternalGet() local 121 Thread* self = Thread::Current(); in GetJObject() local 130 Thread* self = Thread::Current(); in DisableCollection() local 140 Thread* self = Thread::Current(); in EnableCollection() local 151 Thread* self = Thread::Current(); in Demote() local 162 Thread* self = Thread::Current(); in Promote() local 172 Thread* self = Thread::Current(); in IsCollected() local 189 Thread* self = Thread::Current(); in DisposeObject() local
|
/art/tools/ |
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/mirror/ |
D | array.cc | 35 Array* Array::Alloc(Thread* self, Class* array_class, int32_t component_count, in Alloc() 63 Array* Array::Alloc(Thread* self, Class* array_class, int32_t component_count) { in Alloc() 76 static Array* RecursiveCreateMultiArray(Thread* self, Class* array_class, int current_dimension, in RecursiveCreateMultiArray() 100 Array* Array::CreateMultiArray(Thread* self, Class* element_class, IntArray* dimensions) { in CreateMultiArray() 146 PrimitiveArray<T>* PrimitiveArray<T>::Alloc(Thread* self, size_t length) { in Alloc()
|
D | object-inl.h | 50 inline void Object::MonitorEnter(Thread* self) { in MonitorEnter() 54 inline bool Object::MonitorExit(Thread* self) { in MonitorExit() 58 inline void Object::Notify(Thread* self) { in Notify() 62 inline void Object::NotifyAll(Thread* self) { in NotifyAll() 66 inline void Object::Wait(Thread* self) { in Wait() 70 inline void Object::Wait(Thread* self, int64_t ms, int32_t ns) { in Wait()
|
D | string.cc | 106 Thread* self = Thread::Current(); in CharAt() local 115 String* String::AllocFromUtf16(Thread* self, in AllocFromUtf16() 140 String* String::AllocFromModifiedUtf8(Thread* self, const char* utf) { in AllocFromModifiedUtf8() 148 String* String::AllocFromModifiedUtf8(Thread* self, int32_t utf16_length, in AllocFromModifiedUtf8() 161 String* String::Alloc(Thread* self, Class* java_lang_String, int32_t utf16_length) { in Alloc() 169 String* String::Alloc(Thread* self, Class* java_lang_String, CharArray* array) { in Alloc()
|