Searched refs:mFlash (Results 1 – 3 of 3) sorted by relevance
/openthread-latest/src/core/common/ |
D | settings_driver.hpp | 60 , mFlash(aInstance) in SettingsDriver() 77 mFlash.Init(); in Init() 110 error = mFlash.Add(aKey, value, aValueLength); in Add() 132 error = mFlash.Delete(aKey, aIndex); in Delete() 161 error = mFlash.Get(aKey, aIndex, value, aValueLength); in Get() 205 error = mFlash.Set(aKey, value, aValueLength); in Set() 218 mFlash.Wipe(); in Wipe() 228 Flash mFlash; member in ot::SettingsDriver
|
/openthread-latest/tests/gtest/ |
D | fake_platform.cpp | 286 void FakePlatform::FlashInit() { memset(mFlash, 0xff, sizeof(mFlash)); } in FlashInit() 295 memset(mFlash + address, 0xff, kFlashSwapSize); in FlashErase() 308 memcpy(aData, mFlash + address + aOffset, aSize); in FlashRead() 323 mFlash[address + aOffset + index] &= static_cast<const uint8_t *>(aData)[index]; in FlashWrite()
|
D | fake_platform.hpp | 139 uint8_t mFlash[kFlashSwapSize * kFlashSwapNum]; member in ot::FakePlatform
|