/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);
|
/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 | 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());
|
/art/test/136-daemon-jni-shutdown/ |
daemon_jni_shutdown.cc | 44 Thread* const self = Thread::Current(); local 45 self->SetTopOfStack(nullptr); 46 self->SetTopOfShadowStack(nullptr);
|
/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/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 ScopedObjectAccess soa(self); 31 StackHandleScope<20> hs(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())); 63 Thread* self = Thread::Current(); local 64 ScopedObjectAccess soa(self); 65 StackHandleScope<20> hs(self); 70 Runtime::Current()->GetClassLinker()->FindClass(self, "Ljava/lang/ref/WeakReference;" [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
|
/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/ |
verification_results.cc | 40 Thread* self = Thread::Current(); local 42 WriterMutexLock mu(self, verified_methods_lock_);
|
/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/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...] |
/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 MethodVerifier::FailureKind failure = MethodVerifier::VerifyClass(self,
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/bin/ |
cfadmin | 20 self = sys.modules['__main__'] 23 cmd = getattr(self, fnc) 34 for cname in dir(self): 36 cmd = getattr(self, cname) 92 self = sys.modules['__main__'] variable 95 cmd = getattr(self, sys.argv[1])
|
cwutil | 99 self = sys.modules['__main__'] 102 cmd = getattr(self, fnc) 113 for cname in dir(self): 115 cmd = getattr(self, cname) 124 self = sys.modules['__main__'] variable 127 cmd = getattr(self, sys.argv[1])
|
/external/libchrome/base/mac/ |
libdispatch_task_runner.cc | 77 LibDispatchTaskRunner* self = static_cast<LibDispatchTaskRunner*>(context); local 78 self->queue_finalized_.Signal();
|