Lines Matching refs:param_len
568 uint8_t* sdpu_extract_uid_seq(uint8_t* p, uint16_t param_len, in sdpu_extract_uid_seq() argument
578 if (sizeof(descr) > param_len) return (NULL); in sdpu_extract_uid_seq()
579 param_len -= sizeof(descr); in sdpu_extract_uid_seq()
598 if (sizeof(uint8_t) > param_len) return (NULL); in sdpu_extract_uid_seq()
599 param_len -= sizeof(uint8_t); in sdpu_extract_uid_seq()
603 if (sizeof(uint16_t) > param_len) return (NULL); in sdpu_extract_uid_seq()
604 param_len -= sizeof(uint16_t); in sdpu_extract_uid_seq()
608 if (sizeof(uint32_t) > param_len) return (NULL); in sdpu_extract_uid_seq()
609 param_len -= sizeof(uint32_t); in sdpu_extract_uid_seq()
616 if (seq_len > param_len) return (NULL); in sdpu_extract_uid_seq()
683 uint8_t* sdpu_extract_attr_seq(uint8_t* p, uint16_t param_len, in sdpu_extract_attr_seq() argument
693 if (param_len < sizeof(descr)) return NULL; in sdpu_extract_attr_seq()
694 param_len -= sizeof(descr); in sdpu_extract_attr_seq()
703 if (param_len < sizeof(uint8_t)) return NULL; in sdpu_extract_attr_seq()
704 param_len -= sizeof(uint8_t); in sdpu_extract_attr_seq()
709 if (param_len < sizeof(uint16_t)) return NULL; in sdpu_extract_attr_seq()
710 param_len -= sizeof(uint16_t); in sdpu_extract_attr_seq()
715 if (param_len < sizeof(uint32_t)) return NULL; in sdpu_extract_attr_seq()
716 param_len -= sizeof(uint32_t); in sdpu_extract_attr_seq()
724 if (list_len > param_len) return NULL; in sdpu_extract_attr_seq()