Lines Matching refs:sSettingsBufLength
50 static uint16_t sSettingsBufLength; variable
66 sSettingsBufLength = 0; in otPlatSettingsInit()
82 while (i < sSettingsBufLength) in otPlatSettingsGet()
131 while (i < sSettingsBufLength) in otPlatSettingsSet()
140 if (nextBlockStart < sSettingsBufLength) in otPlatSettingsSet()
142 … memmove(&sSettingsBuf[i], &sSettingsBuf[nextBlockStart], sSettingsBufLength - nextBlockStart); in otPlatSettingsSet()
145 assert(sSettingsBufLength >= currentBlockLength); in otPlatSettingsSet()
146 sSettingsBufLength -= currentBlockLength; 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()
172 sSettingsBufLength += newBlockLength; in otPlatSettingsAdd()
195 while (i < sSettingsBufLength) in otPlatSettingsDelete()
206 if (nextBlockStart < sSettingsBufLength) in otPlatSettingsDelete()
208 … memmove(&sSettingsBuf[i], &sSettingsBuf[nextBlockStart], sSettingsBufLength - nextBlockStart); in otPlatSettingsDelete()
211 assert(sSettingsBufLength >= currentBlockLength); in otPlatSettingsDelete()
212 sSettingsBufLength -= currentBlockLength; in otPlatSettingsDelete()