Home
last modified time | relevance | path

Searched refs:TEST_SYSCALL_STR (Results 1 – 25 of 103) sorted by relevance

12345

/external/strace/tests/
Dxutimes.c34 #ifndef TEST_SYSCALL_STR
35 # error TEST_SYSCALL_STR must be defined
70 static const char proto_fname[] = TEST_SYSCALL_STR "_sample"; in main()
71 static const char qname[] = "\"" TEST_SYSCALL_STR "_sample\""; in main()
79 printf("%s(NULL, NULL) = %s\n", TEST_SYSCALL_STR, errstr); in main()
82 printf("%s(\"\", NULL) = %s\n", TEST_SYSCALL_STR, errstr); in main()
85 printf("%s(%s, NULL) = %s\n", TEST_SYSCALL_STR, qname, errstr); in main()
90 printf("%s(%p, NULL) = %s\n", TEST_SYSCALL_STR, fname, errstr); in main()
94 printf("%s(%#jx, NULL) = %s\n", TEST_SYSCALL_STR, in main()
100 printf("%s(%s, %p) = %s\n", TEST_SYSCALL_STR, in main()
[all …]
Dsockname.c45 #ifndef TEST_SYSCALL_STR
46 # define TEST_SYSCALL_STR STRINGIFY_VAL(TEST_SYSCALL_NAME) macro
48 #define TEST_SOCKET TEST_SYSCALL_STR ".socket"
86 perror_msg_and_skip(TEST_SYSCALL_STR); in test_sockname_syscall()
89 TEST_SYSCALL_STR, fd, PREFIX_S_STR, addr->sun_path, in test_sockname_syscall()
97 perror_msg_and_skip(TEST_SYSCALL_STR); in test_sockname_syscall()
100 TEST_SYSCALL_STR, fd, PREFIX_S_STR, addr->sun_path, in test_sockname_syscall()
106 TEST_SYSCALL_STR, fd, PREFIX_F_STR, addr, SUFFIX_STR, in test_sockname_syscall()
112 TEST_SYSCALL_STR, fd, rc == -1 ? PREFIX_F_STR : PREFIX_S_STR, in test_sockname_syscall()
119 TEST_SYSCALL_STR, fd, PREFIX_F_STR, addr, in test_sockname_syscall()
[all …]
Dxselect.c66 perror_msg_and_fail(TEST_SYSCALL_STR \
121 perror_msg_and_skip(TEST_SYSCALL_STR); in main()
123 perror_msg_and_fail(TEST_SYSCALL_STR); in main()
128 TEST_SYSCALL_STR, (long long) tv_in.tv_sec, in main()
136 TEST_SYSCALL_STR, (unsigned long) a_tv + 1, errstr); in main()
147 TEST_SYSCALL_STR, i, fds[0], fds[1], in main()
156 TEST_SYSCALL_STR, i, in main()
176 TEST_SYSCALL_STR, nfds, fds[0], fds[1], in main()
187 TEST_SYSCALL_STR, nfds, fds[0], fds[1], in main()
208 TEST_SYSCALL_STR, nfds, fds[0], fds[1], in main()
[all …]
Dfcntl-common.c72 ", l_start=%jd, l_len=%jd}) = %s\n", TEST_SYSCALL_STR, name, in test_flock_einval()
78 TEST_SYSCALL_STR, name, bad_addr, errstr); in test_flock_einval()
96 ", l_start=%jd, l_len=%jd}) = %s\n", TEST_SYSCALL_STR, name, in test_flock64_einval()
102 TEST_SYSCALL_STR, name, bad_addr, errstr); in test_flock64_einval()
119 TEST_SYSCALL_STR, FILE_LEN, errstr); in test_flock()
126 TEST_SYSCALL_STR, FILE_LEN); in test_flock()
131 TEST_SYSCALL_STR, FILE_LEN); in test_flock()
149 TEST_SYSCALL_STR, FILE_LEN, errstr); in test_flock64_ofd()
156 TEST_SYSCALL_STR, FILE_LEN); in test_flock64_ofd()
161 TEST_SYSCALL_STR, FILE_LEN); in test_flock64_ofd()
[all …]
Dfcntl64.c35 # define TEST_SYSCALL_STR "fcntl64" macro
52 TEST_SYSCALL_STR, FILE_LEN, errstr); in test_flock64_lk64()
60 TEST_SYSCALL_STR, FILE_LEN); in test_flock64_lk64()
65 TEST_SYSCALL_STR, FILE_LEN); in test_flock64_lk64()
Dumount2.c36 # define TEST_SYSCALL_STR "umount2" macro
39 # define TEST_SYSCALL_STR "umount" macro
50 " = -1 EINVAL (%m)\n", TEST_SYSCALL_STR, sample); in main()
Dumount.c36 # define TEST_SYSCALL_STR "oldumount" macro
40 # define TEST_SYSCALL_STR "umount" macro
55 TEST_SYSCALL_STR, sample, rc, errno2name()); in main()
Dstatx.c40 # define TEST_SYSCALL_STR "statx" macro
57 TEST_SYSCALL_STR, sample, TEST_SYSCALL_STATX_FLAGS_STR, \
/external/strace/tests-m32/
Dxutimes.c34 #ifndef TEST_SYSCALL_STR
35 # error TEST_SYSCALL_STR must be defined
70 static const char proto_fname[] = TEST_SYSCALL_STR "_sample"; in main()
71 static const char qname[] = "\"" TEST_SYSCALL_STR "_sample\""; in main()
79 printf("%s(NULL, NULL) = %s\n", TEST_SYSCALL_STR, errstr); in main()
82 printf("%s(\"\", NULL) = %s\n", TEST_SYSCALL_STR, errstr); in main()
85 printf("%s(%s, NULL) = %s\n", TEST_SYSCALL_STR, qname, errstr); in main()
90 printf("%s(%p, NULL) = %s\n", TEST_SYSCALL_STR, fname, errstr); in main()
94 printf("%s(%#jx, NULL) = %s\n", TEST_SYSCALL_STR, in main()
100 printf("%s(%s, %p) = %s\n", TEST_SYSCALL_STR, in main()
[all …]
Dsockname.c45 #ifndef TEST_SYSCALL_STR
46 # define TEST_SYSCALL_STR STRINGIFY_VAL(TEST_SYSCALL_NAME) macro
48 #define TEST_SOCKET TEST_SYSCALL_STR ".socket"
86 perror_msg_and_skip(TEST_SYSCALL_STR); in test_sockname_syscall()
89 TEST_SYSCALL_STR, fd, PREFIX_S_STR, addr->sun_path, in test_sockname_syscall()
97 perror_msg_and_skip(TEST_SYSCALL_STR); in test_sockname_syscall()
100 TEST_SYSCALL_STR, fd, PREFIX_S_STR, addr->sun_path, in test_sockname_syscall()
106 TEST_SYSCALL_STR, fd, PREFIX_F_STR, addr, SUFFIX_STR, in test_sockname_syscall()
112 TEST_SYSCALL_STR, fd, rc == -1 ? PREFIX_F_STR : PREFIX_S_STR, in test_sockname_syscall()
119 TEST_SYSCALL_STR, fd, PREFIX_F_STR, addr, in test_sockname_syscall()
[all …]
Dxselect.c66 perror_msg_and_fail(TEST_SYSCALL_STR \
121 perror_msg_and_skip(TEST_SYSCALL_STR); in main()
123 perror_msg_and_fail(TEST_SYSCALL_STR); in main()
128 TEST_SYSCALL_STR, (long long) tv_in.tv_sec, in main()
136 TEST_SYSCALL_STR, (unsigned long) a_tv + 1, errstr); in main()
147 TEST_SYSCALL_STR, i, fds[0], fds[1], in main()
156 TEST_SYSCALL_STR, i, in main()
176 TEST_SYSCALL_STR, nfds, fds[0], fds[1], in main()
187 TEST_SYSCALL_STR, nfds, fds[0], fds[1], in main()
208 TEST_SYSCALL_STR, nfds, fds[0], fds[1], in main()
[all …]
Dfcntl-common.c72 ", l_start=%jd, l_len=%jd}) = %s\n", TEST_SYSCALL_STR, name, in test_flock_einval()
78 TEST_SYSCALL_STR, name, bad_addr, errstr); in test_flock_einval()
96 ", l_start=%jd, l_len=%jd}) = %s\n", TEST_SYSCALL_STR, name, in test_flock64_einval()
102 TEST_SYSCALL_STR, name, bad_addr, errstr); in test_flock64_einval()
119 TEST_SYSCALL_STR, FILE_LEN, errstr); in test_flock()
126 TEST_SYSCALL_STR, FILE_LEN); in test_flock()
131 TEST_SYSCALL_STR, FILE_LEN); in test_flock()
149 TEST_SYSCALL_STR, FILE_LEN, errstr); in test_flock64_ofd()
156 TEST_SYSCALL_STR, FILE_LEN); in test_flock64_ofd()
161 TEST_SYSCALL_STR, FILE_LEN); in test_flock64_ofd()
[all …]
Dfcntl64.c35 # define TEST_SYSCALL_STR "fcntl64" macro
52 TEST_SYSCALL_STR, FILE_LEN, errstr); in test_flock64_lk64()
60 TEST_SYSCALL_STR, FILE_LEN); in test_flock64_lk64()
65 TEST_SYSCALL_STR, FILE_LEN); in test_flock64_lk64()
Dumount2.c36 # define TEST_SYSCALL_STR "umount2" macro
39 # define TEST_SYSCALL_STR "umount" macro
50 " = -1 EINVAL (%m)\n", TEST_SYSCALL_STR, sample); in main()
Dumount.c36 # define TEST_SYSCALL_STR "oldumount" macro
40 # define TEST_SYSCALL_STR "umount" macro
55 TEST_SYSCALL_STR, sample, rc, errno2name()); in main()
Dstatx.c40 # define TEST_SYSCALL_STR "statx" macro
57 TEST_SYSCALL_STR, sample, TEST_SYSCALL_STATX_FLAGS_STR, \
Dfcntl.c35 # define TEST_SYSCALL_STR "fcntl" macro
48 TEST_SYSCALL_STR, name, &fl, errstr); in test_flock64_undecoded()
/external/strace/tests-mx32/
Dxutimes.c34 #ifndef TEST_SYSCALL_STR
35 # error TEST_SYSCALL_STR must be defined
70 static const char proto_fname[] = TEST_SYSCALL_STR "_sample"; in main()
71 static const char qname[] = "\"" TEST_SYSCALL_STR "_sample\""; in main()
79 printf("%s(NULL, NULL) = %s\n", TEST_SYSCALL_STR, errstr); in main()
82 printf("%s(\"\", NULL) = %s\n", TEST_SYSCALL_STR, errstr); in main()
85 printf("%s(%s, NULL) = %s\n", TEST_SYSCALL_STR, qname, errstr); in main()
90 printf("%s(%p, NULL) = %s\n", TEST_SYSCALL_STR, fname, errstr); in main()
94 printf("%s(%#jx, NULL) = %s\n", TEST_SYSCALL_STR, in main()
100 printf("%s(%s, %p) = %s\n", TEST_SYSCALL_STR, in main()
[all …]
Dsockname.c45 #ifndef TEST_SYSCALL_STR
46 # define TEST_SYSCALL_STR STRINGIFY_VAL(TEST_SYSCALL_NAME) macro
48 #define TEST_SOCKET TEST_SYSCALL_STR ".socket"
86 perror_msg_and_skip(TEST_SYSCALL_STR); in test_sockname_syscall()
89 TEST_SYSCALL_STR, fd, PREFIX_S_STR, addr->sun_path, in test_sockname_syscall()
97 perror_msg_and_skip(TEST_SYSCALL_STR); in test_sockname_syscall()
100 TEST_SYSCALL_STR, fd, PREFIX_S_STR, addr->sun_path, in test_sockname_syscall()
106 TEST_SYSCALL_STR, fd, PREFIX_F_STR, addr, SUFFIX_STR, in test_sockname_syscall()
112 TEST_SYSCALL_STR, fd, rc == -1 ? PREFIX_F_STR : PREFIX_S_STR, in test_sockname_syscall()
119 TEST_SYSCALL_STR, fd, PREFIX_F_STR, addr, in test_sockname_syscall()
[all …]
Dxselect.c66 perror_msg_and_fail(TEST_SYSCALL_STR \
121 perror_msg_and_skip(TEST_SYSCALL_STR); in main()
123 perror_msg_and_fail(TEST_SYSCALL_STR); in main()
128 TEST_SYSCALL_STR, (long long) tv_in.tv_sec, in main()
136 TEST_SYSCALL_STR, (unsigned long) a_tv + 1, errstr); in main()
147 TEST_SYSCALL_STR, i, fds[0], fds[1], in main()
156 TEST_SYSCALL_STR, i, in main()
176 TEST_SYSCALL_STR, nfds, fds[0], fds[1], in main()
187 TEST_SYSCALL_STR, nfds, fds[0], fds[1], in main()
208 TEST_SYSCALL_STR, nfds, fds[0], fds[1], in main()
[all …]
Dfcntl-common.c72 ", l_start=%jd, l_len=%jd}) = %s\n", TEST_SYSCALL_STR, name, in test_flock_einval()
78 TEST_SYSCALL_STR, name, bad_addr, errstr); in test_flock_einval()
96 ", l_start=%jd, l_len=%jd}) = %s\n", TEST_SYSCALL_STR, name, in test_flock64_einval()
102 TEST_SYSCALL_STR, name, bad_addr, errstr); in test_flock64_einval()
119 TEST_SYSCALL_STR, FILE_LEN, errstr); in test_flock()
126 TEST_SYSCALL_STR, FILE_LEN); in test_flock()
131 TEST_SYSCALL_STR, FILE_LEN); in test_flock()
149 TEST_SYSCALL_STR, FILE_LEN, errstr); in test_flock64_ofd()
156 TEST_SYSCALL_STR, FILE_LEN); in test_flock64_ofd()
161 TEST_SYSCALL_STR, FILE_LEN); in test_flock64_ofd()
[all …]
Dfcntl64.c35 # define TEST_SYSCALL_STR "fcntl64" macro
52 TEST_SYSCALL_STR, FILE_LEN, errstr); in test_flock64_lk64()
60 TEST_SYSCALL_STR, FILE_LEN); in test_flock64_lk64()
65 TEST_SYSCALL_STR, FILE_LEN); in test_flock64_lk64()
Dumount2.c36 # define TEST_SYSCALL_STR "umount2" macro
39 # define TEST_SYSCALL_STR "umount" macro
50 " = -1 EINVAL (%m)\n", TEST_SYSCALL_STR, sample); in main()
Dumount.c36 # define TEST_SYSCALL_STR "oldumount" macro
40 # define TEST_SYSCALL_STR "umount" macro
55 TEST_SYSCALL_STR, sample, rc, errno2name()); in main()
Dstatx.c40 # define TEST_SYSCALL_STR "statx" macro
57 TEST_SYSCALL_STR, sample, TEST_SYSCALL_STATX_FLAGS_STR, \

12345