Searched refs:read (Results 1 - 25 of 188) sorted by relevance

12345678

/hardware/intel/img/libdrm/tests/
H A Dgem_mmap.c43 struct drm_i915_gem_pread read; local
50 memset(&read, 0, sizeof(read));
51 read.handle = handle;
52 read.data_ptr = (uintptr_t)buf;
53 read.size = size;
54 read.offset = offset;
56 return ioctl(fd, DRM_IOCTL_I915_GEM_PREAD, &read);
H A Dgem_readwrite.c43 struct drm_i915_gem_pread read; local
50 memset(&read, 0, sizeof(read));
51 read.handle = handle;
52 read.data_ptr = (uintptr_t)buf;
53 read.size = size;
54 read.offset = offset;
56 return ioctl(fd, DRM_IOCTL_I915_GEM_PREAD, &read);
99 printf("Testing read beyond end of buffer.\n");
123 printf("Testing partial read o
[all...]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/android/
H A Dscrape_gtest_log.py22 blob = sys.stdin.read()
H A Dget_files.py35 buf = file.read(HASH_CHUNK)
38 buf = file.read(HASH_CHUNK)
/hardware/qcom/display/msm8084/libqdutils/
H A Dqd_utils.cpp90 size = (int)read(edidFile, (char*)buffer, EDID_RAW_DATA_SIZE);
H A Dmdp_version.cpp91 ALOGE("Unable to read display sysfs node");
103 ALOGE("Unable to read display split node");
127 // This function reads the sysfs node to read the primary panel type
158 ALOGE("Unable to read Primary Panel Information");
164 ssize_t read; local
166 while((read = getline((char **)&readLine, &len,
216 // This function reads the sysfs node to read MDP capabilities
221 ssize_t read; local
244 while((read = getline(&line, &len, sysfsFd)) != -1) {
317 if((read
[all...]
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_enc/src/
H A DOMX_WbAmrEnc_CompThread.c166 ret = read(pComponentPrivate->dataPipe[0], &pBufHeader, sizeof(pBufHeader));
182 ret = read(pComponentPrivate->cmdPipe[0], &command, sizeof (command));
190 ret = read(pComponentPrivate->cmdDataPipe[0], &commandData, sizeof (commandData));
/hardware/ti/omap3/omx/video/src/openmax_il/prepost_processor/src/
H A DOMX_VPP_CompThread.c170 nRet = read(pComponentPrivate->cmdPipe[0], &eCmd, sizeof(eCmd));
191 nRet = read(pComponentPrivate->nCmdDataPipe[0], &pCmdData, sizeof(pCmdData));
199 nRet = read(pComponentPrivate->nCmdDataPipe[0], &nParam1, sizeof(nParam1));
/hardware/akm/AK8975_FS/libsensors/
H A DInputEventReader.cpp53 const ssize_t nread = read(fd, mHead, mFreeSpace * sizeof(input_event));
/hardware/invensense/60xx/libsensors_iio/
H A DInputEventReader.cpp59 const ssize_t nread = read(fd, mHead, mFreeSpace * sizeof(input_event));
63 //LOGE("FD trying to read is: %d");
/hardware/qcom/gps/loc_api/libloc_api_50001/
H A Dloc_eng_dmn_conn_glue_pipe.c154 read from a pipe
157 buf - buffer to hold the data read from pipe
164 number of bytes read from pipe or negative value for failure
174 len = read(fd, buf, sz);
/hardware/qcom/gps/msm8960/loc_api/libloc_api_50001/
H A Dloc_eng_dmn_conn_glue_pipe.c154 read from a pipe
157 buf - buffer to hold the data read from pipe
164 number of bytes read from pipe or negative value for failure
174 len = read(fd, buf, sz);
/hardware/samsung_slsi/exynos5/mobicore/daemon/Kernel/Platforms/Generic/
H A DCMcKMod.h93 int read(addr_t buffer, uint32_t len);
/hardware/qcom/display/msm8226/libqdutils/
H A Dmdp_version.cpp98 ALOGE("Unable to read display sysfs node");
110 ALOGE("Unable to read display split node");
134 // This function reads the sysfs node to read the primary panel type
164 ALOGE("Unable to read Primary Panel Information");
170 ssize_t read; local
172 while((read = getline((char **)&readLine, &len,
222 // This function reads the sysfs node to read MDP capabilities
227 ssize_t read; local
250 while((read = getline(&line, &len, sysfsFd)) != -1) {
323 if((read
[all...]
H A Dqd_utils.cpp91 size = (int)read(edidFile, (char*)buffer, EDID_RAW_DATA_SIZE);
/hardware/intel/img/libdrm/libdrm/intel/
H A Dintel_bufmgr.h173 #define dri_bo_emit_reloc(reloc_bo, read, write, target_offset, \
177 read, write);
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_enc/src/
H A DOMX_JpegEnc_Thread.c183 read (pComponentPrivate->nCmdPipe[0], &eCmd, sizeof (eCmd));
184 read (pComponentPrivate->nCmdDataPipe[0], &nParam1, sizeof (nParam1));
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/tools/
H A Dall_builds.py21 for line in configure_file.read().split("\n"):
/hardware/invensense/6515/libsensors_iio/
H A DInputEventReader.cpp61 const ssize_t nread = read(fd, mHead, mFreeSpace * sizeof(input_event));
65 //LOGE("FD trying to read is: %d");
/hardware/invensense/65xx/libsensors_iio/
H A DInputEventReader.cpp61 const ssize_t nread = read(fd, mHead, mFreeSpace * sizeof(input_event));
65 //LOGE("FD trying to read is: %d");
/hardware/libhardware/include/hardware/
H A Dqemud.h58 len2 = read(fd, buff, len);
93 /* read answer from daemon */
135 D("can't read qemud frame header: %s", strerror(errno));
147 D("can't read qemud frame payload: %s", strerror(errno));
/hardware/ti/omap3/omx/video/src/openmax_il/video_encode/src/
H A DOMX_VideoEnc_Thread.c191 nRet = read(pComponentPrivate->nCmdPipe[0],
214 nRet = read(pComponentPrivate->nCmdDataPipe[0],
227 nRet = read(pComponentPrivate->nCmdDataPipe[0],
/hardware/qcom/audio/legacy/alsa_sound/
H A DAudioStreamInALSA.cpp126 ssize_t AudioStreamInALSA::read(void *buffer, ssize_t bytes) function in class:android_audio_legacy::AudioStreamInALSA
130 ALOGV("read:: buffer %p, bytes %d", buffer, bytes);
134 ssize_t read = 0; local
146 ALOGD("read:: mParent->mIncallMode=%d", mParent->mIncallMode);
195 ALOGD("read:: ---- mParent->mIncallMode=%d", mParent->mIncallMode);
288 ALOGE("read:: PCM device open failed");
339 ALOGV("AudioStreamInALSA::read() - copy processed output "
360 ALOGV("AudioStreamInALSA::read() - done processing buffer, "
368 read = mSurroundInputBufferIdx;
370 n = pcm_read(mHandle->handle, &mSurroundInputBuffer[read],
[all...]
/hardware/qcom/media/mm-video-legacy/vidc/vdec/test/
H A Domx_vdec_test.cpp1876 if ( read(inputBufferFileFd, &width, 4 ) == -1 ) {
1877 DEBUG_PRINT_ERROR("\nFailed to read width for divx\n");
1883 if ( read(inputBufferFileFd, &height, 4 ) == -1 ) {
1884 DEBUG_PRINT_ERROR("\nFailed to read height for divx\n");
2604 count = read( inputBufferFileFd, &inputFrameSize[cnt], 1);
2615 bytes_read = read(inputBufferFileFd, pBufHdr->pBuffer, frameSize);
2621 DEBUG_PRINT("Bytes read Zero After Read frame Size \n");
2635 bytes_read = read(inputBufferFileFd, pBufHdr->pBuffer, NUMBER_OF_ARBITRARYBYTES_READ);
2637 DEBUG_PRINT("Bytes read Zero After Read frame Size \n");
2667 bytes_read = read(inputBufferFileF
[all...]
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/test/
H A Domx_vdec_test.cpp2108 if ( read(inputBufferFileFd, &width, 4 ) == -1 ) {
2109 DEBUG_PRINT_ERROR("\nFailed to read width for divx\n");
2115 if ( read(inputBufferFileFd, &height, 4 ) == -1 ) {
2116 DEBUG_PRINT_ERROR("\nFailed to read height for divx\n");
2131 if (read(inputBufferFileFd, &temp, 4) < 0) {
2132 DEBUG_PRINT_ERROR("\nFailed to read vc1 data\n");
2137 //structure to read struct_A, which includes height and
2142 if ( read(inputBufferFileFd, &height, 4 ) < -1 ) {
2143 DEBUG_PRINT_ERROR("\nFailed to read height for vc-1\n");
2146 if ( read(inputBufferFileF
[all...]

Completed in 681 milliseconds

12345678