Lines Matching refs:settingsBlock
53 struct settingsBlock struct
79 const struct settingsBlock *currentBlock; in otPlatSettingsGet() argument
84 currentBlock = (struct settingsBlock *)&sSettingsBuf[i]; in otPlatSettingsGet()
101 memcpy(aValue, &sSettingsBuf[i + sizeof(struct settingsBlock)], readLength); in otPlatSettingsGet()
112 i += sizeof(struct settingsBlock) + currentBlock->length; in otPlatSettingsGet()
128 const struct settingsBlock *currentBlock; in otPlatSettingsSet()
133 currentBlock = (struct settingsBlock *)&sSettingsBuf[i]; in otPlatSettingsSet()
134 currentBlockLength = sizeof(struct settingsBlock) + currentBlock->length; in otPlatSettingsSet()
162 struct settingsBlock *currentBlock; in otPlatSettingsAdd()
163 const uint16_t newBlockLength = sizeof(struct settingsBlock) + aValueLength; in otPlatSettingsAdd()
167 currentBlock = (struct settingsBlock *)&sSettingsBuf[sSettingsBufLength]; in otPlatSettingsAdd()
171 … memcpy(&sSettingsBuf[sSettingsBufLength + sizeof(struct settingsBlock)], aValue, aValueLength); in otPlatSettingsAdd()
192 const struct settingsBlock *currentBlock; in otPlatSettingsDelete()
197 currentBlock = (struct settingsBlock *)&sSettingsBuf[i]; in otPlatSettingsDelete()
198 currentBlockLength = sizeof(struct settingsBlock) + currentBlock->length; in otPlatSettingsDelete()