Home
last modified time | relevance | path

Searched refs:sSettingsBuf (Results 1 – 1 of 1) sorted by relevance

/openthread-2.7.6/examples/platforms/utils/
Dsettings_ram.c49 static uint8_t sSettingsBuf[SETTINGS_BUFFER_SIZE]; variable
85 currentBlock = (struct settingsBlock *)&sSettingsBuf[i]; in otPlatSettingsGet()
102 memcpy(aValue, &sSettingsBuf[i + sizeof(struct settingsBlock)], readLength); in otPlatSettingsGet()
134 currentBlock = (struct settingsBlock *)&sSettingsBuf[i]; in otPlatSettingsSet()
143 … memmove(&sSettingsBuf[i], &sSettingsBuf[nextBlockStart], sSettingsBufLength - nextBlockStart); in otPlatSettingsSet()
166 if (sSettingsBufLength + newBlockLength <= sizeof(sSettingsBuf)) in otPlatSettingsAdd()
168 currentBlock = (struct settingsBlock *)&sSettingsBuf[sSettingsBufLength]; in otPlatSettingsAdd()
172 … memcpy(&sSettingsBuf[sSettingsBufLength + sizeof(struct settingsBlock)], aValue, aValueLength); in otPlatSettingsAdd()
198 currentBlock = (struct settingsBlock *)&sSettingsBuf[i]; in otPlatSettingsDelete()
209 … memmove(&sSettingsBuf[i], &sSettingsBuf[nextBlockStart], sSettingsBufLength - nextBlockStart); in otPlatSettingsDelete()