Home
last modified time | relevance | path

Searched refs:bytes_written (Results 1 – 15 of 15) sorted by relevance

/hardware/qcom/wlan/qcwcn/wifi_hal/
Dring_buffer.cpp158 unsigned int bytes_written = 0; // bytes written into rb so far in rb_write() local
229 while (bytes_written < length) { in rb_write()
246 (length - bytes_written)); in rb_write()
287 (buf + bytes_written), in rb_write()
319 bytes_written += cur_copy_len; in rb_write()
323 rbc->total_bytes_written += bytes_written - total_push_in_rd_ptr; in rb_write()
/hardware/ril/libril/
Dsap_service.cpp225 return addPayloadAndDispatchRequest(msg, stream.bytes_written, buffer); in connectReq()
266 return addPayloadAndDispatchRequest(msg, stream.bytes_written, buffer); in disconnectReq()
319 return addPayloadAndDispatchRequest(msg, stream.bytes_written, buffer); in apduReq()
361 return addPayloadAndDispatchRequest(msg, stream.bytes_written, buffer); in transferAtrReq()
403 return addPayloadAndDispatchRequest(msg, stream.bytes_written, buffer); in powerReq()
444 return addPayloadAndDispatchRequest(msg, stream.bytes_written, buffer); in resetSimReq()
488 return addPayloadAndDispatchRequest(msg, stream.bytes_written, buffer); in transferCardReaderStatusReq()
532 return addPayloadAndDispatchRequest(msg, stream.bytes_written, buffer); in setTransferProtocolReq()
/hardware/intel/common/libmix/mix_audio/src/
Dmixaudio.c181 self->bytes_written=0; in mix_audio_init()
305 g_debug("_finalized(). bytes written=%" G_GUINT64_FORMAT, mix->bytes_written); in mix_audio_finalize()
604 mix->bytes_written = 0; in mix_audio_deinitialize_default()
915 ts = mix->bytes_written * 8000 / MIX_ACP_BITRATE(mix->audioconfigparams); in mix_audio_get_timestamp_default()
1507 if (written >= 0) mix->bytes_written += written; in mix_audio_SST_writev()
1508 g_debug("writev() returned %d. Total %" G_GUINT64_FORMAT, written, mix->bytes_written); in mix_audio_SST_writev()
1523 if (written > 0) mix->bytes_written += written; in mix_audio_SST_writev()
1524 g_debug("writev() returned %d. Total %" G_GUINT64_FORMAT, written, mix->bytes_written); in mix_audio_SST_writev()
1630 mix->bytes_written += written; in mix_audio_SST_STREAM_DECODE()
1634 …("stub STREAM_DECODE (writev) returned %d. Total %" G_GUINT64_FORMAT, written, mix->bytes_written); in mix_audio_SST_STREAM_DECODE()
[all …]
Dmixaudio.h212 guint64 bytes_written; member
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/
Domx_swvenc_hevc.cpp1168 int bytes_written = 0; in dump_buffer() local
1172 bytes_written = fwrite(temp, width, 1, pFile); in dump_buffer()
1174 if (bytes_written >0) in dump_buffer()
1175 bytes += bytes_written * width; in dump_buffer()
1180 bytes_written = fwrite(temp, width, 1, pFile); in dump_buffer()
1182 if (bytes_written >0) in dump_buffer()
1183 bytes += bytes_written * width; in dump_buffer()
/hardware/interfaces/bluetooth/1.0/default/test/
Dbluetooth_address_test.cc63 size_t bytes_written = write(fd, string, length); in FileWriteString() local
65 EXPECT_EQ(length, bytes_written) << strerror(errno); in FileWriteString()
/hardware/qcom/audio/legacy/libalsa-intf/
Dalsa_pcm.c526 int bytes_written; in pcm_write_mmap() local
550 bytes_written = pcm->sync_ptr->c.control.appl_ptr - pcm->sync_ptr->s.status.hw_ptr; in pcm_write_mmap()
551 if ((bytes_written >= pcm->sw_p->start_threshold) && (!pcm->start)) { in pcm_write_mmap()
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/test/
Domx_vdec_test.cpp739 int canDisplay = 1, contigous_drop_frame = 0, bytes_written = 0, ret = 0; in fbd_thread() local
847 bytes_written = 0; in fbd_thread()
865bytes_written += fwrite_helper(frame_pos, crop_rect.nWidth, 1, outputBufferFile); in fbd_thread()
874bytes_written += fwrite_helper(frame_pos, crop_rect.nWidth, 1, outputBufferFile); in fbd_thread()
883 bytes_written = fwrite_helper((const char *)pBuffer->pBuffer, in fbd_thread()
886 if (bytes_written < 0) { in fbd_thread()
890 bytes_written); in fbd_thread()
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/test/
Domx_vdec_test.cpp617 int canDisplay = 1, contigous_drop_frame = 0, bytes_written = 0, ret = 0; in fbd_thread() local
727 bytes_written = fwrite((const char *)pBuffer->pBuffer, in fbd_thread()
729 if (bytes_written < 0) { in fbd_thread()
734 bytes_written); in fbd_thread()
/hardware/qcom/media/msm8996/videopp/src/
Domx_vdpp.cpp301 int error_code = 0,rc=0,bytes_read = 0,bytes_written = 0; in async_message_thread() local
5535 int bytes_written = 0; in empty_this_buffer_proxy() local
5537 bytes_written = write(inputBufferFile, temp, drv_ctx.video_resolution_input.frame_width); in empty_this_buffer_proxy()
5543 bytes_written += write(inputBufferFile, temp, drv_ctx.video_resolution_input.frame_width); in empty_this_buffer_proxy()
6325 int bytes_written = 0; in fill_buffer_done() local
6327 bytes_written = write(outputBufferFile, temp, drv_ctx.video_resolution_output.frame_width); in fill_buffer_done()
6333 bytes_written += write(outputBufferFile, temp, drv_ctx.video_resolution_output.frame_width); in fill_buffer_done()
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_hevc_swvdec.cpp141 int error_code = 0,rc=0,bytes_read = 0,bytes_written = 0; in async_message_thread() local
1664 int bytes_written = 0; in log_output_buffers() local
1669 bytes_written = fwrite(temp, drv_ctx.video_resolution.frame_width, 1, m_debug.outfile); in log_output_buffers()
1675 bytes_written += fwrite(temp, drv_ctx.video_resolution.frame_width, 1, m_debug.outfile); in log_output_buffers()
7228 int bytes_written = 0; in dump_buffer() local
7232 bytes_written = fwrite(temp, width, 1, pFile); in dump_buffer()
7234 if (bytes_written >0) in dump_buffer()
7235 bytes += bytes_written * width; in dump_buffer()
7240 bytes_written = fwrite(temp, width, 1, pFile); in dump_buffer()
7242 if (bytes_written >0) in dump_buffer()
[all …]
Domx_vdec_hevc.cpp150 int error_code = 0,rc=0,bytes_read = 0,bytes_written = 0; in async_message_thread() local
5940 int bytes_written = 0; in fill_buffer_done() local
5942bytes_written = fwrite(temp, drv_ctx.video_resolution.frame_width, 1, outputBufferFile1); in fill_buffer_done()
5948bytes_written += fwrite(temp, drv_ctx.video_resolution.frame_width, 1, outputBufferFile1); in fill_buffer_done()
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_hevc_swvdec.cpp135 int error_code = 0,rc=0,bytes_read = 0,bytes_written = 0; in async_message_thread() local
1681 int bytes_written = 0; in log_output_buffers() local
1686 bytes_written = fwrite(temp, drv_ctx.video_resolution.frame_width, 1, m_debug.outfile); in log_output_buffers()
1692 bytes_written += fwrite(temp, drv_ctx.video_resolution.frame_width, 1, m_debug.outfile); in log_output_buffers()
7443 int bytes_written = 0; in dump_buffer() local
7447 bytes_written = fwrite(temp, width, 1, pFile); in dump_buffer()
7449 if (bytes_written >0) in dump_buffer()
7450 bytes += bytes_written * width; in dump_buffer()
7455 bytes_written = fwrite(temp, width, 1, pFile); in dump_buffer()
7457 if (bytes_written >0) in dump_buffer()
[all …]
Domx_vdec_hevc.cpp146 int error_code = 0,rc=0,bytes_read = 0,bytes_written = 0; in async_message_thread() local
5904 int bytes_written = 0; in fill_buffer_done() local
5906bytes_written = fwrite(temp, drv_ctx.video_resolution.frame_width, 1, outputBufferFile1); in fill_buffer_done()
5912bytes_written += fwrite(temp, drv_ctx.video_resolution.frame_width, 1, outputBufferFile1); in fill_buffer_done()
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_v4l2.cpp181 int error_code = 0,rc=0,bytes_read = 0,bytes_written = 0; in async_message_thread() local
2139 int bytes_written = 0; in log_output_buffers() local
2155 bytes_written = fwrite(temp, y_meta_stride, 1, m_debug.out_ymeta_file); in log_output_buffers()
2161 bytes_written += fwrite(temp, uv_meta_stride, 1, m_debug.out_uvmeta_file); in log_output_buffers()
2178 int bytes_written = 0; in log_output_buffers() local
2180 bytes_written = fwrite(temp, drv_ctx.video_resolution.frame_width, 1, m_debug.outfile); in log_output_buffers()
2186 bytes_written += fwrite(temp, drv_ctx.video_resolution.frame_width, 1, m_debug.outfile); in log_output_buffers()