Lines Matching refs:param_len
567 uint8_t* sdpu_extract_uid_seq(uint8_t* p, uint16_t param_len, in sdpu_extract_uid_seq() argument
577 if (sizeof(descr) > param_len) return (NULL); in sdpu_extract_uid_seq()
578 param_len -= sizeof(descr); in sdpu_extract_uid_seq()
597 if (sizeof(uint8_t) > param_len) return (NULL); in sdpu_extract_uid_seq()
598 param_len -= sizeof(uint8_t); in sdpu_extract_uid_seq()
602 if (sizeof(uint16_t) > param_len) return (NULL); in sdpu_extract_uid_seq()
603 param_len -= sizeof(uint16_t); in sdpu_extract_uid_seq()
607 if (sizeof(uint32_t) > param_len) return (NULL); in sdpu_extract_uid_seq()
608 param_len -= sizeof(uint32_t); in sdpu_extract_uid_seq()
615 if (seq_len > param_len) return (NULL); in sdpu_extract_uid_seq()
682 uint8_t* sdpu_extract_attr_seq(uint8_t* p, uint16_t param_len, in sdpu_extract_attr_seq() argument
692 if (param_len < sizeof(descr)) return NULL; in sdpu_extract_attr_seq()
693 param_len -= sizeof(descr); in sdpu_extract_attr_seq()
702 if (param_len < sizeof(uint8_t)) return NULL; in sdpu_extract_attr_seq()
703 param_len -= sizeof(uint8_t); in sdpu_extract_attr_seq()
708 if (param_len < sizeof(uint16_t)) return NULL; in sdpu_extract_attr_seq()
709 param_len -= sizeof(uint16_t); in sdpu_extract_attr_seq()
714 if (param_len < sizeof(uint32_t)) return NULL; in sdpu_extract_attr_seq()
715 param_len -= sizeof(uint32_t); in sdpu_extract_attr_seq()
723 if (list_len > param_len) return NULL; in sdpu_extract_attr_seq()