HomeSort by relevance Sort by last modified time
    Searched full:sem_name (Results 1 - 24 of 24) sorted by null

  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_unlink/
5-1.c 84 #define SEM_NAME "/sem_unlink_5_1"
96 char *sem_name; local
110 sem_name = calloc(PATH_MAX + 1, sizeof(char));
112 if (sem_name == NULL) {
118 sem_name[0] = '/';
120 sem_name[PATH_MAX] = '\0';
122 memset(sem_name + 1, 'P', PATH_MAX - 1);
125 sem = sem_open(sem_name, O_CREAT, 0777, 1);
128 ret = sem_unlink(sem_name);
130 free(sem_name);
    [all...]
6-1.c 79 #define SEM_NAME "/sem_unlink_6_1"
96 sem1 = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 1);
99 sem_unlink(SEM_NAME);
100 sem1 = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 1);
108 ret = sem_unlink(SEM_NAME);
115 sem2 = sem_open(SEM_NAME, 0);
128 sem2 = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 3);
159 ret = sem_unlink(SEM_NAME);
7-1.c 76 #define SEM_NAME "/sem_unlink_7_1"
109 sem = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 1);
112 sem_unlink(SEM_NAME);
113 sem = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 1);
131 ret = sem_unlink(SEM_NAME);
9-1.c 80 #define SEM_NAME "/sem_unlink_9_1"
116 sem = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 0);
119 sem_unlink(SEM_NAME);
120 sem = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 0);
140 ret = sem_unlink(SEM_NAME);
3-1.c 87 #define SEM_NAME "/sem_unlink_3_1"
140 sem = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0744, 1);
143 sem_unlink(SEM_NAME);
144 sem = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0744, 1);
160 sem = sem_open(SEM_NAME, 0);
178 ret = sem_unlink(SEM_NAME);
220 ret = sem_unlink(SEM_NAME);
4-2.c 77 #define SEM_NAME "/sem_unlink_4_2"
91 (void)sem_unlink(SEM_NAME);
93 ret = sem_unlink(SEM_NAME);
2-2.c 81 #define SEM_NAME "/sem_unlink_9_1"
94 sem = sem_open(SEM_NAME, 0);
140 sem = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 0);
143 sem_unlink(SEM_NAME);
144 sem = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 0);
196 ret = sem_unlink(SEM_NAME);
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_close/
3-2.c 83 #define SEM_NAME "/sem_close_3_2"
100 sem = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 2);
103 sem_unlink(SEM_NAME);
104 sem = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 2);
128 sem = sem_open(SEM_NAME, O_CREAT, 0777, 3);
153 ret = sem_unlink(SEM_NAME);
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/fork/
1-1.c 53 #define SEM_NAME "/semfork1_1"
79 sem = sem_open(SEM_NAME, O_CREAT, O_RDWR, 0);
120 ret = sem_unlink(SEM_NAME);
  /external/mesa3d/src/gallium/drivers/svga/
