Lines Matching refs:aKey
45 otError otPlatSettingsGet(otInstance *aInstance, uint16_t aKey, int aIndex, uint8_t *aValue, uint16… in otPlatSettingsGet() argument
47 return AsNode(aInstance).mSettings.Get(aKey, aIndex, aValue, aValueLength); in otPlatSettingsGet()
50 otError otPlatSettingsSet(otInstance *aInstance, uint16_t aKey, const uint8_t *aValue, uint16_t aVa… in otPlatSettingsSet() argument
52 return AsNode(aInstance).mSettings.SetOrAdd(Settings::kSet, aKey, aValue, aValueLength); in otPlatSettingsSet()
55 otError otPlatSettingsAdd(otInstance *aInstance, uint16_t aKey, const uint8_t *aValue, uint16_t aVa… in otPlatSettingsAdd() argument
57 return AsNode(aInstance).mSettings.SetOrAdd(Settings::kAdd, aKey, aValue, aValueLength); in otPlatSettingsAdd()
60 otError otPlatSettingsDelete(otInstance *aInstance, uint16_t aKey, int aIndex) in otPlatSettingsDelete() argument
62 return AsNode(aInstance).mSettings.Delete(aKey, aIndex); in otPlatSettingsDelete()
72 Error Settings::Get(uint16_t aKey, int aIndex, uint8_t *aValue, uint16_t *aValueLength) const in Get() argument
79 entry = mEntries.FindMatching(aKey); in Get()
102 Error Settings::SetOrAdd(SetAddMode aMode, uint16_t aKey, const uint8_t *aValue, uint16_t aValueLen… in SetOrAdd() argument
107 entry = mEntries.FindMatching(aKey); in SetOrAdd()
113 entry->mKey = aKey; in SetOrAdd()
131 Error Settings::Delete(uint16_t aKey, int aIndex) in Delete() argument
137 entry = mEntries.FindMatching(aKey); in Delete()
142 mEntries.RemoveMatching(aKey); in Delete()