Searched refs:numRead (Results 1 – 3 of 3) sorted by relevance
/hardware/nxp/nfc/halimpl/tml/ |
D | phTmlNfc_i2c.cc | 121 int numRead = 0; in phTmlNfc_i2c_read() local 154 ret_Read = read((intptr_t)pDevHandle, pBuffer, totalBtyesToRead - numRead); in phTmlNfc_i2c_read() 156 numRead += ret_Read; in phTmlNfc_i2c_read() 171 if (numRead < totalBtyesToRead) { in phTmlNfc_i2c_read() 173 read((intptr_t)pDevHandle, pBuffer, totalBtyesToRead - numRead); in phTmlNfc_i2c_read() 174 if (ret_Read != totalBtyesToRead - numRead) { in phTmlNfc_i2c_read() 178 numRead += ret_Read; in phTmlNfc_i2c_read() 188 if ((totalBtyesToRead - numRead) != 0) { in phTmlNfc_i2c_read() 189 ret_Read = read((intptr_t)pDevHandle, (pBuffer + numRead), in phTmlNfc_i2c_read() 190 totalBtyesToRead - numRead); in phTmlNfc_i2c_read() [all …]
|
/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/ |
D | SocketComm.cpp | 151 int numRead = ::read(fd, &buffer.data()[offset], numBytes - offset); in readExactly() local 152 if (numRead == 0) { in readExactly() 157 totalRead += numRead; in readExactly()
|
/hardware/google/pixel/usb/ |
D | MonitorFfs.cpp | 157 int numRead = read(monitorFfs->mInotifyFd, buf, kBufferSize); in startMonitorFd() local 158 for (char *p = buf; p < buf + numRead;) { in startMonitorFd()
|