Home
last modified time | relevance | path

Searched refs:read (Results 1 – 25 of 200) sorted by relevance

12345678

/hardware/intel/img/libdrm/tests/
Dgem_mmap.c43 struct drm_i915_gem_pread read; in do_read() local
50 memset(&read, 0, sizeof(read)); in do_read()
51 read.handle = handle; in do_read()
52 read.data_ptr = (uintptr_t)buf; in do_read()
53 read.size = size; in do_read()
54 read.offset = offset; in do_read()
56 return ioctl(fd, DRM_IOCTL_I915_GEM_PREAD, &read); in do_read()
Dgem_readwrite.c43 struct drm_i915_gem_pread read; in do_read() local
50 memset(&read, 0, sizeof(read)); in do_read()
51 read.handle = handle; in do_read()
52 read.data_ptr = (uintptr_t)buf; in do_read()
53 read.size = size; in do_read()
54 read.offset = offset; in do_read()
56 return ioctl(fd, DRM_IOCTL_I915_GEM_PREAD, &read); in do_read()
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_enc/src/
DOMX_WbAmrEnc_CompThread.c166 ret = read(pComponentPrivate->dataPipe[0], &pBufHeader, sizeof(pBufHeader)); in WBAMRENC_CompThread()
182 ret = read(pComponentPrivate->cmdPipe[0], &command, sizeof (command)); in WBAMRENC_CompThread()
190 ret = read(pComponentPrivate->cmdDataPipe[0], &commandData, sizeof (commandData)); in WBAMRENC_CompThread()
/hardware/ti/omap3/omx/video/src/openmax_il/prepost_processor/src/
DOMX_VPP_CompThread.c170 nRet = read(pComponentPrivate->cmdPipe[0], &eCmd, sizeof(eCmd)); in VPP_ComponentThreadFunc()
191 nRet = read(pComponentPrivate->nCmdDataPipe[0], &pCmdData, sizeof(pCmdData)); in VPP_ComponentThreadFunc()
199 nRet = read(pComponentPrivate->nCmdDataPipe[0], &nParam1, sizeof(nParam1)); in VPP_ComponentThreadFunc()
/hardware/qcom/display/msm8084/libqdutils/
Dmdp_version.cpp164 ssize_t read; in updatePanelInfo() local
166 while((read = getline((char **)&readLine, &len, in updatePanelInfo()
221 ssize_t read; in updateSysFsInfo() local
244 while((read = getline(&line, &len, sysfsFd)) != -1) { in updateSysFsInfo()
317 if((read = getline(&line, &len, sysfsFd)) != -1) { in updateSysFsInfo()
Dqd_utils.cpp90 size = (int)read(edidFile, (char*)buffer, EDID_RAW_DATA_SIZE); in getEdidRawData()
/hardware/qcom/audio/legacy/alsa_sound/
DAudioStreamInALSA.cpp126 ssize_t AudioStreamInALSA::read(void *buffer, ssize_t bytes) in read() function in android_audio_legacy::AudioStreamInALSA
134 ssize_t read = 0; in read() local
368 read = mSurroundInputBufferIdx; in read()
370 n = pcm_read(mHandle->handle, &mSurroundInputBuffer[read], in read()
372 …ALOGV("pcm_read() returned n = %d buffer:%p size:%d", n, &mSurroundInputBuffer[read], period_bytes… in read()
383 read += period_samples; in read()
414 read = processed * sizeof(Word16); in read()
456 read += static_cast<ssize_t>((period_size)); in read()
465 } while (mHandle->handle && read < bytes); in read()
468 return read; in read()
/hardware/qcom/display/msm8226/libqdutils/
Dmdp_version.cpp152 ssize_t read; in updatePanelInfo() local
154 while((read = getline((char **)&readLine, &len, in updatePanelInfo()
197 ssize_t read; in updateSysFsInfo() local
220 while((read = getline(&line, &len, sysfsFd)) != -1) { in updateSysFsInfo()
/hardware/ti/omap3/omx/video/src/openmax_il/video_encode/src/
DOMX_VideoEnc_Thread.c191 nRet = read(pComponentPrivate->nCmdPipe[0], in OMX_VIDENC_Thread()
214 nRet = read(pComponentPrivate->nCmdDataPipe[0], in OMX_VIDENC_Thread()
227 nRet = read(pComponentPrivate->nCmdDataPipe[0], in OMX_VIDENC_Thread()
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/test/
Domx_vdec_test.cpp2108 if ( read(inputBufferFileFd, &width, 4 ) == -1 ) { in Play_Decoder()
2115 if ( read(inputBufferFileFd, &height, 4 ) == -1 ) { in Play_Decoder()
2131 if (read(inputBufferFileFd, &temp, 4) < 0) { in Play_Decoder()
2142 if ( read(inputBufferFileFd, &height, 4 ) < -1 ) { in Play_Decoder()
2146 if ( read(inputBufferFileFd, &width, 4 ) == -1 ) { in Play_Decoder()
2846 count = read( inputBufferFileFd, &inputFrameSize[cnt], 1); in Read_Buffer_From_DAT_File()
2857 bytes_read = read(inputBufferFileFd, pBufHdr->pBuffer, frameSize); in Read_Buffer_From_DAT_File()
2884 bytes_read = read(inputBufferFileFd, &dataptr[cnt], 1); in Read_Buffer_From_H264_Start_Code_File()
2899 bytes_read = read(inputBufferFileFd, &dataptr[cnt], 1); in Read_Buffer_From_H264_Start_Code_File()
2909 bytes_read = read(inputBufferFileFd, &dataptr[cnt], 1); in Read_Buffer_From_H264_Start_Code_File()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/android/
Dget_files.py35 buf = file.read(HASH_CHUNK)
38 buf = file.read(HASH_CHUNK)
Dscrape_gtest_log.py22 blob = sys.stdin.read()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/nestegg/src/
Dnestegg.c168 int read; member
516 return io->read(buffer, length, io->userdata); in ne_io_read()
723 if (!type.read) in ne_get_uint()
750 if (!type.read) in ne_get_float()
763 if (!type.read) in ne_get_string()
776 if (!type.read) in ne_get_binary()
956 if (storage->read) { in ne_read_simple()
990 storage->read = 1; in ne_read_simple()
1122 ne_read_xiph_lacing(nestegg_io * io, size_t block, size_t * read, uint64_t n, uint64_t * sizes) in ne_read_xiph_lacing() argument
1129 r = ne_read_xiph_lace_value(io, &sizes[i], read); in ne_read_xiph_lacing()
[all …]
/hardware/qcom/media/mm-video-legacy/vidc/vdec/test/
Domx_vdec_test.cpp1876 if ( read(inputBufferFileFd, &width, 4 ) == -1 ) { in Play_Decoder()
1883 if ( read(inputBufferFileFd, &height, 4 ) == -1 ) { in Play_Decoder()
2604 count = read( inputBufferFileFd, &inputFrameSize[cnt], 1); in Read_Buffer_From_DAT_File()
2615 bytes_read = read(inputBufferFileFd, pBufHdr->pBuffer, frameSize); in Read_Buffer_From_DAT_File()
2635 bytes_read = read(inputBufferFileFd, pBufHdr->pBuffer, NUMBER_OF_ARBITRARYBYTES_READ); in Read_Buffer_ArbitraryBytes()
2667 bytes_read = read(inputBufferFileFd, &pBufHdr->pBuffer[readOffset], 1); in Read_Buffer_From_Vop_Start_Code_File()
2726 bytesRead = read(inputBufferFileFd, &pBufHdr->pBuffer[readOffset], 1); in Read_Buffer_From_Mpeg2_Start_Code()
2802 bytes_read = read(inputBufferFileFd, pBufHdr->pBuffer + pBufHdr->nOffset, nalSize); in Read_Buffer_From_Size_Nal()
2822 bytes_read = read(inputBufferFileFd, pBufHdr->pBuffer + pBufHdr->nOffset + nalSize, size); in Read_Buffer_From_Size_Nal()
2843 read(inputBufferFileFd, &startcode, 4); in Read_Buffer_From_RCV_File_Seq_Layer()
[all …]
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_enc/src/
DOMX_JpegEnc_Thread.c183 read (pComponentPrivate->nCmdPipe[0], &eCmd, sizeof (eCmd)); in OMX_JpegEnc_Thread()
184 read (pComponentPrivate->nCmdDataPipe[0], &nParam1, sizeof (nParam1)); in OMX_JpegEnc_Thread()
/hardware/intel/img/libdrm/libdrm/intel/
Dintel_bufmgr.h173 #define dri_bo_emit_reloc(reloc_bo, read, write, target_offset, \ argument
177 read, write);
/hardware/intel/bootstub/
D2ndbootloader.lds20 *(.rodata) /* read-only data */
Dbootstub.lds20 *(.rodata) /* read-only data */
/hardware/samsung_slsi/exynos5/mobicore/daemon/Kernel/Platforms/Generic/
DCMcKMod.cpp174 int CMcKMod::read(addr_t buffer, uint32_t len) in read() function in CMcKMod
183 ret = ::read(fdKMod, buffer, len); in read()
195 if (read(&cnt, sizeof(cnt)) != sizeof(cnt)) { in waitSSIQ()
/hardware/ti/omap4-aah/domx/mm_osal/src/
Dtimm_osal_pipes.c269 read(pHandle->pfd[0], tempPtr, pHandle->totalBytesInPipe); in TIMM_OSAL_WriteToFrontOfPipe()
332 *actualSize = lSizeRead = read(pHandle->pfd[0], pMessage, size); in TIMM_OSAL_ReadFromPipe()
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_dec/src/
DOMX_JpegDec_Thread.c140read (pComponentPrivate->nCmdPipe[0], &eCmd, sizeof (eCmd)); /*Manage error from any read and wr… in OMX_JpegDec_Thread()
142 read (pComponentPrivate->nCmdDataPipe[0], &nParam1, sizeof (nParam1)); in OMX_JpegDec_Thread()
/hardware/invensense/60xx/mlsdk/mllite/
Dmldl_cfg_mpu.c89 MPL_LOGD("slave_accel->read = %p\n", mldl_cfg->accel->read); in mpu_print_cfg()
105 MPL_LOGD("slave_compass->read = %p\n", mldl_cfg->compass->read); in mpu_print_cfg()
121 MPL_LOGD("slave_pressure->read = %p\n", mldl_cfg->pressure->read); in mpu_print_cfg()
/hardware/akm/AK8975_FS/libsensors/
DInputEventReader.cpp53 const ssize_t nread = read(fd, mHead, mFreeSpace * sizeof(input_event)); in fill()
/hardware/qcom/gps/loc_api/libloc_api_50001/
Dloc_eng_dmn_conn_glue_pipe.c174 len = read(fd, buf, sz); in loc_eng_dmn_conn_glue_piperead()
/hardware/qcom/gps/msm8960/loc_api/libloc_api_50001/
Dloc_eng_dmn_conn_glue_pipe.c174 len = read(fd, buf, sz); in loc_eng_dmn_conn_glue_piperead()

12345678