Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/nvs_flash/test_nvs_host/
Dspi_flash_emulation.h38 mData.resize(sectorCount * SPI_FLASH_SEC_SIZE / 4, 0xffffffff); in SpiFlashEmulator()
47 mData.resize(mData.size() + SPI_FLASH_SEC_SIZE / 4, 0xffffffff); in SpiFlashEmulator()
48 mUpperSectorBound = mData.size() * 4 / SPI_FLASH_SEC_SIZE; in SpiFlashEmulator()
61 srcAddr + size > mData.size() * 4) { in read()
65 copy(begin(mData) + srcAddr / 4, begin(mData) + (srcAddr + size) / 4, dest); in read()
83 dstAddr + size > mData.size() * 4) { in write()
94 uint32_t& dv = mData[pos]; in write()
112 if (offset > mData.size()) { in erase()
125 std::fill_n(begin(mData) + offset, SPI_FLASH_SEC_SIZE / 4, 0xffffffff); in erase()
138 std::generate_n(mData.data(), mData.size(), gen); in randomize()
[all …]
/hal_espressif-3.6.0/components/nvs_flash/src/
Dcompressed_enum_table.hpp28 return mData; in data()
33 return mData; in data()
42 return static_cast<Tenum>((mData[wordIndex] >> offset) & VALUE_MASK); in get()
52 mData[wordIndex] = (mData[wordIndex] & ~(VALUE_MASK << offset)) | v; in set()
76 uint32_t mData[WORD_COUNT]; member in CompressedEnumTable