/external/compiler-rt/lib/sanitizer_common/tests/ |
sanitizer_stoptheworld_testlib.cc | 48 pthread_t thread_id; local 49 pthread_create(&thread_id, NULL, SuspenderThread, NULL);
|
/external/compiler-rt/test/asan/TestCases/ |
debug_stacks.cc | 30 int thread_id; local 31 num_frames = __asan_get_alloc_stack(mem, trace, num_frames, &thread_id); 36 fprintf(stderr, "thread id = %d\n", thread_id); 44 num_frames = __asan_get_free_stack(mem, trace, num_frames, &thread_id); 49 fprintf(stderr, "thread id = %d\n", thread_id);
|
/external/compiler-rt/test/lsan/TestCases/ |
cleanup_in_tsd_destructor.c | 37 pthread_t thread_id; local 38 res = pthread_create(&thread_id, 0, thread_func, 0); 40 res = pthread_join(thread_id, 0);
|
disabler_in_tsd_destructor.c | 33 pthread_t thread_id; local 34 res = pthread_create(&thread_id, 0, thread_func, 0); 36 res = pthread_join(thread_id, 0);
|
use_registers.cc | 47 pthread_t thread_id; local 48 int res = pthread_create(&thread_id, 0, registers_thread_func, &sync);
|
use_stacks_threaded.cc | 27 pthread_t thread_id; local 28 int res = pthread_create(&thread_id, 0, stacks_thread_func, &sync);
|
leak_check_before_thread_started.cc | 24 pthread_t thread_id; local 34 int res = pthread_create(&thread_id, &attr, func, arg);
|
/external/valgrind/helgrind/tests/ |
tc03_re_excl.c | 25 pthread_t thread_id; local 30 pthread_create(&thread_id, 0, worker_thread, (void*)x); 36 pthread_join(thread_id, 0);
|
/prebuilts/go/darwin-x86/misc/cgo/test/ |
cthread_unix.c | 26 pthread_t thread_id[MaxThread]; local 31 pthread_create(&thread_id[i], 0, addThread, &max); 33 pthread_join(thread_id[i], 0);
|
cthread_windows.c | 27 uintptr_t thread_id[MaxThread]; local 32 thread_id[i] = _beginthreadex(0, 0, addThread, &max, 0, 0); 34 WaitForSingleObject((HANDLE)thread_id[i], INFINITE); 35 CloseHandle((HANDLE)thread_id[i]);
|
/prebuilts/go/linux-x86/misc/cgo/test/ |
cthread_unix.c | 26 pthread_t thread_id[MaxThread]; local 31 pthread_create(&thread_id[i], 0, addThread, &max); 33 pthread_join(thread_id[i], 0);
|
cthread_windows.c | 27 uintptr_t thread_id[MaxThread]; local 32 thread_id[i] = _beginthreadex(0, 0, addThread, &max, 0, 0); 34 WaitForSingleObject((HANDLE)thread_id[i], INFINITE); 35 CloseHandle((HANDLE)thread_id[i]);
|
/device/linaro/bootloader/arm-trusted-firmware/plat/arm/board/fvp/ |
fvp_topology.c | 59 unsigned int clus_id, cpu_id, thread_id; local 63 thread_id = MPIDR_AFFLVL0_VAL(mpidr); 67 thread_id = 0; 76 if (thread_id >= FVP_MAX_PE_PER_CPU)
|
/external/google-breakpad/src/client/linux/minidump_writer/ |
linux_dumper_unittest_helper.cc | 60 volatile pid_t thread_id = syscall(__NR_gettid); local 67 register volatile pid_t *thread_id_ptr asm(TID_PTR_REGISTER) = &thread_id;
|
/external/tensorflow/tensorflow/compiler/xla/service/gpu/ |
parallel_loop_emitter.cc | 77 llvm::Value* thread_id = llvm_ir::EmitCallToIntrinsic( local 80 static_cast<llvm::Instruction*>(thread_id)); 81 thread_id = ir_builder_->CreateZExt(thread_id, ir_builder_->getInt64Ty(), 82 "thread_id"); 89 thread_id, "linear_index", /*HasNUW=*/true, /*HasNSW=*/true);
|
/system/extras/memory_replay/tests/ |
ThreadTest.cpp | 54 pthread_t thread_id; local 55 ASSERT_TRUE(pthread_create(&thread_id, nullptr, ThreadWaitForReady, &thread_data) == 0); 62 ASSERT_TRUE(pthread_join(thread_id, nullptr) == 0); 82 pthread_t thread_id; local 83 ASSERT_TRUE(pthread_create(&thread_id, nullptr, ThreadWaitForPending, &thread_data) == 0); 90 ASSERT_TRUE(pthread_join(thread_id, nullptr) == 0);
|
/external/curl/docs/examples/ |
threaded-ssl.c | 62 static unsigned long thread_id(void) function 80 CRYPTO_set_id_callback((unsigned long (*)())thread_id);
|
/external/linux-kselftest/tools/testing/selftests/sync/ |
sync_stress_parallelism.c | 42 int thread_id = (long)d; local 49 i * 2 + thread_id); 61 ASSERT(test_data_two_threads.counter == i * 2 + thread_id,
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setinheritsched/ |
2-3.c | 59 pthread_t thread_id; local 83 rc = pthread_create(&thread_id, &attr, thread, NULL); 89 rc = pthread_join(thread_id, NULL);
|
2-4.c | 59 pthread_t thread_id; local 84 rc = pthread_create(&thread_id, &attr, thread, NULL); 90 rc = pthread_join(thread_id, NULL);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setschedparam/ |
1-3.c | 56 pthread_t thread_id; local 86 rc = pthread_create(&thread_id, &attr, thread, NULL); 92 rc = pthread_join(thread_id, NULL);
|
1-4.c | 59 pthread_t thread_id; local 89 rc = pthread_create(&thread_id, &attr, thread, NULL); 96 rc = pthread_join(thread_id, NULL);
|
/external/mesa3d/src/gallium/tests/unit/ |
pipe_barrier_test.c | 71 int thread_id = *((int *) thread_data); local 73 LOG("thread %d starting\n", thread_id); 74 os_time_sleep(thread_id * 100 * 1000); 75 LOG("thread %d before barrier\n", thread_id); 86 LOG("thread %d exiting\n", thread_id);
|
/external/tensorflow/tensorflow/core/kernels/ |
check_numerics_op_gpu.cu.cc | 39 const int32 thread_id = blockIdx.x * blockDim.x + threadIdx.x; local 42 int32 offset = thread_id;
|
/hardware/qcom/camera/msm8998/QCamera2/util/ |
camscope_packet_type.cpp | 247 * @thread_id : identifier of where the packet originates from 255 int32_t thread_id, uint32_t event_name) { 258 scope_struct->thread_id = thread_id; 273 * @thread_id : identifier of where the packet originates from 281 int32_t thread_id, uint32_t event_name, 284 timestamp, thread_id, event_name); 299 * @thread_id : identifier of where the packet originates from 311 int32_t thread_id, uint32_t event_name, 316 timestamp, thread_id, event_name) 380 int32_t thread_id = (int32_t)get_thread_id(); local 420 int32_t thread_id = (int32_t)get_thread_id(); local 463 int32_t thread_id = (int32_t)get_thread_id(); local [all...] |