Home
last modified time | relevance | path

Searched refs:sem_name (Results 1 – 11 of 11) sorted by relevance

/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_unlink/
D5-1.c102 char *sem_name; in main() local
116 sem_name = calloc(PATH_MAX + 1, sizeof(char)); in main()
118 if (sem_name == NULL) { in main()
124 sem_name[0] = '/'; in main()
126 sem_name[PATH_MAX] = '\0'; in main()
128 memset(sem_name + 1, 'P', PATH_MAX - 1); in main()
131 sem = sem_open(sem_name, O_CREAT, 0777, 1); in main()
134 ret = sem_unlink(sem_name); in main()
136 free(sem_name); in main()
169 sem_name = calloc(NAME_MAX + 3, sizeof(char)); in main()
[all …]
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_link.c69 enum tgsi_semantic sem_name = inshader_info->input_semantic_name[i]; in svga_link_shaders() local
74 if (sem_name == TGSI_SEMANTIC_PCOORD) { in svga_link_shaders()
75 sem_name = TGSI_SEMANTIC_TEXCOORD; in svga_link_shaders()
82 if (outshader_info->output_semantic_name[j] == sem_name && in svga_link_shaders()
95 if (sem_name == TGSI_SEMANTIC_CLIPDIST) { in svga_link_shaders()
Dsvga_tgsi.c287 svga_tgsi_to_gl_vert_attrib_semantic(unsigned sem_name, in svga_tgsi_to_gl_vert_attrib_semantic() argument
290 switch (sem_name) { in svga_tgsi_to_gl_vert_attrib_semantic()
318 svga_tgsi_to_gl_varying_semantic(unsigned sem_name, in svga_tgsi_to_gl_varying_semantic() argument
321 switch (sem_name) { in svga_tgsi_to_gl_varying_semantic()
376 svga_tgsi_to_gl_frag_result_semantic(unsigned sem_name, in svga_tgsi_to_gl_frag_result_semantic() argument
379 switch (sem_name) { in svga_tgsi_to_gl_frag_result_semantic()
Dsvga_swtnl_state.c251 const enum tgsi_semantic sem_name = fs->base.tgsi_info.input_semantic_name[i]; in svga_swtnl_update_vdecl() local
254 src = draw_find_shader_output(draw, sem_name, sem_index); in svga_swtnl_update_vdecl()
259 switch (sem_name) { in svga_swtnl_update_vdecl()
Dsvga_pipe_streamout.c189 const enum tgsi_semantic sem_name = in svga_create_stream_output() local
236 if (sem_name == TGSI_SEMANTIC_POSITION) { in svga_create_stream_output()
248 else if (sem_name == TGSI_SEMANTIC_CLIPDIST) { in svga_create_stream_output()
Dsvga_tgsi_vgpu10.c1274 const enum tgsi_semantic sem_name = emit->info.output_semantic_name[index]; in emit_dst_register() local
1299 else if (sem_name == TGSI_SEMANTIC_CLIPDIST && in emit_dst_register()
1309 else if (sem_name == TGSI_SEMANTIC_CLIPVERTEX && in emit_dst_register()
1317 else if (sem_name == TGSI_SEMANTIC_COLOR && in emit_dst_register()
1327 else if (sem_name == TGSI_SEMANTIC_VIEWPORT_INDEX && in emit_dst_register()
1334 if (sem_name == TGSI_SEMANTIC_POSITION) { in emit_dst_register()
1343 else if (sem_name == TGSI_SEMANTIC_SAMPLEMASK) { in emit_dst_register()
1368 assert(sem_name == TGSI_SEMANTIC_COLOR); in emit_dst_register()
1458 if (sem_name == TGSI_SEMANTIC_CLIPDIST && in emit_dst_register()
1468 else if (sem_name == TGSI_SEMANTIC_CLIPVERTEX && in emit_dst_register()
[all …]
/third_party/pulseaudio/src/pulsecore/
Dsemaphore-osx.c48 static char *sem_name(char *fn, size_t l, int id) { in sem_name() function
59 sem_name(fn, sizeof(fn), s->id); in pa_semaphore_new()
72 sem_name(fn, sizeof(fn), s->id); in pa_semaphore_free()
/third_party/ltp/testcases/open_posix_testsuite/stress/threads/sem_open/
Ds-c1.c123 char sem_name[255]; in main() local
180 sprintf(sem_name, "/sem_open_scal_s%d", nsem); in main()
182 sem_open(sem_name, O_CREAT, 0777, 1); in main()
279 sprintf(sem_name, "/sem_open_scal_s%d", i); in main()
280 sem_unlink(sem_name); in main()
/third_party/mesa3d/src/gallium/drivers/i915/
Di915_fpc_translate.c139 uint32_t src = 0, sem_name, sem_ind; in src_vector() local
160 sem_name = p->shader->info.input_semantic_name[index]; in src_vector()
163 switch (sem_name) { in src_vector()
168 if (sem_name == TGSI_SEMANTIC_PCOORD) in src_vector()
171 int real_tex_unit = get_mapping(fs, sem_name, sem_ind); in src_vector()
192 int real_tex_unit = get_mapping(fs, sem_name, sem_ind); in src_vector()
287 uint32_t sem_name = in get_result_vector() local
289 switch (sem_name) { in get_result_vector()
/third_party/mesa3d/src/gallium/drivers/softpipe/
Dsp_fs_exec.c131 const ubyte *sem_name = var->info.output_semantic_name; in exec_run() local
136 switch (sem_name[i]) { in exec_run()
/third_party/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_transform.h138 unsigned sem_name, unsigned sem_index, in tgsi_transform_input_decl() argument
147 decl.Semantic.Name = sem_name; in tgsi_transform_input_decl()
159 unsigned sem_name, unsigned sem_index, in tgsi_transform_output_decl() argument
168 decl.Semantic.Name = sem_name; in tgsi_transform_output_decl()