| /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_);
|
| /hardware/qcom/audio/hal/ |
| platform_info.c | 389 int bytes_read; local 432 bytes_read = fread(buf, 1, kBufSize, file); 433 if (bytes_read < 0) { 434 ALOGE("%s: fread failed, bytes read = %d", __func__, bytes_read); 435 ret = bytes_read; 439 if (XML_ParseBuffer(parser, bytes_read, 440 bytes_read == 0) == XML_STATUS_ERROR) { 447 if (bytes_read == 0)
|
| /hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/test/ |
| decoder_driver_test.c | 1069 int bytes_read = 0; local 1088 bytes_read = fread(&dataptr[readOffset],1, 1,inputBufferFile); 1089 if( !bytes_read) 1169 int bytes_read=0; local [all...] |
| /hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/test/ |
| video_encoder_test.c | 1047 int bytes_read = 0; local 1060 bytes_read = fread(&dataptr[readOffset],1,length,inputBufferFile); 1063 return bytes_read;
|
| /hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/test/ |
| decoder_driver_test.c | 1006 int bytes_read = 0; local 1098 int bytes_read=0; local [all...] |
| /hardware/qcom/wlan/qcwcn/wifi_hal/ |
| ring_buffer.cpp | 345 unsigned int bytes_read = 0; local 349 while (bytes_read < max_length) { 364 (max_length - bytes_read)) { 368 cur_cpy_len = max_length - bytes_read; 374 if (rbc->cur_valid_bytes <= bytes_read) { 380 (max_length - bytes_read)); 388 (max_length - bytes_read)); 391 memcpy((buf + bytes_read), 412 bytes_read += cur_cpy_len; 418 rbc->total_bytes_read += bytes_read; [all...] |
| /system/connectivity/shill/shims/ |
| crypto_util.cc | 364 const ssize_t bytes_read = HANDLE_EINTR(read(STDIN_FILENO, local 367 if (bytes_read < 0) { 371 } else if (bytes_read > 0) { 372 raw_input.append(input_buffer, bytes_read);
|
| /system/update_engine/payload_generator/ |
| ab_generator_unittest.cc | 156 ssize_t bytes_read; local 161 &bytes_read)); 162 ASSERT_EQ(bytes_read, static_cast<ssize_t>(first_op.data_length())); 189 &bytes_read)); 190 ASSERT_EQ(bytes_read, static_cast<ssize_t>(second_op.data_length())); 323 ssize_t bytes_read; local 328 &bytes_read)); 329 ASSERT_EQ(static_cast<ssize_t>(new_op.data_length()), bytes_read); local
|
| payload_signer.cc | 289 size_t bytes_read = payload_metadata.size(); local 292 payload_file->ReadAllBlocking(payload_metadata.data() + bytes_read, 293 payload_metadata.size() - bytes_read,
|
| /art/runtime/jit/ |
| offline_profiling_info.cc | 350 int bytes_read = TEMP_FAILURE_RETRY(read(fd, buffer, byte_count)); local 351 if (bytes_read == 0) { 354 } else if (bytes_read < 0) { 358 byte_count -= bytes_read; 359 buffer += bytes_read;
|
| /device/moto/shamu/camera/QCamera/HAL/usbcamcore/src/ |
| QCameraMjpegDecode.cpp | 622 int bytes_to_read, bytes_read, rc; local 632 bytes_read = 0; 644 bytes_read = bytes_to_read; 648 return bytes_read;
|
| /external/compiler-rt/lib/asan/ |
| asan_interceptors.cc | 469 uptr bytes_read = (result ? result - str : len) + 1; local 470 ASAN_READ_STRING_OF_LEN(ctx, str, len, bytes_read);
|
| /external/dbus/dbus/ |
| dbus-transport-socket.c | 249 int bytes_read; local 255 bytes_read = _dbus_read_socket (socket_transport->fd, 259 bytes_read > 0 ? bytes_read : 0); 261 if (bytes_read > 0) 263 _dbus_verbose (" read %d bytes in auth phase\n", bytes_read); 267 else if (bytes_read < 0) 288 _dbus_assert (bytes_read == 0); 699 int bytes_read; local 740 bytes_read = _dbus_string_get_length (&socket_transport->encoded_incoming) [all...] |
| /external/e2fsprogs/e2fsck/ |
| util.c | 347 track->bytes_read = 0; 352 track->bytes_read = io_start->bytes_read; 417 unsigned long long bytes_read = 0; local 425 bytes_read = delta->bytes_read - track->bytes_read; 431 mbytes(bytes_read), mbytes(bytes_written), 432 (double)mbytes(bytes_read + bytes_written) /
|
| /external/google-breakpad/src/common/windows/ |
| omap.cc | 190 DWORD bytes_read = 0; local 192 if (FAILED(stream->Next(count, 0, &bytes_read, NULL, &count_read))) { 200 if (count * sizeof(OmapTable::value_type) != bytes_read) { 207 bytes_read = 0; 209 if (FAILED(stream->Next(count, bytes_expected, &bytes_read,
|
| /external/libchrome/base/process/ |
| launch_posix.cc | 625 ssize_t bytes_read = 1; // A lie to properly handle |max_output == 0| local 629 bytes_read = HANDLE_EINTR(read(pipe_fd[0], buffer, 631 if (bytes_read <= 0) 633 output->append(buffer, bytes_read); 634 output_buf_left -= static_cast<size_t>(bytes_read); 645 if (!output_buf_left && bytes_read > 0)
|
| /external/webrtc/webrtc/tools/frame_analyzer/ |
| video_quality_analysis.cc | 112 size_t bytes_read = fread(result_frame, 1, frame_size, input_file); local 113 if (bytes_read != static_cast<size_t>(frame_size) && 144 size_t bytes_read = local 146 if (bytes_read != static_cast<size_t>(frame_size) && ferror(input_file)) { 166 size_t bytes_read = fread(result_frame, 1, frame_size, input_file); local 167 if (bytes_read != static_cast<size_t>(frame_size) &&
|
| /hardware/qcom/camera/msmcobalt/usbcamcore/src/ |
| QCameraMjpegDecode.cpp | 622 int bytes_to_read, bytes_read, rc; local 632 bytes_read = 0; 644 bytes_read = bytes_to_read; 648 return bytes_read;
|
| /hardware/qcom/camera/usbcamcore/src/ |
| QCameraMjpegDecode.cpp | 622 int bytes_to_read, bytes_read, rc; local 632 bytes_read = 0; 644 bytes_read = bytes_to_read; 648 return bytes_read;
|
| /system/core/adb/ |
| file_sync_client.cpp | 233 int bytes_read = adb_read(lfd, sbuf.data, max); local 234 if (bytes_read == -1) { 238 } else if (bytes_read == 0) { 242 sbuf.size = bytes_read; 243 WriteOrDie(lpath, rpath, &sbuf, sizeof(SyncRequest) + bytes_read); 245 total_bytes_ += bytes_read; 246 bytes_copied += bytes_read; [all...] |
| /system/core/debuggerd/ |
| tombstone.cpp | 242 size_t bytes_read = backtrace->Read(*sp, reinterpret_cast<uint8_t*>(&stack_data[0]), sizeof(word_t) * words); local 243 words = bytes_read / sizeof(word_t);
|
| /system/media/audio_route/ |
| audio_route.c | 852 int bytes_read; local 901 bytes_read = fread(buf, 1, BUF_SIZE, file); 902 if (bytes_read < 0) 905 if (XML_ParseBuffer(parser, bytes_read, 906 bytes_read == 0) == XML_STATUS_ERROR) { 911 if (bytes_read == 0)
|
| /bootable/recovery/applypatch/ |
| applypatch.cpp | 78 size_t bytes_read = ota_fread(data.data(), 1, data.size(), f); local 79 if (bytes_read != data.size()) { 80 printf("short read of \"%s\" (%zu bytes of %zd)\n", filename, bytes_read, data.size()); [all...] |
| /external/autotest/client/tests/kvm/deps/ |
| rss.cpp | 332 DWORD bytes_read; local 338 &bytes_read, NULL) || !bytes_read) { 345 Send(ci->socket, buffer, bytes_read); 577 int bytes_read = fread(ci->chunk_buffer, 1, ci->chunk_size, fp); local 578 if (!SendPacket(ci->socket, ci->chunk_buffer, bytes_read)) 580 if (bytes_read < ci->chunk_size) { [all...] |
| /external/curl/lib/ |
| smb.c | 292 ssize_t bytes_read; local 298 result = Curl_read(conn, FIRSTSOCKET, buf + smbc->got, len, &bytes_read); 302 if(!bytes_read) 305 smbc->got += bytes_read;
|