Lines Matching defs:nbytes
51 ** nbytes - number of bytes to read into the buffer.
63 void nfc_hal_nv_co_read (UINT8 *p_buf, UINT16 nbytes, UINT8 block)
76 ALOGD ("%s: buffer len=%u; file=%s", __FUNCTION__, nbytes, filename);
82 size_t actualReadData = read (fileStream, p_buf, nbytes);
111 ** nbytes - number of bytes to write out to the file.
121 void nfc_hal_nv_co_write (const UINT8 *p_buf, UINT16 nbytes, UINT8 block)
134 ALOGD ("%s: bytes=%u; file=%s", __FUNCTION__, nbytes, filename);
139 unsigned short checksum = crcChecksumCompute (p_buf, nbytes);
141 size_t actualWrittenData = write (fileStream, p_buf, nbytes);
143 if ((actualWrittenData == nbytes) && (actualWrittenCrc == sizeof(checksum)))