/third_party/ntfs-3g/libntfs-3g/ |
H A D | compress.c | 711 s64 br, to_read, ofs, total, total2; in ntfs_compressed_attr_pread() local 825 to_read = min(count, cb_size - ofs); in ntfs_compressed_attr_pread() 826 memset(b, 0, to_read); in ntfs_compressed_attr_pread() 828 total += to_read; in ntfs_compressed_attr_pread() 829 count -= to_read; in ntfs_compressed_attr_pread() 830 b = (u8*)b + to_read; in ntfs_compressed_attr_pread() 846 to_read = min(count, cb_size - ofs); in ntfs_compressed_attr_pread() 854 br = ntfs_attr_pread(na, ofs, to_read, b); in ntfs_compressed_attr_pread() 879 to_read -= br; in ntfs_compressed_attr_pread() 881 } while (to_read > in ntfs_compressed_attr_pread() 981 read_clusters(ntfs_volume *vol, const runlist_element *rl, s64 offs, u32 to_read, char *inbuf) read_clusters() argument 1679 s64 to_read; ntfs_compressed_pwrite() local 1880 s64 to_read; ntfs_compressed_close() local [all...] |
H A D | win32_io.c | 1445 s64 old_pos, to_read, i, br = 0; in ntfs_device_win32_read() local 1452 to_read = (ofs + count + fd->geo_sector_size - 1) & in ntfs_device_win32_read() 1455 if (to_read > 0x80000000) { in ntfs_device_win32_read() 1456 int delta = to_read - count; in ntfs_device_win32_read() 1457 to_read = 0x80000000; in ntfs_device_win32_read() 1458 count = to_read - delta; in ntfs_device_win32_read() 1461 "ofs = %i, to_read = 0x%llx.\n", fd, b, in ntfs_device_win32_read() 1463 (long long)to_read); in ntfs_device_win32_read() 1468 alignedbuffer = (BYTE *)VirtualAlloc(NULL, to_read, MEM_COMMIT, in ntfs_device_win32_read() 1484 to_read in ntfs_device_win32_read() [all...] |
H A D | runlist.c | 1116 s64 bytes_read, to_read, ofs, total; in ntfs_rl_pread() local 1141 to_read = min(count, (rl->length << in ntfs_rl_pread() 1143 memset(b, 0, to_read); in ntfs_rl_pread() 1145 total += to_read; in ntfs_rl_pread() 1146 count -= to_read; in ntfs_rl_pread() 1147 b = (u8*)b + to_read; in ntfs_rl_pread() 1151 to_read = min(count, (rl->length << vol->cluster_size_bits) - in ntfs_rl_pread() 1155 vol->cluster_size_bits) + ofs, to_read, b); in ntfs_rl_pread()
|
H A D | attrib.c | 991 s64 br, to_read, ofs, total, total2, max_read, max_init; in ntfs_attr_pread_i() local 1154 to_read = min(count, (rl->length << in ntfs_attr_pread_i() 1156 memset(b, 0, to_read); in ntfs_attr_pread_i() 1158 total += to_read; in ntfs_attr_pread_i() 1159 count -= to_read; in ntfs_attr_pread_i() 1160 b = (u8*)b + to_read; in ntfs_attr_pread_i() 1164 to_read = min(count, (rl->length << vol->cluster_size_bits) - in ntfs_attr_pread_i() 1168 " %lld.\n", (long long)to_read, (long long)rl->vcn, in ntfs_attr_pread_i() 1171 ofs, to_read, b); in ntfs_attr_pread_i() 1178 if (br == to_read) in ntfs_attr_pread_i() [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/glesext/geometry_shader/ |
H A D | esextcGeometryShaderBlitting.hpp | 49 glw::GLint to_read) = 0; 108 glw::GLint to_read); 141 glw::GLint to_read); 171 glw::GLint to_read);
|
H A D | esextcGeometryShaderBlitting.cpp | 280 glw::GLint to_draw, glw::GLint to_read) in setUpFramebuffersForRendering() 289 gl.framebufferTexture(GL_READ_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, to_read, 0 /* level */); in setUpFramebuffersForRendering() 314 glw::GLint to_draw, glw::GLint to_read) in setUpFramebuffersForRendering() 323 gl.framebufferTextureLayer(GL_READ_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, to_read, 0, 0); in setUpFramebuffersForRendering() 348 glw::GLint to_read) in setUpFramebuffersForRendering() 357 gl.framebufferTexture(GL_READ_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, to_read, 0 /* level */); in setUpFramebuffersForRendering() 278 setUpFramebuffersForRendering(glw::GLuint fbo_draw_id, glw::GLuint fbo_read_id, glw::GLint to_draw, glw::GLint to_read) setUpFramebuffersForRendering() argument 312 setUpFramebuffersForRendering(glw::GLuint fbo_draw_id, glw::GLuint fbo_read_id, glw::GLint to_draw, glw::GLint to_read) setUpFramebuffersForRendering() argument 346 setUpFramebuffersForRendering(glw::GLuint fbo_draw_id, glw::GLuint fbo_read_id, glw::GLint to_draw, glw::GLint to_read) setUpFramebuffersForRendering() argument
|
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/ |
H A D | seed_material.cc | 147 size_t to_read = std::min<size_t>(buffer_size, 256); 148 int result = getentropy(buffer, to_read); 154 ABSL_ANNOTATE_MEMORY_IS_INITIALIZED(buffer, to_read); 155 buffer += to_read; 156 buffer_size -= to_read;
|
/third_party/ffmpeg/libavutil/ |
H A D | fifo.c | 202 size_t to_read = *nb_elems; in fifo_peek_common() local 207 if (offset > can_read || to_read > can_read - offset) { in fifo_peek_common() 217 while (to_read > 0) { in fifo_peek_common() 218 size_t len = FFMIN(f->nb_elems - offset_r, to_read); in fifo_peek_common() 232 to_read -= len; in fifo_peek_common() 235 *nb_elems -= to_read; in fifo_peek_common()
|
/third_party/ffmpeg/libavformat/ |
H A D | async.c | 343 int to_read = size; in async_read_internal() local 348 while (to_read > 0) { in async_read_internal() 355 to_copy = FFMIN(to_read, fifo_size); in async_read_internal() 361 to_read -= to_copy; in async_read_internal() 362 ret = size - to_read; in async_read_internal() 364 if (to_read <= 0 || !read_complete) in async_read_internal()
|
H A D | mpeg.c | 964 int n, to_read, startcode; in vobsub_read_packet() local 975 to_read = ret & 0xffff; in vobsub_read_packet() 988 ret = av_grow_packet(pkt, to_read); in vobsub_read_packet() 992 n = avio_read(pb, pkt->data + (pkt->size - to_read), to_read); in vobsub_read_packet() 993 if (n < to_read) in vobsub_read_packet() 994 pkt->size -= to_read - n; in vobsub_read_packet()
|
H A D | mov.c | 6596 unsigned int to_read = FFMIN(size, alloc_size) - offset; 6603 if (avio_read(pb, buffer + offset, to_read) != to_read) { 6607 offset += to_read;
|
/third_party/backends/backend/ |
H A D | hp4200.c | 472 size_t to_read; in read_available_data() local 488 to_read = scankb1 * 1024; in read_available_data() 490 while (to_read) in read_available_data() 494 chunk = (to_read > 0xffff) ? 0xffff : to_read; in read_available_data() 506 if (really_read > to_read) in read_available_data() 513 to_read -= really_read; in read_available_data() 705 size_t to_read; in write_gamma() local 728 to_read = sizeof (read_gamma); in write_gamma() 729 sanei_usb_read_bulk (s->fd, read_gamma, &to_read); in write_gamma() 750 size_t to_read; write_default_offset_gain() local 946 size_t to_read; read_required_bytes() local [all...] |
H A D | rts8891_low.c | 700 while (read < length && dev->read < dev->to_read in read_data() 770 DBG (DBG_io2, "read_data: %d/%d\n", dev->read, dev->to_read); in read_data() 783 if (count == 0 && dev->read < dev->to_read) in read_data() 796 if (dev->read >= dev->to_read) in read_data()
|
H A D | rts8891_low.h | 249 SANE_Int to_read; member
|
H A D | teco1.c | 724 get_filled_data_length (Teco_Scanner * dev, size_t * to_read) in get_filled_data_length() argument 732 *to_read = 0; in get_filled_data_length() 748 *to_read = B24TOI (&dev->buffer[9]); in get_filled_data_length() 785 DBG (DBG_info, "get_filled_data_length: to read = %ld\n", (long) *to_read); in get_filled_data_length()
|
H A D | leo.c | 614 get_filled_data_length (Leo_Scanner * dev, size_t * to_read) in get_filled_data_length() argument 622 *to_read = 0; in get_filled_data_length() 639 *to_read = B24TOI (&dev->buffer[9]); in get_filled_data_length() 641 DBG (DBG_info, "get_filled_data_length: to read = %ld\n", (long) *to_read); in get_filled_data_length()
|
H A D | teco3.c | 570 get_filled_data_length (Teco_Scanner * dev, size_t * to_read) in get_filled_data_length() argument 578 *to_read = 0; in get_filled_data_length() 594 *to_read = B24TOI (&dev->buffer[9]); in get_filled_data_length() 641 DBG (DBG_info, "get_filled_data_length: to read = %ld\n", (long) *to_read); in get_filled_data_length()
|
H A D | rts8891.c | 1603 dev->to_read = dev->lines * dev->bytes_per_line; in compute_parameters() 1625 if (dev->data_size > dev->to_read) in compute_parameters() 1626 dev->data_size = dev->to_read; in compute_parameters() 1649 DBG (DBG_data, "compute_parameters: to read =%d\n", dev->to_read); in compute_parameters() 1789 if (dev->to_read - dev->read < data_size) in sane_read() 1790 data_size = dev->to_read - dev->read; in sane_read() 1814 if (dev->to_read - dev->read < data_size) in sane_read() 1815 data_size = dev->to_read - dev->read; in sane_read() 2118 if (dev->read < dev->to_read) in sane_cancel()
|
/third_party/backends/frontend/ |
H A D | tstbackend.c | 1135 size_t to_read; in test_scan() local 1238 to_read = params.bytes_per_line * params.lines; in test_scan() 1268 to_read -= len; in test_scan() 1272 check(ERR, (to_read == 0), in test_scan() 1347 to_read = params.bytes_per_line * params.lines; in test_scan() 1389 to_read -= len; in test_scan() 1393 check(ERR, (to_read == 0), in test_scan() 1424 to_read = params.bytes_per_line * params.lines; in test_scan() 1462 to_read -= len; in test_scan() 1466 check(ERR, (to_read in test_scan() [all...] |
/third_party/ntfs-3g/ntfsprogs/ |
H A D | ntfsdecrypt.c | 319 int f, to_read, total, attempts, br; in ntfs_pkcs12_load_pfxfile() local 352 to_read = key_stat.st_size; in ntfs_pkcs12_load_pfxfile() 355 br = read(f, *pfx + total, to_read); in ntfs_pkcs12_load_pfxfile() 362 to_read -= br; in ntfs_pkcs12_load_pfxfile() 364 } while (to_read > 0 && attempts < 3); in ntfs_pkcs12_load_pfxfile()
|
/third_party/selinux/libsepol/src/ |
H A D | policydb.c | 2358 int rc, to_read = 2; in role_read() local 2365 to_read = 3; in role_read() 2367 rc = next_entry(buf, fp, sizeof(uint32_t) * to_read); in role_read() 2437 int rc, to_read; in type_read() local 2447 to_read = 5; in type_read() 2449 to_read = 4; in type_read() 2452 to_read = 3; in type_read() 2454 to_read = 5; in type_read() 2456 to_read = 4; in type_read() 2458 rc = next_entry(buf, fp, sizeof(uint32_t) * to_read); in type_read() 3333 int rc, to_read = 2; user_read() local [all...] |
/third_party/python/Modules/ |
H A D | _pickle.c | 1375 Py_ssize_t to_read = Py_MIN(in_buffer, n); in _Unpickler_ReadInto() local 1376 memcpy(buf, self->input_buffer + self->next_read_idx, to_read); in _Unpickler_ReadInto() 1377 self->next_read_idx += to_read; in _Unpickler_ReadInto() 1378 buf += to_read; in _Unpickler_ReadInto() 1379 n -= to_read; in _Unpickler_ReadInto()
|
/third_party/python/Lib/ |
H A D | _pyio.py | 1155 to_read = self.buffer_size - have 1156 current = self.raw.read(to_read)
|