Home
last modified time | relevance | path

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

12

/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()
Dleak_test.cpp117 ASSERT_EQ(0, pthread_create( in TEST()
124 ASSERT_EQ(0, pthread_create( in TEST()
157 ASSERT_EQ(0, pthread_create(&thread, nullptr, thread_function, &threads[i])); in TEST()
Dsemaphore_test.cpp87 ASSERT_EQ(0, pthread_create(&t1, nullptr, SemWaitThreadFn, &s)); in TEST()
88 ASSERT_EQ(0, pthread_create(&t2, nullptr, SemWaitThreadFn, &s)); in TEST()
89 ASSERT_EQ(0, pthread_create(&t3, nullptr, SemWaitThreadFn, &s)); in TEST()
230 ASSERT_EQ(0, pthread_create(&thread, nullptr, SemWaitEINTRThreadFn, &s)); in TEST()
253 ASSERT_EQ(0, pthread_create(&thread, nullptr, SemWaitEINTRThreadFn, &s)); in TEST()
Dpthread_test.cpp179 ASSERT_EQ(0, pthread_create(&t, &attr, DirtyKeyFn, &key)); in TEST()
207 ASSERT_EQ(0, pthread_create(&t, &attr, FnWithStackFrame, nullptr)); in TEST()
275 ASSERT_EQ(0, pthread_create(&t, nullptr, IdFn, nullptr)); in MakeDeadThread()
279 TEST(pthread, pthread_create) { in TEST() argument
283 ASSERT_EQ(0, pthread_create(&t, nullptr, IdFn, expected_result)); in TEST()
296 ASSERT_EQ(EAGAIN, pthread_create(&t, &attributes, IdFn, nullptr)); in TEST()
303 ASSERT_EQ(0, pthread_create(&t1, nullptr, spin_helper.GetFunction(), nullptr)); in TEST()
317 ASSERT_EQ(0, pthread_create(&t1, nullptr, spin_helper.GetFunction(), nullptr)); in TEST()
321 ASSERT_EQ(0, pthread_create(&t2, nullptr, JoinFn, reinterpret_cast<void*>(t1))); in TEST()
355 …ASSERT_EQ(0, pthread_create(&t, nullptr, TestBug37410::thread_fn, reinterpret_cast<void*>(&data))); in main()
[all …]
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()
Dstack_protector_test.cpp79 ASSERT_EQ(0, pthread_create(&t, nullptr, [](void* arg) -> void* { in TEST()
Dstack_unwinding_test.cpp82 ASSERT_EQ(0, pthread_create(&thread, nullptr, [](void*) -> void* { in TEST()
Dstdatomic_test.cpp265 ASSERT_EQ(0, pthread_create(&t1, nullptr, reader, &a)); in TEST()
266 ASSERT_EQ(0, pthread_create(&t2, nullptr, writer, &a)); in TEST()
Dsetjmp_test.cpp339 ASSERT_EQ(0, pthread_create(&threads[i], nullptr, jumper, &var)); in TEST()
358 ASSERT_EQ(0, pthread_create(&t, nullptr, interrupter, tids)); 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.cpp250 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()
/bionic/benchmarks/
Dpthread_benchmark.cpp184 pthread_create(&thread, nullptr, IdleThread, nullptr); in BM_pthread_create()
199 pthread_create(&thread, nullptr, RunThread, &state); in BM_pthread_create_and_run()
212 pthread_create(&thread, nullptr, ExitThread, nullptr); in BM_pthread_exit_and_join()
Dget_heap_size_benchmark.cpp49 int res = pthread_create(t + i, NULL, thread_func, object + i); in BM_mallinfo()
/bionic/libc/bionic/
Dposix_timers.cpp175 int rc = pthread_create(&timer->callback_thread, &thread_attributes, __timer_thread_start, timer); in timer_create()
Dmalloc_heapprofd.cpp412 if (pthread_create(&thread_id, nullptr, InitHeapprofd, nullptr) != 0) { in MallocInitHeapprofdHook()
Dpthread_create.cpp397 int pthread_create(pthread_t* thread_out, pthread_attr_t const* attr, in pthread_create() function
/bionic/libc/include/bits/
Dthreads_inlines.h144 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.h157 int pthread_create(pthread_t* _Nonnull __pthread_ptr, pthread_attr_t const* _Nullable __attr, void*…
/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)
/bionic/libc/tools/
Dposix-2013.txt756 pthread_create

12