HomeSort by relevance Sort by last modified time
    Searched refs:bytes_read (Results 51 - 75 of 322) sorted by null

1 23 4 5 6 7 8 91011>>

  /system/update_engine/common/
file_fetcher.cc 133 void FileFetcher::OnReadDoneCallback(size_t bytes_read) {
135 if (bytes_read == 0) {
140 bytes_copied_ += bytes_read;
142 delegate_->ReceivedBytes(this, buffer_.data(), bytes_read);
  /external/libchrome/base/files/
file_posix.cc 209 int bytes_read = 0; local
212 rv = HANDLE_EINTR(pread(file_.get(), data + bytes_read,
213 size - bytes_read, offset + bytes_read));
217 bytes_read += rv;
218 } while (bytes_read < size);
220 return bytes_read ? bytes_read : rv;
231 int bytes_read = 0; local
234 rv = HANDLE_EINTR(read(file_.get(), data + bytes_read, size - bytes_read))
    [all...]
  /development/host/windows/usb/api/
adb_endpoint_object.h 117 @param[out] bytes_read Number of bytes read. Can be NULL.
129 ULONG* bytes_read,
157 @param[out] bytes_read Number of bytes read. Can be NULL.
166 ULONG* bytes_read,
  /device/linaro/bootloader/arm-trusted-firmware/drivers/io/
io_fip.c 125 size_t bytes_read; local
147 &bytes_read);
183 size_t bytes_read; local
222 &bytes_read);
275 size_t bytes_read; local
303 result = io_read(backend_handle, buffer, length, &bytes_read);
311 *length_read = bytes_read;
312 fp->file_pos += bytes_read;
  /external/libvpx/libvpx/
ivfdec.c 73 int ivf_read_frame(FILE *infile, uint8_t **buffer, size_t *bytes_read,
107 *bytes_read = frame_size;
  /external/perfetto/protos/perfetto/trace/ftrace/
ftrace_stats.proto 27 optional uint64 bytes_read = 5;
  /external/sfntly/cpp/src/sample/subsetter/
subset_util.cc 55 size_t bytes_read = fread(&(input_buffer[0]), 1, file_size, input_file); local
56 UNREFERENCED_PARAMETER(bytes_read);
  /hardware/interfaces/bluetooth/1.0/default/
bluetooth_address.cc 56 int bytes_read = read(addr_fd, address, kStringLength); local
57 if (bytes_read == -1) {
  /system/bt/vendor_libs/linux/interface/
h4_protocol.cc 97 size_t bytes_read = TEMP_FAILURE_RETRY(read(fd, tpkt.data(), max_plen)); local
99 hci_packetizer_.CbHciPacket(tpkt.data()+1, bytes_read-1);
  /toolchain/binutils/binutils-2.27/binutils/
dwarf.c 478 unsigned int bytes_read; local
484 len = read_uleb128 (data, & bytes_read, end);
485 data += bytes_read;
490 return bytes_read;
493 len += bytes_read;
509 if (len - bytes_read - 1 > 8)
512 len - bytes_read - 1);
516 SAFE_BYTE_GET (adr, data, len - bytes_read - 1, end);
529 printf ("%s\t", dwarf_vmatoa ("u", read_uleb128 (data, & bytes_read, end)));
530 data += bytes_read;
859 unsigned int bytes_read; local
976 unsigned int bytes_read; local
1591 unsigned int bytes_read; local
2604 unsigned int bytes_read; local
2973 unsigned int bytes_read; local
3008 unsigned int bytes_read; local
3133 unsigned int bytes_read; local
3706 unsigned int bytes_read; local
3727 unsigned int bytes_read; local
3778 unsigned int bytes_read; local
4296 unsigned int bytes_read; local
4377 unsigned int version, opcode_base, bytes_read; local
4458 unsigned int bytes_read; local
4924 unsigned int bytes_read; local
    [all...]
  /external/ltp/testcases/kernel/io/stress_cd/
stress_cd.c 145 int bytes_read = 0; local
159 while (bytes_read < num_bytes) {
165 bytes_read += n;
172 "%-#12lx\n", num, bytes_read, *cksum);
178 num, bytes_read, *cksum);
  /external/protobuf/conformance/
