/external/strace/tests/ |
semop.gen.test | 2 # Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (semop -a32 -e trace=semop,semtimedop); do not edit. 4 run_strace_match_diff -a32 -e trace=semop,semtimedop
|
semop.c | 50 rc = semop(bogus_semid, NULL, bogus_nsops); 51 printf("semop(%d, NULL, %u) = %s\n", 54 rc = semop(bogus_semid, bogus_sops, 1); 55 printf("semop(%d, %p, %u) = %s\n", 66 rc = semop(bogus_semid, sem_b2, 2); 67 printf("semop(%d, [{%hu, %hd, %s%s%#hx}, %p], %u) = %s\n", 74 if (semop(id, sem_b, 1)) 75 perror_msg_and_skip("semop, 1"); 76 printf("semop(%d, [{0, 1, SEM_UNDO}], 1) = 0\n", id); 79 if (semop(id, sem_b, 1) [all...] |
/external/strace/tests-m32/ |
semop.gen.test | 2 # Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (semop -a32 -e trace=semop,semtimedop); do not edit. 4 run_strace_match_diff -a32 -e trace=semop,semtimedop
|
semop.c | 50 rc = semop(bogus_semid, NULL, bogus_nsops); 51 printf("semop(%d, NULL, %u) = %s\n", 54 rc = semop(bogus_semid, bogus_sops, 1); 55 printf("semop(%d, %p, %u) = %s\n", 66 rc = semop(bogus_semid, sem_b2, 2); 67 printf("semop(%d, [{%hu, %hd, %s%s%#hx}, %p], %u) = %s\n", 74 if (semop(id, sem_b, 1)) 75 perror_msg_and_skip("semop, 1"); 76 printf("semop(%d, [{0, 1, SEM_UNDO}], 1) = 0\n", id); 79 if (semop(id, sem_b, 1) [all...] |
/external/strace/tests-mx32/ |
semop.gen.test | 2 # Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (semop -a32 -e trace=semop,semtimedop); do not edit. 4 run_strace_match_diff -a32 -e trace=semop,semtimedop
|
semop.c | 50 rc = semop(bogus_semid, NULL, bogus_nsops); 51 printf("semop(%d, NULL, %u) = %s\n", 54 rc = semop(bogus_semid, bogus_sops, 1); 55 printf("semop(%d, %p, %u) = %s\n", 66 rc = semop(bogus_semid, sem_b2, 2); 67 printf("semop(%d, [{%hu, %hd, %s%s%#hx}, %p], %u) = %s\n", 74 if (semop(id, sem_b, 1)) 75 perror_msg_and_skip("semop, 1"); 76 printf("semop(%d, [{0, 1, SEM_UNDO}], 1) = 0\n", id); 79 if (semop(id, sem_b, 1) [all...] |
/external/ltp/testcases/kernel/containers/sysvipc/ |
sem_comm.c | 82 if (semop(id, &sm, 1) == -1) { 83 perror("semop"); 92 semop(id, &sm, 1); 126 if (semop(id, &sm, 1) == -1) { 130 perror("semop"); 140 semop(id, &sm, 1);
|
semtest_2ns.c | 76 if (semop(id, &semop_lock[0], 2) < 0) { 78 tst_brkm(TBROK, NULL, "semop failed"); 82 if (semop(id, &semop_unlock[0], 1) < 0) { 84 tst_brkm(TBROK, NULL, "semop failed");
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/i386-linux-gnu/sys/ |
sem.h | 41 /* Structure used for argument to `semop' to describe operations. */ 59 extern int semop (int __semid, struct sembuf *__sops, size_t __nsops) __THROW;
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/x86_64-linux-gnu/sys/ |
sem.h | 41 /* Structure used for argument to `semop' to describe operations. */ 59 extern int semop (int __semid, struct sembuf *__sops, size_t __nsops) __THROW;
|
/external/linux-kselftest/tools/testing/selftests/powerpc/syscalls/ |
ipc.h | 3 DO_TEST(semop, __NR_semop)
|
/external/valgrind/none/tests/ |
sem.c | 29 if (semop(semid, &sop, 1) < 0) 31 perror("semop"); 73 if (semop(semid, &sop, 1) < 0) 75 perror("semop");
|
/bionic/tests/ |
sys_sem_test.cpp | 58 ASSERT_EQ(0, semop(id, ops, 1)); 71 ASSERT_EQ(0, semop(id, ops, 1)); 92 ASSERT_EQ(-1, semop(-1, nullptr, 0));
|
/external/autotest/client/tests/synctest/src/ |
synctest.c | 108 semop(sem_id, &op, 1); 112 semop(sem_id, &op, 1); 120 semop(sem_id, &op, 1);
|
/bionic/libc/include/sys/ |
sem.h | 56 int semop(int __sem_id, struct sembuf* __ops, size_t __op_count) __INTRODUCED_IN(26);
|
/bionic/tests/headers/posix/ |
sys_sem_h.c | 65 FUNCTION(semop, int (*f)(int, struct sembuf*, size_t));
|
/external/ltp/testcases/kernel/syscalls/ipc/semop/ |
semop03.c | 30 * call semop() using two different invalid cases 93 TEST(semop(sem_id_1, &s_buf, 1));
|
semop04.c | 30 * call semop() with two different invalid cases 113 TEST(semop(sem_id_1, &s_buf, 1));
|
semop01.c | 25 * semop01 - test that semop() basic functionality is correct 30 * call semop() to set values for the primitive semaphores 80 TEST(semop(sem_id_1, sops, NSEMS));
|
/external/ltp/testcases/kernel/ipc/semaphore/ |
sem01.c | 56 if (semop(semid, &semops, 1) == -1) { 70 if (semop(semid, &semops, 1) == -1) {
|
sem02.c | 24 * One thread performs a semop() with the SEM_UNDO flag set. The change in 25 * sempaphore value performed by that semop should be "undone" only when the 122 place, the semop should complete and we'll print "Waiter done 133 semop(sem_id, &Psembuf, 1); 149 semop(sem_id, &Vsembuf, 1);
|
/bionic/libc/bionic/ |
sys_sem.cpp | 60 int semop(int id, sembuf* ops, size_t op_count) { function
|
/external/ltp/testcases/kernel/syscalls/ipc/semctl/ |
semctl01.c | 308 if (semop(sem_id_1, &sops, 1) == -1) 309 tst_brkm(TBROK, cleanup, "semop #1 failed - cnt_setup"); 347 * Do a semop that will cause the child to sleep. 350 * by the semop() call. 352 if (semop(sem_id_1, &sops, 1) != -1) 353 tst_resm(TBROK, "semop succeeded - cnt_setup"); 379 * Fork a child to do a semop that will pass. 405 * Do a semop that will increment the semaphore. 407 if (semop(sem_id_1, &sops, 1) == -1) 408 tst_resm(TBROK, "semop failed - pid_setup") [all...] |
semctl06.c | 25 * semctl(2) semget(2) semop(2) 185 if (semop(id, semops, NSEMS) < 0) { 186 tst_resm(TFAIL, "\tfirst semop() failed errno %d", errno); 273 if (semop(id, semops, NSEMS) < 0) { 280 if (semop(id, semops, NSEMS) < 0) {
|
/external/strace/ |
ipc_sem.c | 74 SYS_FUNC(semop)
|