Searched refs:mData (Results 1 – 2 of 2) sorted by relevance
38 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 …]
28 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