Home
last modified time | relevance | path

Searched refs:p_end (Results 1 – 2 of 2) sorted by relevance

/system/core/libcutils/
Drecord_stream.cpp75 unsigned char *p_end) in getEndOfRecord() argument
80 if (p_end < p_begin + HEADER_SIZE) { in getEndOfRecord()
89 if (p_end < p_ret) { in getEndOfRecord()
/system/nfc/src/nfc/ndef/
Dndef_utils.cc78 uint8_t* p_end = p_msg + msg_len; in NDEF_MsgValidate() local
94 for (count = 0; p_rec < p_end; count++) { in NDEF_MsgValidate()
96 if (p_rec + 3 > p_end) return (NDEF_MSG_TOO_SHORT); in NDEF_MsgValidate()
122 if (p_rec + 4 > p_end) return (NDEF_MSG_TOO_SHORT); in NDEF_MsgValidate()
130 if (p_rec + 1 > p_end) return (NDEF_MSG_TOO_SHORT); in NDEF_MsgValidate()
192 if ((p_rec_type + type_len) > p_end) return (NDEF_MSG_TOO_SHORT); in NDEF_MsgValidate()
207 if (p_rec > p_new || p_end < p_new) { in NDEF_MsgValidate()
224 if (p_rec != p_end) return (NDEF_MSG_LENGTH_MISMATCH); in NDEF_MsgValidate()