Home
last modified time | relevance | path

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

12345678910>>...24

/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> struct
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/cronet/tot/third_party/libc++/src/test/libcxx/input.output/filesystems/
Dconvert_file_time.pass.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/cronet/stable/third_party/libc++/src/test/libcxx/input.output/filesystems/
Dconvert_file_time.pass.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.c34 static struct test_case { /* test case structure */ struct
35 int domain; /* PF_INET, PF_UNIX, ... */
36 int type; /* SOCK_STREAM, SOCK_DGRAM ... */
37 int proto; /* protocol number (usually 0 = default) */
38 int level; /* IPPROTO_* */
39 int optname;
40 void *optval;
41 int optlen;
42 int experrno; /* expected errno */
43 char *desc;
/external/ltp/testcases/kernel/syscalls/fgetxattr/
Dfgetxattr02.c68 struct test_case { struct
81 static struct test_case tc[] = { argument
/external/cronet/tot/third_party/libc++/src/test/std/containers/sequences/forwardlist/forwardlist.modifiers/
Dinsert_range_after.pass.cpp50 …auto get_insert_pos = [](auto& c, auto& test_case) { return std::ranges::next(c.before_begin(), te… in test_sequence_insert_range_after()
52 auto get_return_pos = [](auto& c, auto& test_case) { in test_sequence_insert_range_after()
58 auto& test_case = EmptyContainer_EmptyRange<T>; in test_sequence_insert_range_after() local
70 auto& test_case = EmptyContainer_OneElementRange<T>; in test_sequence_insert_range_after() local
82 auto& test_case = EmptyContainer_MidRange<T>; in test_sequence_insert_range_after() local
96 auto& test_case = OneElementContainer_Begin_EmptyRange<T>; in test_sequence_insert_range_after() local
108 auto& test_case = OneElementContainer_End_EmptyRange<T>; in test_sequence_insert_range_after() local
120 auto& test_case = OneElementContainer_Begin_OneElementRange<T>; in test_sequence_insert_range_after() local
132 auto& test_case = OneElementContainer_End_OneElementRange<T>; in test_sequence_insert_range_after() local
144 auto& test_case = OneElementContainer_Begin_MidRange<T>; in test_sequence_insert_range_after() local
[all …]
/external/cronet/stable/third_party/libc++/src/test/std/containers/sequences/forwardlist/forwardlist.modifiers/
Dinsert_range_after.pass.cpp50 …auto get_insert_pos = [](auto& c, auto& test_case) { return std::ranges::next(c.before_begin(), te… in test_sequence_insert_range_after()
52 auto get_return_pos = [](auto& c, auto& test_case) { in test_sequence_insert_range_after()
58 auto& test_case = EmptyContainer_EmptyRange<T>; in test_sequence_insert_range_after() local
70 auto& test_case = EmptyContainer_OneElementRange<T>; in test_sequence_insert_range_after() local
82 auto& test_case = EmptyContainer_MidRange<T>; in test_sequence_insert_range_after() local
96 auto& test_case = OneElementContainer_Begin_EmptyRange<T>; in test_sequence_insert_range_after() local
108 auto& test_case = OneElementContainer_End_EmptyRange<T>; in test_sequence_insert_range_after() local
120 auto& test_case = OneElementContainer_Begin_OneElementRange<T>; in test_sequence_insert_range_after() local
132 auto& test_case = OneElementContainer_End_OneElementRange<T>; in test_sequence_insert_range_after() local
144 auto& test_case = OneElementContainer_Begin_MidRange<T>; in test_sequence_insert_range_after() local
[all …]
/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.c67 struct test_case { struct
79 static struct test_case tc[] = { argument
/external/ltp/testcases/kernel/syscalls/accept/
Daccept01.c32 static struct test_case { struct
33 int domain; /* PF_INET, PF_UNIX, ... */
34 int type; /* SOCK_STREAM, SOCK_DGRAM ... */
35 int proto; /* protocol number (usually 0 = default) */
36 int *fd; /* File descriptor for the test case */
37 struct sockaddr *sockaddr; /* socket address buffer */
38 socklen_t salen; /* accept's 3rd argument */
39 int experrno; /* expected errno */
40 char *desc;
/external/ltp/testcases/kernel/syscalls/getsockopt/
Dgetsockopt01.c29 static struct test_case { struct
30 int *sockfd;
31 int level;
32 int optname;
33 void *optval;
34 socklen_t *optlen;
35 int experrno;
36 char *desc;
/external/ltp/testcases/kernel/syscalls/bind/
Dlibbind.h22 struct test_case { struct
23 int type, protocol;
24 struct sockaddr *address;
25 socklen_t addrlen;
26 const char *description;
/external/ltp/testcases/kernel/syscalls/setxattr/
Dsetxattr02.c54 struct test_case { struct
63 static struct test_case tc[] = { argument
Dsetxattr01.c54 struct test_case { struct
62 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/kcmp/
Dkcmp02.c41 static struct test_case { struct
49 } test_cases[] = { argument
Dkcmp01.c33 static struct test_case { struct
40 } test_cases[] = { argument
59 static void do_child(const struct test_case *test) in do_child() 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/mount/
Dmount02.c50 static struct test_case { struct
59 } test_cases[] = { argument
/external/ltp/testcases/kernel/syscalls/sysfs/
Dsysfs05.c16 static struct test_case { struct
31 struct test_case *tc = &tcases[nr]; in verify_sysfs05() argument
/external/ltp/testcases/kernel/syscalls/sched_getattr/
Dsched_getattr02.c28 static struct test_case { struct
43 struct test_case *tc = &tcase[n]; in verify_sched_getattr() 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/clock_settime/
Dclock_settime02.c20 struct test_case { struct
28 struct test_case tc[] = { argument

12345678910>>...24