Home
last modified time | relevance | path

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

/external/strace/tests-mx32/
Dpreadv-pwritev.c128 const unsigned int r_len = (w_len + 1) / 2; in main() local
129 void *r0 = tail_alloc(r_len); in main()
133 .iov_len = r_len in main()
139 if (rc != (int) r_len) in main()
141 r_len, rc); in main()
145 r0_c, r_len, ARRAY_SIZE(r0_iov_), r_len, r_len, r0_d, r0_c); in main()
147 void *r1 = tail_alloc(r_len); in main()
152 .iov_len = r_len in main()
161 rc = preadv(0, r_iov, ARRAY_SIZE(r1_iov_), r_len); in main()
162 if (rc != (int) w_len - (int) r_len) in main()
[all …]
Dpreadv.c110 const unsigned int r_len = (LENGTH_OF(w) + 1) / 2; in main() local
111 void *r0 = tail_alloc(r_len); in main()
115 .iov_len = r_len in main()
123 if (rc != (int) r_len) in main()
125 r_len, rc); in main()
127 fd, r0_c, r_len, ARRAY_SIZE(r0_iov_), r_len); in main()
129 void *r1 = tail_alloc(r_len); in main()
134 .iov_len = r_len in main()
143 rc = preadv(fd, r_iov, ARRAY_SIZE(r1_iov_), r_len); in main()
144 if (rc != (int) LENGTH_OF(w) - (int) r_len) in main()
[all …]
Dpreadv2-pwritev2.c133 const unsigned int r_len = (w_len + 1) / 2; in dumpio() local
134 void *r0 = tail_alloc(r_len); in dumpio()
138 .iov_len = r_len in dumpio()
144 if (rc != (int) r_len) in dumpio()
146 r_len, rc); in dumpio()
150 r0_c, r_len, ARRAY_SIZE(r0_iov_), r_len, r_len, r0_d, r0_c); in dumpio()
152 void *r1 = tail_alloc(r_len); in dumpio()
157 .iov_len = r_len in dumpio()
166 rc = pr(0, r_iov, ARRAY_SIZE(r1_iov_), r_len); in dumpio()
167 if (rc != (int) w_len - (int) r_len) in dumpio()
[all …]
Drecvmsg.c108 const unsigned int r_len = (w_len + 1) / 2; in main() local
109 void *r0 = tail_alloc(r_len); in main()
113 .iov_len = r_len in main()
124 assert(recvmsg(0, r_mh, 0) == (int) r_len); in main()
130 r0_c, r_len, ARRAY_SIZE(r0_iov_), r_len, r_len, r0_d, r0_c); in main()
132 void *r1 = tail_alloc(r_len); in main()
137 .iov_len = r_len in main()
148 assert(recvmsg(0, r_mh, 0) == (int) w_len - (int) r_len); in main()
154 r1_c, r_len, w_len, ARRAY_SIZE(r1_iov_), w_len - r_len, in main()
155 w_len - r_len, r1_d, r1_c); in main()
Dreadv.c115 const unsigned int r_len = (w_len + 1) / 2; in main() local
116 void *r0 = tail_alloc(r_len); in main()
120 .iov_len = r_len in main()
125 assert(readv(fds[0], r_iov, ARRAY_SIZE(r0_iov_)) == (int) r_len); in main()
130 r0_c, r_len, ARRAY_SIZE(r0_iov_), r_len, r_len, r0_d, r0_c); in main()
132 void *r1 = tail_alloc(r_len); in main()
137 .iov_len = r_len in main()
146 assert(readv(fds[0], r_iov, ARRAY_SIZE(r1_iov_)) == (int) w_len - (int) r_len); in main()
151 fds[0], r1_c, r_len, w_len, ARRAY_SIZE(r1_iov_), w_len - r_len, in main()
152 w_len - r_len, r1_d, r1_c); in main()
Dmmsg.c127 const unsigned int r_len = (w_len + 1) / 2; in main() local
128 void *r0 = tail_alloc(r_len); in main()
129 void *r1 = tail_alloc(r_len); in main()
130 void *r2 = tail_alloc(r_len); in main()
134 .iov_len = r_len in main()
141 .iov_len = r_len in main()
145 .iov_len = r_len in main()
187 r0_c, r_len, ARRAY_SIZE(r0_iov_), LENGTH_OF(r0_c), in main()
188 r1_c, r_len, r_len, ARRAY_SIZE(r1_iov_), LENGTH_OF(r1_c), in main()
/external/strace/tests-m32/
Dpreadv-pwritev.c128 const unsigned int r_len = (w_len + 1) / 2; in main() local
129 void *r0 = tail_alloc(r_len); in main()
133 .iov_len = r_len in main()
139 if (rc != (int) r_len) in main()
141 r_len, rc); in main()
145 r0_c, r_len, ARRAY_SIZE(r0_iov_), r_len, r_len, r0_d, r0_c); in main()
147 void *r1 = tail_alloc(r_len); in main()
152 .iov_len = r_len in main()
161 rc = preadv(0, r_iov, ARRAY_SIZE(r1_iov_), r_len); in main()
162 if (rc != (int) w_len - (int) r_len) in main()
[all …]
Dpreadv.c110 const unsigned int r_len = (LENGTH_OF(w) + 1) / 2; in main() local
111 void *r0 = tail_alloc(r_len); in main()
115 .iov_len = r_len in main()
123 if (rc != (int) r_len) in main()
125 r_len, rc); in main()
127 fd, r0_c, r_len, ARRAY_SIZE(r0_iov_), r_len); in main()
129 void *r1 = tail_alloc(r_len); in main()
134 .iov_len = r_len in main()
143 rc = preadv(fd, r_iov, ARRAY_SIZE(r1_iov_), r_len); in main()
144 if (rc != (int) LENGTH_OF(w) - (int) r_len) in main()
[all …]
Dpreadv2-pwritev2.c133 const unsigned int r_len = (w_len + 1) / 2; in dumpio() local
134 void *r0 = tail_alloc(r_len); in dumpio()
138 .iov_len = r_len in dumpio()
144 if (rc != (int) r_len) in dumpio()
146 r_len, rc); in dumpio()
150 r0_c, r_len, ARRAY_SIZE(r0_iov_), r_len, r_len, r0_d, r0_c); in dumpio()
152 void *r1 = tail_alloc(r_len); in dumpio()
157 .iov_len = r_len in dumpio()
166 rc = pr(0, r_iov, ARRAY_SIZE(r1_iov_), r_len); in dumpio()
167 if (rc != (int) w_len - (int) r_len) in dumpio()
[all …]
Drecvmsg.c108 const unsigned int r_len = (w_len + 1) / 2; in main() local
109 void *r0 = tail_alloc(r_len); in main()
113 .iov_len = r_len in main()
124 assert(recvmsg(0, r_mh, 0) == (int) r_len); in main()
130 r0_c, r_len, ARRAY_SIZE(r0_iov_), r_len, r_len, r0_d, r0_c); in main()
132 void *r1 = tail_alloc(r_len); in main()
137 .iov_len = r_len in main()
148 assert(recvmsg(0, r_mh, 0) == (int) w_len - (int) r_len); in main()
154 r1_c, r_len, w_len, ARRAY_SIZE(r1_iov_), w_len - r_len, in main()
155 w_len - r_len, r1_d, r1_c); in main()
Dreadv.c115 const unsigned int r_len = (w_len + 1) / 2; in main() local
116 void *r0 = tail_alloc(r_len); in main()
120 .iov_len = r_len in main()
125 assert(readv(fds[0], r_iov, ARRAY_SIZE(r0_iov_)) == (int) r_len); in main()
130 r0_c, r_len, ARRAY_SIZE(r0_iov_), r_len, r_len, r0_d, r0_c); in main()
132 void *r1 = tail_alloc(r_len); in main()
137 .iov_len = r_len in main()
146 assert(readv(fds[0], r_iov, ARRAY_SIZE(r1_iov_)) == (int) w_len - (int) r_len); in main()
151 fds[0], r1_c, r_len, w_len, ARRAY_SIZE(r1_iov_), w_len - r_len, in main()
152 w_len - r_len, r1_d, r1_c); in main()
Dmmsg.c127 const unsigned int r_len = (w_len + 1) / 2; in main() local
128 void *r0 = tail_alloc(r_len); in main()
129 void *r1 = tail_alloc(r_len); in main()
130 void *r2 = tail_alloc(r_len); in main()
134 .iov_len = r_len in main()
141 .iov_len = r_len in main()
145 .iov_len = r_len in main()
187 r0_c, r_len, ARRAY_SIZE(r0_iov_), LENGTH_OF(r0_c), in main()
188 r1_c, r_len, r_len, ARRAY_SIZE(r1_iov_), LENGTH_OF(r1_c), in main()
/external/strace/tests/
Dpreadv-pwritev.c128 const unsigned int r_len = (w_len + 1) / 2; in main() local
129 void *r0 = tail_alloc(r_len); in main()
133 .iov_len = r_len in main()
139 if (rc != (int) r_len) in main()
141 r_len, rc); in main()
145 r0_c, r_len, ARRAY_SIZE(r0_iov_), r_len, r_len, r0_d, r0_c); in main()
147 void *r1 = tail_alloc(r_len); in main()
152 .iov_len = r_len in main()
161 rc = preadv(0, r_iov, ARRAY_SIZE(r1_iov_), r_len); in main()
162 if (rc != (int) w_len - (int) r_len) in main()
[all …]
Dpreadv.c110 const unsigned int r_len = (LENGTH_OF(w) + 1) / 2; in main() local
111 void *r0 = tail_alloc(r_len); in main()
115 .iov_len = r_len in main()
123 if (rc != (int) r_len) in main()
125 r_len, rc); in main()
127 fd, r0_c, r_len, ARRAY_SIZE(r0_iov_), r_len); in main()
129 void *r1 = tail_alloc(r_len); in main()
134 .iov_len = r_len in main()
143 rc = preadv(fd, r_iov, ARRAY_SIZE(r1_iov_), r_len); in main()
144 if (rc != (int) LENGTH_OF(w) - (int) r_len) in main()
[all …]
Dpreadv2-pwritev2.c133 const unsigned int r_len = (w_len + 1) / 2; in dumpio() local
134 void *r0 = tail_alloc(r_len); in dumpio()
138 .iov_len = r_len in dumpio()
144 if (rc != (int) r_len) in dumpio()
146 r_len, rc); in dumpio()
150 r0_c, r_len, ARRAY_SIZE(r0_iov_), r_len, r_len, r0_d, r0_c); in dumpio()
152 void *r1 = tail_alloc(r_len); in dumpio()
157 .iov_len = r_len in dumpio()
166 rc = pr(0, r_iov, ARRAY_SIZE(r1_iov_), r_len); in dumpio()
167 if (rc != (int) w_len - (int) r_len) in dumpio()
[all …]
Drecvmsg.c108 const unsigned int r_len = (w_len + 1) / 2; in main() local
109 void *r0 = tail_alloc(r_len); in main()
113 .iov_len = r_len in main()
124 assert(recvmsg(0, r_mh, 0) == (int) r_len); in main()
130 r0_c, r_len, ARRAY_SIZE(r0_iov_), r_len, r_len, r0_d, r0_c); in main()
132 void *r1 = tail_alloc(r_len); in main()
137 .iov_len = r_len in main()
148 assert(recvmsg(0, r_mh, 0) == (int) w_len - (int) r_len); in main()
154 r1_c, r_len, w_len, ARRAY_SIZE(r1_iov_), w_len - r_len, in main()
155 w_len - r_len, r1_d, r1_c); in main()
Dreadv.c115 const unsigned int r_len = (w_len + 1) / 2; in main() local
116 void *r0 = tail_alloc(r_len); in main()
120 .iov_len = r_len in main()
125 assert(readv(fds[0], r_iov, ARRAY_SIZE(r0_iov_)) == (int) r_len); in main()
130 r0_c, r_len, ARRAY_SIZE(r0_iov_), r_len, r_len, r0_d, r0_c); in main()
132 void *r1 = tail_alloc(r_len); in main()
137 .iov_len = r_len in main()
146 assert(readv(fds[0], r_iov, ARRAY_SIZE(r1_iov_)) == (int) w_len - (int) r_len); in main()
151 fds[0], r1_c, r_len, w_len, ARRAY_SIZE(r1_iov_), w_len - r_len, in main()
152 w_len - r_len, r1_d, r1_c); in main()
Dmmsg.c127 const unsigned int r_len = (w_len + 1) / 2; in main() local
128 void *r0 = tail_alloc(r_len); in main()
129 void *r1 = tail_alloc(r_len); in main()
130 void *r2 = tail_alloc(r_len); in main()
134 .iov_len = r_len in main()
141 .iov_len = r_len in main()
145 .iov_len = r_len in main()
187 r0_c, r_len, ARRAY_SIZE(r0_iov_), LENGTH_OF(r0_c), in main()
188 r1_c, r_len, r_len, ARRAY_SIZE(r1_iov_), LENGTH_OF(r1_c), 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/opencv/cvaux/src/
Dcvcorrespond.cpp68 int l_beg, r_beg, l_end, r_end, l_len, r_len; in icvDynamicCorrespond() local
170 r_len = r_end - r_beg + 1; in icvDynamicCorrespond()
175 if( r_len == l_len ) in icvDynamicCorrespond()
182 if( r_len > l_len ) in icvDynamicCorrespond()
184 cost = (float) (r_len * r_len - l_len * l_len) * (1 / (r_len * l_len)); in icvDynamicCorrespond()
188 cost = (float) (l_len * l_len - r_len * r_len) * (1 / (r_len * l_len)); in icvDynamicCorrespond()
198 min3 = costTable[i + j_1 * row_size] + Occlusion * r_len; in icvDynamicCorrespond()
/external/boringssl/src/crypto/ecdsa/
Decdsa_test.cc109 size_t r_len = BN_num_bytes(ecdsa_sig->r); in TestTamperedSig() local
112 if (r_len > bn_len || s_len > bn_len) { in TestTamperedSig()
/external/bison/lib/
Dvasnprintf.c477 size_t r_len; in divide() local
508 r_len = a_len; in divide()
536 r_len = 1; in divide()
539 r_len = 0; in divide()
777 r_len = b_len; in divide()
786 mp_limb_t ptr = r_ptr + r_len; in divide()
789 for (count = r_len; count > 0; count--) in divide()
798 while (r_len > 0 && r_ptr[r_len - 1] == 0) in divide()
799 r_len--; in divide()
802 if (r_len > b_len) in divide()
[all …]
/external/strace/
DChangeLog3762 * tests/readv.c (main): Cast r_len to int.
4783 * tests/preadv-pwritev.c (main): Cast r_len to int.