/external/freetype/src/cid/ |
D | cidparse.c | 114 FT_ULong read_len = 256 + STARTDATA_LEN; in cid_parser_new() local 126 read_len = FT_MIN( read_len, stream_len ); in cid_parser_new() 127 if ( FT_STREAM_READ( p, read_len ) ) in cid_parser_new() 131 p[read_len] = '\0'; in cid_parser_new() 133 limit = p + read_len - SFNTS_LEN; in cid_parser_new() 152 if ( read_offset + read_len < STARTDATA_LEN ) in cid_parser_new() 160 buffer + read_offset + read_len - STARTDATA_LEN, in cid_parser_new() 164 read_len = 256; in cid_parser_new()
|
/external/ltp/testcases/kernel/syscalls/ftruncate/ |
D | ftruncate02.c | 102 int read_len; /* total no. of bytes read from testfile */ in main() local 112 read_len = 0; in main() 151 read_len += rbytes; in main() 204 (read_len != TRUNC_LEN1) || in main() 217 (read_len != TRUNC_LEN1) || in main()
|
/external/ltp/testcases/kernel/syscalls/truncate/ |
D | truncate02.c | 103 int read_len; /* total no. of bytes read from testfile */ in main() local 113 read_len = 0; in main() 151 read_len += rbytes; in main() 205 (read_len != TRUNC_LEN1) || in main()
|
/external/u-boot/drivers/usb/emul/ |
D | sandbox_flash.c | 57 int read_len; member 232 priv->read_len = transfer_len; in handle_read() 311 priv->read_len = 0; in sandbox_flash_bulk() 334 len, priv->alloc_len, priv->read_len); in sandbox_flash_bulk() 335 if (priv->read_len) { in sandbox_flash_bulk() 341 priv->read_len -= len / SANDBOX_FLASH_BLOCK_LEN; in sandbox_flash_bulk() 342 if (!priv->read_len) in sandbox_flash_bulk()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_symbolizer_libcdep.cc | 397 uptr read_len = 0; in ReadFromSymbolizer() local 400 bool success = ReadFromFile(input_fd_, buffer + read_len, in ReadFromSymbolizer() 401 max_length - read_len - 1, &just_read); in ReadFromSymbolizer() 408 read_len += just_read; in ReadFromSymbolizer() 409 if (ReachedEndOfOutput(buffer, read_len)) in ReadFromSymbolizer() 412 buffer[read_len] = '\0'; in ReadFromSymbolizer()
|
D | sanitizer_common.cc | 124 uptr *read_len, uptr max_len, error_t *errno_p) { in ReadFileToBuffer() argument 129 *read_len = 0; in ReadFileToBuffer() 137 *read_len = 0; in ReadFileToBuffer() 140 while (*read_len + PageSize <= size) { in ReadFileToBuffer() 142 if (!ReadFromFile(fd, *buff + *read_len, PageSize, &just_read, errno_p)) { in ReadFileToBuffer() 150 *read_len += just_read; in ReadFileToBuffer()
|
D | sanitizer_common.h | 256 uptr *read_len, uptr max_len = 1 << 26,
|
/external/libchrome/ipc/ |
D | ipc_channel_reader_unittest.cc | 32 size_t read_len = std::min(static_cast<size_t>(buffer_len), data_.size()); in ReadData() local 33 memcpy(buffer, data_.data(), read_len); in ReadData() 34 *bytes_read = static_cast<int>(read_len); in ReadData() 35 data_.erase(0, read_len); in ReadData()
|
/external/python/cpython3/Modules/_io/ |
D | winconsoleio.c | 676 DWORD read_len = _copyfrombuf(self, buf, (DWORD)len); in readinto() local 677 if (read_len) { in readinto() 678 buf = &buf[read_len]; in readinto() 679 len -= read_len; in readinto() 682 if (len == read_len || wlen == 0) in readinto() 683 return read_len; in readinto() 691 return read_len; in readinto() 709 read_len += u8n; in readinto() 736 return read_len; in readinto()
|
/external/u-boot/drivers/spi/ |
D | cadence_qspi_apb.c | 440 unsigned int read_len; in cadence_qspi_apb_command_read() local 463 read_len = (rxlen > 4) ? 4 : rxlen; in cadence_qspi_apb_command_read() 464 memcpy(rxbuf, ®, read_len); in cadence_qspi_apb_command_read() 465 rxbuf += read_len; in cadence_qspi_apb_command_read() 470 read_len = rxlen - read_len; in cadence_qspi_apb_command_read() 471 memcpy(rxbuf, ®, read_len); in cadence_qspi_apb_command_read()
|
/external/webrtc/webrtc/modules/media_file/ |
D | media_file_utility.cc | 911 int16_t read_len = 0; in InitCompressedReading() local 949 read_len = in.Read(buf, 38); in InitCompressedReading() 950 if(read_len != 38) in InitCompressedReading() 973 read_len = in.Read(buf, 50); in InitCompressedReading() 974 if(read_len != 50) in InitCompressedReading() 1144 int read_len; in InitPCMReading() local 1188 read_len = pcm.Read(dummy, _readSizeBytes); in InitPCMReading() 1189 if(read_len != static_cast<int>(_readSizeBytes)) in InitPCMReading() 1498 int read_len = 0; in FileDurationMs() local 1502 read_len = inStreamObj->Read(&buf[cnt++], 1); in FileDurationMs() [all …]
|
/external/u-boot/drivers/misc/ |
D | cros_ec.c | 1078 int read_len; in cros_ec_i2c_tunnel() local 1091 read_len = 0; in cros_ec_i2c_tunnel() 1099 read_len += in->len; in cros_ec_i2c_tunnel() 1101 if (sizeof(*r) + read_len > sizeof(response)) { in cros_ec_i2c_tunnel() 1116 r, sizeof(*r) + read_len); in cros_ec_i2c_tunnel() 1126 if (rv < sizeof(*r) + read_len) { in cros_ec_i2c_tunnel() 1132 if (read_len) in cros_ec_i2c_tunnel() 1133 memcpy(read_ptr, r->data, read_len); in cros_ec_i2c_tunnel()
|
/external/u-boot/drivers/mtd/spi/ |
D | spi_flash.c | 472 u32 remain_len, read_len, read_addr; in spi_flash_cmd_read_ops() local 514 read_len = len; in spi_flash_cmd_read_ops() 516 read_len = remain_len; in spi_flash_cmd_read_ops() 519 read_len = min(read_len, spi->max_read_size); in spi_flash_cmd_read_ops() 523 ret = spi_flash_read_common(flash, cmd, cmdsz, data, read_len); in spi_flash_cmd_read_ops() 529 offset += read_len; in spi_flash_cmd_read_ops() 530 len -= read_len; in spi_flash_cmd_read_ops() 531 data += read_len; in spi_flash_cmd_read_ops()
|
/external/iputils/ninfod/ |
D | ni_ifaddrs.c | 142 int read_len; in nl_recvmsg() local 152 read_len = recvmsg(sd, &msg, 0); in nl_recvmsg() 153 if ((read_len < 0 && errno == EINTR) in nl_recvmsg() 160 return read_len; in nl_recvmsg()
|
/external/selinux/libsepol/src/ |
D | module.c | 349 uint32_t offset, nel, read_len; in read_helper() local 357 read_len = nel; in read_helper() 359 read_len = _read_helper_bufsize; in read_helper() 360 rc = next_entry(&buf[offset], file, read_len); in read_helper() 363 offset += read_len; in read_helper() 364 nel -= read_len; in read_helper()
|
/external/grpc-grpc/src/core/lib/iomgr/ |
D | tcp_uv.cc | 55 size_t read_len; member 94 buf->len = uv_socket->read_len; in alloc_uv_buf() 133 uv_socket->read_len = length; in uv_socket_read() 205 uv_socket->read_len = 0; in uv_socket_init_helper()
|
/external/webrtc/webrtc/modules/audio_coding/test/ |
D | RTPFile.cc | 194 size_t read_len = fread(&lengthBytes, 2, 1, _rtpFile); in Read() local 196 if ((read_len == 0) && feof(_rtpFile)) { in Read()
|
/external/libusb/examples/ |
D | ezusb.c | 435 size_t data_len = 0, read_len; in parse_iic() local 465 read_len = fread(data, 1, data_len, image); in parse_iic() 466 if (read_len != data_len) { in parse_iic()
|
/external/kernel-headers/original/uapi/linux/ |
D | target_core_user.h | 124 __u32 read_len; member
|
/external/openssh/ |
D | misc.c | 1016 bandwidth_limit(struct bwlimit *bw, size_t read_len) in bandwidth_limit() argument 1026 bw->lamt += read_len; in bandwidth_limit()
|
/external/mesa3d/src/intel/vulkan/ |
D | genX_cmd_buffer.c | 1990 uint32_t read_len; in cmd_buffer_flush_push_constants() local 1992 read_len = MIN2(range->length, in cmd_buffer_flush_push_constants() 2010 read_len = MIN2(range->length, in cmd_buffer_flush_push_constants() 2019 if (read_len > 0) { in cmd_buffer_flush_push_constants() 2021 c.ConstantBody.ReadLength[n] = read_len; in cmd_buffer_flush_push_constants()
|
/external/libvpx/libvpx/third_party/libwebm/mkvmuxer/ |
D | mkvmuxer.cc | 157 const int64_t read_len = (size > kBufSize) ? kBufSize : size; in ChunkedCopy() local 158 if (source->Read(offset, static_cast<long>(read_len), buf)) in ChunkedCopy() 160 dst->Write(buf, static_cast<uint32_t>(read_len)); in ChunkedCopy() 161 offset += read_len; in ChunkedCopy() 162 size -= read_len; in ChunkedCopy()
|
/external/libaom/libaom/third_party/libwebm/mkvmuxer/ |
D | mkvmuxer.cc | 157 const int64_t read_len = (size > kBufSize) ? kBufSize : size; in ChunkedCopy() local 158 if (source->Read(offset, static_cast<long>(read_len), buf)) in ChunkedCopy() 160 dst->Write(buf, static_cast<uint32_t>(read_len)); in ChunkedCopy() 161 offset += read_len; in ChunkedCopy() 162 size -= read_len; in ChunkedCopy()
|
/external/selinux/libsemanage/src/ |
D | direct_api.c | 771 size_t read_len = 0; in read_from_pipe_to_data() local 784 while ((read_len = read(fd, data_read + data_read_len, max_len - data_read_len)) > 0) { in read_from_pipe_to_data() 785 data_read_len += read_len; in read_from_pipe_to_data()
|
/external/python/cpython3/Lib/ |
D | zipfile.py | 1058 read_len = min(self.MAX_SEEK_READ, read_offset) 1059 self.read(read_len) 1060 read_offset -= read_len
|