conformance_cpp.cc 67 ssize_t bytes_read = read(fd, (char*)buf + ofs, len); local
69 if (bytes_read == 0) return false;
71 if (bytes_read < 0) {
75 len -= bytes_read;
76 ofs += bytes_read;
  /external/sfntly/cpp/src/test/
byte_array_test.cc 39 int32_t bytes_read = ba->Get(index, buffer); local
40 std::copy(buffer->begin(), buffer->begin() + bytes_read,
42 index += bytes_read;
54 int32_t bytes_read = ba->Get(index, &((*b)[0]), index, actual_window_size); local
55 index += bytes_read;
  /test/vts/drivers/libdrivercomm/
VtsDriverCommUtil.cpp 143 int bytes_read = 0; local
144 while (bytes_read < msg_len) {
145 int result = read(sockfd_, &msg[bytes_read], msg_len - bytes_read);
150 bytes_read += result;
  /external/libexif/libexif/
exif-loader.c 79 unsigned int bytes_read; member in struct:_ExifLoader
135 if (!eld || (len && !buf) || (eld->bytes_read >= eld->size))
145 len = MIN (len, eld->size - eld->bytes_read);
146 memcpy (eld->buf + eld->bytes_read, buf, len);
147 eld->bytes_read += len;
149 return (eld->bytes_read >= eld->size) ? 0 : 1;
384 loader->bytes_read = 0;
396 !loader->bytes_read)
401 exif_data_load_data (ed, loader->buf, loader->bytes_read);
418 s = loader->bytes_read;
    [all...]
  /external/puffin/src/
puffin_stream.cc 215 uint64_t bytes_read = 0; local
216 while (bytes_read < length) {
224 auto bytes_to_read = std::min(length - bytes_read, end_byte - start_byte);
228 TEST_AND_RETURN_FALSE(stream_->Read(bytes + bytes_read, bytes_to_read));
233 bytes[bytes_read + bytes_to_read - 1] &=
244 bytes[bytes_read] >>= deflate_bit_pos_ & 7;
255 bytes_read += bytes_to_read;
269 (length - bytes_read >= cur_puff_->length);
282 ? bytes + bytes_read
302 std::min(length - bytes_read, cur_puff_->length - skip_bytes_)
    [all...]
  /hardware/qcom/wlan/qcwcn/wifi_hal/
ring_buffer.cpp 346 unsigned int bytes_read = 0; local
350 while (bytes_read < max_length) {
365 (max_length - bytes_read)) {
369 cur_cpy_len = max_length - bytes_read;
375 if (rbc->cur_valid_bytes <= bytes_read) {
381 (max_length - bytes_read));
389 (max_length - bytes_read));
392 memcpy((buf + bytes_read),
413 bytes_read += cur_cpy_len;
419 rbc->total_bytes_read += bytes_read;
    [all...]
  /external/v8/src/base/platform/
platform-aix.cc 103 int bytes_read = -1; local
105 bytes_read++;
106 if (bytes_read >= MAP_LENGTH - 1) break;
107 rc = read(fd, buffer + bytes_read, 1);
109 } while (buffer[bytes_read] != '\n');
110 buffer[bytes_read] = 0;
116 buffer[bytes_read] = 0;
  /device/google/contexthub/util/nanotool/
calibrationfile.cpp 52 ssize_t bytes_read = file_->read(file_data.data(), file_size); local
53 if (bytes_read != file_size) {
55 bytes_read, file_size);
  /external/libmojo/mojo/edk/test/
multiprocess_test_helper_unittest.cc 44 size_t bytes_read = 0; local
45 BlockingRead(handle, c, 1, &bytes_read);
46 return bytes_read == 1;
  /external/sfntly/cpp/src/sfntly/data/
font_input_stream.cc 86 int32_t bytes_read = stream_->Read(b, offset, bytes_to_read); local
87 position_ += bytes_read;
88 return bytes_read;
  /external/webrtc/webrtc/test/
fake_audio_device.cc 91 int bytes_read = file_utility_->ReadPCMData( local
93 if (bytes_read <= 0)
96 size_t num_samples = static_cast<size_t>(bytes_read / 2);
  /external/autotest/client/cros/
network.py 166 bytes_read = len(result.read(bytes_to_read))
167 bytes_fetched += bytes_read
168 if bytes_read != bytes_to_read:
171 (bytes_to_read, bytes_read))
  /external/bsdiff/
buffer_file.cc 20 bool BufferFile::Read(void* buf, size_t count, size_t* bytes_read) {
  /external/selinux/restorecond/
user.c 117 gsize bytes_read; local
125 &bytes_read, NULL);
127 if (! bytes_read) {
132 while (i < bytes_read) {

Completed in 802 milliseconds

1 23 4 5 6 7 8 91011>>