Searched refs:self (Results 176 - 186 of 186) sorted by path

12345678

/art/runtime/
H A Dthread.h204 void ModifySuspendCount(Thread* self, int delta, bool for_debugger)
424 void Interrupt(Thread* self) LOCKS_EXCLUDED(wait_mutex_);
431 void NotifyLocked(Thread* self) EXCLUSIVE_LOCKS_REQUIRED(wait_mutex_);
551 return ThreadOffsetFromTlsPtr<pointer_size>(OFFSETOF_MEMBER(tls_ptr_sized_values, self));
1024 managed_stack(), suspend_trigger(nullptr), jni_env(nullptr), self(nullptr), opeer(nullptr),
1058 Thread* self; variable
H A Dthread_list.cc56 Thread* self = Thread::Current(); local
57 MutexLock mu(self, *Locks::thread_list_lock_);
58 contains = Contains(self);
118 DIR* d = opendir("/proc/self/task");
123 Thread* self = Thread::Current(); local
131 MutexLock mu(self, *Locks::thread_list_lock_);
150 void ThreadList::AssertThreadsAreSuspended(Thread* self, Thread* ignore1, Thread* ignore2) { argument
151 MutexLock mu(self, *Locks::thread_list_lock_);
152 MutexLock mu2(self, *Locks::thread_suspend_count_lock_);
157 << "self
179 ThreadSuspendSleep(Thread* self, useconds_t* delay_us, useconds_t* total_delay_us) argument
196 Thread* self = Thread::Current(); local
274 Thread* self = Thread::Current(); local
302 Thread* self = Thread::Current(); local
364 Thread* self = Thread::Current(); local
413 Thread* self = Thread::Current(); local
443 ThreadSuspendByPeerWarning(Thread* self, int level, const char* message, jobject peer) argument
464 Thread* self = Thread::Current(); local
536 Thread* self = Thread::Current(); local
603 Thread* self = Thread::Current(); local
615 Thread* self = Thread::Current(); local
657 Thread* self = Thread::Current(); local
717 Thread* self = Thread::Current(); local
745 Thread* self = Thread::Current(); local
771 Thread* self = Thread::Current(); local
804 Register(Thread* self) argument
830 Unregister(Thread* self) argument
910 AllocThreadId(Thread* self) argument
922 ReleaseThreadId(Thread* self, uint32_t id) argument
[all...]
H A Dthread_list.h86 // Find an already suspended thread (or self) by its id.
116 void Register(Thread* self)
119 void Unregister(Thread* self) LOCKS_EXCLUDED(Locks::mutator_lock_, Locks::thread_list_lock_);
136 uint32_t AllocThreadId(Thread* self);
137 void ReleaseThreadId(Thread* self, uint32_t id) LOCKS_EXCLUDED(Locks::allocated_thread_ids_lock_);
152 void AssertThreadsAreSuspended(Thread* self, Thread* ignore1, Thread* ignore2 = NULL)
H A Dthread_pool.cc49 Thread* self = Thread::Current(); local
51 thread_pool_->creation_barier_.Wait(self);
52 while ((task = thread_pool_->GetTask(self)) != NULL) {
53 task->Run(self);
68 void ThreadPool::AddTask(Thread* self, Task* task) { argument
69 MutexLock mu(self, task_queue_lock_);
73 task_queue_condition_.Signal(self);
90 Thread* self = Thread::Current(); local
96 creation_barier_.Wait(self);
107 Thread* self local
119 StartWorkers(Thread* self) argument
127 StopWorkers(Thread* self) argument
132 GetTask(Thread* self) argument
164 TryGetTask(Thread* self) argument
169 TryGetTaskLocked(Thread* self) argument
178 Wait(Thread* self, bool do_work, bool may_hold_locks) argument
197 GetTaskCount(Thread* self) argument
207 Thread* self = Thread::Current(); local
287 FindTaskToStealFrom(Thread* self) argument
[all...]
H A Dthread_pool.h72 void StartWorkers(Thread* self);
75 void StopWorkers(Thread* self);
79 void AddTask(Thread* self, Task* task);
85 void Wait(Thread* self, bool do_work, bool may_hold_locks);
87 size_t GetTaskCount(Thread* self);
100 virtual Task* GetTask(Thread* self);
103 Task* TryGetTask(Thread* self);
104 Task* TryGetTaskLocked(Thread* self) EXCLUSIVE_LOCKS_REQUIRED(task_queue_lock_);
142 virtual void StealFrom(Thread* self, WorkStealingTask* source) = 0;
181 WorkStealingTask* FindTaskToStealFrom(Thread* self) EXCLUSIVE_LOCKS_REQUIRE
[all...]
H A Dthread_pool_test.cc31 void Run(Thread* self) { argument
33 LOG(INFO) << "Running: " << *self;
62 Thread* self = Thread::Current(); local
67 thread_pool.AddTask(self, new CountTask(&count));
69 thread_pool.StartWorkers(self);
71 thread_pool.Wait(self, true, false);
77 Thread* self = Thread::Current(); local
82 thread_pool.AddTask(self, new CountTask(&count));
88 thread_pool.StartWorkers(self);
90 thread_pool.StopWorkers(self);
112 Run(Thread* self) argument
133 Thread* self = Thread::Current(); local
[all...]
H A Dtrace.cc192 Thread* self = Thread::Current(); local
193 uint64_t start = self->GetCpuMicroTime();
206 uint64_t elapsed_us = self->GetCpuMicroTime() - start;
304 Thread* self = Thread::Current(); local
307 MutexLock mu(self, *Locks::trace_lock_);
316 MutexLock mu(self, *Locks::thread_list_lock_);
329 Thread* self = Thread::Current(); local
331 MutexLock mu(self, *Locks::trace_lock_);
341 ScopedObjectAccess soa(self);
357 ScopedObjectAccess soa(self);
708 Thread* self = Thread::Current(); local
[all...]
H A Dtransaction.cc121 Thread* self = Thread::Current(); local
122 self->AssertNoPendingException();
123 MutexLock mu1(self, *Locks::intern_table_lock_);
124 MutexLock mu2(self, log_lock_);
/art/runtime/verifier/
H A Dmethod_verifier.cc2194 Thread* self = Thread::Current(); local
2195 StackHandleScope<1> hs(self);
2204 DCHECK(!can_load_classes_ || self->IsExceptionPending());
2205 self->ClearException();
2240 Thread* self = Thread::Current(); local
2241 StackHandleScope<1> hs(self);
2250 DCHECK(!can_load_classes_ || self->IsExceptionPending());
2251 self->ClearException();
2820 Thread* self = Thread::Current(); local
2821 DCHECK(self
3710 Thread* self = Thread::Current(); local
3792 Thread* self = Thread::Current(); local
3861 Thread* self = Thread::Current(); local
4045 Thread* self = Thread::Current(); local
[all...]
H A Dreg_type_cache.cc143 Thread* self = Thread::Current(); local
144 StackHandleScope<1> hs(self);
148 klass = class_linker->FindClass(self, descriptor, class_loader);
/art/tools/
H A Dcpplint.py437 # self._section will move monotonically through this set. If it ever
460 def __init__(self):
461 dict.__init__(self)
463 self._section = self._INITIAL_SECTION
465 self._last_header = ''
467 def CanonicalizeAlphabeticalOrder(self, header_path):
482 def IsInAlphabeticalOrder(self, header_path):
491 canonical_header = self.CanonicalizeAlphabeticalOrder(header_path)
492 if self
[all...]

Completed in 232 milliseconds

12345678