Lines Matching refs:param_len
572 uint8_t* sdpu_extract_uid_seq(uint8_t* p, uint16_t param_len, in sdpu_extract_uid_seq() argument
582 if (sizeof(descr) > param_len) return (NULL); in sdpu_extract_uid_seq()
583 param_len -= sizeof(descr); in sdpu_extract_uid_seq()
602 if (sizeof(uint8_t) > param_len) return (NULL); in sdpu_extract_uid_seq()
603 param_len -= sizeof(uint8_t); in sdpu_extract_uid_seq()
607 if (sizeof(uint16_t) > param_len) return (NULL); in sdpu_extract_uid_seq()
608 param_len -= sizeof(uint16_t); in sdpu_extract_uid_seq()
612 if (sizeof(uint32_t) > param_len) return (NULL); in sdpu_extract_uid_seq()
613 param_len -= sizeof(uint32_t); in sdpu_extract_uid_seq()
620 if (seq_len > param_len) return (NULL); in sdpu_extract_uid_seq()
687 uint8_t* sdpu_extract_attr_seq(uint8_t* p, uint16_t param_len, in sdpu_extract_attr_seq() argument
697 if (param_len < sizeof(descr)) return NULL; in sdpu_extract_attr_seq()
698 param_len -= sizeof(descr); in sdpu_extract_attr_seq()
707 if (param_len < sizeof(uint8_t)) return NULL; in sdpu_extract_attr_seq()
708 param_len -= sizeof(uint8_t); in sdpu_extract_attr_seq()
713 if (param_len < sizeof(uint16_t)) return NULL; in sdpu_extract_attr_seq()
714 param_len -= sizeof(uint16_t); in sdpu_extract_attr_seq()
719 if (param_len < sizeof(uint32_t)) return NULL; in sdpu_extract_attr_seq()
720 param_len -= sizeof(uint32_t); in sdpu_extract_attr_seq()
728 if (list_len > param_len) return NULL; in sdpu_extract_attr_seq()