Searched defs:self (Results 1 - 4 of 4) sorted by relevance

/bionic/libc/bionic/
H A Dgetpid.cpp36 pthread_internal_t* self = __get_thread(); local
40 if (__predict_true(self->get_cached_pid(&cached_pid))) {
H A Dfork.cpp39 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);
H A Dclone.cpp70 pthread_internal_t* self = __get_thread(); local
71 pid_t parent_pid = self->invalidate_cached_pid();
81 self->set_cached_pid(parent_pid);
/bionic/tests/
H A Ddlfcn_test.cpp49 void* self = dlopen(NULL, RTLD_NOW); local
50 ASSERT_TRUE(self != NULL);
53 void* sym = dlsym(self, "DlSymTestFunction");
62 ASSERT_EQ(0, dlclose(self));
91 void* self = dlopen("/does/not/exist", RTLD_NOW); local
92 ASSERT_TRUE(self == NULL);
123 void* self = dlopen(NULL, RTLD_NOW); local
124 ASSERT_TRUE(self != NULL);
140 sym = dlsym(self, NULL);
146 sym = dlsym(self, "ThisSymbolDoesNotExis
155 void* self = dlopen(NULL, RTLD_NOW); local
[all...]

Completed in 180 milliseconds