Home
last modified time | relevance | path

Searched refs:bytesRead (Results 1 – 6 of 6) sorted by relevance

/hardware/invensense/libsensors_iio/software/core/mllite/linux/
Dml_stored_data.c41 inv_error_t inv_read_cal(unsigned char **calData, size_t *bytesRead) in inv_read_cal() argument
66 *bytesRead = fread(*calData, 1, fsize, fp); in inv_read_cal()
67 if (*bytesRead != fsize) { in inv_read_cal()
69 *bytesRead, fsize); in inv_read_cal()
74 MPL_LOGI("Bytes read = %d", *bytesRead); in inv_read_cal()
280 size_t bytesRead = 0; in inv_load_calibration() local
282 result = inv_read_cal(&calData, &bytesRead); in inv_load_calibration()
289 result = inv_load_mpl_states(calData, bytesRead); in inv_load_calibration()
/hardware/invensense/mlsdk/platform/linux/
Dmlsl_linux_mpu.c99 int bytesRead; in inv_serial_read_cfg() local
106 bytesRead = fread(cfg, 1, len, fp); in inv_serial_read_cfg()
107 if (bytesRead != len) { in inv_serial_read_cfg()
109 bytesRead, len); in inv_serial_read_cfg()
159 int bytesRead; in inv_serial_read_cal() local
167 bytesRead = fread(cal, 1, len, fp); in inv_serial_read_cal()
168 if (bytesRead != len) { in inv_serial_read_cal()
170 bytesRead, len); in inv_serial_read_cal()
/hardware/libhardware_legacy/audio/
DAudioDumpInterface.cpp489 ssize_t bytesRead = fread(buffer, bytes, 1, mFile); in read() local
490 if (bytesRead >=0 && bytesRead < bytes) { in read()
492 fread((uint8_t *)buffer+bytesRead, bytes-bytesRead, 1, mFile); in read()
/hardware/msm7k/libaudio/
DAudioHardware.cpp1035 ssize_t bytesRead = ::read(mFd, buffer, count); in read() local
1036 if (bytesRead >= 0) { in read()
1037 count -= bytesRead; in read()
1038 p += bytesRead; in read()
1040 if (errno != EAGAIN) return bytesRead; in read()
/hardware/msm7k/libaudio-qsd8k/
DAudioHardware.cpp1888 ssize_t bytesRead = ::read(mFd, buffer, count); in read() local
1889 if (bytesRead >= 0) { in read()
1890 count -= bytesRead; in read()
1891 p += bytesRead; in read()
1894 status = bytesRead; in read()
/hardware/qcom/media/mm-video/vidc/vdec/test/
Domx_vdec_test.cpp2714 int bytesRead = 0; in Read_Buffer_From_Mpeg2_Start_Code() local
2728 bytesRead = read(inputBufferFileFd, &pBufHdr->pBuffer[readOffset], 1); in Read_Buffer_From_Mpeg2_Start_Code()
2731 if (bytesRead == 0 || bytesRead == -1) { in Read_Buffer_From_Mpeg2_Start_Code()