Lines Matching refs:currentBlock
79 const struct settingsBlock *currentBlock; in otPlatSettingsGet() local
84 currentBlock = (struct settingsBlock *)&sSettingsBuf[i]; in otPlatSettingsGet()
86 if (aKey == currentBlock->key) in otPlatSettingsGet()
90 readLength = currentBlock->length; in otPlatSettingsGet()
104 valueLength = currentBlock->length; in otPlatSettingsGet()
112 i += sizeof(struct settingsBlock) + currentBlock->length; in otPlatSettingsGet()
128 const struct settingsBlock *currentBlock; in otPlatSettingsSet() local
133 currentBlock = (struct settingsBlock *)&sSettingsBuf[i]; in otPlatSettingsSet()
134 currentBlockLength = sizeof(struct settingsBlock) + currentBlock->length; in otPlatSettingsSet()
136 if (aKey == currentBlock->key) in otPlatSettingsSet()
162 struct settingsBlock *currentBlock; in otPlatSettingsAdd() local
167 currentBlock = (struct settingsBlock *)&sSettingsBuf[sSettingsBufLength]; in otPlatSettingsAdd()
168 currentBlock->key = aKey; in otPlatSettingsAdd()
169 currentBlock->length = aValueLength; in otPlatSettingsAdd()
192 const struct settingsBlock *currentBlock; in otPlatSettingsDelete() local
197 currentBlock = (struct settingsBlock *)&sSettingsBuf[i]; in otPlatSettingsDelete()
198 currentBlockLength = sizeof(struct settingsBlock) + currentBlock->length; in otPlatSettingsDelete()
200 if (aKey == currentBlock->key) in otPlatSettingsDelete()