Home
last modified time | relevance | path

Searched refs:numRead (Results 1 – 3 of 3) sorted by relevance

/hardware/nxp/nfc/halimpl/tml/
DphTmlNfc_i2c.cc121 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/
DSocketComm.cpp151 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/
DMonitorFfs.cpp157 int numRead = read(monitorFfs->mInotifyFd, buf, kBufferSize); in startMonitorFd() local
158 for (char *p = buf; p < buf + numRead;) { in startMonitorFd()