Home
last modified time | relevance | path

Searched refs:r_len (Results 1 – 24 of 24) 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/
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/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/bn/
Dmul.c176 int r_len = cl + (dl < 0 ? -dl : dl); in bn_abs_sub_part_words() local
178 bn_select_words(r, borrow, r /* tmp < 0 */, tmp /* tmp >= 0 */, r_len); in bn_abs_sub_part_words()
186 int r_len = a->width < b->width ? b->width : a->width; in bn_abs_sub_consttime() local
190 bn_wexpand(r, r_len) && in bn_abs_sub_consttime()
191 bn_wexpand(tmp, r_len); in bn_abs_sub_consttime()
194 r->width = r_len; in bn_abs_sub_consttime()
/external/boringssl/src/crypto/fipsmodule/bn/
Dmul.c176 int r_len = cl + (dl < 0 ? -dl : dl); in bn_abs_sub_part_words() local
178 bn_select_words(r, borrow, r /* tmp < 0 */, tmp /* tmp >= 0 */, r_len); in bn_abs_sub_part_words()
186 int r_len = a->width < b->width ? b->width : a->width; in bn_abs_sub_consttime() local
190 bn_wexpand(r, r_len) && in bn_abs_sub_consttime()
191 bn_wexpand(tmp, r_len); in bn_abs_sub_consttime()
194 r->width = r_len; in bn_abs_sub_consttime()
/external/boringssl/src/crypto/fipsmodule/ecdsa/
Decdsa_test.cc152 size_t r_len = BN_num_bytes(ecdsa_sig->r); in TestTamperedSig() local
155 ASSERT_LE(r_len, bn_len); in TestTamperedSig()
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/ecdsa/
Decdsa_test.cc152 size_t r_len = BN_num_bytes(ecdsa_sig->r); in TestTamperedSig() local
155 ASSERT_LE(r_len, bn_len); in TestTamperedSig()
/external/OpenCL-CTS/test_common/miniz/
Dminiz.c2350 …mz_uint l_len = MZ_READ_LE16(pL + MZ_ZIP_CDH_FILENAME_LEN_OFS), r_len = MZ_READ_LE16(pR + MZ_ZIP_C… in mz_zip_reader_filename_less() local
2353 pE = pL + MZ_MIN(l_len, r_len); in mz_zip_reader_filename_less()
2360 return (pL == pE) ? (l_len < r_len) : (l < r); in mz_zip_reader_filename_less()
2699 …ir_array, const mz_zip_array *pCentral_dir_offsets, mz_uint l_index, const char *pR, mz_uint r_len) in mz_zip_reader_filename_compare() argument
2705 pE = pL + MZ_MIN(l_len, r_len); in mz_zip_reader_filename_compare()
2712 return (pL == pE) ? (int)(l_len - r_len) : (l - r); in mz_zip_reader_filename_compare()
/external/strace/
DChangeLog22952 * tests/readv.c (main): Cast r_len to int.
23973 * tests/preadv-pwritev.c (main): Cast r_len to int.