Lines Matching refs:numRead
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()
192 numRead += ret_Read; in phTmlNfc_i2c_read()
208 return numRead; in phTmlNfc_i2c_read()