Home
last modified time | relevance | path

Searched refs:LENGTH_OF (Results 1 – 25 of 37) sorted by relevance

12

/external/strace/tests-mx32/
Dmmsg.c48 void *w0 = tail_memdup(w0_c, LENGTH_OF(w0_c)); in main()
52 void *w1 = tail_memdup(w1_c, LENGTH_OF(w1_c)); in main()
56 void *w2 = tail_memdup(w2_c, LENGTH_OF(w2_c)); in main()
61 .iov_len = LENGTH_OF(w0_c) in main()
64 .iov_len = LENGTH_OF(w1_c) in main()
72 .iov_len = LENGTH_OF(w2_c) in main()
114 w0_c, LENGTH_OF(w0_c), in main()
115 w1_c, LENGTH_OF(w1_c), in main()
117 LENGTH_OF(w0_c) + LENGTH_OF(w1_c), in main()
118 w2_c, LENGTH_OF(w2_c), (unsigned int) ARRAY_SIZE(w1_iov_), in main()
[all …]
Dvmsplice.c53 void *w0 = tail_memdup(w0_c, LENGTH_OF(w0_c)); in main()
57 void *w1 = tail_memdup(w1_c, LENGTH_OF(w1_c)); in main()
61 void *w2 = tail_memdup(w2_c, LENGTH_OF(w2_c)); in main()
66 .iov_len = LENGTH_OF(w0_c) in main()
69 .iov_len = LENGTH_OF(w1_c) in main()
72 .iov_len = LENGTH_OF(w2_c) in main()
77 LENGTH_OF(w0_c) + LENGTH_OF(w1_c) + LENGTH_OF(w2_c); in main()
88 w0_c, LENGTH_OF(w0_c), w1_c, LENGTH_OF(w1_c), in main()
89 w2_c, LENGTH_OF(w2_c), (unsigned int) ARRAY_SIZE(iov_), in main()
91 LENGTH_OF(w0_c), w0_d, w0_c, in main()
[all …]
Dreadv.c47 void *w0 = tail_memdup(w0_c, LENGTH_OF(w0_c)); in main()
49 const void *efault = w0 + LENGTH_OF(w0_c); in main()
53 void *w1 = tail_memdup(w1_c, LENGTH_OF(w1_c)); in main()
57 void *w2 = tail_memdup(w2_c, LENGTH_OF(w2_c)); in main()
76 .iov_len = LENGTH_OF(w0_c) in main()
79 .iov_len = LENGTH_OF(w1_c) in main()
82 .iov_len = LENGTH_OF(w2_c) in main()
93 fds[1], w2_c, LENGTH_OF(w2_c), w_iov + ARRAY_SIZE(w_iov_), in main()
97 LENGTH_OF(w0_c) + LENGTH_OF(w1_c) + LENGTH_OF(w2_c); in main()
110 fds[1], w0_c, LENGTH_OF(w0_c), w1_c, LENGTH_OF(w1_c), in main()
[all …]
Dpreadv-pwritev.c54 void *w0 = tail_memdup(w0_c, LENGTH_OF(w0_c)); in main()
56 const void *efault = w0 + LENGTH_OF(w0_c); in main()
60 void *w1 = tail_memdup(w1_c, LENGTH_OF(w1_c)); in main()
64 void *w2 = tail_memdup(w2_c, LENGTH_OF(w2_c)); in main()
84 .iov_len = LENGTH_OF(w0_c) in main()
87 .iov_len = LENGTH_OF(w1_c) in main()
90 .iov_len = LENGTH_OF(w2_c) in main()
103 w2_c, LENGTH_OF(w2_c), w_iov + ARRAY_SIZE(w_iov_), in main()
107 LENGTH_OF(w0_c) + LENGTH_OF(w1_c) + LENGTH_OF(w2_c); in main()
123 w0_c, LENGTH_OF(w0_c), w1_c, LENGTH_OF(w1_c), in main()
[all …]
Drecvmsg.c51 void *w0 = tail_memdup(w0_c, LENGTH_OF(w0_c)); in main()
55 void *w1 = tail_memdup(w1_c, LENGTH_OF(w1_c)); in main()
59 void *w2 = tail_memdup(w2_c, LENGTH_OF(w2_c)); in main()
69 .iov_len = LENGTH_OF(w0_c) in main()
72 .iov_len = LENGTH_OF(w1_c) in main()
75 .iov_len = LENGTH_OF(w2_c) in main()
80 LENGTH_OF(w0_c) + LENGTH_OF(w1_c) + LENGTH_OF(w2_c); in main()
100 w0_c, LENGTH_OF(w0_c), in main()
101 w1_c, LENGTH_OF(w1_c), in main()
102 w2_c, LENGTH_OF(w2_c), in main()
[all …]
Dpreadv2-pwritev2.c70 void *w0 = tail_memdup(w0_c, LENGTH_OF(w0_c)); in dumpio()
74 void *w1 = tail_memdup(w1_c, LENGTH_OF(w1_c)); in dumpio()
78 void *w2 = tail_memdup(w2_c, LENGTH_OF(w2_c)); in dumpio()
90 .iov_len = LENGTH_OF(w0_c) in dumpio()
93 .iov_len = LENGTH_OF(w1_c) in dumpio()
96 .iov_len = LENGTH_OF(w2_c) in dumpio()
109 w2_c, LENGTH_OF(w2_c), w_iov + ARRAY_SIZE(w_iov_), in dumpio()
113 LENGTH_OF(w0_c) + LENGTH_OF(w1_c) + LENGTH_OF(w2_c); in dumpio()
129 w0_c, LENGTH_OF(w0_c), w1_c, LENGTH_OF(w1_c), in dumpio()
130 w2_c, LENGTH_OF(w2_c), (unsigned int) ARRAY_SIZE(w_iov_), w_len, in dumpio()
[all …]
Dpreadv.c105 if (write(fd, w, LENGTH_OF(w)) != LENGTH_OF(w)) in main()
111 const unsigned int r_len = (LENGTH_OF(w) + 1) / 2; in main()
131 void *r2 = tail_alloc(LENGTH_OF(w)); in main()
139 .iov_len = LENGTH_OF(w) in main()
145 if (rc != (int) LENGTH_OF(w) - (int) r_len) in main()
147 (int) LENGTH_OF(w) - r_len, rc); in main()
150 fd, r1_c, r_len, LENGTH_OF(w), in main()
152 r_len, LENGTH_OF(w) - r_len); in main()
Dprctl-seccomp-strict.c62 rc = write(1, text1, LENGTH_OF(text1)) != LENGTH_OF(text1); in main()
65 rc += write(1, text2, LENGTH_OF(text2)) != LENGTH_OF(text2); in main()
/external/strace/tests/
Dmmsg.c48 void *w0 = tail_memdup(w0_c, LENGTH_OF(w0_c)); in main()
52 void *w1 = tail_memdup(w1_c, LENGTH_OF(w1_c)); in main()
56 void *w2 = tail_memdup(w2_c, LENGTH_OF(w2_c)); in main()
61 .iov_len = LENGTH_OF(w0_c) in main()
64 .iov_len = LENGTH_OF(w1_c) in main()
72 .iov_len = LENGTH_OF(w2_c) in main()
114 w0_c, LENGTH_OF(w0_c), in main()
115 w1_c, LENGTH_OF(w1_c), in main()
117 LENGTH_OF(w0_c) + LENGTH_OF(w1_c), in main()
118 w2_c, LENGTH_OF(w2_c), (unsigned int) ARRAY_SIZE(w1_iov_), in main()
[all …]
Dvmsplice.c53 void *w0 = tail_memdup(w0_c, LENGTH_OF(w0_c)); in main()
57 void *w1 = tail_memdup(w1_c, LENGTH_OF(w1_c)); in main()
61 void *w2 = tail_memdup(w2_c, LENGTH_OF(w2_c)); in main()
66 .iov_len = LENGTH_OF(w0_c) in main()
69 .iov_len = LENGTH_OF(w1_c) in main()
72 .iov_len = LENGTH_OF(w2_c) in main()
77 LENGTH_OF(w0_c) + LENGTH_OF(w1_c) + LENGTH_OF(w2_c); in main()
88 w0_c, LENGTH_OF(w0_c), w1_c, LENGTH_OF(w1_c), in main()
89 w2_c, LENGTH_OF(w2_c), (unsigned int) ARRAY_SIZE(iov_), in main()
91 LENGTH_OF(w0_c), w0_d, w0_c, in main()
[all …]
Dreadv.c47 void *w0 = tail_memdup(w0_c, LENGTH_OF(w0_c)); in main()
49 const void *efault = w0 + LENGTH_OF(w0_c); in main()
53 void *w1 = tail_memdup(w1_c, LENGTH_OF(w1_c)); in main()
57 void *w2 = tail_memdup(w2_c, LENGTH_OF(w2_c)); in main()
76 .iov_len = LENGTH_OF(w0_c) in main()
79 .iov_len = LENGTH_OF(w1_c) in main()
82 .iov_len = LENGTH_OF(w2_c) in main()
93 fds[1], w2_c, LENGTH_OF(w2_c), w_iov + ARRAY_SIZE(w_iov_), in main()
97 LENGTH_OF(w0_c) + LENGTH_OF(w1_c) + LENGTH_OF(w2_c); in main()
110 fds[1], w0_c, LENGTH_OF(w0_c), w1_c, LENGTH_OF(w1_c), in main()
[all …]
Dpreadv-pwritev.c54 void *w0 = tail_memdup(w0_c, LENGTH_OF(w0_c)); in main()
56 const void *efault = w0 + LENGTH_OF(w0_c); in main()
60 void *w1 = tail_memdup(w1_c, LENGTH_OF(w1_c)); in main()
64 void *w2 = tail_memdup(w2_c, LENGTH_OF(w2_c)); in main()
84 .iov_len = LENGTH_OF(w0_c) in main()
87 .iov_len = LENGTH_OF(w1_c) in main()
90 .iov_len = LENGTH_OF(w2_c) in main()
103 w2_c, LENGTH_OF(w2_c), w_iov + ARRAY_SIZE(w_iov_), in main()
107 LENGTH_OF(w0_c) + LENGTH_OF(w1_c) + LENGTH_OF(w2_c); in main()
123 w0_c, LENGTH_OF(w0_c), w1_c, LENGTH_OF(w1_c), in main()
[all …]
Drecvmsg.c51 void *w0 = tail_memdup(w0_c, LENGTH_OF(w0_c)); in main()
55 void *w1 = tail_memdup(w1_c, LENGTH_OF(w1_c)); in main()
59 void *w2 = tail_memdup(w2_c, LENGTH_OF(w2_c)); in main()
69 .iov_len = LENGTH_OF(w0_c) in main()
72 .iov_len = LENGTH_OF(w1_c) in main()
75 .iov_len = LENGTH_OF(w2_c) in main()
80 LENGTH_OF(w0_c) + LENGTH_OF(w1_c) + LENGTH_OF(w2_c); in main()
100 w0_c, LENGTH_OF(w0_c), in main()
101 w1_c, LENGTH_OF(w1_c), in main()
102 w2_c, LENGTH_OF(w2_c), in main()
[all …]
Dpreadv2-pwritev2.c70 void *w0 = tail_memdup(w0_c, LENGTH_OF(w0_c)); in dumpio()
74 void *w1 = tail_memdup(w1_c, LENGTH_OF(w1_c)); in dumpio()
78 void *w2 = tail_memdup(w2_c, LENGTH_OF(w2_c)); in dumpio()
90 .iov_len = LENGTH_OF(w0_c) in dumpio()
93 .iov_len = LENGTH_OF(w1_c) in dumpio()
96 .iov_len = LENGTH_OF(w2_c) in dumpio()
109 w2_c, LENGTH_OF(w2_c), w_iov + ARRAY_SIZE(w_iov_), in dumpio()
113 LENGTH_OF(w0_c) + LENGTH_OF(w1_c) + LENGTH_OF(w2_c); in dumpio()
129 w0_c, LENGTH_OF(w0_c), w1_c, LENGTH_OF(w1_c), in dumpio()
130 w2_c, LENGTH_OF(w2_c), (unsigned int) ARRAY_SIZE(w_iov_), w_len, in dumpio()
[all …]
Dpreadv.c105 if (write(fd, w, LENGTH_OF(w)) != LENGTH_OF(w)) in main()
111 const unsigned int r_len = (LENGTH_OF(w) + 1) / 2; in main()
131 void *r2 = tail_alloc(LENGTH_OF(w)); in main()
139 .iov_len = LENGTH_OF(w) in main()
145 if (rc != (int) LENGTH_OF(w) - (int) r_len) in main()
147 (int) LENGTH_OF(w) - r_len, rc); in main()
150 fd, r1_c, r_len, LENGTH_OF(w), in main()
152 r_len, LENGTH_OF(w) - r_len); in main()
Dprctl-seccomp-strict.c62 rc = write(1, text1, LENGTH_OF(text1)) != LENGTH_OF(text1); in main()
65 rc += write(1, text2, LENGTH_OF(text2)) != LENGTH_OF(text2); in main()
/external/strace/tests-m32/
Dmmsg.c48 void *w0 = tail_memdup(w0_c, LENGTH_OF(w0_c)); in main()
52 void *w1 = tail_memdup(w1_c, LENGTH_OF(w1_c)); in main()
56 void *w2 = tail_memdup(w2_c, LENGTH_OF(w2_c)); in main()
61 .iov_len = LENGTH_OF(w0_c) in main()
64 .iov_len = LENGTH_OF(w1_c) in main()
72 .iov_len = LENGTH_OF(w2_c) in main()
114 w0_c, LENGTH_OF(w0_c), in main()
115 w1_c, LENGTH_OF(w1_c), in main()
117 LENGTH_OF(w0_c) + LENGTH_OF(w1_c), in main()
118 w2_c, LENGTH_OF(w2_c), (unsigned int) ARRAY_SIZE(w1_iov_), in main()
[all …]
Dvmsplice.c53 void *w0 = tail_memdup(w0_c, LENGTH_OF(w0_c)); in main()
57 void *w1 = tail_memdup(w1_c, LENGTH_OF(w1_c)); in main()
61 void *w2 = tail_memdup(w2_c, LENGTH_OF(w2_c)); in main()
66 .iov_len = LENGTH_OF(w0_c) in main()
69 .iov_len = LENGTH_OF(w1_c) in main()
72 .iov_len = LENGTH_OF(w2_c) in main()
77 LENGTH_OF(w0_c) + LENGTH_OF(w1_c) + LENGTH_OF(w2_c); in main()
88 w0_c, LENGTH_OF(w0_c), w1_c, LENGTH_OF(w1_c), in main()
89 w2_c, LENGTH_OF(w2_c), (unsigned int) ARRAY_SIZE(iov_), in main()
91 LENGTH_OF(w0_c), w0_d, w0_c, in main()
[all …]
Dreadv.c47 void *w0 = tail_memdup(w0_c, LENGTH_OF(w0_c)); in main()
49 const void *efault = w0 + LENGTH_OF(w0_c); in main()
53 void *w1 = tail_memdup(w1_c, LENGTH_OF(w1_c)); in main()
57 void *w2 = tail_memdup(w2_c, LENGTH_OF(w2_c)); in main()
76 .iov_len = LENGTH_OF(w0_c) in main()
79 .iov_len = LENGTH_OF(w1_c) in main()
82 .iov_len = LENGTH_OF(w2_c) in main()
93 fds[1], w2_c, LENGTH_OF(w2_c), w_iov + ARRAY_SIZE(w_iov_), in main()
97 LENGTH_OF(w0_c) + LENGTH_OF(w1_c) + LENGTH_OF(w2_c); in main()
110 fds[1], w0_c, LENGTH_OF(w0_c), w1_c, LENGTH_OF(w1_c), in main()
[all …]
Dpreadv-pwritev.c54 void *w0 = tail_memdup(w0_c, LENGTH_OF(w0_c)); in main()
56 const void *efault = w0 + LENGTH_OF(w0_c); in main()
60 void *w1 = tail_memdup(w1_c, LENGTH_OF(w1_c)); in main()
64 void *w2 = tail_memdup(w2_c, LENGTH_OF(w2_c)); in main()
84 .iov_len = LENGTH_OF(w0_c) in main()
87 .iov_len = LENGTH_OF(w1_c) in main()
90 .iov_len = LENGTH_OF(w2_c) in main()
103 w2_c, LENGTH_OF(w2_c), w_iov + ARRAY_SIZE(w_iov_), in main()
107 LENGTH_OF(w0_c) + LENGTH_OF(w1_c) + LENGTH_OF(w2_c); in main()
123 w0_c, LENGTH_OF(w0_c), w1_c, LENGTH_OF(w1_c), in main()
[all …]
Drecvmsg.c51 void *w0 = tail_memdup(w0_c, LENGTH_OF(w0_c)); in main()
55 void *w1 = tail_memdup(w1_c, LENGTH_OF(w1_c)); in main()
59 void *w2 = tail_memdup(w2_c, LENGTH_OF(w2_c)); in main()
69 .iov_len = LENGTH_OF(w0_c) in main()
72 .iov_len = LENGTH_OF(w1_c) in main()
75 .iov_len = LENGTH_OF(w2_c) in main()
80 LENGTH_OF(w0_c) + LENGTH_OF(w1_c) + LENGTH_OF(w2_c); in main()
100 w0_c, LENGTH_OF(w0_c), in main()
101 w1_c, LENGTH_OF(w1_c), in main()
102 w2_c, LENGTH_OF(w2_c), in main()
[all …]
Dpreadv2-pwritev2.c70 void *w0 = tail_memdup(w0_c, LENGTH_OF(w0_c)); in dumpio()
74 void *w1 = tail_memdup(w1_c, LENGTH_OF(w1_c)); in dumpio()
78 void *w2 = tail_memdup(w2_c, LENGTH_OF(w2_c)); in dumpio()
90 .iov_len = LENGTH_OF(w0_c) in dumpio()
93 .iov_len = LENGTH_OF(w1_c) in dumpio()
96 .iov_len = LENGTH_OF(w2_c) in dumpio()
109 w2_c, LENGTH_OF(w2_c), w_iov + ARRAY_SIZE(w_iov_), in dumpio()
113 LENGTH_OF(w0_c) + LENGTH_OF(w1_c) + LENGTH_OF(w2_c); in dumpio()
129 w0_c, LENGTH_OF(w0_c), w1_c, LENGTH_OF(w1_c), in dumpio()
130 w2_c, LENGTH_OF(w2_c), (unsigned int) ARRAY_SIZE(w_iov_), w_len, in dumpio()
[all …]
Dpreadv.c105 if (write(fd, w, LENGTH_OF(w)) != LENGTH_OF(w)) in main()
111 const unsigned int r_len = (LENGTH_OF(w) + 1) / 2; in main()
131 void *r2 = tail_alloc(LENGTH_OF(w)); in main()
139 .iov_len = LENGTH_OF(w) in main()
145 if (rc != (int) LENGTH_OF(w) - (int) r_len) in main()
147 (int) LENGTH_OF(w) - r_len, rc); in main()
150 fd, r1_c, r_len, LENGTH_OF(w), in main()
152 r_len, LENGTH_OF(w) - r_len); in main()
Dprctl-seccomp-strict.c62 rc = write(1, text1, LENGTH_OF(text1)) != LENGTH_OF(text1); in main()
65 rc += write(1, text2, LENGTH_OF(text2)) != LENGTH_OF(text2); in main()
Dseccomp-strict.c63 rc = write(1, text1, LENGTH_OF(text1)) != LENGTH_OF(text1); in main()
66 rc += write(1, text2, LENGTH_OF(text2)) != LENGTH_OF(text2); in main()

12