/external/sfntly/cpp/src/sfntly/port/ |
memory_input_stream.cc | 91 size_t read_count = std::min<size_t>(length_ - position_, length); local 92 if (b->size() < (size_t)(offset + read_count)) { 93 b->resize((size_t)(offset + read_count)); 95 memcpy(&((*b)[offset]), buffer_ + position_, read_count); 96 position_ += read_count; 97 return read_count;
|
file_input_stream.cc | 97 size_t read_count = std::min<size_t>(length_ - position_, length); local 98 if (b->size() < (size_t)(offset + read_count)) { 99 b->resize((size_t)(offset + read_count)); 101 int32_t actual_read = fread(&((*b)[offset]), 1, read_count, file_);
|
/device/google/cuttlefish_common/common/libs/tcp_socket/ |
tcp_socket.cpp | 35 auto read_count = fd_->Read(buf.data(), buf.size()); local 36 if (read_count < 0) { 37 read_count = 0; 39 buf.resize(read_count);
|
/external/freetype/builds/unix/ |
ftsystem.c | 322 ssize_t read_count; local 325 read_count = read( file, 329 if ( read_count <= 0 ) 331 if ( read_count == -1 && errno == EINTR ) 339 total_read_count += read_count;
|
/external/mesa3d/src/gallium/drivers/ilo/core/ |
ilo_state_sbe.h | 96 uint8_t read_count);
|
ilo_state_sbe.c | 321 uint8_t read_count) 326 info.attr_count = read_count; 327 info.cv_vue_attr_count = read_base + read_count; 329 info.vue_read_count = read_count;
|
ilo_state_shader.c | 90 assert(urb->read_base + urb->read_count <= urb->cv_input_attr_count); 98 assert(urb->read_count <= max_read_count); 143 ff->vue_read_len = (urb->read_count + 1) / 2; 152 assert(kernel->grf_start + urb->read_count * 2 <= 128);
|
ilo_state_shader.h | 65 uint8_t read_count; member in struct:ilo_state_shader_urb_info
|
/external/opencv/otherlibs/highgui/ |
cvcap_socket.cpp | 247 long read_count, total_read = 0; local 250 read_count = read(sockd, &readBuf[total_read], readBufSize); 251 if (read_count <= 0 || errno != 0) 258 total_read += read_count;
|
/external/python/cpython3/Lib/test/ |
test_winconsoleio.py | 153 for read_count in range(1, 16): 159 b = stdin.read(read_count) 162 self.assertEqual(actual, expected, 'stdin.read({})'.format(read_count)) 170 for read_count in range(1, 16): 176 b = stdin.read(read_count) 179 self.assertEqual(actual, expected, 'stdin.read({})'.format(read_count))
|
/external/tensorflow/tensorflow/tools/gcs_test/python/ |
gcs_smoke.py | 218 read_count = 0 220 read_count += 1 221 print("Read %d records using tf_record_iterator" % read_count) 223 if read_count != FLAGS.num_examples: 225 "differs from the expected number (%d)" % (read_count,
|
/external/google-breakpad/src/client/windows/crash_generation/ |
client_info.cc | 187 SIZE_T read_count = sizeof(CustomInfoEntry) * custom_client_info_.count; local 205 read_count, 211 return (bytes_count == read_count);
|
/hardware/qcom/audio/legacy/libalsa-intf/ |
alsaucm_test.c | 87 ssize_t read_count; local 95 read_count = read(fd, &ch, 1); 96 if (read_count == 0) { 99 } else if (read_count < 0) {
|
/external/webrtc/webrtc/modules/audio_processing/test/ |
process_test.cc | 553 size_t read_count = 0; local 850 read_count = fread(&event, sizeof(event), 1, event_file); 851 if (read_count != 1) { [all...] |
/external/webrtc/webrtc/common_audio/ |
ring_buffer.c | 129 const size_t read_count = GetBufferReadRegions(self, local 152 WebRtc_MoveReadPtr(self, (int) read_count); 154 return read_count;
|
/art/runtime/ |
class_table.cc | 277 size_t read_count; local 278 ClassSet class_set(ptr, /*make copy*/false, &read_count); 285 size_t read_count = 0; local 286 AddClassSet(ClassSet(ptr, /*make copy*/false, &read_count)); 287 return read_count;
|
intern_table.cc | 367 size_t read_count = 0; local 368 UnorderedSet set(ptr, /*make copy*/false, &read_count); 371 return read_count; 382 return read_count;
|
/bootable/recovery/applypatch/ |
applypatch.cpp | 293 ssize_t read_count = TEMP_FAILURE_RETRY(ota_read(fd, buffer + so_far, to_read - so_far)); local 294 if (read_count == -1) { 297 } else if (read_count == 0) { 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); 304 so_far += read_count;
|
/frameworks/av/media/mtp/ |
MtpDataPacket.cpp | 40 size_t read_count = 0; local 41 while (read_count < count) { 42 int result = read(fd, static_cast<int8_t*>(buf) + read_count, count - read_count); 47 read_count += result; 49 return read_count == count ? count : -1;
|
/external/libpng/contrib/libtests/ |
pngimage.c | 377 size_t read_count; /* count of bytes read from current */ member in struct:buffer 423 buffer->read_count = 0; 813 size_t read_count = bp->read_count; local 820 (last == bp->last && read_count >= bp->end_count)) 828 else if (read_count >= sizeof last->buffer) 832 read_count = 0; 844 avail = (sizeof last->buffer) - read_count; 848 memcpy(data, last->buffer + read_count, avail); 849 read_count += avail [all...] |
/external/f2fs-tools/fsck/ |
segment.c | 95 u64 read_count; local 121 read_count = remained_blkentries = 0; 156 read_count += len_in_blk; 165 return read_count;
|
/external/libpng/contrib/tools/ |
pngfix.c | 882 png_uint_32 read_count; /* Count of bytes read (in the chunk) */ member in struct:file [all...] |
/external/freetype/src/pshinter/ |
pshglob.c | 141 FT_UInt read_count, 153 for ( ; read_count > 1; read_count -= 2 )
|
/external/nos/test/system-test-harness/src/ |
util.cc | 291 size_t read_count = 0; local 306 ++read_count; 320 if (read_count > 7) {
|
/hardware/qcom/bt/msm8909/libbt-vendor/src/ |
hw_ar3k.c | 575 int read_count; local 631 read_count = (byte_count > ENTRY_PER_LINE) ? 635 while (read_count > 0) { 637 read_count -= 2; [all...] |