Home
last modified time | relevance | path

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

/ohos5.0/foundation/ability/dmsfwk_lite/source/
H A Ddmslite_tlv_common.c30 TlvNode* tlvNode = (TlvNode *)tlvHead; in GetNodeByType() local
31 while (tlvNode != NULL) { in GetNodeByType()
32 if (tlvNode->type == nodeType) { in GetNodeByType()
33 return tlvNode; in GetNodeByType()
35 tlvNode = tlvNode->next; in GetNodeByType()
81 if (tlvNode == NULL || tlvNode->value == NULL) { in UnMarshallInt()
85 if (fieldSize != tlvNode->length) { in UnMarshallInt()
140 if (tlvNode == NULL || tlvNode->value == NULL) { in UnMarshallString()
144 const char* value = (const char*)tlvNode->value; in UnMarshallString()
145 if (value[tlvNode->length - 1] != '\0') { in UnMarshallString()
[all …]