Lines Matching refs:ResultCode

96 IAM_STATIC ResultCode GetAttributeIndex(AttributeKey key, uint32_t *index)

108 IAM_STATIC ResultCode ReadDataFromMsg(const Uint8Array msg, uint32_t *readIndex, Uint8Array *retData)
129 IAM_STATIC ResultCode ReadUint32FromMsg(const Uint8Array msg, uint32_t *readIndex, uint32_t *retValue)
133 ResultCode result = ReadDataFromMsg(msg, readIndex, &uint8Data);
143 IAM_STATIC ResultCode WriteDataToMsg(Uint8Array *msg, uint32_t *writeIndex, const Uint8Array data)
164 IAM_STATIC ResultCode WriteUInt32ToMsg(Uint8Array *msg, uint32_t *writeIndex, uint32_t value)
167 ResultCode result =
176 IAM_STATIC ResultCode CheckAddReadIndex(const Uint8Array msg, uint32_t *readIndex, uint32_t length)
192 IAM_STATIC ResultCode ParseAttributeSerializedMsgInner(Attribute *attribute, const Uint8Array msg,
198 ResultCode readTypeResult = ReadUint32FromMsg(msg, &readIndex, &type);
202 ResultCode readLengthResult = ReadUint32FromMsg(msg, &readIndex, &length);
207 ResultCode checkAddReadIndexResult = CheckAddReadIndex(msg, &readIndex, length);
214 ResultCode readDataResult = ReadDataFromMsg(msg, &readIndex, &readData);
224 ResultCode setAttrResult = SetAttributeUint8Array(attribute, type, readData);
231 IAM_STATIC ResultCode ParseAttributeSerializedMsg(Attribute *attribute, const Uint8Array msg)
236 ResultCode result = ParseAttributeSerializedMsgInner(attribute, msg, readBuffer);
264 ResultCode result = ParseAttributeSerializedMsg(attribute, msg);
274 ResultCode GetAttributeSerializedMsg(const Attribute *attributePublic, Uint8Array *retMsg)
288 ResultCode writeTypeResult = WriteUInt32ToMsg(retMsg, &writeIndex, g_attributeKeyArray[i]);
291 ResultCode writeLengthResult = WriteUInt32ToMsg(retMsg, &writeIndex, array->len);
297 ResultCode writeDataResult =
318 ResultCode GetAttributeUint32(const Attribute *attribute, AttributeKey key, uint32_t *value)
325 ResultCode getAttrResult = GetAttributeUint8Array(attribute, key, &uint32Data);
333 ResultCode SetAttributeUint32(Attribute *attribute, AttributeKey key, const uint32_t value)
338 ResultCode result =
345 ResultCode GetAttributeInt32(const Attribute *attribute, AttributeKey key, int32_t *retValue)
353 ResultCode SetAttributeInt32(Attribute *attribute, AttributeKey key, const int32_t value)
360 ResultCode GetAttributeUint64(const Attribute *attribute, AttributeKey key, uint64_t *retValue)
367 ResultCode getAttrResult = GetAttributeUint8Array(attribute, key, &uint64Data);
375 ResultCode SetAttributeUint64(Attribute *attribute, AttributeKey key, const uint64_t value)
380 ResultCode setAttrResult =
387 ResultCode GetAttributeLength(const Attribute *attribute, AttributeKey key, uint32_t *len)
394 ResultCode getAttrIndexResult = GetAttributeIndex(key, &attributeIndex);
405 ResultCode GetAttributeUint8Array(const Attribute *attributePub, AttributeKey key, Uint8Array *retData)
414 ResultCode getAttrIndexResult = GetAttributeIndex(key, &attributeIndex);
435 ResultCode SetAttributeUint8Array(Attribute *attributePub, AttributeKey key, const Uint8Array data)
443 ResultCode getAttrIndexResult = GetAttributeIndex(key, &attributeIndex);
456 ResultCode GetAttributeUint64Array(const Attribute *attribute, AttributeKey key, Uint64Array *retData)
463 ResultCode getAttrResult = GetAttributeUint8Array(attribute, key, &uint64ArrayData);
475 ResultCode SetAttributeUint64Array(Attribute *attribute, AttributeKey key, const Uint64Array data)
483 ResultCode result = RESULT_GENERAL_ERROR;