Home
last modified time | relevance | path

Searched refs:r_len (Results 1 – 21 of 21) sorted by relevance

/external/strace/tests-m32/
Dpreadv-pwritev.c129 const unsigned int r_len = (w_len + 1) / 2; in main() local
130 void *r0 = tail_alloc(r_len); in main()
134 .iov_len = r_len in main()
140 if (rc != (int) r_len) in main()
142 r_len, rc); in main()
146 r0_c, r_len, (unsigned int) ARRAY_SIZE(r0_iov_), in main()
147 r_len, r_len, r0_d, r0_c); in main()
149 void *r1 = tail_alloc(r_len); in main()
154 .iov_len = r_len in main()
163 rc = preadv(0, r_iov, ARRAY_SIZE(r1_iov_), r_len); in main()
[all …]
Dpreadv.c111 const unsigned int r_len = (LENGTH_OF(w) + 1) / 2; in main() local
112 void *r0 = tail_alloc(r_len); in main()
116 .iov_len = r_len in main()
124 if (rc != (int) r_len) in main()
126 r_len, rc); in main()
128 fd, r0_c, r_len, (unsigned int) ARRAY_SIZE(r0_iov_), r_len); in main()
130 void *r1 = tail_alloc(r_len); in main()
135 .iov_len = r_len in main()
144 rc = preadv(fd, r_iov, ARRAY_SIZE(r1_iov_), r_len); in main()
145 if (rc != (int) LENGTH_OF(w) - (int) r_len) in main()
[all …]
Dpreadv2-pwritev2.c134 const unsigned int r_len = (w_len + 1) / 2; in dumpio() local
135 void *r0 = tail_alloc(r_len); in dumpio()
139 .iov_len = r_len in dumpio()
145 if (rc != (int) r_len) in dumpio()
147 r_len, rc); in dumpio()
151 r0_c, r_len, (unsigned int) ARRAY_SIZE(r0_iov_), in dumpio()
152 r_len, r_len, r0_d, r0_c); in dumpio()
154 void *r1 = tail_alloc(r_len); in dumpio()
159 .iov_len = r_len in dumpio()
168 rc = pr(0, r_iov, ARRAY_SIZE(r1_iov_), r_len); in dumpio()
[all …]
Drecvmsg.c109 const unsigned int r_len = (w_len + 1) / 2; in main() local
110 void *r0 = tail_alloc(r_len); in main()
114 .iov_len = r_len in main()
125 assert(recvmsg(0, r_mh, 0) == (int) r_len); in main()
131 r0_c, r_len, (unsigned int) ARRAY_SIZE(r0_iov_), in main()
132 r_len, r_len, r0_d, r0_c); in main()
134 void *r1 = tail_alloc(r_len); in main()
139 .iov_len = r_len in main()
150 assert(recvmsg(0, r_mh, 0) == (int) w_len - (int) r_len); in main()
156 r1_c, r_len, w_len, (unsigned int) ARRAY_SIZE(r1_iov_), in main()
[all …]
Dreadv.c116 const unsigned int r_len = (w_len + 1) / 2; in main() local
117 void *r0 = tail_alloc(r_len); in main()
121 .iov_len = r_len in main()
126 assert(readv(fds[0], r_iov, ARRAY_SIZE(r0_iov_)) == (int) r_len); in main()
130 fds[0], r0_c, r_len, (unsigned int) ARRAY_SIZE(r0_iov_), in main()
131 r_len, r_len, r0_d, r0_c); in main()
133 void *r1 = tail_alloc(r_len); in main()
138 .iov_len = r_len in main()
147 assert(readv(fds[0], r_iov, ARRAY_SIZE(r1_iov_)) == (int) w_len - (int) r_len); in main()
152 fds[0], r1_c, r_len, w_len, (unsigned int) ARRAY_SIZE(r1_iov_), in main()
[all …]
Dmmsg.c130 const unsigned int r_len = (w_len + 1) / 2; in main() local
131 void *r0 = tail_alloc(r_len); in main()
132 void *r1 = tail_alloc(r_len); in main()
133 void *r2 = tail_alloc(r_len); in main()
137 .iov_len = r_len in main()
144 .iov_len = r_len in main()
148 .iov_len = r_len in main()
190 r0_c, r_len, (unsigned int) ARRAY_SIZE(r0_iov_), in main()
191 LENGTH_OF(r0_c), r1_c, r_len, r_len, in main()
/external/strace/tests-mx32/
Dpreadv-pwritev.c129 const unsigned int r_len = (w_len + 1) / 2; in main() local
130 void *r0 = tail_alloc(r_len); in main()
134 .iov_len = r_len in main()
140 if (rc != (int) r_len) in main()
142 r_len, rc); in main()
146 r0_c, r_len, (unsigned int) ARRAY_SIZE(r0_iov_), in main()
147 r_len, r_len, r0_d, r0_c); in main()
149 void *r1 = tail_alloc(r_len); in main()
154 .iov_len = r_len in main()
163 rc = preadv(0, r_iov, ARRAY_SIZE(r1_iov_), r_len); in main()
[all …]
Dpreadv.c111 const unsigned int r_len = (LENGTH_OF(w) + 1) / 2; in main() local
112 void *r0 = tail_alloc(r_len); in main()
116 .iov_len = r_len in main()
124 if (rc != (int) r_len) in main()
126 r_len, rc); in main()
128 fd, r0_c, r_len, (unsigned int) ARRAY_SIZE(r0_iov_), r_len); in main()
130 void *r1 = tail_alloc(r_len); in main()
135 .iov_len = r_len in main()
144 rc = preadv(fd, r_iov, ARRAY_SIZE(r1_iov_), r_len); in main()
145 if (rc != (int) LENGTH_OF(w) - (int) r_len) in main()
[all …]
Dpreadv2-pwritev2.c134 const unsigned int r_len = (w_len + 1) / 2; in dumpio() local
135 void *r0 = tail_alloc(r_len); in dumpio()
139 .iov_len = r_len in dumpio()
145 if (rc != (int) r_len) in dumpio()
147 r_len, rc); in dumpio()
151 r0_c, r_len, (unsigned int) ARRAY_SIZE(r0_iov_), in dumpio()
152 r_len, r_len, r0_d, r0_c); in dumpio()
154 void *r1 = tail_alloc(r_len); in dumpio()
159 .iov_len = r_len in dumpio()
168 rc = pr(0, r_iov, ARRAY_SIZE(r1_iov_), r_len); in dumpio()
[all …]
Drecvmsg.c109 const unsigned int r_len = (w_len + 1) / 2; in main() local
110 void *r0 = tail_alloc(r_len); in main()
114 .iov_len = r_len in main()
125 assert(recvmsg(0, r_mh, 0) == (int) r_len); in main()
131 r0_c, r_len, (unsigned int) ARRAY_SIZE(r0_iov_), in main()
132 r_len, r_len, r0_d, r0_c); in main()
134 void *r1 = tail_alloc(r_len); in main()
139 .iov_len = r_len in main()
150 assert(recvmsg(0, r_mh, 0) == (int) w_len - (int) r_len); in main()
156 r1_c, r_len, w_len, (unsigned int) ARRAY_SIZE(r1_iov_), in main()
[all …]
Dreadv.c116 const unsigned int r_len = (w_len + 1) / 2; in main() local
117 void *r0 = tail_alloc(r_len); in main()
121 .iov_len = r_len in main()
126 assert(readv(fds[0], r_iov, ARRAY_SIZE(r0_iov_)) == (int) r_len); in main()
130 fds[0], r0_c, r_len, (unsigned int) ARRAY_SIZE(r0_iov_), in main()
131 r_len, r_len, r0_d, r0_c); in main()
133 void *r1 = tail_alloc(r_len); in main()
138 .iov_len = r_len in main()
147 assert(readv(fds[0], r_iov, ARRAY_SIZE(r1_iov_)) == (int) w_len - (int) r_len); in main()
152 fds[0], r1_c, r_len, w_len, (unsigned int) ARRAY_SIZE(r1_iov_), in main()
[all …]
Dmmsg.c130 const unsigned int r_len = (w_len + 1) / 2; in main() local
131 void *r0 = tail_alloc(r_len); in main()
132 void *r1 = tail_alloc(r_len); in main()
133 void *r2 = tail_alloc(r_len); in main()
137 .iov_len = r_len in main()
144 .iov_len = r_len in main()
148 .iov_len = r_len in main()
190 r0_c, r_len, (unsigned int) ARRAY_SIZE(r0_iov_), in main()
191 LENGTH_OF(r0_c), r1_c, r_len, r_len, in main()
/external/strace/tests/
Dpreadv-pwritev.c129 const unsigned int r_len = (w_len + 1) / 2; in main() local
130 void *r0 = tail_alloc(r_len); in main()
134 .iov_len = r_len in main()
140 if (rc != (int) r_len) in main()
142 r_len, rc); in main()
146 r0_c, r_len, (unsigned int) ARRAY_SIZE(r0_iov_), in main()
147 r_len, r_len, r0_d, r0_c); in main()
149 void *r1 = tail_alloc(r_len); in main()
154 .iov_len = r_len in main()
163 rc = preadv(0, r_iov, ARRAY_SIZE(r1_iov_), r_len); in main()
[all …]
Dpreadv.c111 const unsigned int r_len = (LENGTH_OF(w) + 1) / 2; in main() local
112 void *r0 = tail_alloc(r_len); in main()
116 .iov_len = r_len in main()
124 if (rc != (int) r_len) in main()
126 r_len, rc); in main()
128 fd, r0_c, r_len, (unsigned int) ARRAY_SIZE(r0_iov_), r_len); in main()
130 void *r1 = tail_alloc(r_len); in main()
135 .iov_len = r_len in main()
144 rc = preadv(fd, r_iov, ARRAY_SIZE(r1_iov_), r_len); in main()
145 if (rc != (int) LENGTH_OF(w) - (int) r_len) in main()
[all …]
Dpreadv2-pwritev2.c134 const unsigned int r_len = (w_len + 1) / 2; in dumpio() local
135 void *r0 = tail_alloc(r_len); in dumpio()
139 .iov_len = r_len in dumpio()
145 if (rc != (int) r_len) in dumpio()
147 r_len, rc); in dumpio()
151 r0_c, r_len, (unsigned int) ARRAY_SIZE(r0_iov_), in dumpio()
152 r_len, r_len, r0_d, r0_c); in dumpio()
154 void *r1 = tail_alloc(r_len); in dumpio()
159 .iov_len = r_len in dumpio()
168 rc = pr(0, r_iov, ARRAY_SIZE(r1_iov_), r_len); in dumpio()
[all …]
Drecvmsg.c109 const unsigned int r_len = (w_len + 1) / 2; in main() local
110 void *r0 = tail_alloc(r_len); in main()
114 .iov_len = r_len in main()
125 assert(recvmsg(0, r_mh, 0) == (int) r_len); in main()
131 r0_c, r_len, (unsigned int) ARRAY_SIZE(r0_iov_), in main()
132 r_len, r_len, r0_d, r0_c); in main()
134 void *r1 = tail_alloc(r_len); in main()
139 .iov_len = r_len in main()
150 assert(recvmsg(0, r_mh, 0) == (int) w_len - (int) r_len); in main()
156 r1_c, r_len, w_len, (unsigned int) ARRAY_SIZE(r1_iov_), in main()
[all …]
Dreadv.c116 const unsigned int r_len = (w_len + 1) / 2; in main() local
117 void *r0 = tail_alloc(r_len); in main()
121 .iov_len = r_len in main()
126 assert(readv(fds[0], r_iov, ARRAY_SIZE(r0_iov_)) == (int) r_len); in main()
130 fds[0], r0_c, r_len, (unsigned int) ARRAY_SIZE(r0_iov_), in main()
131 r_len, r_len, r0_d, r0_c); in main()
133 void *r1 = tail_alloc(r_len); in main()
138 .iov_len = r_len in main()
147 assert(readv(fds[0], r_iov, ARRAY_SIZE(r1_iov_)) == (int) w_len - (int) r_len); in main()
152 fds[0], r1_c, r_len, w_len, (unsigned int) ARRAY_SIZE(r1_iov_), in main()
[all …]
Dmmsg.c130 const unsigned int r_len = (w_len + 1) / 2; in main() local
131 void *r0 = tail_alloc(r_len); in main()
132 void *r1 = tail_alloc(r_len); in main()
133 void *r2 = tail_alloc(r_len); in main()
137 .iov_len = r_len in main()
144 .iov_len = r_len in main()
148 .iov_len = r_len in main()
190 r0_c, r_len, (unsigned int) ARRAY_SIZE(r0_iov_), in main()
191 LENGTH_OF(r0_c), r1_c, r_len, r_len, in main()
/external/libconstrainedcrypto/
Ddsa_sig.c66 int r_len; in dsa_sig_unpack() local
91 r_len = sig[3]; in dsa_sig_unpack()
98 if ((r_len < 1) || (r_len > seq_len - 5) || (sig[4 + r_len] != 0x02)) { in dsa_sig_unpack()
101 s_len = sig[5 + r_len]; in dsa_sig_unpack()
109 if ((s_len < 1) || (s_len != seq_len - 4 - r_len)) { in dsa_sig_unpack()
117 if (!trim_to_p256_bytes(r_bytes, &sig[4], r_len) in dsa_sig_unpack()
118 || !trim_to_p256_bytes(s_bytes, &sig[6 + r_len], s_len)) { in dsa_sig_unpack()
/external/boringssl/src/crypto/fipsmodule/ecdsa/
Decdsa_test.cc113 size_t r_len = BN_num_bytes(ecdsa_sig->r); in TestTamperedSig() local
116 ASSERT_LE(r_len, bn_len); in TestTamperedSig()
/external/strace/
DChangeLog15390 * tests/readv.c (main): Cast r_len to int.
16411 * tests/preadv-pwritev.c (main): Cast r_len to int.