Lines Matching refs:ResultCode

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

127 IAM_STATIC ResultCode ReadDataFromMsg(const Uint8Array msg, uint32_t *readIndex, Uint8Array *retData)
148 IAM_STATIC ResultCode ReadUint32FromMsg(const Uint8Array msg, uint32_t *readIndex, uint32_t *retValue)
152 ResultCode result = ReadDataFromMsg(msg, readIndex, &uint8Data);
162 IAM_STATIC ResultCode WriteDataToMsg(Uint8Array *msg, uint32_t *writeIndex, const Uint8Array data)
183 IAM_STATIC ResultCode WriteUInt32ToMsg(Uint8Array *msg, uint32_t *writeIndex, uint32_t value)
186 ResultCode result =
195 IAM_STATIC ResultCode ParseAttributeSerializedMsgInner(Attribute *attribute, const Uint8Array msg,
201 ResultCode readTypeResult = ReadUint32FromMsg(msg, &readIndex, &type);
205 ResultCode readLengthResult = ReadUint32FromMsg(msg, &readIndex, &length);
211 ResultCode readDataResult = ReadDataFromMsg(msg, &readIndex, &readData);
215 ResultCode setAttrResult = SetAttributeUint8Array(attribute, type, readData);
222 IAM_STATIC ResultCode ParseAttributeSerializedMsg(Attribute *attribute, const Uint8Array msg)
227 ResultCode result = ParseAttributeSerializedMsgInner(attribute, msg, readBuffer);
236 ResultCode ParseMultiDataSerializedMsg(const Uint8Array msg, Uint8Array *subMsgData, int *subMsgSize)
245 ResultCode readLengthResult = ReadUint32FromMsg(msg, &readIndex, &length);
253 ResultCode readDataResult = ReadDataFromMsg(msg, &readIndex, &subMsgData[subMsgIndex]);
282 ResultCode result = ParseAttributeSerializedMsg(attribute, msg);
292 ResultCode GetAttributeSerializedMsg(const Attribute *attributePublic, Uint8Array *retMsg)
306 ResultCode writeTypeResult = WriteUInt32ToMsg(retMsg, &writeIndex, g_attributeKeyArray[i]);
309 ResultCode writeLengthResult = WriteUInt32ToMsg(retMsg, &writeIndex, array->len);
315 ResultCode writeDataResult =
336 ResultCode GetAttributeUint32(const Attribute *attribute, AttributeKey key, uint32_t *value)
343 ResultCode getAttrResult = GetAttributeUint8Array(attribute, key, &uint32Data);
351 ResultCode SetAttributeUint32(Attribute *attribute, AttributeKey key, const uint32_t value)
356 ResultCode result =
363 ResultCode GetAttributeInt32(const Attribute *attribute, AttributeKey key, int32_t *retValue)
371 ResultCode SetAttributeInt32(Attribute *attribute, AttributeKey key, const int32_t value)
378 ResultCode GetAttributeUint64(const Attribute *attribute, AttributeKey key, uint64_t *retValue)
385 ResultCode getAttrResult = GetAttributeUint8Array(attribute, key, &uint64Data);
393 ResultCode SetAttributeUint64(Attribute *attribute, AttributeKey key, const uint64_t value)
398 ResultCode setAttrResult =
405 ResultCode GetAttributeUint8Array(const Attribute *attributePub, AttributeKey key, Uint8Array *retData)
414 ResultCode getAttrIndexResult = GetAttributeIndex(key, &attributeIndex);
434 ResultCode SetAttributeUint8Array(Attribute *attributePub, AttributeKey key, const Uint8Array data)
442 ResultCode getAttrIndexResult = GetAttributeIndex(key, &attributeIndex);
455 ResultCode GetAttributeUint64Array(const Attribute *attribute, AttributeKey key, Uint64Array *retData)
462 ResultCode getAttrResult = GetAttributeUint8Array(attribute, key, &uint64ArrayData);
474 ResultCode SetAttributeUint64Array(Attribute *attribute, AttributeKey key, const Uint64Array data)
482 ResultCode result = GENERAL_ERROR;
501 ResultCode GetMultiDataSerializedMsg(Uint8Array *sourceArrayMsg, uint32_t size, Uint8Array *retMsg)
514 ResultCode writeLengthResult = WriteUInt32ToMsg(retMsg, &writeIndex, sourceMsg.len);
517 ResultCode writeDataResult = WriteDataToMsg(retMsg, &writeIndex, sourceMsg);