HomeSort by relevance Sort by last modified time
    Searched full:bytes_to_read (Results 1 - 25 of 29) sorted by null

1 2

  /development/host/windows/usb/api/
adb_endpoint_object.cpp 51 ULONG bytes_to_read,
57 bytes_to_read,
77 ULONG bytes_to_read,
82 bytes_to_read,
adb_endpoint_object.h 116 @param[in] bytes_to_read Number of bytes to be read.
128 ULONG bytes_to_read,
156 @param[in] bytes_to_read Number of bytes to be read.
165 ULONG bytes_to_read,
adb_api.cpp 393 unsigned long bytes_to_read,
404 bytes_to_read,
443 unsigned long bytes_to_read,
453 adb_object->SyncRead(buffer, bytes_to_read, bytes_read, time_out);
adb_api.h 481 @param[in] bytes_to_read Number of bytes to be read.
494 unsigned long bytes_to_read,
527 @param[in] bytes_to_read Number of bytes to be read.
537 unsigned long bytes_to_read,
  /hardware/bsp/intel/peripheral/sensors/mraa/
Sensor.cpp 39 int bytes_read = 0, bytes_to_read = sizeof(sensors_event_t); local
51 bytes_read = read(fd, ptr, bytes_to_read);
55 bytes_to_read -= bytes_read;
57 } while (bytes_to_read > 0);
59 if (bytes_to_read != 0) {
  /system/update_engine/common/
file_fetcher.cc 107 size_t bytes_to_read = buffer_.size(); local
109 bytes_to_read = std::min(static_cast<uint64_t>(bytes_to_read),
113 if (!bytes_to_read) {
120 bytes_to_read,
hash_calculator.cc 57 off_t bytes_to_read = buffer.size(); local
58 if (length >= 0 && bytes_to_read > length - bytes_processed) {
59 bytes_to_read = length - bytes_processed;
61 ssize_t rc = HANDLE_EINTR(read(fd, buffer.data(), bytes_to_read));
utils.cc 345 off_t bytes_to_read = sizeof(buf); local
346 if (size > 0 && bytes_to_read > size) {
347 bytes_to_read = size;
349 size_t nbytes = fread(buf, 1, bytes_to_read, fp);
    [all...]
  /external/sfntly/cpp/src/sfntly/data/
font_input_stream.cc 83 int32_t bytes_to_read = local
86 int32_t bytes_read = stream_->Read(b, offset, bytes_to_read);
  /external/autotest/client/cros/i2c/
usb_to_i2c.py 80 def read(self, slave_addr, bytes_to_read):
84 @param bytes_to_read: The number of bytes to read from device.
160 def read(self, slave_addr, bytes_to_read):
163 bytes_to_read,
  /external/bsdiff/
bspatch.cc 96 size_t bytes_to_read = std::min(size, buf_size); local
97 if (!ReadBZ2(pfbz2, buf, bytes_to_read))
99 if (!WriteAll(file, buf, bytes_to_read))
101 size -= bytes_to_read;
300 size_t bytes_to_read = std::min(chunk_size, old_buf.size()); local
301 if (!old_file->Read(old_buf.data(), bytes_to_read, &read_bytes))
  /external/libchrome/base/
sync_socket_posix.cc 184 const size_t bytes_to_read = std::min(Peek(), length - bytes_read_total); local
187 if (!bytes_to_read)
191 Receive(static_cast<char*>(buffer) + bytes_read_total, bytes_to_read);
193 if (bytes_received != bytes_to_read)
  /system/bt/osi/test/
eager_reader_test.cpp 106 size_t bytes_to_read = (length - i) > 28 ? 28 : (length - i); local
107 size_t bytes_read = eager_reader_read(reader, buffer, bytes_to_read);
108 EXPECT_LE(bytes_read, bytes_to_read);
  /system/update_engine/payload_consumer/
filesystem_verifier_action.cc 183 size_t bytes_to_read = std::min(static_cast<int64_t>(buffer_.size()), local
185 if (!bytes_to_read) {
192 bytes_to_read,
delta_performer.cc 1248 ssize_t bytes_to_read = blocks_to_read * block_size_; local
    [all...]
  /external/autotest/client/cros/
network.py 249 bytes_to_read = min(bytes_left, _MAX_FETCH_READ_BYTES)
250 bytes_read = len(result.read(bytes_to_read))
252 if bytes_read != bytes_to_read:
255 (bytes_to_read, bytes_read))
  /external/chromium-trace/catapult/third_party/gsutil/gslib/
hashing_helper.py 469 def _CatchUp(self, bytes_to_read):
477 bytes_to_read: Number of bytes to catch up from the original stream.
485 if bytes_to_read >= MIN_SIZE_COMPUTE_LOGGING:
491 bytes_remaining = bytes_to_read
499 self._digesters_current_mark += bytes_to_read
  /device/moto/shamu/camera/QCamera/HAL/usbcamcore/src/
QCameraMjpegDecode.cpp 622 int bytes_to_read, bytes_read, rc; local
631 bytes_to_read = (length < buf_size) ? length : buf_size;
634 ALOGD("%s: buf_ptr = %p, start_offset = %d, length = %d buf_size = %d bytes_to_read = %d", __func__, buf_ptr, start_offset, length, buf_size, bytes_to_read);
635 if (bytes_to_read)
639 memcpy(buf_ptr, (char *)mjpegd->inputMjpegBuffer + start_offset, bytes_to_read);
644 bytes_read = bytes_to_read;
  /hardware/qcom/camera/msmcobalt/usbcamcore/src/
QCameraMjpegDecode.cpp 622 int bytes_to_read, bytes_read, rc; local
631 bytes_to_read = (length < buf_size) ? length : buf_size;
634 ALOGD("%s: buf_ptr = %p, start_offset = %d, length = %d buf_size = %d bytes_to_read = %d", __func__, buf_ptr, start_offset, length, buf_size, bytes_to_read);
635 if (bytes_to_read)
639 memcpy(buf_ptr, (char *)mjpegd->inputMjpegBuffer + start_offset, bytes_to_read);
644 bytes_read = bytes_to_read;
  /hardware/qcom/camera/usbcamcore/src/
QCameraMjpegDecode.cpp 622 int bytes_to_read, bytes_read, rc; local
631 bytes_to_read = (length < buf_size) ? length : buf_size;
634 ALOGD("%s: buf_ptr = %p, start_offset = %d, length = %d buf_size = %d bytes_to_read = %d", __func__, buf_ptr, start_offset, length, buf_size, bytes_to_read);
635 if (bytes_to_read)
639 memcpy(buf_ptr, (char *)mjpegd->inputMjpegBuffer + start_offset, bytes_to_read);
644 bytes_read = bytes_to_read;
  /external/google-benchmark/src/
sysinfo.cc 152 const size_t bytes_to_read = sizeof(line) - 1 - linelen; local
153 CHECK(bytes_to_read > 0); // because the memmove recovered >=1 bytes
154 chars_read = read(fd, line + linelen, bytes_to_read);
  /system/core/adb/
usb_linux_client.cpp 309 int bytes_to_read = len < 4096 ? len : 4096; local
310 int n = unix_read(h->fd, data, bytes_to_read); local
311 if (n != bytes_to_read) {
  /external/libpcap/
sf-pcap-ng.c 231 read_bytes(FILE *fp, void *buf, size_t bytes_to_read, int fail_on_eof,
236 amt_read = fread(buf, 1, bytes_to_read, fp);
237 if (amt_read != bytes_to_read) {
247 (unsigned long)bytes_to_read,
  /external/libevent/
bufferevent_openssl.c 720 bytes_to_read(struct bufferevent_openssl *bev) function
780 n_to_read = bytes_to_read(bev_ssl);
817 n_to_read = bytes_to_read(bev_ssl);
    [all...]
  /external/pdfium/third_party/libopenjpeg20/
jp2.c 1142 OPJ_UINT32 bytes_to_read = (OPJ_UINT32)((channel_size[i]+7)>>3); local
    [all...]

Completed in 1807 milliseconds

1 2