Home
last modified time | relevance | path

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

1234567891011

/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.h25 struct test_case { struct
26 int *fd;
27 unsigned int len;
28 unsigned int prio;
29 struct tst_ts *rq;
30 long tv_sec;
31 long tv_nsec;
32 int invalid_msg;
33 int send;
34 int signal;
[all …]
/external/ltp/testcases/kernel/syscalls/setsockopt/
Dsetsockopt01.c24 static struct test_case { /* test case structure */ struct
25 int domain; /* PF_INET, PF_UNIX, ... */
26 int type; /* SOCK_STREAM, SOCK_DGRAM ... */
27 int proto; /* protocol number (usually 0 = default) */
28 int level; /* IPPROTO_* */
29 int optname;
30 void *optval;
31 int optlen;
32 int experrno; /* expected errno */
33 char *desc;
/external/ltp/testcases/kernel/syscalls/fgetxattr/
Dfgetxattr02.c68 struct test_case { struct
81 static struct test_case tc[] = { argument
/external/ltp/testcases/kernel/syscalls/membarrier/
Dmembarrier01.c28 struct test_case { struct
43 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/accept/
Daccept01.c33 static struct test_case { struct
34 int domain; /* PF_INET, PF_UNIX, ... */
35 int type; /* SOCK_STREAM, SOCK_DGRAM ... */
36 int proto; /* protocol number (usually 0 = default) */
37 int *fd; /* File descriptor for the test case */
38 struct sockaddr *sockaddr; /* socket address buffer */
39 socklen_t salen; /* accept's 3rd argument */
40 int experrno; /* expected errno */
41 char *desc;
/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/clock_nanosleep/
Dclock_nanosleep01.c40 struct test_case { struct
51 static struct test_case tcase[] = { argument
/external/ltp/testcases/kernel/syscalls/bind/
Dlibbind.h23 struct test_case { struct
24 int type, protocol;
25 struct sockaddr *address;
26 socklen_t addrlen;
27 const char *description;
Dbind01.c26 static struct test_case { struct
48 struct test_case *tcase = &tcases[nr]; in verify_bind() 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/ppoll/
Dppoll01.c34 struct test_case { struct
35 int ttype; /* test type (enum) */
36 const char *desc; /* test description (name) */
37 int ret; /* expected ret code */
38 int err; /* expected errno code */
39 short expect_revents; /* expected revents value */
40 unsigned int nfds; /* nfds ppoll parameter */
41 sigset_t *sigmask; /* sigmask ppoll parameter */
42 sigset_t *sigmask_cur; /* sigmask set for current process */
43 struct tst_ts *ts; /* ts ppoll parameter */
[all …]
/external/ltp/testcases/kernel/syscalls/recvmmsg/
Drecvmmsg01.c29 struct test_case { struct
39 static struct test_case tcase[] = { 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/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/clock_settime/
Dclock_settime02.c21 struct test_case { struct
29 struct test_case tc[] = { 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/renameat2/
Drenameat201.c56 static struct test_case { struct
78 static void renameat2_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/clock_adjtime/
Dclock_adjtime02.c67 struct test_case { struct
77 struct test_case tc[] = { argument

1234567891011