/hardware/qcom/audio/hal/ |
D | platform_info.c | 352 int bytes_read; in platform_info_init() local 386 bytes_read = fread(buf, 1, kBufSize, file); in platform_info_init() 387 if (bytes_read < 0) { in platform_info_init() 388 ALOGE("%s: fread failed, bytes read = %d", __func__, bytes_read); in platform_info_init() 389 ret = bytes_read; in platform_info_init() 393 if (XML_ParseBuffer(parser, bytes_read, in platform_info_init() 394 bytes_read == 0) == XML_STATUS_ERROR) { in platform_info_init() 401 if (bytes_read == 0) in platform_info_init()
|
/hardware/qcom/wlan/qcwcn/wifi_hal/ |
D | ring_buffer.cpp | 345 unsigned int bytes_read = 0; in rb_read() local 349 while (bytes_read < max_length) { in rb_read() 364 (max_length - bytes_read)) { in rb_read() 368 cur_cpy_len = max_length - bytes_read; in rb_read() 374 if (rbc->cur_valid_bytes <= bytes_read) { in rb_read() 380 (max_length - bytes_read)); in rb_read() 388 (max_length - bytes_read)); in rb_read() 391 memcpy((buf + bytes_read), in rb_read() 412 bytes_read += cur_cpy_len; in rb_read() 418 rbc->total_bytes_read += bytes_read; in rb_read() [all …]
|
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/test/ |
D | omx_vdec_test.cpp | 2831 int bytes_read=0; in Read_Buffer_From_DAT_File() local 2857 bytes_read = read(inputBufferFileFd, pBufHdr->pBuffer, frameSize); in Read_Buffer_From_DAT_File() 2860 frameSize, bytes_read); in Read_Buffer_From_DAT_File() 2862 if (bytes_read == 0 || bytes_read < frameSize ) { in Read_Buffer_From_DAT_File() 2870 return bytes_read; in Read_Buffer_From_DAT_File() 2875 int bytes_read = 0; in Read_Buffer_From_H264_Start_Code_File() local 2884 bytes_read = read(inputBufferFileFd, &dataptr[cnt], 1); in Read_Buffer_From_H264_Start_Code_File() 2885 if (!bytes_read) { in Read_Buffer_From_H264_Start_Code_File() 2899 bytes_read = read(inputBufferFileFd, &dataptr[cnt], 1); in Read_Buffer_From_H264_Start_Code_File() 2900 if (!bytes_read) { in Read_Buffer_From_H264_Start_Code_File() [all …]
|
D | decoder_driver_test.c | 1006 int bytes_read = 0; in read_frame() local 1023 bytes_read = fread(&dataptr[readOffset],1, 1,inputBufferFile); in read_frame() 1025 if ( !bytes_read) { in read_frame() 1079 bytes_read = Read_Buffer_From_DAT_File(&dataptr[readOffset], in read_frame() 1082 readOffset += bytes_read; in read_frame() 1098 int bytes_read=0; in Read_Buffer_From_DAT_File() local 1125 bytes_read = fread(dataptr, 1, frameSize, inputBufferFile); in Read_Buffer_From_DAT_File() 1127 if (bytes_read == 0 || bytes_read < frameSize ) { in Read_Buffer_From_DAT_File() 1131 return bytes_read; in Read_Buffer_From_DAT_File()
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/ |
D | ivfdec.c | 73 size_t *bytes_read, size_t *buffer_size) { in ivf_read_frame() argument 107 *bytes_read = frame_size; in ivf_read_frame()
|
D | ivfdec.h | 22 size_t *bytes_read, size_t *buffer_size);
|
D | vpxdec.c | 173 size_t *bytes_read, size_t *buffer_size) { in raw_read_frame() argument 212 *bytes_read = frame_size; in raw_read_frame()
|
/hardware/qcom/media/mm-video-legacy/vidc/vdec/test/ |
D | omx_vdec_test.cpp | 2590 int bytes_read=0; in Read_Buffer_From_DAT_File() local 2615 bytes_read = read(inputBufferFileFd, pBufHdr->pBuffer, frameSize); in Read_Buffer_From_DAT_File() 2618 frameSize, bytes_read); in Read_Buffer_From_DAT_File() 2620 if(bytes_read == 0 || bytes_read < frameSize ) { in Read_Buffer_From_DAT_File() 2628 return bytes_read; in Read_Buffer_From_DAT_File() 2633 int bytes_read=0; in Read_Buffer_ArbitraryBytes() local 2635 bytes_read = read(inputBufferFileFd, pBufHdr->pBuffer, NUMBER_OF_ARBITRARYBYTES_READ); in Read_Buffer_ArbitraryBytes() 2636 if(bytes_read == 0) { in Read_Buffer_ArbitraryBytes() 2651 return bytes_read; in Read_Buffer_ArbitraryBytes() 2657 int bytes_read = 0; in Read_Buffer_From_Vop_Start_Code_File() local [all …]
|
D | decoder_driver_test.c | 1069 int bytes_read = 0; in read_frame() local 1088 bytes_read = fread(&dataptr[readOffset],1, 1,inputBufferFile); in read_frame() 1089 if( !bytes_read) in read_frame() 1151 bytes_read = Read_Buffer_From_DAT_File(&dataptr[readOffset], in read_frame() 1154 readOffset += bytes_read; in read_frame() 1169 int bytes_read=0; in Read_Buffer_From_DAT_File() local 1192 bytes_read = fread(dataptr, 1, frameSize, inputBufferFile); in Read_Buffer_From_DAT_File() 1194 if(bytes_read == 0 || bytes_read < frameSize ) { in Read_Buffer_From_DAT_File() 1197 return bytes_read; in Read_Buffer_From_DAT_File()
|
/hardware/qcom/media/mm-video-legacy/vidc/venc/test/ |
D | video_encoder_test.c | 1047 int bytes_read = 0; in read_frame() local 1060 bytes_read = fread(&dataptr[readOffset],1,length,inputBufferFile); in read_frame() 1063 return bytes_read; in read_frame()
|
/hardware/intel/common/libmix/mix_audio/src/ |
D | mixaudio.c | 1032 gint bytes_read; in mix_audio_capture_encode_default() local 1055 bytes_read = readv(mix->fileDescriptor, vec, iovoutcnt); in mix_audio_capture_encode_default() 1056 mix_log(MIX_AUDIO_COMP, MIX_LOG_LEVEL_INFO, "end readv(), return: %d\n", bytes_read); in mix_audio_capture_encode_default() 1057 if (bytes_read < 0) { // TODO: should not be 0, but driver return 0 right now in mix_audio_capture_encode_default() 1058 mix_log(MIX_AUDIO_COMP, MIX_LOG_LEVEL_ERROR, "return: %d\n", bytes_read); in mix_audio_capture_encode_default()
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/ |
D | svc_test.cc | 417 const size_t bytes_read = fread(stats_buf.buf, 1, stats_buf.sz, stats_file); in TEST_F() local 418 ASSERT_EQ(bytes_read, stats_buf.sz); in TEST_F()
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/googletest/src/src/ |
D | gtest-all.cc | 6921 int bytes_read; in ReadAndInterpretStatusByte() local 6928 bytes_read = posix::Read(read_fd(), &flag, 1); in ReadAndInterpretStatusByte() 6929 } while (bytes_read == -1 && errno == EINTR); in ReadAndInterpretStatusByte() 6931 if (bytes_read == 0) { in ReadAndInterpretStatusByte() 6933 } else if (bytes_read == 1) { in ReadAndInterpretStatusByte() 8820 size_t bytes_read = 0; // # of bytes read so far in ReadEntireFile() local 8827 bytes_last_read = fread(buffer+bytes_read, 1, file_size-bytes_read, file); in ReadEntireFile() 8828 bytes_read += bytes_last_read; in ReadEntireFile() 8829 } while (bytes_last_read > 0 && bytes_read < file_size); in ReadEntireFile() 8831 const std::string content(buffer, bytes_read); in ReadEntireFile()
|
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/src/ |
D | omx_vdec_hevc.cpp | 150 int error_code = 0,rc=0,bytes_read = 0,bytes_written = 0; in async_message_thread() local
|
D | omx_vdec_hevc_swvdec.cpp | 141 int error_code = 0,rc=0,bytes_read = 0,bytes_written = 0; in async_message_thread() local
|
D | omx_vdec_msm8974.cpp | 152 int error_code = 0,rc=0,bytes_read = 0,bytes_written = 0; in async_message_thread() local
|