Searched refs:attributeLength (Results 1 – 2 of 2) sorted by relevance
37 uint16_t attributeLength; member1003 attributeLength + SDP_SERVICE_RECORD_OTHER, in SdpAddAttributeToServiceRecord()1005 attributeLength + SDP_SERVICE_RECORD_OTHER); in SdpAddAttributeToServiceRecord()1021 if (attributeLength > SDP_MAX_ATTRIBUTE_LEN) { in SdpAddAttributeToServiceRecord()1022 attributeLength = SDP_MAX_ATTRIBUTE_LEN; in SdpAddAttributeToServiceRecord()1024 if (attributeLength > 0xFF) { in SdpAddAttributeToServiceRecord()1028 attributeValue[offset] = attributeLength & 0xFF; in SdpAddAttributeToServiceRecord()1033 if (memcpy_s(attributeValue + offset, attributeLength, value, attributeLength) != EOK) { in SdpAddAttributeToServiceRecord()1037 offset += attributeLength; in SdpAddAttributeToServiceRecord()1260 item->attributeItem[i].attributeLength, in BuildAttributeListByIdRange()[all …]
423 uint32_t attributeLength = 0; in SdpParseSingleAttributeList() local459 pos = SdpGetLengthFromType(bufferInfo->buffer + offset, type, &attributeLength); in SdpParseSingleAttributeList()460 if (bufferInfo->length < attributeLength) { in SdpParseSingleAttributeList()465 uint8_t *bufferEnd = bufferInfo->buffer + attributeLength; in SdpParseSingleAttributeList()