/external/sfntly/cpp/src/sfntly/port/ |
D | memory_input_stream.cc | 91 size_t read_count = std::min<size_t>(length_ - position_, length); in Read() local 92 if (b->size() < (size_t)(offset + read_count)) { in Read() 93 b->resize((size_t)(offset + read_count)); in Read() 95 memcpy(&((*b)[offset]), buffer_ + position_, read_count); in Read() 96 position_ += read_count; in Read() 97 return read_count; in Read()
|
D | file_input_stream.cc | 97 size_t read_count = std::min<size_t>(length_ - position_, length); in Read() local 98 if (b->size() < (size_t)(offset + read_count)) { in Read() 99 b->resize((size_t)(offset + read_count)); in Read() 101 int32_t actual_read = fread(&((*b)[offset]), 1, read_count, file_); in Read()
|
/external/python/cpython3/Lib/test/ |
D | test_winconsoleio.py | 157 for read_count in range(1, 16): 163 b = stdin.read(read_count) 166 self.assertEqual(actual, expected, 'stdin.read({})'.format(read_count)) 174 for read_count in range(1, 16): 180 b = stdin.read(read_count) 183 self.assertEqual(actual, expected, 'stdin.read({})'.format(read_count))
|
/external/freetype/builds/unix/ |
D | ftsystem.c | 322 ssize_t read_count; in FT_Stream_Open() local 325 read_count = read( file, in FT_Stream_Open() 329 if ( read_count <= 0 ) in FT_Stream_Open() 331 if ( read_count == -1 && errno == EINTR ) in FT_Stream_Open() 339 total_read_count += read_count; in FT_Stream_Open()
|
/external/perfetto/test/ |
D | test_helper.cc | 144 void TestHelper::ReadData(uint32_t read_count) { in ReadData() argument 146 CreateCheckpoint("readback.complete." + std::to_string(read_count)); in ReadData() 166 void TestHelper::WaitForReadData(uint32_t read_count) { in WaitForReadData() argument 167 RunUntilCheckpoint("readback.complete." + std::to_string(read_count)); in WaitForReadData()
|
D | test_helper.h | 57 void ReadData(uint32_t read_count = 0); 65 void WaitForReadData(uint32_t read_count = 0);
|
/external/webrtc/webrtc/modules/audio_processing/test/ |
D | process_test.cc | 553 size_t read_count = 0; in void_main() local 850 read_count = fread(&event, sizeof(event), 1, event_file); in void_main() 851 if (read_count != 1) { in void_main() 906 read_count = fread(far_frame.data_, in void_main() 912 if (read_count != size) { in void_main() 915 EXPECT_EQ(0, fseek(near_file, read_count * sizeof(int16_t), in void_main() 920 ASSERT_EQ(size, read_count); in void_main() 947 read_count = fread(near_frame.data_, in void_main() 952 near_read_bytes += read_count * sizeof(int16_t); in void_main() 959 if (read_count != size) { in void_main() [all …]
|
D | audio_processing_unittest.cc | 318 size_t read_count = fread(int_data, sizeof(int16_t), frame_size, file); in ReadChunk() local 319 if (read_count != frame_size) { in ReadChunk() 535 size_t read_count = fread(frame->data_, in ReadFrame() local 539 if (read_count != frame_size) { in ReadFrame()
|
/external/tensorflow/tensorflow/tools/gcs_test/python/ |
D | 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/ |
D | client_info.cc | 187 SIZE_T read_count = sizeof(CustomInfoEntry) * custom_client_info_.count; in PopulateCustomInfo() local 205 read_count, in PopulateCustomInfo() 211 return (bytes_count == read_count); in PopulateCustomInfo()
|
/external/grpc-grpc/test/core/surface/ |
D | byte_buffer_reader_test.cc | 126 size_t read_count = 0; in read_compressed_slice() local 149 GRPC_SLICE_START_PTR(input_slice) + read_count, in read_compressed_slice() 151 read_count += GRPC_SLICE_LENGTH(read_slice); in read_compressed_slice() 154 GPR_ASSERT(read_count == input_size); in read_compressed_slice()
|
/external/libpng/contrib/libtests/ |
D | pngimage.c | 377 size_t read_count; /* count of bytes read from current */ member 423 buffer->read_count = 0; in buffer_start_read() 813 size_t read_count = bp->read_count; in buffer_read() local 820 (last == bp->last && read_count >= bp->end_count)) in buffer_read() 828 else if (read_count >= sizeof last->buffer) in buffer_read() 832 read_count = 0; in buffer_read() 844 avail = (sizeof last->buffer) - read_count; in buffer_read() 848 memcpy(data, last->buffer + read_count, avail); in buffer_read() 849 read_count += avail; in buffer_read() 854 bp->read_count = read_count; in buffer_read()
|
/external/webrtc/webrtc/common_audio/ |
D | ring_buffer.c | 129 const size_t read_count = GetBufferReadRegions(self, in WebRtc_ReadBuffer() local 152 WebRtc_MoveReadPtr(self, (int) read_count); in WebRtc_ReadBuffer() 154 return read_count; in WebRtc_ReadBuffer()
|
/external/f2fs-tools/fsck/ |
D | segment.c | 102 u64 read_count; in f2fs_read() local 128 read_count = remained_blkentries = 0; in f2fs_read() 163 read_count += len_in_blk; in f2fs_read() 172 return read_count; in f2fs_read()
|
/external/libhevc/encoder/ |
D | osal_mbox.h | 71 UWORD32 read_count; /* Get Count */ member
|
D | osal_select_engine.h | 57 UWORD32 read_count; /* Count of read descriptors */ member
|
/external/libpng/contrib/tools/ |
D | pngfix.c | 882 png_uint_32 read_count; /* Count of bytes read (in the chunk) */ member 1048 file->read_count = 0; in file_init() 1250 ++(file->read_count); in read_byte() 1645 chunk->file->read_count = 8; in setpos() 2982 file->read_count = 8; in sync_stream() 3038 file->read_count -= 8; in sync_stream() 3140 file->read_count -= 8; in read_chunk() 3203 if (file->read_count < 8) in read_callback() 3205 assert(file->read_count == 0); in read_callback() 3210 if (file->read_count == 4) in read_callback() [all …]
|
/external/freetype/src/pshinter/ |
D | pshglob.c | 141 FT_UInt read_count, in psh_blues_set_zones_0() argument 153 for ( ; read_count > 1; read_count -= 2 ) in psh_blues_set_zones_0()
|
/external/u-boot/arch/arm/mach-zynq/include/mach/ |
D | hardware.h | 113 u32 read_count; /* 0x8c */ member
|
/external/nos/test/system-test-harness/src/ |
D | util.cc | 291 size_t read_count = 0; in GetAhdlc() local 306 ++read_count; in GetAhdlc() 320 if (read_count > 7) { in GetAhdlc()
|
/external/u-boot/drivers/fpga/ |
D | zynqpl.c | 174 readl(&devcfg_base->read_count)); in zynq_dma_transfer()
|