/hardware/qcom/sm7250/media/libplatformconfig/ |
D | ConfigParser.cpp | 98 int bytesRead; in initAndParse() local 109 bytesRead = fread(buf, 1, BUF_SIZE, file); in initAndParse() 110 if (bytesRead < 0) { in initAndParse() 111 VIDC_PLAT_LOGH("%s: fread failed, bytes read = %d", __func__, bytesRead); in initAndParse() 112 err = bytesRead; in initAndParse() 116 if (XML_ParseBuffer(parser, bytesRead, in initAndParse() 117 bytesRead == 0) == XML_STATUS_ERROR) { in initAndParse() 123 if (bytesRead == 0) in initAndParse()
|
/hardware/qcom/sm8150/media/libplatformconfig/ |
D | ConfigParser.cpp | 98 int bytesRead; in initAndParse() local 109 bytesRead = fread(buf, 1, BUF_SIZE, file); in initAndParse() 110 if (bytesRead < 0) { in initAndParse() 111 VIDC_PLAT_LOGH("%s: fread failed, bytes read = %d", __func__, bytesRead); in initAndParse() 112 err = bytesRead; in initAndParse() 116 if (XML_ParseBuffer(parser, bytesRead, in initAndParse() 117 bytesRead == 0) == XML_STATUS_ERROR) { in initAndParse() 123 if (bytesRead == 0) in initAndParse()
|
/hardware/st/secure_element/ese-spi-driver/ |
D | SpiLayerInterface.cc | 115 int bytesRead = SpiLayerComm_readTpdu(respTpdu); in SpiLayerInterface_transcieveTpdu() local 116 if (bytesRead < 0) { in SpiLayerInterface_transcieveTpdu() 117 STLOG_HAL_E("Error when reading from SPI interface (%d).", bytesRead); in SpiLayerInterface_transcieveTpdu() 120 STLOG_HAL_D("%d bytes read from SPI interface", bytesRead); in SpiLayerInterface_transcieveTpdu() 127 return bytesRead; in SpiLayerInterface_transcieveTpdu()
|
D | SpiLayerComm.cc | 323 int bytesRead; in SpiLayerComm_readTpdu() local 325 bytesRead = SpiLayerDriver_read(rxBuffer, pendingBytes); in SpiLayerComm_readTpdu() 328 if (bytesRead != pendingBytes) { in SpiLayerComm_readTpdu() 329 STLOG_HAL_E("Tpdu bytes read does not match the expected %d %d", bytesRead, in SpiLayerComm_readTpdu() 350 STLOG_HAL_V("%s : bytesRead = %d", __func__, bytesRead); in SpiLayerComm_readTpdu() 351 return 3 + bytesRead; in SpiLayerComm_readTpdu()
|
D | T1protocol.h | 283 Tpdu *lastRespTpduReceived, int *bytesRead); 349 Tpdu *lastRespTpduReceived, int *bytesRead);
|
D | T1protocol.cc | 799 Tpdu* lastRespTpduReceived, int* bytesRead) { in T1protocol_doResendRequest() argument 816 *bytesRead = result; in T1protocol_doResendRequest() 965 Tpdu* lastRespTpduReceived, int* bytesRead) { in T1protocol_handleTpduResponse() argument 971 if (*bytesRead == 0) { in T1protocol_handleTpduResponse()
|
/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/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/st/nfc/1.0/adaptation/ |
D | i2clayer.c | 111 int bytesRead = i2cRead(fidI2c, buffer, 3); in I2cWorkerThread() local 113 if (bytesRead == 3) { in I2cWorkerThread() 122 bytesRead = i2cRead(fidI2c, buffer + 2, 1); in I2cWorkerThread() 123 if (bytesRead == 1) { in I2cWorkerThread() 130 bytesRead = i2cRead(fidI2c, buffer + 1, 2); in I2cWorkerThread() 131 if (bytesRead == 2) { in I2cWorkerThread() 143 bytesRead = i2cRead(fidI2c, buffer + 3, remaining); in I2cWorkerThread() 144 if (bytesRead == remaining) { in I2cWorkerThread() 145 DispHal("RX DATA", buffer, 3 + bytesRead); in I2cWorkerThread() 146 HalSendUpstream(hHAL, buffer, 3 + bytesRead); in I2cWorkerThread()
|
/hardware/st/nfc/st21nfc/adaptation/ |
D | i2clayer.cc | 135 int bytesRead = i2cRead(fidI2c, buffer, 3); in I2cWorkerThread() local 137 if (bytesRead == 3) { in I2cWorkerThread() 147 bytesRead = i2cRead(fidI2c, buffer + 2, 1); in I2cWorkerThread() 148 if (bytesRead == 1) { in I2cWorkerThread() 155 bytesRead = i2cRead(fidI2c, buffer + 1, 2); in I2cWorkerThread() 156 if (bytesRead == 2) { in I2cWorkerThread() 166 bytesRead = 0; in I2cWorkerThread() 169 bytesRead = i2cRead(fidI2c, buffer + 3, remaining); in I2cWorkerThread() 171 if (bytesRead == remaining) { in I2cWorkerThread() 172 DispHal("RX DATA", buffer, 3 + bytesRead); in I2cWorkerThread() [all …]
|
/hardware/qcom/display/msm8994/libhwcomposer/ |
D | hwc_ad.cpp | 79 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/ |
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/google/gfxstream/guest/vulkan_enc/ |
D | VulkanStreamGuest.h | 92 size_t bytesRead() const { return m_read; } in bytesRead() function
|
/hardware/interfaces/threadnetwork/aidl/default/ |
D | socket_interface.cpp | 278 ssize_t bytesRead = read(inotifyFd, buffer, sizeof(buffer)); in WaitForSocketFileCreated() local 280 VerifyOrDie(bytesRead >= 0, OT_EXIT_ERROR_ERRNO); in WaitForSocketFileCreated()
|
/hardware/qcom/display/msm8994/libhdmi/ |
D | hdmi.cpp | 696 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/google/gfxstream/guest/mesa/src/util/ |
D | xmlconfig.c | 960 int bytesRead; in _parseOneConfigFile() local 966 bytesRead = read(fd, buffer, BUF_SIZE); in _parseOneConfigFile() 967 if (bytesRead == -1) { in _parseOneConfigFile() 972 status = XML_ParseBuffer(p, bytesRead, bytesRead == 0); in _parseOneConfigFile() 977 if (bytesRead == 0) in _parseOneConfigFile()
|
/hardware/nxp/nfc/snxxx/halimpl/dnld/ |
D | phDnldNfc.cc | 1076 long bytesRead = 0; in phDnldNfc_LoadBinFW() local 1124 bytesRead = in phDnldNfc_LoadBinFW() 1126 if (bytesRead != fileSize) { in phDnldNfc_LoadBinFW() 1136 *pImgInfoLen = (uint32_t)(bytesRead & 0xFFFFFFFF); in phDnldNfc_LoadBinFW()
|
/hardware/nxp/nfc/pn8x/halimpl/dnld/ |
D | phDnldNfc.cc | 1020 long bytesRead = 0; in phDnldNfc_LoadBinFW() local 1068 bytesRead = in phDnldNfc_LoadBinFW() 1070 if (bytesRead != fileSize) { in phDnldNfc_LoadBinFW() 1080 *pImgInfoLen = (uint16_t)(bytesRead & 0xFFFF); in phDnldNfc_LoadBinFW()
|
/hardware/qcom/camera/msm8998/usbcamcore/src/ |
D | QualcommUsbCamera.cpp | 2766 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/ |
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/msm8974/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()
|