HomeSort by relevance Sort by last modified time
    Searched defs:self (Results 1 - 25 of 304) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /bionic/libc/bionic/
getpid.cpp 36 pthread_internal_t* self = __get_thread(); local
40 if (__predict_true(self->get_cached_pid(&cached_pid))) {
fork.cpp 39 pthread_internal_t* self = __get_thread(); local
42 pid_t parent_pid = self->invalidate_cached_pid();
45 int result = syscall(__NR_clone, FORK_FLAGS, NULL, NULL, &(self->tid), NULL);
47 int result = syscall(__NR_clone, FORK_FLAGS, NULL, NULL, NULL, &(self->tid));
50 self->set_cached_pid(gettid());
53 self->set_cached_pid(parent_pid);
clone.cpp 70 pthread_internal_t* self = __get_thread(); local
71 pid_t parent_pid = self->invalidate_cached_pid();
81 self->set_cached_pid(parent_pid);
  /art/runtime/entrypoints/jni/
jni_entrypoints.cc 29 Thread* self = Thread::Current(); local
31 extern "C" void* artFindNativeMethod(Thread* self) {
32 DCHECK_EQ(self, Thread::Current());
34 Locks::mutator_lock_->AssertNotHeld(self); // We come here as Native.
35 ScopedObjectAccess soa(self);
37 ArtMethod* method = self->GetCurrentMethod(nullptr);
44 DCHECK(self->IsExceptionPending());
  /device/generic/goldfish/opengl/tests/gles_android_wrapper/
ApiInitializer.h 28 ApiInitializer *self = (ApiInitializer *)userData; local
29 return self->getProc(name);
  /art/compiler/dex/quick/
dex_file_to_method_inliner_map.cc 41 Thread* self = Thread::Current(); local
43 ReaderMutexLock mu(self, lock_);
58 WriterMutexLock mu(self, lock_);
66 locked_inliner->lock_.ExclusiveLock(self); // Acquire inliner's lock_ before releasing lock_.
69 locked_inliner->lock_.ExclusiveUnlock(self);
  /art/runtime/gc/
reference_queue_test.cc 29 Thread* self = Thread::Current(); local
30 StackHandleScope<20> hs(self);
34 ScopedObjectAccess soa(self);
37 Runtime::Current()->GetClassLinker()->FindClass(self, "Ljava/lang/ref/WeakReference;",
40 auto ref1(hs.NewHandle(ref_class->AllocObject(self)->AsReference()));
42 auto ref2(hs.NewHandle(ref_class->AllocObject(self)->AsReference()));
60 Thread* self = Thread::Current(); local
61 StackHandleScope<20> hs(self);
64 ScopedObjectAccess soa(self);
67 Runtime::Current()->GetClassLinker()->FindClass(self, "Ljava/lang/ref/WeakReference;"
    [all...]
  /art/runtime/verifier/
method_verifier_test.cc 35 Thread* self = Thread::Current(); local
36 mirror::Class* klass = class_linker_->FindSystemClass(self, descriptor.c_str());
40 ASSERT_TRUE(MethodVerifier::VerifyClass(self, klass, true, &error_msg) == MethodVerifier::kNoFailure)
  /external/linux-tools-perf/src/tools/perf/util/
thread.c 12 struct thread *self = zalloc(sizeof(*self)); local
14 if (self != NULL) {
15 map_groups__init(&self->mg);
16 self->pid_ = pid;
17 self->tid = tid;
18 self->ppid = -1;
19 self->comm = malloc(32);
20 if (self->comm)
21 snprintf(self->comm, 32, ":%d", self->tid)
    [all...]
  /hardware/ti/omap3/dspbridge/inc/
list.h 65 struct LST_ELEM *self; member in struct:LST_ELEM
172 * - head.self must be correctly set to &head.
274 * pElem->self = pElem before pElem is passed to this function.
281 * Warning: if pElem->self is not set beforehand, LST_GetHead() will
  /hardware/ti/omap3/dspbridge/libbridge/inc/
list.h 65 struct LST_ELEM *self; member in struct:LST_ELEM
172 * - head.self must be correctly set to &head.
274 * pElem->self = pElem before pElem is passed to this function.
281 * Warning: if pElem->self is not set beforehand, LST_GetHead() will
  /art/compiler/utils/
dedupe_set_test.cc 40 Thread* self = Thread::Current(); local
52 array1 = deduplicator.Add(self, test1);
64 array2 = deduplicator.Add(self, test1);
76 array3 = deduplicator.Add(self, test1);
  /art/runtime/
monitor_pool_test.cc 39 static void VerifyMonitor(Monitor* mon, Thread* self) {
43 EXPECT_EQ(MonitorPool::ComputeMonitorId(mon, self), mon->GetMonitorId());
58 Thread* self = Thread::Current(); local
59 ScopedObjectAccess soa(self);
74 Monitor* mon = MonitorPool::CreateMonitor(self, self, nullptr, static_cast<int32_t>(i));
77 VerifyMonitor(mon, self);
85 VerifyMonitor(mon, self);
87 MonitorPool::ReleaseMonitor(self, mon);
97 Monitor* mon = MonitorPool::CreateMonitor(self, self, nullptr
    [all...]
thread_pool_test.cc 31 void Run(Thread* self) {
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);
129 Thread* self = Thread::Current(); local
    [all...]
barrier_test.cc 35 void Run(Thread* self) {
36 LOG(INFO) << "Before barrier" << *self;
38 barrier_->Wait(self);
40 LOG(INFO) << "After barrier" << *self;
62 Thread* self = Thread::Current(); local
69 thread_pool.AddTask(self, new CheckWaitTask(&barrier, &count1, &count2));
71 thread_pool.StartWorkers(self);
73 timeout_barrier.Increment(self, 1, 100); // sleep 100 msecs
78 barrier.Wait(self);
80 thread_pool.Wait(self, true, false)
113 Thread* self = Thread::Current(); local
    [all...]
jni_env_ext.h 37 static JNIEnvExt* Create(Thread* self, JavaVMExt* vm);
60 return Offset(OFFSETOF_MEMBER(JNIEnvExt, self));
66 Thread* const self; member in struct:art::JNIEnvExt
95 JNIEnvExt(Thread* self, JavaVMExt* vm);
  /external/libunwind/tests/
test-ptrace-misc.c 36 pid_t self; variable
102 kill (self, SIGUSR1); /* tell test-ptrace to start single-stepping */
104 kill (self, SIGUSR2); /* tell test-ptrace to stop single-stepping */
116 self = getpid ();
  /external/selinux/checkpolicy/
checkpolicy.h 10 int self; member in struct:te_assert
  /prebuilts/python/darwin-x86/2.7.5/include/python2.7/
weakrefobject.h 67 PyAPI_FUNC(void) _PyWeakref_ClearRef(PyWeakReference *self); variable
  /prebuilts/python/linux-x86/2.7.5/include/python2.7/
weakrefobject.h 67 PyAPI_FUNC(void) _PyWeakref_ClearRef(PyWeakReference *self); variable
  /system/core/healthd/
BatteryPropertiesRegistrar.cpp 80 IPCThreadState* self = IPCThreadState::self(); local
81 const int pid = self->getCallingPid();
82 const int uid = self->getCallingUid();
  /art/compiler/dex/
verification_results.cc 41 Thread* self = Thread::Current(); local
43 WriterMutexLock mu(self, verified_methods_lock_);
  /art/runtime/arch/arm64/
fault_handler_arm64.cc 48 Thread* self = Thread::Current(); local
49 CHECK(self != nullptr); // This will cause a SIGABRT if self is null.
51 sc->regs[0] = reinterpret_cast<uintptr_t>(*self->GetNestedSignalState());
  /libcore/dalvik/src/main/java/dalvik/system/profiler/
AsciiHprofWriter.java 73 out.printf("rank self accum count trace method\n");
80 double self = (double)count/(double)total; local
81 accum += self;
85 rank, self*100, accum*100, count, stackTrace.stackTraceId,
  /art/runtime/arch/arm/
fault_handler_arm.cc 58 Thread* self = Thread::Current(); local
59 CHECK(self != nullptr); // This will cause a SIGABRT if self is null.
61 sc->arm_r0 = reinterpret_cast<uintptr_t>(*self->GetNestedSignalState());

Completed in 1138 milliseconds

1 2 3 4 5 6 7 8 91011>>