/external/deqp/external/openglcts/modules/glesext/geometry_shader/ |
esextcGeometryShaderBlitting.hpp | 49 glw::GLint to_read) = 0; 108 glw::GLint to_read); 141 glw::GLint to_read); 171 glw::GLint to_read);
|
esextcGeometryShaderBlitting.cpp | 280 glw::GLint to_draw, glw::GLint to_read) 289 gl.framebufferTexture(GL_READ_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, to_read, 0 /* level */); 314 glw::GLint to_draw, glw::GLint to_read) 323 gl.framebufferTextureLayer(GL_READ_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, to_read, 0, 0); 348 glw::GLint to_read) 357 gl.framebufferTexture(GL_READ_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, to_read, 0 /* level */);
|
/external/vboot_reference/futility/ |
dump_kernel_config_lib.c | 34 ssize_t to_read = count - nr_read; local 35 ssize_t chunk = read(fd, buf + nr_read, to_read); 60 ssize_t to_read = count - nr_skipped; local 61 if (to_read > sizeof(buf)) { 62 to_read = sizeof(buf); 64 if (read_fn(ctx, buf, to_read) != to_read) { 67 nr_skipped += to_read;
|
/external/adhd/cras/src/server/ |
cras_main_message.c | 64 int to_read, nread, rc; local 73 to_read = msg->length - nread; 74 rc = read(msg_fd, &buf[0] + nread, to_read);
|
cras_hfp_info.c | 219 unsigned to_read; local 222 capture_buf = buf_write_pointer_size(info->capture_buf, &to_read); 224 if (to_read < info->packet_size) 226 to_read = info->packet_size; 229 err = recv(info->fd, capture_buf, to_read, 0);
|
audio_thread.c | 191 int to_read, nread, rc; local 201 to_read = msg->length - nread; 202 rc = read(thread->to_thread_fds[0], &buf[0] + nread, to_read); [all...] |
/bionic/tests/ |
pty_test.cpp | 92 size_t to_read = std::min(sizeof(buf), (arg->data_count + 1 - counter) * sizeof(uint32_t)); local 93 ASSERT_TRUE(android::base::ReadFully(arg->slave_fd, buf, to_read)); 94 size_t num_of_value = to_read / sizeof(uint32_t);
|
/build/make/tools/releasetools/ |
sparse_img.py | 186 to_read = e-s 192 this_read = min(remain, to_read) 199 to_read -= this_read 201 while to_read > 0: 205 this_read = min(chunk_len, to_read) 211 to_read -= this_read
|
/system/core/libsparse/ |
sparse_read.cpp | 339 unsigned int to_read; local 348 to_read = std::min(remain, (int64_t)(s->block_size)); 349 ret = read_all(fd, buf, to_read); 356 if (to_read == s->block_size) { 370 sparse_file_add_fill(s, buf[0], to_read, block); 372 sparse_file_add_fd(s, fd, offset, to_read, block); 375 remain -= to_read; 376 offset += to_read;
|
/external/vboot_reference/cgpt/ |
cgpt_nor.c | 122 size_t to_read = size - copied; local 123 if (to_read > bufsize) { 124 to_read = bufsize; 126 nr_read = read(source_fd, buf, to_read);
|
/bootable/recovery/applypatch/ |
applypatch.cpp | 286 size_t to_read = len - p; local 287 if (to_read > sizeof(buffer)) { 288 to_read = sizeof(buffer); 292 while (so_far < to_read) { 293 ssize_t read_count = TEMP_FAILURE_RETRY(ota_read(fd, buffer + so_far, to_read - so_far)); 301 if (static_cast<size_t>(read_count) < to_read) { 302 printf("short verify read %s at %zu: %zd %zu\n", partition, p, read_count, to_read); 307 if (memcmp(buffer, data + p, to_read) != 0) {
|
/external/libvpx/libvpx/examples/ |
vp8_multi_resolution_encoder.c | 65 size_t nbytes, to_read; local 68 to_read = img->w * img->h * 3 / 2; 69 nbytes = fread(img->planes[0], 1, to_read, f); 70 if (nbytes != to_read) { 79 size_t nbytes, to_read; local 106 to_read = w; 108 nbytes = fread(ptr, 1, to_read, f); 109 if (nbytes != to_read) {
|
/external/pdfium/third_party/libtiff/ |
tif_read.c | 75 tmsize_t to_read = size - already_read; local 77 if( to_read >= threshold && threshold < MAX_THRESHOLD && 78 already_read + to_read + rawdata_offset > tif->tif_rawdatasize ) 80 to_read = threshold; 84 if (already_read + to_read + rawdata_offset > tif->tif_rawdatasize) { 88 (uint64)already_read + to_read + rawdata_offset, 1024); 110 tif->tif_rawdata + rawdata_offset + already_read, to_read); 112 if (bytes_read != to_read) { 172 tmsize_t to_read; local 243 to_read = read_ahead_mod - unused_data [all...] |
/bootable/recovery/update_verifier/ |
update_verifier.cpp | 167 size_t to_read = std::min(remain, 1024 * kBlockSize); 168 if (!android::base::ReadFully(fd.get(), buf.data(), to_read)) { 172 remain -= to_read;
|
/external/tensorflow/tensorflow/core/util/ |
memmapped_file_system.cc | 58 Status Read(uint64 offset, size_t to_read, StringPiece* result, 65 std::min(length_ - offset, static_cast<uint64>(to_read)); 68 return (region_left == to_read)
|
/external/tensorflow/tensorflow/contrib/android/ |
asset_manager_filesystem.cc | 89 Status Read(uint64 offset, size_t to_read, StringPiece* result, 104 std::min(length - new_offset, static_cast<off64_t>(to_read)); 110 return (region_left == to_read)
|
/external/tinycompress/ |
compress.c | 417 int to_read = 0; local 456 to_read = avail.avail; 458 to_read = size; 459 num_read = read(compress->fd, cbuf, to_read);
|
/external/e2fsprogs/intl/ |
loadmsgcat.c | 977 size_t to_read; local 984 to_read = size; 988 long int nb = (long int) read (fd, read_ptr, to_read); 999 to_read -= nb; 1001 while (to_read > 0); [all...] |
/toolchain/binutils/binutils-2.27/gold/ |
fileread.cc | 397 size_t to_read = size; local 400 bytes = ::pread(this->descriptor_, read_ptr, to_read, read_pos); 407 to_read -= bytes; 408 if (to_read == 0) 413 bytes = size - to_read;
|
/toolchain/binutils/binutils-2.27/intl/ |
loadmsgcat.c | 974 size_t to_read; local 981 to_read = size; 985 long int nb = (long int) read (fd, read_ptr, to_read); 996 to_read -= nb; 998 while (to_read > 0); [all...] |
/bootable/recovery/uncrypt/ |
uncrypt.cpp | 366 size_t to_read = static_cast<size_t>( local 368 if (!android::base::ReadFully(fd, buffers[tail].data(), to_read)) { 372 pos += to_read;
|
/external/selinux/libsepol/src/ |
policydb.c | 2347 int rc, to_read = 2; local 2426 int rc, to_read; local 3110 int rc, to_read = 2; local [all...] |
/art/dt_fd_forward/ |
dt_fd_forward.cc | 170 size_t to_read = std::min(static_cast<size_t>(avail), ndata); local 171 *read_amount = to_read; 183 return ReadFullyWithoutChecks(data, to_read);
|
/build/make/tools/ |
fat16copy.py | 154 to_read = self.backing.size / 32 158 while to_read > 0: 160 to_read -= consumed
|
/toolchain/binutils/binutils-2.27/bfd/ |
vms-alpha.c | 798 unsigned int to_read; 819 to_read = PRIV (recrd.rec_size); 821 to_read += VMS_OBJECT_ADJUSTMENT; 824 if (to_read > PRIV (recrd.buf_size)) 827 = (unsigned char *) bfd_realloc (PRIV (recrd.buf), to_read); 830 PRIV (recrd.buf_size) = to_read; 833 else if (to_read <= read_so_far) 837 to_read -= read_so_far; 839 vms_debug2 ((8, "vms_get_remaining_obj_record: to_read %d\n", to_read)); 795 unsigned int to_read; local 2505 unsigned int to_read; local [all...] |