Home
last modified time | relevance | path

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

/openthread-3.6.0/examples/platforms/utils/
Dsettings_ram.c49 static uint8_t sSettingsBuf[SETTINGS_BUFFER_SIZE]; variable
84 currentBlock = (struct settingsBlock *)&sSettingsBuf[i]; in otPlatSettingsGet()
101 memcpy(aValue, &sSettingsBuf[i + sizeof(struct settingsBlock)], readLength); in otPlatSettingsGet()
133 currentBlock = (struct settingsBlock *)&sSettingsBuf[i]; in otPlatSettingsSet()
142 … memmove(&sSettingsBuf[i], &sSettingsBuf[nextBlockStart], sSettingsBufLength - nextBlockStart); in otPlatSettingsSet()
165 if (sSettingsBufLength + newBlockLength <= sizeof(sSettingsBuf)) in otPlatSettingsAdd()
167 currentBlock = (struct settingsBlock *)&sSettingsBuf[sSettingsBufLength]; in otPlatSettingsAdd()
171 … memcpy(&sSettingsBuf[sSettingsBufLength + sizeof(struct settingsBlock)], aValue, aValueLength); in otPlatSettingsAdd()
197 currentBlock = (struct settingsBlock *)&sSettingsBuf[i]; in otPlatSettingsDelete()
208 … memmove(&sSettingsBuf[i], &sSettingsBuf[nextBlockStart], sSettingsBufLength - nextBlockStart); in otPlatSettingsDelete()