Home
last modified time | relevance | path

Searched refs:get_arr (Results 1 – 4 of 4) sorted by relevance

/external/ltp/testcases/kernel/syscalls/ipc/semop/
Dsemop01.c64 union semun get_arr; variable
88 if (semctl(sem_id_1, 0, GETALL, get_arr) == -1) { in main()
94 if (get_arr.array[i] != i * i) { in main()
132 get_arr.array = malloc(sizeof(unsigned short int) * PSEMS); in setup()
133 if (get_arr.array == NULL) in setup()
153 free(get_arr.array); in cleanup()
Dsemop04.c63 union semun get_arr; member
103 TC[i].get_arr.val = val--; in main()
104 if (semctl(sem_id_1, TC[i].num, SETVAL, TC[i].get_arr) in main()
/external/ltp/testcases/kernel/syscalls/ipc/semctl/
Dsemctl06.c168 union semun get_arr; in dotest() local
227 get_arr.array = semvals; in dotest()
228 if (semctl(id, 0, GETALL, get_arr) < 0) { in dotest()
248 get_arr.val = 0; in dotest()
249 if (semctl(id, 0, IPC_RMID, get_arr) < 0) { in dotest()
/external/llvm-project/clang/test/CodeGenCXX/
Dcxx1z-eval-order.cpp94 int (&get_arr())[10]; in array_lhs_before_rhs()
99 get_arr()[get_index()] = 0; in array_lhs_before_rhs()
103 get_index()[get_arr()] = 0; in array_lhs_before_rhs()