Lines Matching defs:nBytes
82 ** nbytes - number of bytes to read into the buffer.
94 NFC_API extern void nfa_nv_co_read(UINT8 *pBuffer, UINT16 nbytes, UINT8 block)
109 ALOGD ("%s: buffer len=%u; file=%s", __FUNCTION__, nbytes, filename);
115 size_t actualReadData = read (fileStream, pBuffer, nbytes);
143 ** nbytes - number of bytes to write out to the file.
153 NFC_API extern void nfa_nv_co_write(const UINT8 *pBuffer, UINT16 nbytes, UINT8 block)
167 ALOGD ("%s: bytes=%u; file=%s", __FUNCTION__, nbytes, filename);
174 unsigned short checksum = crcChecksumCompute (pBuffer, nbytes);
176 size_t actualWrittenData = write (fileStream, pBuffer, nbytes);
178 if ((actualWrittenData == nbytes) && (actualWrittenCrc == sizeof(checksum)))
453 int nBytes = ((BT_HDR_SIZE + p_buf->offset + p_buf->len)*2)+1;
460 if (nBytes > sizeof(log_line))
488 int nBytes = ((BT_HDR_SIZE + p_buf->offset + p_buf->len)*2)+1;
495 if (nBytes > sizeof(log_line))
550 int nBytes = ((BT_HDR_SIZE + p_buf->offset + p_buf->len)*2)+1;
583 int nBytes = (len*2)+1;
589 if (nBytes > sizeof(line_buf))