Home
last modified time | relevance | path

Searched defs:self (Results 1 – 25 of 136) sorted by relevance

123456

/art/runtime/entrypoints/quick/
Dquick_jni_entrypoints.cc31 extern uint32_t JniMethodStart(Thread* self) { in JniMethodStart()
44 extern uint32_t JniMethodStartSynchronized(jobject to_lock, Thread* self) { in JniMethodStartSynchronized()
50 static void GoToRunnable(Thread* self) NO_THREAD_SAFETY_ANALYSIS { in GoToRunnable()
63 static void PopLocalReferences(uint32_t saved_local_ref_cookie, Thread* self) in PopLocalReferences()
71 extern void JniMethodEnd(uint32_t saved_local_ref_cookie, Thread* self) { in JniMethodEnd()
78 Thread* self) { in JniMethodEndSynchronized()
85 Thread* self) { in JniMethodEndWithReference()
102 jobject locked, Thread* self) { in JniMethodEndWithReferenceSynchronized()
Dquick_throw_entrypoints.cc35 extern "C" void artDeliverExceptionFromCode(mirror::Throwable* exception, Thread* self, in artDeliverExceptionFromCode()
57 extern "C" void artThrowNullPointerExceptionFromCode(Thread* self, in artThrowNullPointerExceptionFromCode()
69 extern "C" void artThrowDivZeroFromCode(Thread* self, StackReference<mirror::ArtMethod>* sp) in artThrowDivZeroFromCode()
77 extern "C" void artThrowArrayBoundsFromCode(int index, int length, Thread* self, in artThrowArrayBoundsFromCode()
85 extern "C" void artThrowStackOverflowFromCode(Thread* self, StackReference<mirror::ArtMethod>* sp) in artThrowStackOverflowFromCode()
94 extern "C" void artThrowNoSuchMethodFromCode(int32_t method_idx, Thread* self, in artThrowNoSuchMethodFromCode()
103 Thread* self, StackReference<mirror::ArtMethod>* sp) in artThrowClassCastException()
112 Thread* self, StackReference<mirror::ArtMethod>* sp) in artThrowArrayStoreException()
Dquick_field_entrypoints.cc30 Thread* self, StackReference<mirror::ArtMethod>* sp) in artGet32StaticFromCode()
47 Thread* self, StackReference<mirror::ArtMethod>* sp) in artGet64StaticFromCode()
64 Thread* self, in artGetObjStaticFromCode()
82 mirror::ArtMethod* referrer, Thread* self, in artGet32InstanceFromCode()
105 mirror::ArtMethod* referrer, Thread* self, in artGet64InstanceFromCode()
129 Thread* self, in artGetObjInstanceFromCode()
152 mirror::ArtMethod* referrer, Thread* self, in artSet32StaticFromCode()
173 uint64_t new_value, Thread* self, in artSet64StaticFromCode()
194 mirror::ArtMethod* referrer, Thread* self, in artSetObjStaticFromCode()
218 mirror::ArtMethod* referrer, Thread* self, in artSet32InstanceFromCode()
[all …]
Dquick_dexcache_entrypoints.cc30 Thread* self, in artInitializeStaticStorageFromCode()
42 Thread* self, in artInitializeTypeFromCode()
52 Thread* self, in artInitializeTypeAndVerifyAccessFromCode()
62 Thread* self, in artResolveStringFromCode()
/art/runtime/entrypoints/portable/
Dportable_jni_entrypoints.cc25 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()
47 extern "C" void art_portable_jni_method_end(uint32_t saved_local_ref_cookie, Thread* self) in art_portable_jni_method_end()
56 Thread* self) in art_portable_jni_method_end_synchronized()
65 Thread* self) in art_portable_jni_method_end_with_reference()
83 Thread* self) in art_portable_jni_method_end_with_reference_synchronized()
Dportable_throw_entrypoints.cc42 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/
Dthread_pool.cc49 Thread* self = Thread::Current(); in Run() local
68 void ThreadPool::AddTask(Thread* self, Task* task) { in AddTask()
90 Thread* self = Thread::Current(); in ThreadPool() local
107 Thread* self = Thread::Current(); in ~ThreadPool() local
119 void ThreadPool::StartWorkers(Thread* self) { in StartWorkers()
127 void ThreadPool::StopWorkers(Thread* self) { in StopWorkers()
132 Task* ThreadPool::GetTask(Thread* self) { in GetTask()
164 Task* ThreadPool::TryGetTask(Thread* self) { in TryGetTask()
169 Task* ThreadPool::TryGetTaskLocked(Thread* self) { in TryGetTaskLocked()
178 void ThreadPool::Wait(Thread* self, bool do_work, bool may_hold_locks) { in Wait()
[all …]
Dbarrier.cc30 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()
60 void Barrier::Increment(Thread* self, int delta, uint32_t timeout_ms) { in Increment()
79 void Barrier::SetCountLocked(Thread* self, int count) { in SetCountLocked()
Dthread_list.cc57 Thread* self = Thread::Current(); in ~ThreadList() local
124 Thread* self = Thread::Current(); in DumpUnattachedThreads() local
151 void ThreadList::AssertThreadsAreSuspended(Thread* self, Thread* ignore1, Thread* ignore2) { in AssertThreadsAreSuspended()
182 static void ThreadSuspendSleep(Thread* self, useconds_t* delay_us, useconds_t* total_delay_us) { in ThreadSuspendSleep()
199 Thread* self = Thread::Current(); in RunCheckpoint() local
277 Thread* self = Thread::Current(); in RunCheckpointOnRunnableThreads() local
305 Thread* self = Thread::Current(); in SuspendAll() local
367 Thread* self = Thread::Current(); in ResumeAll() local
416 Thread* self = Thread::Current(); in Resume() local
446 static void ThreadSuspendByPeerWarning(Thread* self, int level, const char* message, jobject peer) { in ThreadSuspendByPeerWarning()
[all …]
Dclass_linker-inl.h32 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()
117 inline mirror::ArtMethod* ClassLinker::ResolveMethod(Thread* self, uint32_t method_idx, in ResolveMethod()
159 inline mirror::ObjectArray<T>* ClassLinker::AllocObjectArray(Thread* self, size_t length) { in AllocObjectArray()
163 inline mirror::ObjectArray<mirror::Class>* ClassLinker::AllocClassArray(Thread* self, in AllocClassArray()
168 inline mirror::ObjectArray<mirror::String>* ClassLinker::AllocStringArray(Thread* self, in AllocStringArray()
174 inline mirror::ObjectArray<mirror::ArtMethod>* ClassLinker::AllocArtMethodArray(Thread* self, in AllocArtMethodArray()
180 inline mirror::IfTable* ClassLinker::AllocIfTable(Thread* self, size_t ifcount) { in AllocIfTable()
186 inline mirror::ObjectArray<mirror::ArtField>* ClassLinker::AllocArtFieldArray(Thread* self, in AllocArtFieldArray()
Dmonitor.cc83 Monitor::Monitor(Thread* self, Thread* owner, mirror::Object* obj, int32_t hash_code) in Monitor()
105 Monitor::Monitor(Thread* self, Thread* owner, mirror::Object* obj, int32_t hash_code, in Monitor()
137 bool Monitor::Install(Thread* self) { in Install()
233 void Monitor::Lock(Thread* self) { in Lock()
301 Thread* self = Thread::Current(); in ThrowIllegalMonitorStateExceptionF() local
382 bool Monitor::Unlock(Thread* self) { in Unlock()
430 void Monitor::Wait(Thread* self, int64_t ms, int32_t ns, in Wait()
571 void Monitor::Notify(Thread* self) { in Notify()
594 void Monitor::NotifyAll(Thread* self) { in NotifyAll()
611 bool Monitor::Deflate(Thread* self, mirror::Object* obj) { in Deflate()
[all …]
Dthread_pool_test.cc31 void Run(Thread* self) { in Run()
62 Thread* self = Thread::Current(); in TEST_F() local
77 Thread* self = Thread::Current(); in TEST_F() local
112 void Run(Thread* self) { in Run()
133 Thread* self = Thread::Current(); in TEST_F() local
Dmonitor_pool.h45 static Monitor* CreateMonitor(Thread* self, Thread* owner, mirror::Object* obj, int32_t hash_code) in CreateMonitor()
54 static void ReleaseMonitor(Thread* self, Monitor* monitor) { in ReleaseMonitor()
62 static void ReleaseMonitors(Thread* self, MonitorList::Monitors* monitors) { in ReleaseMonitors()
86 static MonitorId ComputeMonitorId(Monitor* mon, Thread* self) { in ComputeMonitorId()
131 MonitorId ComputeMonitorIdInPool(Monitor* mon, Thread* self) { in ComputeMonitorIdInPool()
Dmonitor_test.cc59 static void FillHeap(Thread* self, ClassLinker* class_linker, in FillHeap()
113 void Run(Thread* self) { in Run()
187 void Run(Thread* self) { in Run()
225 void Run(Thread* self) { in Run()
267 void Run(Thread* self) { in Run()
312 Thread* self = Thread::Current(); in CommonWaitSetup() local
327 Thread* self = Thread::Current(); in CommonWaitSetup() local
344 Thread* self = Thread::Current(); in CommonWaitSetup() local
/art/runtime/base/
Dmutex.h209 void Lock(Thread* self) EXCLUSIVE_LOCK_FUNCTION() { ExclusiveLock(self); } in Lock()
213 bool TryLock(Thread* self) EXCLUSIVE_TRYLOCK_FUNCTION(true) { return ExclusiveTryLock(self); } in TryLock()
217 void Unlock(Thread* self) UNLOCK_FUNCTION() { ExclusiveUnlock(self); } in Unlock()
223 void AssertExclusiveHeld(const Thread* self) { in AssertExclusiveHeld()
228 void AssertHeld(const Thread* self) { AssertExclusiveHeld(self); } in AssertHeld()
231 void AssertNotHeldExclusive(const Thread* self) { in AssertNotHeldExclusive()
236 void AssertNotHeld(const Thread* self) { AssertNotHeldExclusive(self); } in AssertNotHeld()
293 void WriterLock(Thread* self) EXCLUSIVE_LOCK_FUNCTION() { ExclusiveLock(self); } in WriterLock()
297 void WriterUnlock(Thread* self) UNLOCK_FUNCTION() { ExclusiveUnlock(self); } in WriterUnlock()
308 void ReaderLock(Thread* self) SHARED_LOCK_FUNCTION() { SharedLock(self); } in ReaderLock()
[all …]
Dmutex-inl.h76 static inline uint64_t SafeGetTid(const Thread* self) { in SafeGetTid()
108 inline void BaseMutex::RegisterAsLocked(Thread* self) { in RegisterAsLocked()
138 inline void BaseMutex::RegisterAsUnlocked(Thread* self) { in RegisterAsUnlocked()
151 inline void ReaderWriterMutex::SharedLock(Thread* self) { in SharedLock()
180 inline void ReaderWriterMutex::SharedUnlock(Thread* self) { in SharedUnlock()
211 inline bool Mutex::IsExclusiveHeld(const Thread* self) const { in IsExclusiveHeld()
227 inline bool ReaderWriterMutex::IsExclusiveHeld(const Thread* self) const { in IsExclusiveHeld()
Dmutex.cc150 void BaseMutex::CheckSafeToWait(Thread* self) { in CheckSafeToWait()
313 void Mutex::ExclusiveLock(Thread* self) { in ExclusiveLock()
356 bool Mutex::ExclusiveTryLock(Thread* self) { in ExclusiveTryLock()
397 void Mutex::ExclusiveUnlock(Thread* self) { in ExclusiveUnlock()
492 void ReaderWriterMutex::ExclusiveLock(Thread* self) { in ExclusiveLock()
526 void ReaderWriterMutex::ExclusiveUnlock(Thread* self) { in ExclusiveUnlock()
561 bool ReaderWriterMutex::ExclusiveLockWithTimeout(Thread* self, int64_t ms, int32_t ns) { in ExclusiveLockWithTimeout()
615 bool ReaderWriterMutex::SharedTryLock(Thread* self) { in SharedTryLock()
711 void ConditionVariable::Broadcast(Thread* self) { in Broadcast()
739 void ConditionVariable::Signal(Thread* self) { in Signal()
[all …]
/art/runtime/jdwp/
Dobject_registry.cc52 Thread* const self = Thread::Current(); in InternalAdd() local
91 bool ObjectRegistry::ContainsLocked(Thread* self, mirror::Object* o, int32_t identity_hash_code, in ContainsLocked()
108 Thread* self = Thread::Current(); in Clear() local
128 Thread* self = Thread::Current(); in InternalGet() local
142 Thread* self = Thread::Current(); in GetJObject() local
151 Thread* self = Thread::Current(); in DisableCollection() local
159 Thread* self = Thread::Current(); in EnableCollection() local
168 Thread* self = Thread::Current(); in Demote() local
179 Thread* self = Thread::Current(); in Promote() local
189 Thread* self = Thread::Current(); in IsCollected() local
[all …]
/art/runtime/gc/
Dreference_processor.cc46 void ReferenceProcessor::DisableSlowPath(Thread* self) { in DisableSlowPath()
51 mirror::Object* ReferenceProcessor::GetReferent(Thread* self, mirror::Reference* reference) { in GetReferent()
100 void ReferenceProcessor::StartPreservingReferences(Thread* self) { in StartPreservingReferences()
105 void ReferenceProcessor::StopPreservingReferences(Thread* self) { in StopPreservingReferences()
120 Thread* self = Thread::Current(); in ProcessReferences() local
193 Thread* self = Thread::Current(); in DelayReferenceReferent() local
216 void ReferenceProcessor::EnqueueClearedReferences(Thread* self) { in EnqueueClearedReferences()
233 Thread* self = Thread::Current(); in MakeCircularListIfUnenqueued() local
Dheap-inl.h39 inline mirror::Object* Heap::AllocObjectWithAllocator(Thread* self, mirror::Class* klass, in AllocObjectWithAllocator()
172 inline void Heap::PushOnAllocationStack(Thread* self, mirror::Object** obj) { in PushOnAllocationStack()
183 inline mirror::Object* Heap::AllocLargeObject(Thread* self, mirror::Class** klass, in AllocLargeObject()
195 inline mirror::Object* Heap::TryToAllocate(Thread* self, AllocatorType allocator_type, in TryToAllocate()
322 inline void Heap::CheckConcurrentGC(Thread* self, size_t new_num_bytes_allocated, in CheckConcurrentGC()
/art/tools/
Dcpplint.py460 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/arch/
Dstub_test.cc61 Thread::tls_ptr_sized_values* GetTlsPtr(Thread* self) { in GetTlsPtr()
66 size_t Invoke3(size_t arg0, size_t arg1, size_t arg2, uintptr_t code, Thread* self) { in Invoke3()
71 size_t Invoke3WithReferrer(size_t arg0, size_t arg1, size_t arg2, uintptr_t code, Thread* self, in Invoke3WithReferrer()
295 Thread* self, mirror::ArtMethod* referrer, size_t hidden) { in Invoke3WithReferrerAndHidden()
521 size_t Invoke3UWithReferrer(size_t arg0, uint64_t arg1, uintptr_t code, Thread* self, in Invoke3UWithReferrer()
537 Thread* self, mirror::ArtMethod* referrer) { in Invoke3UUWithReferrer()
547 static uintptr_t GetEntrypoint(Thread* self, QuickEntrypointEnum entrypoint) { in GetEntrypoint()
564 Thread* self = Thread::Current(); in TEST_F() local
603 Thread* self = Thread::Current(); in TEST_F() local
676 Thread* self = Thread::Current(); in TestUnlockObject() local
[all …]
/art/runtime/entrypoints/
Dentrypoint_utils-inl.h42 Thread* self, bool* slow_path) { in CheckObjectAlloc()
94 Thread* self, in CheckClassInitializedForObjectAlloc()
125 Thread* self, in AllocObjectFromCode()
144 Thread* self, in AllocObjectFromCodeResolved()
166 Thread* self, in AllocObjectFromCodeInitialized()
215 Thread* self, in AllocArrayFromCode()
237 Thread* self, in AllocArrayFromCodeResolved()
259 Thread* self, size_t expected_size) { in FindFieldFromCode()
355 mirror::ArtMethod** referrer, Thread* self) { in FindMethodFromCode()
577 Thread* self, bool can_run_clinit, in ResolveVerifyAndClinit()
[all …]
/art/runtime/gc/space/
Drosalloc_space.h51 mirror::Object* Alloc(Thread* self, size_t num_bytes, size_t* bytes_allocated, in Alloc()
55 mirror::Object* AllocThreadUnsafe(Thread* self, size_t num_bytes, size_t* bytes_allocated, in AllocThreadUnsafe()
68 mirror::Object* AllocNonvirtual(Thread* self, size_t num_bytes, size_t* bytes_allocated, in AllocNonvirtual()
73 mirror::Object* AllocNonvirtualThreadUnsafe(Thread* self, size_t num_bytes, in AllocNonvirtualThreadUnsafe()
Dvalgrind_malloc_space-inl.h33 mirror::Object* ValgrindMallocSpace<S, A>::AllocWithGrowth(Thread* self, size_t num_bytes, in AllocWithGrowth()
50 mirror::Object* ValgrindMallocSpace<S, A>::Alloc(Thread* self, size_t num_bytes, in Alloc()
74 size_t ValgrindMallocSpace<S, A>::Free(Thread* self, mirror::Object* ptr) { in Free()
85 size_t ValgrindMallocSpace<S, A>::FreeList(Thread* self, size_t num_ptrs, mirror::Object** ptrs) { in FreeList()

123456