Lines Matching refs:key

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

99 if (g_attributeKeyArray[i] == key) {
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)
339 SetAttributeUint8Array(attribute, key, (Uint8Array) { (uint8_t *)&netOrderValue, sizeof(netOrderValue) });
345 ResultCode GetAttributeInt32(const Attribute *attribute, AttributeKey key, int32_t *retValue)
350 return GetAttributeUint32(attribute, key, (uint32_t *)retValue);
353 ResultCode SetAttributeInt32(Attribute *attribute, AttributeKey key, const int32_t value)
357 return SetAttributeUint32(attribute, key, (uint32_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)
381 SetAttributeUint8Array(attribute, key, (Uint8Array){ (uint8_t *)&netOrderValue, sizeof(netOrderValue) });
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)
490 result = SetAttributeUint8Array(attribute, key,