/external/strace/tests/ |
D | preadv-pwritev.c | 107 const unsigned int w_len = in main() local 111 if (rc != (int) w_len) in main() 113 w_len, rc); in main() 125 w2_c, LENGTH_OF(w2_c), (unsigned int) ARRAY_SIZE(w_iov_), w_len, in main() 129 const unsigned int r_len = (w_len + 1) / 2; in main() 150 void *r2 = tail_alloc(w_len); in main() 158 .iov_len = w_len in main() 164 if (rc != (int) w_len - (int) r_len) in main() 166 (int) w_len - r_len, rc); in main() 171 r1_c, r_len, w_len, (unsigned int) ARRAY_SIZE(r1_iov_), in main() [all …]
|
D | recvmsg.c | 80 const unsigned int w_len = in main() local 89 assert(sendmsg(1, w_mh, 0) == (int) w_len); in main() 104 (unsigned int) ARRAY_SIZE(w_iov_), w_len, in main() 109 const unsigned int r_len = (w_len + 1) / 2; in main() 135 void *r2 = tail_alloc(w_len); in main() 143 .iov_len = w_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() 157 w_len - r_len, w_len - r_len, r1_d, r1_c); in main()
|
D | readv.c | 97 const unsigned int w_len = in main() local 100 assert(writev(fds[1], w_iov, ARRAY_SIZE(w_iov_)) == (int) w_len); in main() 112 w2_c, LENGTH_OF(w2_c), (unsigned int) ARRAY_SIZE(w_iov_), w_len, in main() 116 const unsigned int r_len = (w_len + 1) / 2; in main() 134 void *r2 = tail_alloc(w_len); in main() 142 .iov_len = w_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() 153 w_len - r_len, w_len - r_len, r1_d, r1_c); in main()
|
D | preadv2-pwritev2.c | 112 const unsigned int w_len = in dumpio() local 116 if (rc != (int) w_len) in dumpio() 118 w_len, rc); in dumpio() 130 w2_c, LENGTH_OF(w2_c), (unsigned int) ARRAY_SIZE(w_iov_), w_len, in dumpio() 134 const unsigned int r_len = (w_len + 1) / 2; in dumpio() 155 void *r2 = tail_alloc(w_len); in dumpio() 163 .iov_len = w_len in dumpio() 169 if (rc != (int) w_len - (int) r_len) in dumpio() 171 (int) w_len - r_len, rc); in dumpio() 176 r1_c, r_len, w_len, (unsigned int) ARRAY_SIZE(r1_iov_), in dumpio() [all …]
|
D | pread64-pwrite64.c | 139 const unsigned int w_len = LENGTH_OF(w_c); in main() local 141 const void *w = tail_memdup(w_c, w_len); in main() 145 const unsigned int r0_len = (w_len + 1) / 2; in main() 150 const unsigned int r1_len = w_len - r0_len; in main() 151 void *r1 = tail_alloc(w_len); in main() 174 rc = pwrite(1, w, w_len, 0); in main() 175 if (rc != (int) w_len) in main() 177 w_len, rc); in main() 180 w_c, w_len, rc, w_d, w_c); in main() 206 rc = pread(0, r1, w_len, r0_len); in main() [all …]
|
D | read-write.c | 176 const unsigned int w_len = LENGTH_OF(w_c); in main() local 178 const void *w = tail_memdup(w_c, w_len); in main() 182 const unsigned int r0_len = (w_len + 1) / 2; in main() 187 const unsigned int r1_len = w_len - r0_len; in main() 188 void *r1 = tail_alloc(w_len); in main() 205 rc = k_write(1, w, w_len); in main() 206 if (rc != (int) w_len) in main() 208 w_len, rc); in main() 211 w_c, w_len, rc, w_d, w_c); in main() 232 rc = k_read(0, r1, w_len); in main() [all …]
|
D | mmsg.c | 128 const unsigned int w_len = in main() local 130 const unsigned int r_len = (w_len + 1) / 2; in main()
|
/external/strace/tests-mx32/ |
D | preadv-pwritev.c | 107 const unsigned int w_len = in main() local 111 if (rc != (int) w_len) in main() 113 w_len, rc); in main() 125 w2_c, LENGTH_OF(w2_c), (unsigned int) ARRAY_SIZE(w_iov_), w_len, in main() 129 const unsigned int r_len = (w_len + 1) / 2; in main() 150 void *r2 = tail_alloc(w_len); in main() 158 .iov_len = w_len in main() 164 if (rc != (int) w_len - (int) r_len) in main() 166 (int) w_len - r_len, rc); in main() 171 r1_c, r_len, w_len, (unsigned int) ARRAY_SIZE(r1_iov_), in main() [all …]
|
D | recvmsg.c | 80 const unsigned int w_len = in main() local 89 assert(sendmsg(1, w_mh, 0) == (int) w_len); in main() 104 (unsigned int) ARRAY_SIZE(w_iov_), w_len, in main() 109 const unsigned int r_len = (w_len + 1) / 2; in main() 135 void *r2 = tail_alloc(w_len); in main() 143 .iov_len = w_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() 157 w_len - r_len, w_len - r_len, r1_d, r1_c); in main()
|
D | readv.c | 97 const unsigned int w_len = in main() local 100 assert(writev(fds[1], w_iov, ARRAY_SIZE(w_iov_)) == (int) w_len); in main() 112 w2_c, LENGTH_OF(w2_c), (unsigned int) ARRAY_SIZE(w_iov_), w_len, in main() 116 const unsigned int r_len = (w_len + 1) / 2; in main() 134 void *r2 = tail_alloc(w_len); in main() 142 .iov_len = w_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() 153 w_len - r_len, w_len - r_len, r1_d, r1_c); in main()
|
D | preadv2-pwritev2.c | 112 const unsigned int w_len = in dumpio() local 116 if (rc != (int) w_len) in dumpio() 118 w_len, rc); in dumpio() 130 w2_c, LENGTH_OF(w2_c), (unsigned int) ARRAY_SIZE(w_iov_), w_len, in dumpio() 134 const unsigned int r_len = (w_len + 1) / 2; in dumpio() 155 void *r2 = tail_alloc(w_len); in dumpio() 163 .iov_len = w_len in dumpio() 169 if (rc != (int) w_len - (int) r_len) in dumpio() 171 (int) w_len - r_len, rc); in dumpio() 176 r1_c, r_len, w_len, (unsigned int) ARRAY_SIZE(r1_iov_), in dumpio() [all …]
|
D | pread64-pwrite64.c | 139 const unsigned int w_len = LENGTH_OF(w_c); in main() local 141 const void *w = tail_memdup(w_c, w_len); in main() 145 const unsigned int r0_len = (w_len + 1) / 2; in main() 150 const unsigned int r1_len = w_len - r0_len; in main() 151 void *r1 = tail_alloc(w_len); in main() 174 rc = pwrite(1, w, w_len, 0); in main() 175 if (rc != (int) w_len) in main() 177 w_len, rc); in main() 180 w_c, w_len, rc, w_d, w_c); in main() 206 rc = pread(0, r1, w_len, r0_len); in main() [all …]
|
D | read-write.c | 176 const unsigned int w_len = LENGTH_OF(w_c); in main() local 178 const void *w = tail_memdup(w_c, w_len); in main() 182 const unsigned int r0_len = (w_len + 1) / 2; in main() 187 const unsigned int r1_len = w_len - r0_len; in main() 188 void *r1 = tail_alloc(w_len); in main() 205 rc = k_write(1, w, w_len); in main() 206 if (rc != (int) w_len) in main() 208 w_len, rc); in main() 211 w_c, w_len, rc, w_d, w_c); in main() 232 rc = k_read(0, r1, w_len); in main() [all …]
|
D | mmsg.c | 128 const unsigned int w_len = in main() local 130 const unsigned int r_len = (w_len + 1) / 2; in main()
|
/external/strace/tests-m32/ |
D | preadv-pwritev.c | 107 const unsigned int w_len = in main() local 111 if (rc != (int) w_len) in main() 113 w_len, rc); in main() 125 w2_c, LENGTH_OF(w2_c), (unsigned int) ARRAY_SIZE(w_iov_), w_len, in main() 129 const unsigned int r_len = (w_len + 1) / 2; in main() 150 void *r2 = tail_alloc(w_len); in main() 158 .iov_len = w_len in main() 164 if (rc != (int) w_len - (int) r_len) in main() 166 (int) w_len - r_len, rc); in main() 171 r1_c, r_len, w_len, (unsigned int) ARRAY_SIZE(r1_iov_), in main() [all …]
|
D | recvmsg.c | 80 const unsigned int w_len = in main() local 89 assert(sendmsg(1, w_mh, 0) == (int) w_len); in main() 104 (unsigned int) ARRAY_SIZE(w_iov_), w_len, in main() 109 const unsigned int r_len = (w_len + 1) / 2; in main() 135 void *r2 = tail_alloc(w_len); in main() 143 .iov_len = w_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() 157 w_len - r_len, w_len - r_len, r1_d, r1_c); in main()
|
D | readv.c | 97 const unsigned int w_len = in main() local 100 assert(writev(fds[1], w_iov, ARRAY_SIZE(w_iov_)) == (int) w_len); in main() 112 w2_c, LENGTH_OF(w2_c), (unsigned int) ARRAY_SIZE(w_iov_), w_len, in main() 116 const unsigned int r_len = (w_len + 1) / 2; in main() 134 void *r2 = tail_alloc(w_len); in main() 142 .iov_len = w_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() 153 w_len - r_len, w_len - r_len, r1_d, r1_c); in main()
|
D | preadv2-pwritev2.c | 112 const unsigned int w_len = in dumpio() local 116 if (rc != (int) w_len) in dumpio() 118 w_len, rc); in dumpio() 130 w2_c, LENGTH_OF(w2_c), (unsigned int) ARRAY_SIZE(w_iov_), w_len, in dumpio() 134 const unsigned int r_len = (w_len + 1) / 2; in dumpio() 155 void *r2 = tail_alloc(w_len); in dumpio() 163 .iov_len = w_len in dumpio() 169 if (rc != (int) w_len - (int) r_len) in dumpio() 171 (int) w_len - r_len, rc); in dumpio() 176 r1_c, r_len, w_len, (unsigned int) ARRAY_SIZE(r1_iov_), in dumpio() [all …]
|
D | pread64-pwrite64.c | 139 const unsigned int w_len = LENGTH_OF(w_c); in main() local 141 const void *w = tail_memdup(w_c, w_len); in main() 145 const unsigned int r0_len = (w_len + 1) / 2; in main() 150 const unsigned int r1_len = w_len - r0_len; in main() 151 void *r1 = tail_alloc(w_len); in main() 174 rc = pwrite(1, w, w_len, 0); in main() 175 if (rc != (int) w_len) in main() 177 w_len, rc); in main() 180 w_c, w_len, rc, w_d, w_c); in main() 206 rc = pread(0, r1, w_len, r0_len); in main() [all …]
|
D | read-write.c | 176 const unsigned int w_len = LENGTH_OF(w_c); in main() local 178 const void *w = tail_memdup(w_c, w_len); in main() 182 const unsigned int r0_len = (w_len + 1) / 2; in main() 187 const unsigned int r1_len = w_len - r0_len; in main() 188 void *r1 = tail_alloc(w_len); in main() 205 rc = k_write(1, w, w_len); in main() 206 if (rc != (int) w_len) in main() 208 w_len, rc); in main() 211 w_c, w_len, rc, w_d, w_c); in main() 232 rc = k_read(0, r1, w_len); in main() [all …]
|
D | mmsg.c | 128 const unsigned int w_len = in main() local 130 const unsigned int r_len = (w_len + 1) / 2; in main()
|
/external/python/cpython3/Parser/pegen/ |
D | parse_string.c | 96 Py_ssize_t w_len; in decode_unicode_with_escapes() local 105 w_len = PyUnicode_GET_LENGTH(w); in decode_unicode_with_escapes() 106 for (i = 0; i < w_len; i++) { in decode_unicode_with_escapes()
|
/external/python/cpython2/Python/ |
D | ceval.c | 5158 Py_ssize_t w_len = PyString_GET_SIZE(w); in string_concatenate() local 5159 Py_ssize_t new_len = v_len + w_len; in string_concatenate() 5222 PyString_AS_STRING(w), w_len); in string_concatenate()
|