/bionic/libc/bionic/ |
fork.cpp | 38 pthread_internal_t* self = __get_thread(); local 46 &(self->tid)); 49 // self->tid is updated by the kernel). 50 self->set_cached_pid(gettid());
|
getpid.cpp | 36 pthread_internal_t* self = __get_thread(); local 38 if (__predict_true(self)) { 41 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 | 30 Thread* self = Thread::Current(); local 31 JNIEnvExt* env = self->GetJniEnv(); 32 ObjPtr<mirror::Class> mirror_klass(self->DecodeJObject(klass)->AsClass()); 34 if (self->DecodeJObject(c)->AsClass() == mirror_klass.Ptr()) {
|
obj_ptr-inl.h | 50 Thread* self = Thread::Current(); local 51 DCHECK(self != nullptr); 52 ref |= self->GetPoisonObjectCookie() << kCookieShift;
|
class_loader_utils.h | 64 Thread* self = soa.Self(); local 76 StackHandleScope<1> hs(self); 91 self->AssertNoPendingException();
|
/art/openjdkjvmti/ |
ti_ddms.cc | 62 art::Thread* self = art::Thread::Current(); local 63 art::ScopedThreadStateChange(self, art::ThreadState::kNative); 67 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::mirror::Object* obj, T tag) 140 bool RemoveLocked(art::Thread* self, art::mirror::Object* obj, /* out */ T* tag [all...] |
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 | 89 art::Thread* self = art::Thread::Current(); variable 90 if (UNLIKELY(uninitialized_class_definitions_lock_.IsExclusiveHeld(self))) { 91 if (self != nullptr) { 106 art::MutexLock mu(self, uninitialized_class_definitions_lock_); 131 if (LIKELY(self != nullptr)) { 132 CHECK_EQ(self->GetState(), art::ThreadState::kNative) 141 art::MutexLock mu(self, uninitialized_class_definitions_lock_); 147 class_definition_initialized_cond_.Broadcast(self); 246 EventHandler* event_handler, art::Thread* self, /*in-out*/ArtClassDefinition* def); 249 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 | 42 pthread_t self = pthread_self(); local 46 if (thread_id_.compare_exchange_strong(prev_value, self)) 48 return prev_value == self;
|
/frameworks/native/libs/ui/include/ui/ |
ANativeObjectBase.h | 56 static inline TYPE* getSelf(NATIVE_TYPE* self) { 57 return static_cast<TYPE*>(self); 59 static inline TYPE const* getSelf(NATIVE_TYPE const* self) { 60 return static_cast<TYPE const *>(self); 69 ANativeObjectBase* self = getSelf(base); local 70 self->incStrong(self); 73 ANativeObjectBase* self = getSelf(base); local 74 self->decStrong(self); [all...] |
/system/core/libprocinfo/ |
process_test.cpp | 43 android::procinfo::ProcessInfo self; local 44 ASSERT_TRUE(android::procinfo::GetProcessInfo(gettid(), &self)); 45 ASSERT_EQ(gettid(), self.tid); 46 ASSERT_EQ(getpid(), self.pid); 47 ASSERT_EQ(getppid(), self.ppid); 48 ASSERT_EQ(getuid(), self.uid); 49 ASSERT_EQ(getgid(), self.gid); 53 android::procinfo::ProcessInfo self; local 56 ASSERT_TRUE(android::procinfo::GetProcessInfoFromProcPidFd(fd, &self)); 59 ASSERT_EQ("libprocinfo_tes", self.name) [all...] |
/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/dex/ |
dex_to_dex_decompiler_test.cc | 52 Thread* self = Thread::Current(); local 56 ScopedObjectAccess soa(self); 65 ScopedObjectAccess soa(self);
|
/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);
|