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

12

/xsrc/external/mit/xorg-server.old/dist/hw/xquartz/
H A DthreadSafety.h41 void _threadSafetyAssert(pthread_t tid, const char *file, const char *fun, int line);
44 const char *threadSafetyID(pthread_t tid);
46 #define threadSafetyAssert(tid) _threadSafetyAssert(tid, __FILE__, __FUNCTION__, __LINE__)
H A DthreadSafety.c59 void _threadSafetyAssert(pthread_t tid, const char *file, const char *fun, int line) { argument
60 if(pthread_equal(pthread_self(), tid))
65 threadSafetyID(pthread_self()), threadSafetyID(tid),
70 const char *threadSafetyID(pthread_t tid) { argument
71 if(pthread_equal(tid, APPKIT_THREAD_ID)) {
73 } else if(pthread_equal(tid, SERVER_THREAD_ID)) {
H A DquartzStartup.c67 pthread_t tid; local in function:create_thread
72 pthread_create (&tid, &attr, func, arg);
75 return tid;
H A DdarwinEvents.c99 pthread_t tid; local in function:create_thread
104 pthread_create (&tid, &attr, func, arg);
107 return tid;
/xsrc/external/mit/MesaLib/dist/src/android_stub/
H A Dbacktrace_stub.cpp4 Backtrace::Create(pid_t pid, pid_t tid, BacktraceMap* map) argument
/xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/nine/
H A Dnine_debug.c56 { "tid", DBG_TID, "Display thread-ids." },
68 unsigned long tid = 0; local in function:_nine_debug_printf
79 tid = pthread_self();
86 /* inside a class this will print nine:tid:classinlowercase:func: while
87 * outside a class (rarely used) it will just print nine:tid:func
95 if (tid)
96 _debug_printf("nine:0x%08lx:%s:%s: ", tid, klass, ++f);
100 if (tid)
101 _debug_printf("nine:0x%08lx:%s ", tid, func);
/xsrc/external/mit/MesaLib/dist/src/gallium/frontends/nine/
H A Dnine_debug.c56 { "tid", DBG_TID, "Display thread-ids." },
68 unsigned long tid = 0; local in function:_nine_debug_printf
77 tid = (unsigned long)pthread_self();
83 /* inside a class this will print nine:tid:classinlowercase:func: while
84 * outside a class (rarely used) it will just print nine:tid:func
92 if (tid)
93 _debug_printf("nine:0x%08lx:%s:%s: ", tid, klass, ++f);
97 if (tid)
98 _debug_printf("nine:0x%08lx:%s ", tid, func);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/util/
H A Du_debug_stack_android.cpp41 pid_t tid = gettid(); local in function:debug_backtrace_capture
52 backtrace_entry = _mesa_hash_table_search(backtrace_table, (void*) (uintptr_t)tid);
54 backtrace = Backtrace::Create(getpid(), tid);
55 _mesa_hash_table_insert(backtrace_table, (void*) (uintptr_t)tid, backtrace);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/nvc0/
H A Dnve4_compute.h12 u32 tid[3]; member in struct:nve4_mp_trap_info
/xsrc/external/mit/xorg-server/dist/hw/xquartz/
H A DquartzStartup.c72 pthread_t tid; local in function:create_thread
77 pthread_create(&tid, &attr, func, arg);
80 return tid;
H A DdarwinEvents.c127 pthread_t tid; local in function:create_thread
132 pthread_create(&tid, &attr, func, arg);
135 return tid;
/xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/
H A Dst_glsl_to_tgsi_array_merge.h121 void set_target_id(int tid) {target_id = tid;} argument
/xsrc/external/mit/MesaLib/dist/src/mesa/state_tracker/
H A Dst_glsl_to_tgsi_array_merge.h121 void set_target_id(int tid) {target_id = tid;} argument
/xsrc/external/mit/MesaLib/dist/include/android_stub/log/
H A Dlogprint.h62 int32_t tid; member in struct:AndroidLogEntry_t
H A Dlog_read.h43 uint32_t tid; /* generating process's tid */ member in struct:logger_entry
/xsrc/external/mit/MesaLib/dist/include/android_stub/backtrace/
H A DBacktrace.h120 // If pid < 0 or equals the current pid and tid >= 0, then the Backtrace
122 // If pid >= 0 and tid < 0, then the Backtrace object corresponds to a
127 static Backtrace* Create(pid_t pid, pid_t tid, BacktraceMap* map = nullptr);
190 Backtrace(pid_t pid, pid_t tid, BacktraceMap* map);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/radeonsi/
H A Dsi_shaderlib_tgsi.c158 struct ureg_src tid = ureg_DECL_system_value(ureg, TGSI_SEMANTIC_THREAD_ID, 0); local in function:si_create_dma_compute_shader
171 /* If there are multiple stores, the first store writes into 0+tid,
172 * the 2nd store writes into 64+tid, the 3rd store writes into 128+tid, etc.
174 ureg_UMAD(ureg, store_addr, blk, ureg_imm1u(ureg, 64 * num_mem_ops), tid);
248 struct ureg_src tid = ureg_DECL_system_value(ureg, TGSI_SEMANTIC_THREAD_ID, 0); local in function:si_create_dcc_retile_cs
252 ureg_UMAD(ureg, idx, blk, ureg_imm1u(ureg, 64), tid);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/radeonsi/
H A Dsi_shaderlib_tgsi.c147 struct ureg_src tid = ureg_DECL_system_value(ureg, TGSI_SEMANTIC_THREAD_ID, 0); local in function:si_create_dma_compute_shader
160 /* If there are multiple stores, the first store writes into 0*wavesize+tid,
161 * the 2nd store writes into 1*wavesize+tid, the 3rd store writes into 2*wavesize+tid, etc.
164 tid);
714 struct ureg_src tid = ureg_DECL_system_value(ureg, TGSI_SEMANTIC_THREAD_ID, 0); local in function:si_create_fmask_expand_cs
718 ureg_imm2u(ureg, 8, 8), ureg_swizzle(tid, 0, 1, 1, 1));
H A Dgfx10_shader_ngg.c277 LLVMValueRef tid = get_thread_id_in_tg(ctx); local in function:build_streamout
335 tmp = ac_build_gep0(&ctx->ac, ctx->gs_ngg_scratch, tid);
444 tmp2 = LLVMBuildGEP(builder, gdsbase, &tid, 1, "");
526 primemit_scan[stream].result_exclusive = tid;
667 unsigned max_waves, LLVMValueRef tid,
681 ac_build_ifcc(&ctx->ac, LLVMBuildICmp(builder, LLVMIntULT, tid,
683 LLVMBuildStore(builder, LLVMBuildLoad(builder, ac_build_gep0(&ctx->ac, lds, tid), ""), i8vec4_lane);
878 LLVMValueRef tid = ac_get_thread_id(&ctx->ac); local in function:gfx10_emit_ngg_culling_epilogue
1041 ac_build_ifcc(&ctx->ac, LLVMBuildICmp(builder, LLVMIntEQ, tid, ctx->ac.i32_0, ""), 16008);
1053 load_vertex_counts(ctx, ctx->gs_ngg_scratch, max_waves, tid,
666 load_vertex_counts(struct si_shader_context * ctx,LLVMValueRef lds,unsigned max_waves,LLVMValueRef tid,LLVMValueRef * total_count,LLVMValueRef * prefix_sum) argument
1703 LLVMValueRef tid = get_thread_id_in_tg(ctx); local in function:gfx10_ngg_gs_emit_prologue
1780 const LLVMValueRef tid = get_thread_id_in_tg(ctx); local in function:gfx10_ngg_gs_emit_epilogue
[all...]
/xsrc/external/mit/xf86-video-qxl/dist/src/spiceccid/
H A Dspiceccid.c61 pthread_t tid; member in struct:smartcard_ccid
354 if (pthread_create(&luns[i].tid, NULL, &lun_thread, &luns[i])) {
377 pthread_cancel(luns[i].tid);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/nvc0/
H A Dnve4_compute.h148 u32 tid[3]; member in struct:nve4_mp_trap_info
/xsrc/external/mit/xorg-server.old/dist/hw/xquartz/mach-startup/
H A Dbundle-main.c105 pthread_t tid; local in function:create_thread
110 pthread_create (&tid, &attr, func, arg);
113 return tid;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/codegen/
H A Dnv50_ir_lowering_nv50.cpp655 Value *tid; member in class:nv50_ir::NV50LoweringPreSSA
659 targ(prog->getTarget()), tid(NULL)
676 tid = bld.mkMov(bld.getScratch(), arg, TYPE_U32)->getDef(0);
1133 i->setSrc(i->srcCount(), tid);
1194 bld.mkOp2(OP_AND, TYPE_U32, def, tid, bld.mkImm(0x0000ffff));
1196 bld.mkOp2(OP_AND, TYPE_U32, def, tid, bld.mkImm(0x03ff0000));
1199 bld.mkOp2(OP_SHR, TYPE_U32, def, tid, bld.mkImm(26));
1205 bld.mkMov(def, tid);
/xsrc/external/mit/MesaLib/dist/src/amd/vulkan/
H A Dradv_nir_to_llvm.c1119 LLVMValueRef tid = ac_get_thread_id(&ctx->ac); local in function:radv_emit_streamout
1121 /* can_emit = tid < so_vtx_count; */
1122 LLVMValueRef can_emit = LLVMBuildICmp(ctx->ac.builder, LLVMIntULT, tid, so_vtx_count, "");
1138 so_write_index = LLVMBuildAdd(ctx->ac.builder, so_write_index, tid, "");
1701 LLVMValueRef tid = get_thread_id_in_tg(ctx); local in function:gfx10_ngg_gs_emit_prologue
1709 cond = LLVMBuildICmp(builder, LLVMIntULT, tid, LLVMConstInt(ctx->ac.i32, 4, false), "");
1713 LLVMValueRef ptr = ac_build_gep0(&ctx->ac, scratchptr, tid);
1796 const LLVMValueRef tid = get_thread_id_in_tg(ctx); local in function:gfx10_ngg_gs_emit_epilogue_2
1803 tmp = LLVMBuildICmp(builder, LLVMIntULT, tid, LLVMConstInt(ctx->ac.i32, 4, false), "");
1806 tmp = LLVMBuildLoad(builder, ac_build_gep0(&ctx->ac, ctx->gs_ngg_scratch, tid), "");
[all...]
/xsrc/external/mit/MesaLib/dist/src/amd/llvm/
H A Dac_llvm_build.c3900 LLVMValueRef tid = ac_get_thread_id(ctx); local in function:ac_wavefront_shift_right_1
3908 LLVMBuildICmp(ctx->builder, LLVMIntEQ, tid, LLVMConstInt(ctx->i32, 32, false), "");
3917 LLVMBuildAnd(ctx->builder, tid, LLVMConstInt(ctx->i32, 0x1f, false), ""),
3923 LLVMBuildICmp(ctx->builder, LLVMIntEQ, tid, LLVMConstInt(ctx->i32, 16, false), "");
3933 LLVMValueRef tid = ac_get_thread_id(ctx); local in function:ac_wavefront_shift_right_1
3937 LLVMBuildAnd(ctx->builder, tid, LLVMConstInt(ctx->i32, 0x7, 0), ""),
3942 LLVMBuildAnd(ctx->builder, tid, LLVMConstInt(ctx->i32, 0xf, 0), ""),
3947 LLVMBuildAnd(ctx->builder, tid, LLVMConstInt(ctx->i32, 0x1f, 0), ""),
3951 active = LLVMBuildICmp(ctx->builder, LLVMIntEQ, tid, LLVMConstInt(ctx->i32, 32, 0), "");
3953 active = LLVMBuildICmp(ctx->builder, LLVMIntEQ, tid, LLVMConstIn
3973 LLVMValueRef tid = ac_get_thread_id(ctx); local in function:ac_build_scan
4037 LLVMValueRef tid = ac_get_thread_id(ctx); local in function:ac_build_scan
4196 LLVMValueRef tid = ac_get_thread_id(ctx); local in function:ac_build_wg_wavescan_top
4225 LLVMValueRef tid = ac_get_thread_id(ctx); local in function:ac_build_wg_wavescan_bottom
[all...]

Completed in 56 milliseconds

12