Searched refs:thread_id (Results 1 - 25 of 25) sorted by relevance

/xsrc/external/mit/MesaLib.old/dist/src/gallium/tests/unit/
H A Dpipe_barrier_test.c73 int thread_id = *((int *) thread_data); local in function:thread_function
75 LOG("thread %d starting\n", thread_id);
76 os_time_sleep(thread_id * 100 * 1000);
77 LOG("thread %d before barrier\n", thread_id);
88 LOG("thread %d exiting\n", thread_id);
/xsrc/external/mit/MesaLib/dist/src/gallium/tests/unit/
H A Dpipe_barrier_test.c73 int thread_id = *((int *) thread_data); local in function:thread_function
75 LOG("thread %d starting\n", thread_id);
76 os_time_sleep(thread_id * 100 * 1000);
77 LOG("thread %d before barrier\n", thread_id);
88 LOG("thread %d exiting\n", thread_id);
/xsrc/external/mit/MesaLib.old/dist/src/mapi/
H A Du_current.c153 typedef DWORD thread_id; typedef in typeref:typename:DWORD
155 typedef thrd_t thread_id; typedef in typeref:typename:thrd_t
159 static inline thread_id
178 thread_id_equal(thread_id t1, thread_id t2)
195 static thread_id knownID;
/xsrc/external/mit/MesaGLUT/dist/src/glut/beos/
H A DglutState.h30 thread_id appthread;
H A DglutEvent.cpp532 thread_id menu_thread = spawn_thread(MenuThread, "menu thread", B_NORMAL_PRIORITY, bmenu);
/xsrc/external/mit/MesaLib/dist/src/util/
H A Du_thread.h374 * way), so thread_id's provide an alternative mechanism
378 typedef DWORD thread_id; typedef in typeref:typename:DWORD
380 typedef thrd_t thread_id; typedef in typeref:typename:thrd_t
383 static inline thread_id
402 util_thread_id_equal(thread_id t1, thread_id t2)
/xsrc/external/mit/MesaLib.old/dist/src/glx/apple/
H A Dapple_glx_context.h56 pthread_t thread_id; member in struct:apple_glx_context
H A Dapple_glx_context.c154 ac->thread_id = pthread_self();
444 ac->thread_id = pthread_self();
541 if (caller == ac->thread_id) {
/xsrc/external/mit/MesaLib/dist/src/glx/apple/
H A Dapple_glx_context.h56 pthread_t thread_id; member in struct:apple_glx_context
H A Dapple_glx_context.c154 ac->thread_id = pthread_self();
443 ac->thread_id = pthread_self();
540 if (caller == ac->thread_id) {
/xsrc/external/mit/MesaLib/dist/src/mapi/
H A Du_current.c150 static thread_id knownID;
/xsrc/external/mit/MesaLib.old/dist/src/gtest/src/
H A Dgtest-port.cc330 DWORD thread_id; local in function:testing::internal::__anonc275c1830210::ThreadWithParamSupport::CreateThread
338 &thread_id); // Need a valid pointer for the call to work under Win98.
454 static void OnThreadExit(DWORD thread_id) { argument
455 GTEST_CHECK_(thread_id != 0) << ::GetLastError();
464 thread_to_thread_locals->find(thread_id);
492 static void StartWatcherThreadFor(DWORD thread_id) { argument
497 thread_id);
506 reinterpret_cast<LPVOID>(new ThreadIdAndHandle(thread_id, thread)),
/xsrc/external/mit/MesaLib/dist/src/gtest/src/
H A Dgtest-port.cc470 DWORD thread_id; local in function:testing::internal::__anon1a787e760310::ThreadWithParamSupport::CreateThread
477 &thread_id); // Need a valid pointer for the call to work under Win98.
593 static void OnThreadExit(DWORD thread_id) { argument
594 GTEST_CHECK_(thread_id != 0) << ::GetLastError();
603 thread_to_thread_locals->find(thread_id);
632 static void StartWatcherThreadFor(DWORD thread_id) { argument
637 thread_id);
646 reinterpret_cast<LPVOID>(new ThreadIdAndHandle(thread_id, thread)),
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/util/
H A Du_threaded_context.h463 thread_id driver_thread;
/xsrc/external/mit/xorg-server.old/dist/glx/
H A Dglthread.h236 typedef thread_id _glthread_Thread;
/xsrc/external/mit/MesaLib/dist/src/hgl/
H A DGLView.cpp77 thread_id lockerThread = fDisplayLock.LockingThread();
78 thread_id callerThread = find_thread(NULL);
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/gallivm/
H A Dlp_bld_tgsi.h177 LLVMValueRef thread_id; member in struct:lp_bld_tgsi_system_values
H A Dlp_bld_nir_soa.c1560 result[i] = LLVMBuildExtractValue(gallivm->builder, bld->system_values.thread_id, i, "");
1567 tmp = lp_build_mul(&bld_base->uint_bld, tmp, LLVMBuildExtractValue(gallivm->builder, bld->system_values.thread_id, 2, ""));
1570 tmp2 = lp_build_mul(&bld_base->uint_bld, tmp2, LLVMBuildExtractValue(gallivm->builder, bld->system_values.thread_id, 1, ""));
1572 tmp = lp_build_add(&bld_base->uint_bld, tmp, LLVMBuildExtractValue(gallivm->builder, bld->system_values.thread_id, 0, ""));
H A Dlp_bld_tgsi_soa.c1532 res = LLVMBuildExtractValue(gallivm->builder, bld->system_values.thread_id, swizzle, "");
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/
H A Dlp_state_cs.c357 system_values.thread_id = LLVMGetUndef(LLVMArrayType(LLVMVectorType(int32_type, cs_type.length), 3));
359 system_values.thread_id = LLVMBuildInsertValue(builder, system_values.thread_id, tid_vals[i], i, "");
/xsrc/external/mit/MesaLib/dist/src/panfrost/lib/
H A Dpan_indirect_draw.c1000 nir_ssa_def *thread_id = nir_channel(b, nir_load_global_invocation_id(b, 32), 0); local in function:get_index_min_max
1024 start = nir_iadd(b, start, nir_imul_imm(b, thread_id, sizeof(uint32_t)));
/xsrc/external/mit/MesaLib/dist/src/amd/vulkan/
H A Dradv_nir_to_llvm.c1132 * (streamout_write_index + thread_id)*stride[buffer_id] +
1137 /* Compute (streamout_write_index + thread_id). */
2547 LLVMValueRef thread_id = ac_get_thread_id(&ctx.ac); local in function:ac_translate_nir_to_llvm
2548 LLVMValueRef cond = LLVMBuildICmp(ctx.ac.builder, LLVMIntULT, thread_id, count, "");
/xsrc/external/mit/MesaLib.old/dist/src/amd/vulkan/
H A Dradv_nir_to_llvm.c2806 * (streamout_write_index + thread_id)*stride[buffer_id] +
2811 /* Compute (streamout_write_index + thread_id). */
3799 LLVMValueRef thread_id = ac_get_thread_id(&ctx.ac); local in function:ac_translate_nir_to_llvm
3801 thread_id, count, "");
/xsrc/external/mit/MesaLib.old/dist/src/amd/common/
H A Dac_nir_to_llvm.c2825 LLVMValueRef thread_id = ac_get_thread_id(&ctx->ac); local in function:visit_load_local_invocation_index
2829 return LLVMBuildAdd(ctx->ac.builder, result, thread_id, "");
/xsrc/external/mit/MesaLib/dist/src/amd/llvm/
H A Dac_nir_to_llvm.c3021 LLVMValueRef thread_id = ac_get_thread_id(&ctx->ac); local in function:visit_load_local_invocation_index
3028 return LLVMBuildAdd(ctx->ac.builder, result, thread_id, "");

Completed in 53 milliseconds