/bionic/libc/bionic/ |
fork.cpp | 40 pthread_internal_t* self = __get_thread(); local 48 &(self->tid)); 51 // self->tid is updated by the kernel). 52 self->set_cached_pid(gettid());
|
getpid.cpp | 36 pthread_internal_t* self = __get_thread(); local 37 if (__predict_true(self)) { 39 if (__predict_true(self->get_cached_pid(&cached_pid))) {
|
gettid.cpp | 35 pthread_internal_t* self = __get_thread(); local 36 if (__predict_true(self)) { 37 pid_t tid = self->tid; 41 self->tid = syscall(__NR_gettid); 42 return self->tid;
|
/external/webrtc/webrtc/common_audio/vad/ |
vad_core_unittest.cc | 25 VadInstT* self = reinterpret_cast<VadInstT*>(malloc(sizeof(VadInstT))); local 31 EXPECT_EQ(0, WebRtcVad_InitCore(self)); 33 EXPECT_EQ(42, self->init_flag); 35 free(self); 39 VadInstT* self = reinterpret_cast<VadInstT*>(malloc(sizeof(VadInstT))); local 44 ASSERT_EQ(0, WebRtcVad_InitCore(self)); 47 EXPECT_EQ(-1, WebRtcVad_set_mode_core(self, -1)); 48 EXPECT_EQ(-1, WebRtcVad_set_mode_core(self, 1000)); 51 EXPECT_EQ(0, WebRtcVad_set_mode_core(self, kModes[j])); 54 free(self); 58 VadInstT* self = reinterpret_cast<VadInstT*>(malloc(sizeof(VadInstT))); local [all...] |
vad_filterbank_unittest.cc | 27 VadInstT* self = reinterpret_cast<VadInstT*>(malloc(sizeof(VadInstT))); local 46 ASSERT_EQ(0, WebRtcVad_InitCore(self)); 50 WebRtcVad_CalculateFeatures(self, speech, kFrameLengths[j], 63 ASSERT_EQ(0, WebRtcVad_InitCore(self)); 66 EXPECT_EQ(0, WebRtcVad_CalculateFeatures(self, speech, kFrameLengths[j], 81 ASSERT_EQ(0, WebRtcVad_InitCore(self)); 82 EXPECT_EQ(0, WebRtcVad_CalculateFeatures(self, speech, kFrameLengths[j], 90 free(self);
|
vad_sp_unittest.cc | 25 VadInstT* self = reinterpret_cast<VadInstT*>(malloc(sizeof(VadInstT))); local 58 ASSERT_EQ(0, WebRtcVad_InitCore(self)); 66 EXPECT_EQ(kReferenceMin[i], WebRtcVad_FindMinimum(self, value, j)); 67 EXPECT_EQ(kReferenceMin[i + 16], WebRtcVad_FindMinimum(self, 12000, j)); 69 self->frame_counter++; 72 free(self);
|
/art/runtime/entrypoints/jni/ |
jni_entrypoints.cc | 31 Thread* self = Thread::Current(); local 33 extern "C" const void* artFindNativeMethod(Thread* self) { 34 DCHECK_EQ(self, Thread::Current()); 36 Locks::mutator_lock_->AssertNotHeld(self); // We come here as Native. 37 ScopedObjectAccess soa(self); 39 ArtMethod* method = self->GetCurrentMethod(nullptr); 46 self->AssertPendingException();
|
/art/runtime/ |
non_debuggable_classes.cc | 31 Thread* self = Thread::Current(); local 32 JNIEnvExt* env = self->GetJniEnv(); 33 ObjPtr<mirror::Class> mirror_klass(self->DecodeJObject(klass)->AsClass()); 35 if (self->DecodeJObject(c)->AsClass() == mirror_klass) {
|
monitor_objects_stack_visitor.cc | 91 MonitorObjectsStackVisitor* self = reinterpret_cast<MonitorObjectsStackVisitor*>(context); local 100 self->VisitLockedObject(o);
|
barrier_test.cc | 35 void Run(Thread* self) override { 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...] |
class_loader_utils.h | 74 Thread* self = soa.Self(); local 86 StackHandleScope<1> hs(self);
|
/art/openjdkjvmti/ |
ti_ddms.cc | 63 art::Thread* self = art::Thread::Current(); local 64 art::ScopedThreadStateChange stcs(self, art::ThreadState::kNative); 68 if (!art::Dbg::DdmHandleChunk(self->GetJniEnv(),
|
jvmti_weak_table.h | 84 art::Thread* self = art::Thread::Current(); variable 85 art::MutexLock mu(self, allow_disallow_lock_); 86 Wait(self); variable 88 return GetTagLocked(self, obj, result); 93 art::Thread* self = art::Thread::Current(); local 94 allow_disallow_lock_.AssertHeld(self); 95 Wait(self); 97 return GetTagLocked(self, obj, result); 135 bool SetLocked(art::Thread* self, art::ObjPtr<art::mirror::Object> obj, T tag) 140 bool RemoveLocked(art::Thread* self, art::ObjPtr<art::mirror::Object> obj, /* out */ T* tag [all...] |
ti_dump.cc | 76 art::Thread* self = art::Thread::Current(); local 77 if (jvmti == nullptr || self == nullptr) { 85 DeoptManager::Get()->DumpDeoptInfo(self, ss);
|
ti_object.cc | 87 art::Thread* self = art::Thread::Current(); local 88 ThreadUtil::SuspendCheck(self); 89 art::JNIEnvExt* jni = self->GetJniEnv(); 93 art::ScopedObjectAccess soa(self); // Now we know we have the shared lock. 94 art::ScopedThreadSuspension sts(self, art::kNative); 96 art::ObjPtr<art::mirror::Object> target(self->DecodeJObject(obj)); 110 art::MutexLock tll(self, *art::Locks::thread_list_lock_);
|
transform.cc | 91 art::Thread* self = art::Thread::Current(); variable 92 if (UNLIKELY(uninitialized_class_definitions_lock_.IsExclusiveHeld(self))) { 93 if (self != nullptr) { 108 art::MutexLock mu(self, uninitialized_class_definitions_lock_); 133 if (LIKELY(self != nullptr)) { 134 CHECK_EQ(self->GetState(), art::ThreadState::kNative) 143 art::MutexLock mu(self, uninitialized_class_definitions_lock_); 149 class_definition_initialized_cond_.Broadcast(self); 248 EventHandler* event_handler, art::Thread* self, /*in-out*/ArtClassDefinition* def); 251 EventHandler* event_handler, art::Thread* self, /*in-out*/ArtClassDefinition* def) [all...] |
/device/generic/goldfish-opengl/tests/gles_android_wrapper/ |
ApiInitializer.h | 28 ApiInitializer *self = (ApiInitializer *)userData; local 29 return self->getProc(name);
|
/external/parameter-framework/upstream/xmlserializer/ |
XmlSerializingContext.cpp | 60 CXmlSerializingContext *self = static_cast<CXmlSerializingContext *>(userData); local 64 self->_strXmlError += filename + ":" + std::to_string(error->line) + ":" +
|
/external/webrtc/webrtc/modules/audio_processing/ns/ |
noise_suppression_x.c | 20 NoiseSuppressionFixedC* self = malloc(sizeof(NoiseSuppressionFixedC)); local 22 self->real_fft = NULL; 23 self->initFlag = 0; 24 return (NsxHandle*)self;
|
noise_suppression.c | 21 NoiseSuppressionC* self = malloc(sizeof(NoiseSuppressionC)); local 22 self->initFlag = 0; 23 return (NsHandle*)self; 51 NoiseSuppressionC* self = (NoiseSuppressionC*)handle; local 55 if (self->initFlag == 0) { 58 return self->priorSpeechProb;
|
/art/test/136-daemon-jni-shutdown/ |
daemon_jni_shutdown.cc | 58 Thread* const self = Thread::Current(); local 59 self->SetTopOfStack(nullptr); 60 self->SetTopOfShadowStack(nullptr);
|
/external/perfetto/src/base/ |
thread_checker.cc | 54 auto self = CurrentThreadId(); local 58 if (thread_id_.compare_exchange_strong(prev_value, self)) 60 return prev_value == self;
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue73/ |
RecursiveSetTest.java | 78 Set<Object> self = (Set<Object>) set.iterator().next(); local 79 assertEquals(LinkedHashSet.class, self.getClass()); 80 assertEquals(set, self); 81 assertSame(set, self); 83 assertEquals(1, self.size()); 86 assertEquals(2, self.size()); 88 self.clear(); 89 assertTrue(self.isEmpty()); 96 assertEquals(1, self.size());
|
/art/compiler/utils/ |
dedupe_set_test.cc | 55 Thread* self = Thread::Current(); local 66 array1 = deduplicator.Add(self, test1); 75 array2 = deduplicator.Add(self, test2); 84 array3 = deduplicator.Add(self, test3);
|
/art/dex2oat/dex/ |
dex_to_dex_decompiler_test.cc | 53 Thread* self = Thread::Current(); local 57 ScopedObjectAccess soa(self); 66 ScopedObjectAccess soa(self);
|