Home
last modified time | relevance | path

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

/hardware/qcom/sdm845/media/libplatformconfig/
DConfigParser.cpp97 int bytesRead; in initAndParse() local
108 bytesRead = fread(buf, 1, BUF_SIZE, file); in initAndParse()
109 if (bytesRead < 0) { in initAndParse()
110 VIDC_PLAT_LOGH("%s: fread failed, bytes read = %d", __func__, bytesRead); in initAndParse()
111 err = bytesRead; in initAndParse()
115 if (XML_ParseBuffer(parser, bytesRead, in initAndParse()
116 bytesRead == 0) == XML_STATUS_ERROR) { in initAndParse()
122 if (bytesRead == 0) in initAndParse()
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/linux/
Dml_stored_data.c44 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/
Dml_stored_data.c44 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/qcom/display/msm8994/libhwcomposer/
Dhwc_ad.cpp79 ssize_t bytesRead = read(adFd, opStr, sizeof(opStr) - 1); in adRead() local
80 if(bytesRead > 0) { in adRead()
81 opStr[bytesRead] = '\0'; in adRead()
85 } else if(bytesRead == 0) { in adRead()
/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/qcom/display/msm8994/libhdmi/
Dhdmi.cpp696 ssize_t bytesRead = read(connectedNode, opStr, sizeof(opStr) - 1); in getConnectedState() local
697 if(bytesRead > 0) { in getConnectedState()
698 opStr[bytesRead] = '\0'; in getConnectedState()
701 } else if(bytesRead == 0) { in getConnectedState()
/hardware/nxp/nfc/halimpl/dnld/
DphDnldNfc.cc1019 uint32_t bytesRead = 0; in phDnldNfc_LoadBinFW() local
1067 bytesRead = in phDnldNfc_LoadBinFW()
1069 if (bytesRead != fileSize) { in phDnldNfc_LoadBinFW()
1079 *pImgInfoLen = (uint16_t)(bytesRead & 0xFFFF); in phDnldNfc_LoadBinFW()
/hardware/qcom/camera/msm8998/usbcamcore/src/
DQualcommUsbCamera.cpp2766 int bytesRead = 0, fileSize = 0; in readFromFile() local
2772 return bytesRead; in readFromFile()
2778 return bytesRead; in readFromFile()
2781 bytesRead = fread(buffer, 1, bufferSize, fp); in readFromFile()
2782 ALOGD(" %s: bytesRead: %d", __func__, bytesRead); in readFromFile()
2784 return bytesRead; in readFromFile()
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/test/
Domx_vdec_test.cpp2712 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/msm8974/mm-video-v4l2/vidc/vdec/test/
Domx_vdec_test.cpp3019 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()