Home
last modified time | relevance | path

Searched defs:test_case (Results 1 – 25 of 253) sorted by relevance

1234567891011

/external/llvm-project/libcxx/test/libcxx/input.output/filesystems/
Dconvert_file_time.pass.cpp73 struct test_case<FileTimeT, TimeT, TimeSpecT, Base, TK_64Bit, TK_128Bit> struct
84 static constexpr auto max_time_t = std::numeric_limits<TimeT>::max();
85 static constexpr auto min_time_t = std::numeric_limits<TimeT>::min();
87 static constexpr bool test_timespec() { in test_timespec()
102 static constexpr bool test_file_time_type() { in test_file_time_type()
109 static constexpr bool check_round_trip(TimeSpecT orig) { in check_round_trip()
137 struct test_case<FileTimeT, TimeT, TimeSpecT, Base, TK_32Bit, TK_128Bit> argument
143 struct test_case<FileTimeT, TimeT, TimeSpecT, Base, TK_64Bit, TK_64Bit> struct
153 static constexpr auto max_time_t = std::numeric_limits<TimeT>::max();
154 static constexpr auto min_time_t = std::numeric_limits<TimeT>::min();
[all …]
/external/libcxx/test/libcxx/input.output/filesystems/
Dconvert_file_time.sh.cpp74 struct test_case<FileTimeT, TimeT, TimeSpecT, Base, TK_64Bit, TK_128Bit> struct
85 static constexpr auto max_time_t = std::numeric_limits<TimeT>::max();
86 static constexpr auto min_time_t = std::numeric_limits<TimeT>::min();
88 static constexpr bool test_timespec() { in test_timespec()
103 static constexpr bool test_file_time_type() { in test_file_time_type()
110 static constexpr bool check_round_trip(TimeSpecT orig) { in check_round_trip()
138 struct test_case<FileTimeT, TimeT, TimeSpecT, Base, TK_32Bit, TK_128Bit> argument
144 struct test_case<FileTimeT, TimeT, TimeSpecT, Base, TK_64Bit, TK_64Bit> struct
154 static constexpr auto max_time_t = std::numeric_limits<TimeT>::max();
155 static constexpr auto min_time_t = std::numeric_limits<TimeT>::min();
[all …]
/external/ltp/testcases/kernel/syscalls/utils/
Dmq_timed.h23 struct test_case { struct
24 int *fd;
25 unsigned int len;
26 unsigned int prio;
27 struct timespec *rq;
28 int invalid_msg;
29 int send;
30 int signal;
31 int timeout;
32 int ret;
[all …]
/external/ltp/testcases/kernel/syscalls/fgetxattr/
Dfgetxattr02.c68 struct test_case { struct
81 static struct test_case tc[] = { argument
/external/ltp/testcases/kernel/syscalls/fsetxattr/
Dfsetxattr02.c61 struct test_case { struct
73 static struct test_case tc[] = { argument
Dfsetxattr01.c63 struct test_case { struct
72 struct test_case tc[] = { argument
/external/ltp/testcases/kernel/syscalls/ppoll/
Dppoll01.c32 struct test_case { struct
33 int ttype; /* test type (enum) */
34 const char *desc; /* test description (name) */
35 int ret; /* expected ret code */
36 int err; /* expected errno code */
37 short expect_revents; /* expected revents value */
38 unsigned int nfds; /* nfds ppoll parameter */
39 sigset_t *sigmask; /* sigmask ppoll parameter */
40 sigset_t *sigmask_cur; /* sigmask set for current process */
41 struct timespec *ts; /* ts ppoll parameter */
[all …]
/external/ltp/testcases/kernel/syscalls/membarrier/
Dmembarrier01.c28 struct test_case { struct
43 struct test_case tc[] = { argument
/external/ltp/testcases/kernel/syscalls/accept/
Daccept01.c31 static struct test_case { struct
32 int domain; /* PF_INET, PF_UNIX, ... */
33 int type; /* SOCK_STREAM, SOCK_DGRAM ... */
34 int proto; /* protocol number (usually 0 = default) */
35 int *fd; /* File descriptor for the test case */
36 struct sockaddr *sockaddr; /* socket address buffer */
37 socklen_t salen; /* accept's 3rd argument */
38 int experrno; /* expected errno */
39 char *desc;
/external/ltp/testcases/kernel/syscalls/clock_adjtime/
Dclock_adjtime02.c66 struct test_case { struct
77 struct test_case tc[] = { argument
/external/ltp/testcases/kernel/syscalls/clock_nanosleep/
Dclock_nanosleep01.c28 struct test_case { struct
44 static struct test_case tcase[] = { argument
/external/ltp/testcases/kernel/syscalls/setxattr/
Dsetxattr02.c57 struct test_case { struct
66 static struct test_case tc[] = { argument
Dsetxattr01.c61 struct test_case { struct
69 struct test_case tc[] = { argument
Dsetxattr03.c49 struct test_case { struct
58 static struct test_case tc[] = { argument
/external/ltp/testcases/kernel/syscalls/setdomainname/
Dsetdomainname02.c14 struct test_case { struct
28 struct test_case *tcase = &tcases[nr]; in verify_setdomainname() argument
/external/ltp/testcases/kernel/syscalls/bind/
Dbind01.c26 static struct test_case { struct
48 struct test_case *tcase = &tcases[nr]; in verify_bind() argument
/external/ltp/testcases/kernel/syscalls/kcmp/
Dkcmp02.c36 static struct test_case { struct
43 } test_cases[] = { argument
Dkcmp01.c29 static struct test_case { struct
36 } test_cases[] = { argument
55 static void do_child(const struct test_case *test) in do_child() argument
/external/ltp/testcases/kernel/syscalls/mq_open/
Dmq_open01.c30 struct test_case { struct
50 static struct test_case tcase[] = { argument
/external/ltp/testcases/kernel/syscalls/fchown/
Dfchown02.c54 struct test_case { struct
70 static void verify_fchown(struct test_case *t) in verify_fchown() argument
/external/ltp/testcases/kernel/syscalls/clock_getres/
Dclock_getres01.c21 static struct test_case { struct
22 char *name;
23 clockid_t clk_id;
24 int ret;
25 int err;
/external/ltp/testcases/kernel/syscalls/sched_getattr/
Dsched_getattr02.c47 static struct test_case { struct
61 static void sched_getattr_verify(const struct test_case *test); argument
/external/ltp/testcases/kernel/syscalls/madvise/
Dmadvise10.c58 static const struct test_case { struct
76 static void cmp_area(char *addr, const struct test_case *tc) in cmp_area() argument
/external/ltp/testcases/kernel/syscalls/renameat2/
Drenameat201.c56 static struct test_case { struct
78 static void renameat2_verify(const struct test_case *test); argument
/external/ltp/testcases/kernel/syscalls/statx/
Dstatx03.c48 static struct test_case { struct
49 uint32_t dfd;
50 char **filename;
51 uint32_t flag;
52 uint32_t mask;
53 int32_t errnum;

1234567891011