/bionic/tests/ |
H A D | bug_26110743_test.cpp | 50 ASSERT_EQ(0, pthread_create(&t, NULL, ProcSelfReadlink, NULL)); 65 ASSERT_EQ(0, pthread_create(&t, NULL, ProcSelfReadlink, NULL)); 94 ASSERT_EQ(0, pthread_create(&t, NULL, ProcTaskFdReadlink, NULL)); 109 ASSERT_EQ(0, pthread_create(&t, NULL, ProcTaskFdReadlink, NULL));
|
H A D | semaphore_test.cpp | 81 ASSERT_EQ(0, pthread_create(&t1, NULL, SemWaitThreadFn, &s)); 82 ASSERT_EQ(0, pthread_create(&t2, NULL, SemWaitThreadFn, &s)); 83 ASSERT_EQ(0, pthread_create(&t3, NULL, SemWaitThreadFn, &s)); 196 ASSERT_EQ(0, pthread_create(&thread, nullptr, SemWaitEINTRThreadFn, &s)); 219 ASSERT_EQ(0, pthread_create(&thread, nullptr, SemWaitEINTRThreadFn, &s));
|
H A D | __cxa_thread_atexit_test.cpp | 53 ASSERT_EQ(0, pthread_create(&t, nullptr, thread_nop, &msg)); 138 ASSERT_EQ(0, pthread_create(&t, nullptr, thread_main, &atexit_call_sequence));
|
H A D | stack_protector_test.cpp | 77 ASSERT_EQ(0, pthread_create(&t, NULL, [](void* arg) -> void* {
|
H A D | pthread_test.cpp | 168 ASSERT_EQ(0, pthread_create(&t, &attr, DirtyKeyFn, &key)); 238 ASSERT_EQ(0, pthread_create(&t, NULL, IdFn, NULL)); 242 TEST(pthread, pthread_create) { 246 ASSERT_EQ(0, pthread_create(&t, NULL, IdFn, expected_result)); 259 ASSERT_EQ(EAGAIN, pthread_create(&t, &attributes, IdFn, NULL)); 266 ASSERT_EQ(0, pthread_create(&t1, NULL, spinhelper.GetFunction(), NULL)); 280 ASSERT_EQ(0, pthread_create(&t1, NULL, spinhelper.GetFunction(), NULL)); 284 ASSERT_EQ(0, pthread_create(&t2, NULL, JoinFn, reinterpret_cast<void*>(t1))); 318 ASSERT_EQ(0, pthread_create(&t, NULL, TestBug37410::thread_fn, reinterpret_cast<void*>(&data))); 384 ASSERT_EQ(0, pthread_create( [all...] |
H A D | stdatomic_test.cpp | 241 ASSERT_EQ(0, pthread_create(&t1, 0, reader, &a)); 242 ASSERT_EQ(0, pthread_create(&t2, 0, writer, &a));
|
H A D | stdio_ext_test.cpp | 157 ASSERT_EQ(0, pthread_create(&thread, nullptr,
|
H A D | sys_socket_test.cpp | 80 ASSERT_EQ(0, pthread_create(&thread, NULL, ConnectFn, &connect_data));
|
H A D | thread_local_test.cpp | 57 int error = pthread_create(&t, nullptr, foo, &data);
|
H A D | stdlib_test.cpp | 234 ASSERT_EQ(0, pthread_create(&t, NULL, TestBug57421_child, reinterpret_cast<void*>(pthread_self())));
|
H A D | system_properties_test.cpp | 373 ASSERT_EQ(0, pthread_create(&t, NULL, PropertyWaitHelperFn, &flag));
|
H A D | time_test.cpp | 67 ASSERT_EQ(0, pthread_create(&t, &a, gmtime_no_stack_overflow_14313703_fn, NULL));
|
H A D | string_test.cpp | 81 ASSERT_EQ(0, pthread_create(&t, NULL, ConcurrentStrErrorFn, NULL)); 147 ASSERT_EQ(0, pthread_create(&t, NULL, ConcurrentStrSignalFn, NULL));
|
H A D | dlfcn_test.cpp | 742 ASSERT_EQ(0, pthread_create(&t, nullptr, ConcurrentDlErrorFn, nullptr));
|
H A D | unistd_test.cpp | 474 ASSERT_EQ(0, pthread_create(&t, NULL, GetPidCachingPthreadStartRoutine, NULL));
|
H A D | stdio_test.cpp | 552 ASSERT_EQ(0, pthread_create(&t, &a, snprintf_small_stack_fn, nullptr));
|
/bionic/benchmarks/ |
H A D | pthread_benchmark.cpp | 131 pthread_create(&thread, NULL, IdleThread, NULL); 148 pthread_create(&thread, NULL, RunThread, &state); 165 pthread_create(&thread, NULL, ExitThread, &state);
|
H A D | semaphore_benchmark.cpp | 93 pthread_create(&pthread, &attr, BM_semaphore_sem_post_start_thread, &semaphore);
|
/bionic/libc/bionic/ |
H A D | posix_timers.cpp | 158 int rc = pthread_create(&timer->callback_thread, &thread_attributes, __timer_thread_start, timer);
|
H A D | pthread_create.cpp | 106 "pthread_create sched_setscheduler call failed: %s", strerror(errno)); 123 "pthread_create failed: couldn't allocate %zu-bytes mapped space: %s", 132 "pthread_create failed: couldn't mprotect PROT_NONE %zu-byte stack guard region: %s", 204 // A dummy start routine for pthread_create failures where we've created a thread but aren't 211 int pthread_create(pthread_t* thread_out, pthread_attr_t const* attr, function 267 __libc_format_log(ANDROID_LOG_WARN, "libc", "pthread_create failed: clone failed: %s", strerror(errno));
|
/bionic/libc/include/ |
H A D | pthread.h | 169 int pthread_create(pthread_t*, pthread_attr_t const*, void *(*)(void*), void*) __nonnull((1, 3));
|
/bionic/libc/ |
H A D | Android.mk | 563 bionic/pthread_create.cpp \
|