/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_unlink/ |
D | 5-1.c | 94 char *sem_name; in main() local 108 sem_name = calloc(PATH_MAX + 1, sizeof(char)); in main() 110 if (sem_name == NULL) { in main() 116 sem_name[0] = '/'; in main() 118 sem_name[PATH_MAX] = '\0'; in main() 120 memset(sem_name + 1, 'P', PATH_MAX - 1); in main() 123 sem = sem_open(sem_name, O_CREAT, 0777, 1); in main() 126 ret = sem_unlink(sem_name); in main() 128 free(sem_name); in main() 161 sem_name = calloc(NAME_MAX + 2, sizeof(char)); in main() [all …]
|
/external/mesa3d/src/gallium/drivers/svga/ |
D | svga_link.c | 69 enum tgsi_semantic sem_name = inshader_info->input_semantic_name[i]; in svga_link_shaders() local 77 if (outshader_info->output_semantic_name[j] == sem_name && in svga_link_shaders() 90 if (sem_name == TGSI_SEMANTIC_CLIPDIST) { in svga_link_shaders()
|
D | svga_swtnl_state.c | 251 const enum tgsi_semantic sem_name = fs->base.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()
|
D | svga_pipe_streamout.c | 189 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()
|
D | svga_tgsi_vgpu10.c | 1195 const enum tgsi_semantic sem_name = emit->info.output_semantic_name[index]; in emit_dst_register() local 1220 else if (sem_name == TGSI_SEMANTIC_CLIPDIST && in emit_dst_register() 1230 else if (sem_name == TGSI_SEMANTIC_CLIPVERTEX && in emit_dst_register() 1238 else if (sem_name == TGSI_SEMANTIC_COLOR && in emit_dst_register() 1248 else if (sem_name == TGSI_SEMANTIC_VIEWPORT_INDEX && in emit_dst_register() 1255 if (sem_name == TGSI_SEMANTIC_POSITION) { in emit_dst_register() 1264 else if (sem_name == TGSI_SEMANTIC_SAMPLEMASK) { in emit_dst_register() 1289 assert(sem_name == TGSI_SEMANTIC_COLOR); in emit_dst_register() 1379 if (sem_name == TGSI_SEMANTIC_CLIPDIST && in emit_dst_register() 1389 else if (sem_name == TGSI_SEMANTIC_CLIPVERTEX && in emit_dst_register() [all …]
|
/external/ltp/testcases/open_posix_testsuite/stress/threads/sem_open/ |
D | s-c1.c | 123 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()
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_fs_exec.c | 131 const ubyte *sem_name = var->info.output_semantic_name; in exec_run() local 136 switch (sem_name[i]) { in exec_run()
|
/external/libusb/libusb/os/ |
D | wince_usb.c | 169 TCHAR sem_name[11 + 8 + 1]; // strlen("libusb_init") + (32-bit hex PID) + '\0' in wince_init() local 171 _stprintf(sem_name, _T("libusb_init%08X"), (unsigned int)(GetCurrentProcessId() & 0xFFFFFFFF)); in wince_init() 172 semaphore = CreateSemaphore(NULL, 1, 1, sem_name); in wince_init() 245 TCHAR sem_name[11 + 8 + 1]; // strlen("libusb_init") + (32-bit hex PID) + '\0' in wince_exit() local 247 _stprintf(sem_name, _T("libusb_init%08X"), (unsigned int)(GetCurrentProcessId() & 0xFFFFFFFF)); in wince_exit() 248 semaphore = CreateSemaphore(NULL, 1, 1, sem_name); in wince_exit()
|
D | windows_winusb.c | 779 char sem_name[11 + 8 + 1]; // strlen("libusb_init") + (32-bit hex PID) + '\0' in windows_init() local 781 sprintf(sem_name, "libusb_init%08X", (unsigned int)(GetCurrentProcessId() & 0xFFFFFFFF)); in windows_init() 782 semaphore = CreateSemaphoreA(NULL, 1, 1, sem_name); in windows_init() 1660 char sem_name[11 + 8 + 1]; // strlen("libusb_init") + (32-bit hex PID) + '\0' in windows_exit() local 1662 sprintf(sem_name, "libusb_init%08X", (unsigned int)(GetCurrentProcessId() & 0xFFFFFFFF)); in windows_exit() 1663 semaphore = CreateSemaphoreA(NULL, 1, 1, sem_name); in windows_exit()
|
/external/mesa3d/src/gallium/auxiliary/tgsi/ |
D | tgsi_transform.h | 135 unsigned sem_name, unsigned sem_index, in tgsi_transform_input_decl() argument 144 decl.Semantic.Name = sem_name; in tgsi_transform_input_decl() 156 unsigned sem_name, unsigned sem_index, in tgsi_transform_output_decl() argument 165 decl.Semantic.Name = sem_name; in tgsi_transform_output_decl()
|
/external/mesa3d/src/gallium/drivers/i915/ |
D | i915_fpc_translate.c | 171 uint src = 0, sem_name, sem_ind; in src_vector() local 192 sem_name = p->shader->info.input_semantic_name[index]; in src_vector() 195 switch (sem_name) { in src_vector() 287 uint sem_name = p->shader->info.output_semantic_name[dest->Register.Index]; in get_result_vector() local 288 switch (sem_name) { in get_result_vector()
|