/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/ |
H A D | ivfdec.h | 22 size_t *bytes_read, size_t *buffer_size);
|
H A D | ivfdec.c | 73 size_t *bytes_read, size_t *buffer_size) { 107 *bytes_read = frame_size; 72 ivf_read_frame(FILE *infile, uint8_t **buffer, size_t *bytes_read, size_t *buffer_size) argument
|
H A D | vpxdec.c | 173 size_t *bytes_read, size_t *buffer_size) { 212 *bytes_read = frame_size; 172 raw_read_frame(FILE *infile, uint8_t **buffer, size_t *bytes_read, size_t *buffer_size) argument
|
/hardware/bsp/intel/peripheral/sensors/mraa/ |
H A D | Sensor.cpp | 39 int bytes_read = 0, bytes_to_read = sizeof(sensors_event_t); local 51 bytes_read = read(fd, ptr, bytes_to_read); 52 if (bytes_read <= 0) { 55 bytes_to_read -= bytes_read; 56 ptr += bytes_read;
|
/hardware/qcom/audio/hal/ |
H A D | platform_info.c | 350 int bytes_read; local 393 bytes_read = fread(buf, 1, kBufSize, file); 394 if (bytes_read < 0) { 395 ALOGE("%s: fread failed, bytes read = %d", __func__, bytes_read); 396 ret = bytes_read; 400 if (XML_ParseBuffer(parser, bytes_read, 401 bytes_read == 0) == XML_STATUS_ERROR) { 408 if (bytes_read == 0)
|
/hardware/qcom/audio/msm8909/hal/ |
H A D | platform_info.c | 344 int bytes_read; local 374 bytes_read = fread(buf, 1, BUF_SIZE, file); 375 if (bytes_read < 0) { 376 ALOGE("%s: fread failed, bytes read = %d", __func__, bytes_read); 377 ret = bytes_read; 381 if (XML_ParseBuffer(parser, bytes_read, 382 bytes_read == 0) == XML_STATUS_ERROR) { 389 if (bytes_read == 0)
|
/hardware/qcom/wlan/qcwcn/wifi_hal/ |
H A D | 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...] |
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/test/ |
H A D | omx_vdec_test.cpp | 2590 int bytes_read=0; local 2615 bytes_read = read(inputBufferFileFd, pBufHdr->pBuffer, frameSize); 2617 DEBUG_PRINT("Actual frame Size [%d] bytes_read using fread[%d]\n", 2618 frameSize, bytes_read); 2620 if(bytes_read == 0 || bytes_read < frameSize ) { 2628 return bytes_read; 2633 int bytes_read=0; local 2635 bytes_read = read(inputBufferFileFd, pBufHdr->pBuffer, NUMBER_OF_ARBITRARYBYTES_READ); 2636 if(bytes_read 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...] |
H A D | decoder_driver_test.c | 1069 int bytes_read = 0; local 1088 bytes_read = fread(&dataptr[readOffset],1, 1,inputBufferFile); 1089 if( !bytes_read) 1151 bytes_read = Read_Buffer_From_DAT_File(&dataptr[readOffset], 1154 readOffset += bytes_read; 1169 int bytes_read=0; local 1192 bytes_read = fread(dataptr, 1, frameSize, inputBufferFile); 1194 if(bytes_read == 0 || bytes_read < frameSize ) { 1197 return bytes_read; [all...] |
/hardware/bsp/intel/peripheral/libmraa/src/i2c/ |
H A D | i2c.c | 205 int bytes_read = 0; local 207 bytes_read = dev->advance_func->i2c_read_replace(dev, data, length); 210 bytes_read = read(dev->fh, data, length); 212 if (bytes_read == length) {
|
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/test/ |
H A D | omx_vdec_test.cpp | 2831 int bytes_read=0; local 2857 bytes_read = read(inputBufferFileFd, pBufHdr->pBuffer, frameSize); 2859 DEBUG_PRINT("Actual frame Size [%d] bytes_read using fread[%d]\n", 2860 frameSize, bytes_read); 2862 if (bytes_read == 0 || bytes_read < frameSize ) { 2870 return bytes_read; 2875 int bytes_read = 0; local 2884 bytes_read = read(inputBufferFileFd, &dataptr[cnt], 1); 2885 if (!bytes_read) { 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...] |
H A D | decoder_driver_test.c | 1006 int bytes_read = 0; local 1023 bytes_read = fread(&dataptr[readOffset],1, 1,inputBufferFile); 1025 if ( !bytes_read) { 1079 bytes_read = Read_Buffer_From_DAT_File(&dataptr[readOffset], 1082 readOffset += bytes_read; 1098 int bytes_read=0; local 1125 bytes_read = fread(dataptr, 1, frameSize, inputBufferFile); 1127 if (bytes_read == 0 || bytes_read < frameSize ) { 1131 return bytes_read; [all...] |
/hardware/qcom/audio/msm8909/mm-audio/aenc-amrnb/qdsp6/test/ |
H A D | omx_amr_enc_test.c | 954 size_t bytes_read=0; local 960 bytes_read = fread(pBufHdr->pBuffer, 1, pBufHdr->nAllocLen , inputBufferFile); 962 pBufHdr->nFilledLen = (OMX_U32)bytes_read; 969 if(bytes_read == 0) 978 total_pcm_bytes = (unsigned)(total_pcm_bytes + bytes_read); 981 return (int)bytes_read;;
|
/hardware/libhardware/include/hardware/ |
H A D | nvram.h | 279 * bytes_read - The number of bytes read. If NV_RESULT_SUCCESS is 287 uint8_t* buffer, uint64_t* bytes_read);
|
/hardware/qcom/camera/usbcamcore/src/ |
H A D | 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/display/msm8996/sdm/libs/core/fb/ |
H A D | hw_hdmi.cpp | 496 ssize_t bytes_read = 0; local 499 bytes_read = Sys::pread_(fd, config_buffer, kPageSize, 0); 503 DLOGI_IF(kTagDriverConfig, "bytes_read = %d", bytes_read); 505 return (bytes_read > 0);
|
/hardware/qcom/audio/msm8909/mm-audio/aenc-evrc/qdsp6/test/ |
H A D | omx_evrc_enc_test.c | 997 size_t bytes_read=0; local 1003 bytes_read = fread(pBufHdr->pBuffer, 1, pBufHdr->nAllocLen , inputBufferFile); 1005 pBufHdr->nFilledLen = (OMX_U32)bytes_read; 1012 if(bytes_read == 0) 1021 total_pcm_bytes = (unsigned)(total_pcm_bytes + bytes_read); 1024 return (int)bytes_read;;
|
/hardware/qcom/audio/msm8909/mm-audio/aenc-qcelp13/qdsp6/test/ |
H A D | omx_qcelp13_enc_test.c | 1000 size_t bytes_read=0; local 1006 bytes_read = fread(pBufHdr->pBuffer, 1, pBufHdr->nAllocLen , inputBufferFile); 1008 pBufHdr->nFilledLen = (OMX_U32)bytes_read; 1015 if(bytes_read == 0) 1024 total_pcm_bytes = (unsigned)(total_pcm_bytes + bytes_read); 1027 return (int)bytes_read;;
|
/hardware/qcom/audio/msm8909/mm-audio/aenc-aac/qdsp6/test/ |
H A D | omx_aac_enc_test.c | 987 size_t bytes_read=0; local 993 bytes_read = fread(pBufHdr->pBuffer, 1, pBufHdr->nAllocLen , inputBufferFile); 995 pBufHdr->nFilledLen = (OMX_U32)bytes_read; 996 if(bytes_read == 0) 1007 return (int)bytes_read;
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/ |
H A D | svc_test.cc | 417 const size_t bytes_read = fread(stats_buf.buf, 1, stats_buf.sz, stats_file); local 418 ASSERT_EQ(bytes_read, stats_buf.sz);
|
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/test/ |
H A D | video_encoder_test.c | 1047 int bytes_read = 0; local 1060 bytes_read = fread(&dataptr[readOffset],1,length,inputBufferFile); 1063 return bytes_read;
|
/hardware/intel/common/libmix/mix_audio/src/ |
H A D | mixaudio.c | 1032 gint bytes_read; local 1055 bytes_read = readv(mix->fileDescriptor, vec, iovoutcnt); 1056 mix_log(MIX_AUDIO_COMP, MIX_LOG_LEVEL_INFO, "end readv(), return: %d\n", bytes_read); 1057 if (bytes_read < 0) { // TODO: should not be 0, but driver return 0 right now 1058 mix_log(MIX_AUDIO_COMP, MIX_LOG_LEVEL_ERROR, "return: %d\n", bytes_read); 1067 iovout[i].size = bytes_read - bytes_count;
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/googletest/src/src/ |
H A D | gtest-all.cc | 6921 int bytes_read; 6928 bytes_read = posix::Read(read_fd(), &flag, 1); 6929 } while (bytes_read == -1 && errno == EINTR); 6931 if (bytes_read == 0) { 6933 } else if (bytes_read == 1) { 8820 size_t bytes_read = 0; // # of bytes read so far 8827 bytes_last_read = fread(buffer+bytes_read, 1, file_size-bytes_read, file); 8828 bytes_read += bytes_last_read; 8829 } while (bytes_last_read > 0 && bytes_read < file_siz [all...] |
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/src/ |
H A D | omx_vdec_hevc.cpp | 150 int error_code = 0,rc=0,bytes_read = 0,bytes_written = 0; local
|
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/ |
H A D | omx_vdec_hevc.cpp | 146 int error_code = 0,rc=0,bytes_read = 0,bytes_written = 0; local
|