HomeSort by relevance Sort by last modified time
    Searched defs:self (Results 1 - 25 of 332) 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);
  /external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/
errno.c 74 pthread_t self; local
77 if ((self = pthread_self ()).p == NULL)
87 result = (int *)(&self.p->exitStatus);
pthread_self.c 62 pthread_t self; local
75 self = sp->ptHandle;
80 * Need to create an implicit 'self' for the currently
83 self = ptw32_new ();
84 sp = (ptw32_thread_t *) self.p;
121 ptw32_threadReusePush (self);
139 return (self);
pthread_testcancel.c 72 pthread_t self = pthread_self (); local
73 ptw32_thread_t * sp = (ptw32_thread_t *) self.p;
pthread_join.c 80 * EDEADLK attempt to join thread with self
86 pthread_t self; local
113 self = pthread_self();
115 if (NULL == self.p)
119 else if (pthread_equal (self, thread))
pthread_setcancelstate.c 84 pthread_t self = pthread_self (); local
85 ptw32_thread_t * sp = (ptw32_thread_t *) self.p;
pthread_setcanceltype.c 84 pthread_t self = pthread_self (); local
85 ptw32_thread_t * sp = (ptw32_thread_t *) self.p;
pthread_mutex_lock.c 98 pthread_t self = pthread_self(); local
106 mx->ownerThread = self;
110 if (pthread_equal (mx->ownerThread, self))
137 mx->ownerThread = self;
160 pthread_t self = pthread_self(); local
198 ptw32_robust_mutex_add(mutex, self);
213 ptw32_robust_mutex_add(mutex, self);
217 if (pthread_equal (mx->ownerThread, self))
259 ptw32_robust_mutex_add(mutex, self);
pthread_mutex_trylock.c 103 pthread_t self; local
114 self = pthread_self();
126 ptw32_robust_mutex_add(mutex, self);
140 ptw32_robust_mutex_add(mutex, self);
pthread_mutex_unlock.c 114 pthread_t self = pthread_self(); local
121 if (pthread_equal (mx->ownerThread, self))
pthread_setspecific.c 68 pthread_t self; local
78 self = pthread_self ();
79 if (self.p == NULL)
98 self = *((pthread_t *) value);
102 self = sp->ptHandle;
110 if (self.p != NULL && key->destructor != NULL && value != NULL)
114 ptw32_thread_t * sp = (ptw32_thread_t *) self.p;
pthread_delay_np.c 88 pthread_t self; local
128 if (NULL == (self = pthread_self ()).p)
133 sp = (ptw32_thread_t *) self.p;
  /external/chromium_org/third_party/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...]
  /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 mirror::ArtMethod* method = self->GetCurrentMethod(NULL);
44 DCHECK(self->IsExceptionPending());
48 method->RegisterNative(self, native_code, false);
  /art/runtime/entrypoints/portable/
portable_fillarray_entrypoints.cc 39 Thread* self = Thread::Current(); local
40 ThrowLocation throw_location = self->GetCurrentLocationForThrow();
41 self->ThrowNewExceptionF(throw_location, "Ljava/lang/ArrayIndexOutOfBoundsException;",
portable_jni_entrypoints.cc 25 extern "C" uint32_t art_portable_jni_method_start(Thread* self)
27 JNIEnvExt* env = self->GetJniEnv();
30 self->TransitionFromRunnableToSuspended(kNative);
34 extern "C" uint32_t art_portable_jni_method_start_synchronized(jobject to_lock, Thread* self)
36 self->DecodeJObject(to_lock)->MonitorEnter(self); variable
37 return art_portable_jni_method_start(self);
40 static void PopLocalReferences(uint32_t saved_local_ref_cookie, Thread* self)
42 JNIEnvExt* env = self->GetJniEnv();
47 extern "C" void art_portable_jni_method_end(uint32_t saved_local_ref_cookie, Thread* self)
    [all...]
  /device/generic/goldfish/opengl/tests/gles_android_wrapper/
ApiInitializer.h 28 ApiInitializer *self = (ApiInitializer *)userData; local
29 return self->getProc(name);
  /external/chromium_org/content/test/data/workers/
worker_common.js 5 if (!self.postMessage) {
10 self.postMessage = function(msg) {
13 self.onmessage(e);
  /external/chromium_org/extensions/renderer/resources/
storage_area.js 23 var self = this;
25 self[functionName] = function() {
  /external/chromium_org/third_party/webrtc/modules/audio_processing/ns/
noise_suppression.c 53 NSinst_t* self = (NSinst_t*) handle; local
57 if (self->initFlag == 0) {
60 return self->priorSpeechProb;
noise_suppression_x.c 20 NsxInst_t* self = malloc(sizeof(NsxInst_t)); local
21 *nsxInst = (NsxHandle*)self;
23 if (self != NULL) {
25 self->real_fft = NULL;
26 self->initFlag = 0;
  /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);
  /external/chromium_org/content/browser/service_worker/
service_worker_controllee_request_handler.h 38 typedef ServiceWorkerControlleeRequestHandler self; typedef in class:content::ServiceWorkerControlleeRequestHandler
  /external/chromium_org/mojo/public/cpp/utility/lib/
thread.cc 64 Thread* self = static_cast<Thread*>(arg); local
65 self->Run();

Completed in 914 milliseconds

1 2 3 4 5 6 7 8 91011>>