Home
last modified time | relevance | path

Searched defs:expected_errno (Results 1 – 25 of 28) sorted by relevance

12

/aosp_15_r20/bionic/tests/
H A Dlibgen_test.cpp44 char* buf, size_t buf_size, int expected_errno) { in TestBasename()
55 char* buf, size_t buf_size, int expected_errno) { in TestDirname()
H A Dutils.h319 #define ASSERT_ERRNO(expected_errno) ASSERT_EQ(Errno(expected_errno), Errno(errno)) argument
320 #define EXPECT_ERRNO(expected_errno) EXPECT_EQ(Errno(expected_errno), Errno(errno)) argument
/aosp_15_r20/external/rust/android-crates-io/crates/vmm-sys-util/src/
Derrno.rs143 let expected_errno = libc::EBADF; in test_errno() localVariable
145 let expected_errno = libc::EIO; in test_errno() localVariable
/aosp_15_r20/kernel/tests/net/test/
H A Dsock_diag_test.py127 def _EventDuringBlockingCall(self, sock, call, expected_errno, event): argument
153 def CloseDuringBlockingCall(self, sock, call, expected_errno): argument
841 def RstDuringBlockingCall(self, sock, call, expected_errno): argument
/aosp_15_r20/external/ltp/testcases/kernel/syscalls/migrate_pages/
H A Dmigrate_pages_common.c49 int check_errno(long expected_errno) in check_errno()
/aosp_15_r20/external/linux-kselftest/tools/testing/selftests/bpf/prog_tests/
H A Dobj_name.c9 int expected_errno; in test_obj_name() member
H A Dbind_perm.c22 void try_bind(int family, int port, int expected_errno) in try_bind()
/aosp_15_r20/external/ltp/testcases/kernel/syscalls/getrandom/
H A Dgetrandom05.c27 int expected_errno; member
/aosp_15_r20/external/ltp/testcases/kernel/syscalls/futimesat/
H A Dfutimesat01.c57 static const int expected_errno[] = { 0, 0, ENOTDIR, EBADF, 0 }; variable
/aosp_15_r20/external/ltp/testcases/kernel/syscalls/unlink/
H A Dunlink09.c32 int expected_errno; member
/aosp_15_r20/external/ltp/testcases/kernel/syscalls/munmap/
H A Dmunmap03.c93 static void check_and_print(int expected_errno) in check_and_print()
/aosp_15_r20/external/ltp/testcases/kernel/syscalls/rename/
H A Drename11.c126 static void check_and_print(int expected_errno) in check_and_print()
/aosp_15_r20/external/igt-gpu-tools/tests/i915/
H A Dgem_fenced_exec_thrash.c93 static void run_test(int fd, int num_fences, int expected_errno, in run_test()
H A Dgem_exec_params.c246 #define RUN_FAIL(expected_errno) do { \ argument
/aosp_15_r20/external/linux-kselftest/tools/testing/selftests/kvm/x86_64/
H A Dvmx_set_nested_state_test.c36 int expected_errno) in test_nested_state_expect_errno()
/aosp_15_r20/external/ltp/testcases/kernel/syscalls/fstatat/
H A Dfstatat01.c58 static const int expected_errno[] = { 0, 0, ENOTDIR, EBADF, EINVAL, 0 }; variable
/aosp_15_r20/external/ltp/testcases/kernel/syscalls/fanotify/
H A Dfanotify14.c68 int expected_errno; member
/aosp_15_r20/external/jemalloc_new/test/unit/
H A Dmalloc_io.c18 int expected_errno; in TEST_BEGIN() member
/aosp_15_r20/external/ltp/testcases/kernel/syscalls/linkat/
H A Dlinkat02.c66 int expected_errno; member
H A Dlinkat01.c98 int expected_errno; member
/aosp_15_r20/external/llvm-libc/test/src/stdlib/
H A Dstrtold_test.cpp81 const int expected_errno = expectedErrno; in run_test() local
/aosp_15_r20/external/ltp/testcases/kernel/syscalls/symlinkat/
H A Dsymlinkat01.c76 int expected_errno; member
/aosp_15_r20/external/llvm-libc/test/src/sys/mman/linux/
H A Dmlock_test.cpp84 int expected_errno = is_permitted_size(negative_size) ? EINVAL : ENOMEM; in TEST() local
/aosp_15_r20/external/ltp/testcases/kernel/syscalls/epoll/
H A Depoll-ltp.c475 int expected_errno = 0; in test_epoll_ctl() local
/aosp_15_r20/external/ltp/testcases/kernel/syscalls/cma/
H A Dprocess_vm01.c90 static void check_errno(long expected_errno) in check_errno()

12