Lines Matching full:nbytes
52 ** nbytes - number of bytes to read into the buffer.
64 void nfc_hal_nv_co_read (UINT8 *p_buf, UINT16 nbytes, UINT8 block)
77 ALOGD ("%s: buffer len=%u; file=%s", __FUNCTION__, nbytes, filename);
83 size_t actualReadData = read (fileStream, p_buf, nbytes);
112 ** nbytes - number of bytes to write out to the file.
122 void nfc_hal_nv_co_write (const UINT8 *p_buf, UINT16 nbytes, UINT8 block)
135 ALOGD ("%s: bytes=%u; file=%s", __FUNCTION__, nbytes, filename);
140 unsigned short checksum = crcChecksumCompute (p_buf, nbytes);
142 size_t actualWrittenData = write (fileStream, p_buf, nbytes);
144 if ((actualWrittenData == nbytes) && (actualWrittenCrc == sizeof(checksum)))