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

/system/nfc/halimpl/pn54x/tml/
H A DphTmlNfc_i2c.c114 ** Returns numRead - number of successfully read bytes
121 int numRead = 0; local
155 ret_Read = read((intptr_t)pDevHandle, pBuffer, totalBtyesToRead - numRead);
157 numRead += ret_Read;
172 if (numRead < totalBtyesToRead) {
174 read((intptr_t)pDevHandle, pBuffer, totalBtyesToRead - numRead);
175 if (ret_Read != totalBtyesToRead - numRead) {
179 numRead += ret_Read;
189 if ((totalBtyesToRead - numRead) != 0) {
190 ret_Read = read((intptr_t)pDevHandle, (pBuffer + numRead),
[all...]

Completed in 50 milliseconds