/system/update_engine/payload_consumer/ |
postinstall_runner_action.cc | 226 size_t bytes_read; local 228 bytes_read = 0; 231 utils::ReadAll(progress_fd_, buf, arraysize(buf), &bytes_read, &eof); 232 progress_buffer_.append(buf, bytes_read); 250 } while (bytes_read);
|
/external/python/cpython3/Modules/_io/ |
fileio.c | 692 Py_ssize_t bytes_read = 0; local 727 if (bytes_read >= (Py_ssize_t)bufsize) { 728 bufsize = new_buffersize(self, bytes_read); 744 PyBytes_AS_STRING(result) + bytes_read, 745 bufsize - bytes_read); 752 if (bytes_read > 0) 760 bytes_read += n; 764 if (PyBytes_GET_SIZE(result) > bytes_read) { 765 if (_PyBytes_Resize(&result, bytes_read) < 0) [all...] |
/external/llvm/utils/unittest/googletest/src/ |
gtest-port.cc | 571 size_t bytes_read = 0; // # of bytes read so far 578 bytes_last_read = fread(buffer+bytes_read, 1, file_size-bytes_read, file); 579 bytes_read += bytes_last_read; 580 } while (bytes_last_read > 0 && bytes_read < file_size); 582 const String content(buffer, bytes_read);
|
/external/protobuf/gtest/src/ |
gtest-port.cc | 532 size_t bytes_read = 0; // # of bytes read so far 539 bytes_last_read = fread(buffer+bytes_read, 1, file_size-bytes_read, file); 540 bytes_read += bytes_last_read; 541 } while (bytes_last_read > 0 && bytes_read < file_size); 543 const String content(buffer, bytes_read);
|
/external/swiftshader/third_party/LLVM/utils/unittest/googletest/ |
gtest-port.cc | 567 size_t bytes_read = 0; // # of bytes read so far 574 bytes_last_read = fread(buffer+bytes_read, 1, file_size-bytes_read, file); 575 bytes_read += bytes_last_read; 576 } while (bytes_last_read > 0 && bytes_read < file_size); 578 const String content(buffer, bytes_read);
|
/external/syslinux/win/ |
syslinux.c | 226 DWORD bytes_read; local 230 !ReadFile((HANDLE) pp, buf, secsize, &bytes_read, NULL) || 231 bytes_read != secsize) { 293 DWORD bytes_read; local 376 if (!ReadFile(d_handle, sectbuf, SECTOR_SIZE, &bytes_read, NULL)) { 380 if (bytes_read != SECTOR_SIZE) {
|
/system/bt/stack/a2dp/ |
a2dp_vendor_aptx_encoder.cc | 398 uint32_t bytes_read = 0; local 407 bytes_read = a2dp_aptx_encoder_cb.read_callback((uint8_t*)read_buffer16, 409 a2dp_aptx_encoder_cb.stats.media_read_total_actual_read_bytes += bytes_read; 410 if (bytes_read < expected_read_bytes) { 413 __func__, bytes_read, expected_read_bytes); 443 a2dp_aptx_encoder_cb.enqueue_callback(p_buf, 1, bytes_read);
|
a2dp_vendor_aptx_hd_encoder.cc | 384 uint32_t bytes_read = 0; local 393 bytes_read = a2dp_aptx_hd_encoder_cb.read_callback((uint8_t*)read_buffer32, 396 bytes_read; 397 if (bytes_read < expected_read_bytes) { 400 __func__, bytes_read, expected_read_bytes); 432 a2dp_aptx_hd_encoder_cb.enqueue_callback(p_buf, 1, bytes_read);
|
/external/libjpeg-turbo/ |
jdmarker.c | 106 unsigned int bytes_read; /* data bytes read so far in marker */ member in struct:__anon25037 761 unsigned int bytes_read, data_length; local 790 marker->bytes_read = 0; 791 bytes_read = 0; 795 bytes_read = data_length = 0; 800 bytes_read = marker->bytes_read; 802 data = cur_marker->data + bytes_read; 805 while (bytes_read < data_length) { 807 marker->bytes_read = bytes_read [all...] |
/external/v8/src/ |
d8-posix.cc | 285 ssize_t bytes_read; local 288 bytes_read = read(exec_error_fds[kReadFD], &err, sizeof(err)); 289 } while (bytes_read == -1 && errno == EINTR); 290 if (bytes_read != 0) { 317 int bytes_read; local 319 bytes_read = static_cast<int>( 321 if (bytes_read == -1) { 339 if (bytes_read + fullness > 0) { 340 int length = bytes_read == 0 ? 341 bytes_read + fullness [all...] |
/development/host/windows/usb/api/ |
adb_api.h | 482 @param[out] bytes_read Number of bytes read. Can be NULL.
495 unsigned long* bytes_read,
528 @param[out] bytes_read Number of bytes read. Can be NULL.
538 unsigned long* bytes_read,
|
adb_api.cpp | 394 unsigned long* bytes_read,
405 bytes_read,
444 unsigned long* bytes_read,
453 adb_object->SyncRead(buffer, bytes_to_read, bytes_read, time_out);
|
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_win.cc | 421 uptr bytes_read; local 422 if (!ReadFromFile(fd, &dos_header, sizeof(dos_header), &bytes_read) || 423 bytes_read != sizeof(dos_header)) 439 if (!ReadFromFile(fd, &buf[0], sizeof(buf), &bytes_read) || 440 bytes_read != sizeof(buf)) 568 bool ReadFromFile(fd_t fd, void *buff, uptr buff_size, uptr *bytes_read, 572 // bytes_read can't be passed directly to ReadFile: 579 if (bytes_read) 580 *bytes_read = num_read_long;
|
/external/tensorflow/tensorflow/core/lib/io/ |
inputbuffer_test.cc | 185 size_t bytes_read; local 193 TF_ASSERT_OK(in.ReadNBytes(3, read, &bytes_read)); 197 TF_ASSERT_OK(in.ReadNBytes(0, read, &bytes_read)); 201 TF_ASSERT_OK(in.ReadNBytes(4, read, &bytes_read)); 205 TF_ASSERT_OK(in.ReadNBytes(0, read, &bytes_read)); 209 EXPECT_TRUE(errors::IsOutOfRange(in.ReadNBytes(5, read, &bytes_read))); 213 EXPECT_TRUE(errors::IsOutOfRange(in.ReadNBytes(5, read, &bytes_read))); 217 TF_ASSERT_OK(in.ReadNBytes(0, read, &bytes_read));
|
inputbuffer.h | 56 // bytes_to_read) is valid to be overwritten. Returns OK iff "*bytes_read == 58 Status ReadNBytes(int64 bytes_to_read, char* result, size_t* bytes_read);
|
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/test/ |
omx_vdec_test.cpp | 2590 int bytes_read=0; local 2633 int bytes_read=0; local 2657 int bytes_read = 0; local 2799 int bytes_read = 0; local 2978 int bytes_read = 0; local 3084 unsigned int read_code = 0, bytes_read, byte_pos = 0, frame_type; local 3214 unsigned int bytes_read = 0; local [all...] |
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/test/ |
omx_vdec_test.cpp | 2831 int bytes_read=0; local 2875 int bytes_read = 0; local 2949 int bytes_read=0; local 2973 int bytes_read = 0; local 3106 int bytes_read = 0; local 3276 int bytes_read = 0; local 3373 unsigned int read_code = 0, bytes_read, byte_pos = 0, frame_type; local 3507 unsigned int bytes_read = 0; local 3555 unsigned int bytes_read = 0; local 3595 int bytes_read = 0; local [all...] |
/external/compiler-rt/lib/sanitizer_common/tests/ |
sanitizer_linux_test.cc | 287 uptr bytes_read; local 288 while (ReadFromFile(pipe_fds[0], ptr, 256, &bytes_read)) { 289 if (!bytes_read) { 292 ptr += bytes_read;
|
/external/perfetto/src/ftrace_reader/ |
cpu_stats_parser.cc | 60 stats->bytes_read = ExtractInt(splitter.cur_token());
|
/external/webrtc/webrtc/test/ |
frame_generator.cc | 97 size_t bytes_read = local 99 if (bytes_read < frame_size_) { 103 bytes_read = fread(frame_buffer_.get(), 1, frame_size_, 105 assert(bytes_read >= frame_size_);
|
/bionic/tests/ |
utils.h | 217 ssize_t bytes_read; local 218 while ((bytes_read = TEMP_FAILURE_RETRY(read(fds[0], buf, sizeof(buf)))) > 0) { 219 output.append(buf, bytes_read);
|
/external/pdfium/testing/ |
test_support.cpp | 97 size_t bytes_read = fread(buffer.get(), 1, file_length, file); local 99 if (bytes_read != file_length) { 103 *retlen = bytes_read;
|
/external/python/cpython3/Lib/ |
cgi.py | 500 self.bytes_read = 0 701 self.bytes_read += len(first_line) 707 self.bytes_read += len(first_line) 720 self.bytes_read += len(hdr_text) 729 strict_parsing,self.limit-self.bytes_read, 731 self.bytes_read += part.bytes_read 733 if part.done or self.bytes_read >= self.length > 0: 758 self.bytes_read += len(data) 795 self.bytes_read += len(line [all...] |
/external/tinyalsa/ |
tinycap.c | 202 unsigned int bytes_read = 0; local 245 bytes_read += size; 254 frames = pcm_bytes_to_frames(pcm, bytes_read);
|
/system/nvram/hal/tests/ |
scoped_nvram_device.cc | 203 uint64_t bytes_read = 0; local 206 authorization_value.size(), StringToMutableBytePtr(data), &bytes_read); 210 data->resize(bytes_read);
|