Home
last modified time | relevance | path

Searched refs:pthread_create (Results 1 – 25 of 51) sorted by relevance

123

/bionic/tests/
Dbug_26110743_test.cpp53 ASSERT_EQ(0, pthread_create(&t, nullptr, ProcSelfReadlink, nullptr)); in TEST()
68 ASSERT_EQ(0, pthread_create(&t, nullptr, ProcSelfReadlink, nullptr)); in TEST()
98 ASSERT_EQ(0, pthread_create(&t, nullptr, ProcTaskFdReadlink, nullptr)); in TEST()
113 ASSERT_EQ(0, pthread_create(&t, nullptr, ProcTaskFdReadlink, nullptr)); in TEST()
Dpthread_test.cpp174 ASSERT_EQ(0, pthread_create(&t, &attr, DirtyKeyFn, &key)); in TEST()
246 ASSERT_EQ(0, pthread_create(&t, nullptr, IdFn, nullptr)); in MakeDeadThread()
250 TEST(pthread, pthread_create) { in TEST() argument
254 ASSERT_EQ(0, pthread_create(&t, nullptr, IdFn, expected_result)); in TEST()
267 ASSERT_EQ(EAGAIN, pthread_create(&t, &attributes, IdFn, nullptr)); in TEST()
274 ASSERT_EQ(0, pthread_create(&t1, nullptr, spin_helper.GetFunction(), nullptr)); in TEST()
288 ASSERT_EQ(0, pthread_create(&t1, nullptr, spin_helper.GetFunction(), nullptr)); in TEST()
292 ASSERT_EQ(0, pthread_create(&t2, nullptr, JoinFn, reinterpret_cast<void*>(t1))); in TEST()
326 …ASSERT_EQ(0, pthread_create(&t, nullptr, TestBug37410::thread_fn, reinterpret_cast<void*>(&data))); in main()
395 ASSERT_EQ(0, pthread_create(&signal_thread, nullptr, SignalHandlerFn, &received_signal)); in TEST()
[all …]
Dsemaphore_test.cpp81 ASSERT_EQ(0, pthread_create(&t1, nullptr, SemWaitThreadFn, &s)); in TEST()
82 ASSERT_EQ(0, pthread_create(&t2, nullptr, SemWaitThreadFn, &s)); in TEST()
83 ASSERT_EQ(0, pthread_create(&t3, nullptr, SemWaitThreadFn, &s)); in TEST()
222 ASSERT_EQ(0, pthread_create(&thread, nullptr, SemWaitEINTRThreadFn, &s)); in TEST()
245 ASSERT_EQ(0, pthread_create(&thread, nullptr, SemWaitEINTRThreadFn, &s)); in TEST()
Dleak_test.cpp118 ASSERT_EQ(0, pthread_create(&thread, nullptr, [](void*) -> void* { return nullptr; }, nullptr)); in TEST()
150 ASSERT_EQ(0, pthread_create(&thread, nullptr, thread_function, &threads[i])); in TEST()
D__cxa_thread_atexit_test.cpp48 ASSERT_EQ(0, pthread_create(&t, nullptr, thread_nop, &msg)); in TEST()
122 ASSERT_EQ(0, pthread_create(&t, nullptr, thread_main, &atexit_call_sequence)); in TEST()
Dandroid_unsafe_frame_pointer_chase_test.cpp98 ASSERT_EQ(0, pthread_create(&t, nullptr, BacktraceThread, nullptr)); in TEST()
145 ASSERT_EQ(0, pthread_create(&t, &attr, SignalBacktraceThread, in TEST()
Dstdatomic_test.cpp249 ASSERT_EQ(0, pthread_create(&t1, nullptr, reader, &a)); in TEST()
250 ASSERT_EQ(0, pthread_create(&t2, nullptr, writer, &a)); in TEST()
Dstack_protector_test.cpp77 ASSERT_EQ(0, pthread_create(&t, nullptr, [](void* arg) -> void* { in TEST()
Dpty_test.cpp142 ASSERT_EQ(0, pthread_create(&thread, nullptr, in TEST()
Dthread_local_test.cpp49 int error = pthread_create(&t, nullptr, foo, &data); in run_one_thread()
Dstdio_ext_test.cpp232 ASSERT_EQ(0, pthread_create(&thread, nullptr, in TEST()
Dsys_socket_test.cpp82 ASSERT_EQ(0, pthread_create(&thread, nullptr, ConnectFn, &connect_data)); in RunTest()
Dunistd_test.cpp651 ASSERT_EQ(0, pthread_create(&t, nullptr, GetPidCachingPthreadStartRoutine, nullptr)); in TEST()
670 ASSERT_EQ(0, pthread_create(&t, nullptr, GetTidCachingPthreadStartRoutine, &parent_tid)); in TEST()
/bionic/benchmarks/
Dpthread_benchmark.cpp180 pthread_create(&thread, nullptr, IdleThread, nullptr); in BM_pthread_create()
195 pthread_create(&thread, nullptr, RunThread, &state); in BM_pthread_create_and_run()
208 pthread_create(&thread, nullptr, ExitThread, nullptr); in BM_pthread_exit_and_join()
Dget_heap_size_benchmark.cpp51 int res = pthread_create(t + i, NULL, thread_func, object + i); in BM_mallinfo()
/bionic/libc/bionic/
Dposix_timers.cpp155 int rc = pthread_create(&timer->callback_thread, &thread_attributes, __timer_thread_start, timer); in timer_create()
Dmalloc_heapprofd.cpp394 if (pthread_create(&thread_id, nullptr, InitHeapprofd, nullptr) != 0) { in MallocInitHeapprofdHook()
Dpthread_create.cpp362 int pthread_create(pthread_t* thread_out, pthread_attr_t const* attr, in pthread_create() function
/bionic/libc/include/bits/
Dthreads_inlines.h145 int __result = __bionic_thrd_error(pthread_create(__thrd, NULL, in thrd_create()
/bionic/tests/headers/posix/
Dpthread_h.c130 FUNCTION(pthread_create, int (*f)(pthread_t*, const pthread_attr_t*, void* (*)(void*), void*)); in pthread_h()
/bionic/libc/include/
Dpthread.h154 int pthread_create(pthread_t* __pthread_ptr, pthread_attr_t const* __attr, void* (*__start_routine)…
/bionic/benchmarks/linker_relocation/gen/
Dliblinker_reloc_bench_095.S148 .weak pthread_create
149 GOT_RELOC(pthread_create)
Dliblinker_reloc_bench_021.S337 CALL(pthread_create)
Dliblinker_reloc_bench_135.S570 .weak pthread_create
571 GOT_RELOC(pthread_create)
/bionic/libc/tools/
Dposix-2013.txt756 pthread_create

123