Searched refs:bytesRead (Results 1 – 7 of 7) sorted by relevance
/hardware/invensense/60xx/libsensors_iio/software/core/mllite/linux/ |
D | ml_stored_data.c | 40 inv_error_t inv_read_cal(unsigned char **calData, size_t *bytesRead) in inv_read_cal() argument 65 *bytesRead = fread(*calData, 1, fsize, fp); in inv_read_cal() 66 if (*bytesRead != fsize) { in inv_read_cal() 68 *bytesRead, fsize); in inv_read_cal() 73 MPL_LOGI("Bytes read = %d", *bytesRead); in inv_read_cal() 279 size_t bytesRead = 0; in inv_load_calibration() local 281 result = inv_read_cal(&calData, &bytesRead); in inv_load_calibration() 288 result = inv_load_mpl_states(calData, bytesRead); in inv_load_calibration()
|
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/linux/ |
D | ml_stored_data.c | 44 inv_error_t inv_read_cal(unsigned char **calData, size_t *bytesRead) in inv_read_cal() argument 69 *bytesRead = fread(*calData, 1, fsize, fp); in inv_read_cal() 70 if (*bytesRead != fsize) { in inv_read_cal() 72 *bytesRead, fsize); in inv_read_cal() 76 MPL_LOGV("Bytes read = %d", *bytesRead); in inv_read_cal() 279 size_t bytesRead = 0; in inv_load_calibration() local 281 result = inv_read_cal(&calData, &bytesRead); in inv_load_calibration() 288 result = inv_load_mpl_states(calData, bytesRead); in inv_load_calibration()
|
/hardware/invensense/6515/libsensors_iio/software/core/mllite/linux/ |
D | ml_stored_data.c | 44 inv_error_t inv_read_cal(unsigned char **calData, size_t *bytesRead) in inv_read_cal() argument 69 *bytesRead = fread(*calData, 1, fsize, fp); in inv_read_cal() 70 if (*bytesRead != fsize) { in inv_read_cal() 72 *bytesRead, fsize); in inv_read_cal() 76 MPL_LOGV("Bytes read = %d", *bytesRead); in inv_read_cal() 279 size_t bytesRead = 0; in inv_load_calibration() local 281 result = inv_read_cal(&calData, &bytesRead); in inv_load_calibration() 288 result = inv_load_mpl_states(calData, bytesRead); in inv_load_calibration()
|
/hardware/invensense/60xx/mlsdk/platform/linux/ |
D | mlsl_linux_mpu.c | 99 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/ |
D | AudioDumpInterface.cpp | 489 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/qcom/media/mm-video-legacy/vidc/vdec/test/ |
D | omx_vdec_test.cpp | 2712 int bytesRead = 0; in Read_Buffer_From_Mpeg2_Start_Code() local 2726 bytesRead = read(inputBufferFileFd, &pBufHdr->pBuffer[readOffset], 1); in Read_Buffer_From_Mpeg2_Start_Code() 2729 if (bytesRead == 0 || bytesRead == -1) { in Read_Buffer_From_Mpeg2_Start_Code()
|
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/test/ |
D | omx_vdec_test.cpp | 3019 int bytesRead = 0; in Read_Buffer_From_Mpeg2_Start_Code() local 3033 bytesRead = read(inputBufferFileFd, &pBufHdr->pBuffer[readOffset], 1); in Read_Buffer_From_Mpeg2_Start_Code() 3036 if (bytesRead == 0 || bytesRead == -1) { in Read_Buffer_From_Mpeg2_Start_Code()
|