svga_link.c 65 unsigned sem_name = inshader_info->input_semantic_name[i]; local
72 if (sem_name == TGSI_SEMANTIC_CLIPDIST) {
81 if (outshader_info->output_semantic_name[j] == sem_name &&
svga_pipe_streamout.c 95 const unsigned sem_name = shader->info.output_semantic_name[reg_idx]; local
99 if (sem_name == TGSI_SEMANTIC_POSITION) {
111 else if (sem_name == TGSI_SEMANTIC_CLIPDIST) {
svga_swtnl_state.c 253 const unsigned sem_name = fs->base.info.input_semantic_name[i]; local
256 src = draw_find_shader_output(draw, sem_name, sem_index);
261 switch (sem_name) {
svga_tgsi_vgpu10.c 854 const unsigned sem_name = emit->info.output_semantic_name[index]; local
874 else if (sem_name == TGSI_SEMANTIC_CLIPDIST &&
884 else if (sem_name == TGSI_SEMANTIC_CLIPVERTEX &&
894 if (sem_name == TGSI_SEMANTIC_POSITION) {
919 assert(sem_name == TGSI_SEMANTIC_COLOR);
    [all...]
  /external/ltp/testcases/open_posix_testsuite/functional/semaphores/
sem_lock.c 23 #define SEM_NAME "/tmp/semaphore"
sem_readerwriter.c 27 #define SEM_NAME "/tmp/semaphore"
  /external/ltp/testcases/open_posix_testsuite/stress/threads/sem_getvalue/
stress.c 66 #define SEM_NAME "/set_getval_stress"
144 named = sem_open(SEM_NAME, O_CREAT, 0777, INIT_VAL);
150 ret = sem_unlink(SEM_NAME);
  /external/mesa3d/src/gallium/drivers/softpipe/
sp_fs_exec.c 139 const ubyte *sem_name = var->info.output_semantic_name; local
144 switch (sem_name[i]) {
  /system/core/logd/
main.cpp 315 static sem_t sem_name; variable
322 sem_wait(&sem_name);
324 // Not multi-thread safe, we use sem_name to protect
332 sem_post(&sem_name);
456 sem_init(&sem_name, 0, 1);
  /external/libusb/examples/
dpfp_threaded.c 42 #define SEM_NAME "/org.libusb.example.dpfp_threaded"
452 exit_sem = sem_open (SEM_NAME, O_CREAT, 0);
459 sem_unlink (SEM_NAME);
  /external/mesa3d/src/gallium/auxiliary/tgsi/
tgsi_transform.h 133 unsigned sem_name, unsigned sem_index,
142 decl.Semantic.Name = sem_name;
154 unsigned sem_name, unsigned sem_index,
163 decl.Semantic.Name = sem_name;
  /external/libusb/libusb/os/
wince_usb.c 169 TCHAR sem_name[11 + 8 + 1]; // strlen("libusb_init") + (32-bit hex PID) + '\0' local
171 _stprintf(sem_name, _T("libusb_init%08X"), (unsigned int)(GetCurrentProcessId() & 0xFFFFFFFF));
172 semaphore = CreateSemaphore(NULL, 1, 1, sem_name);
245 TCHAR sem_name[11 + 8 + 1]; // strlen("libusb_init") + (32-bit hex PID) + '\0' local
247 _stprintf(sem_name, _T("libusb_init%08X"), (unsigned int)(GetCurrentProcessId() & 0xFFFFFFFF));
248 semaphore = CreateSemaphore(NULL, 1, 1, sem_name);
windows_winusb.c 779 char sem_name[11 + 8 + 1]; // strlen("libusb_init") + (32-bit hex PID) + '\0' local
781 sprintf(sem_name, "libusb_init%08X", (unsigned int)(GetCurrentProcessId() & 0xFFFFFFFF));
782 semaphore = CreateSemaphoreA(NULL, 1, 1, sem_name);
1660 char sem_name[11 + 8 + 1]; \/\/ strlen("libusb_init") + (32-bit hex PID) + '\\0' local
    [all...]
  /external/ltp/testcases/open_posix_testsuite/stress/threads/sem_open/
s-c1.c 126 char sem_name[255]; local
183 sprintf(sem_name, "/sem_open_scal_s%d", nsem);
185 sem_open(sem_name, O_CREAT, 0777, 1);
282 sprintf(sem_name, "/sem_open_scal_s%d", i);
283 sem_unlink(sem_name);
  /external/mesa3d/src/gallium/drivers/i915/
i915_fpc_translate.c 186 uint src = 0, sem_name, sem_ind; local
207 sem_name = p->shader->info.input_semantic_name[index];
210 switch (sem_name) {
302 uint sem_name = p->shader->info.output_semantic_name[dest->Register.Index]; local
303 switch (sem_name) {
    [all...]

Completed in 1922 milliseconds