/external/pigweed/pw_kvs/ |
D | entry_cache_test.cc | 197 constexpr size_t kSectorSize = 64; variable 209 constexpr std::array<byte, kSectorSize - kTheEntry.size() % kSectorSize> 226 constexpr std::array<byte, kSectorSize - kCollisionEntry.size() % kSectorSize> 240 constexpr std::array<byte, kSectorSize - kDeletedEntry.size() % kSectorSize> 293 FakeFlashMemoryBuffer<kSectorSize, kTotalSectors> flash_;
|
D | flash_partition_stream_test.cc | 140 static constexpr size_t kSectorSize = 2048; member in pw::kvs::__anon7cc914380111::FlashStreamTest 142 static constexpr size_t kFPDataSize = (kSectorCount * kSectorSize); 144 FakeFlashMemoryBuffer<kSectorSize, kSectorCount> flash_;
|
/external/pigweed/pw_blob_store/ |
D | blob_store_deferred_write_test.cc | 126 static constexpr size_t kSectorSize = 1024; member in pw::blob_store::__anon188601920111::DeferredWriteTest 128 static constexpr size_t kBufferSize = 2 * kSectorSize; 130 kvs::FakeFlashMemoryBuffer<kSectorSize, kSectorCount> flash_; 132 std::array<std::byte, kSectorCount * kSectorSize> buffer_;
|
D | blob_store_chunk_write_test.cc | 106 static constexpr size_t kSectorSize = 2048; member in pw::blob_store::__anon82e31d0a0111::BlobStoreChunkTest 108 static constexpr size_t kBlobDataSize = (kSectorCount * kSectorSize); 112 kvs::FakeFlashMemoryBuffer<kSectorSize, kSectorCount> flash_;
|
D | flat_file_system_entry_test.cc | 84 static constexpr size_t kSectorSize = 2048; member in pw::blob_store::__anon8b133ed80111::FlatFileSystemBlobStoreEntryTest 86 static constexpr size_t kBlobDataSize = (kSectorCount * kSectorSize); 91 kvs::FakeFlashMemoryBuffer<kSectorSize, kSectorCount> flash_;
|
D | blob_store_test.cc | 152 static constexpr size_t kSectorSize = 2048; member in pw::blob_store::__anond38833480111::BlobStoreTest 154 static constexpr size_t kBlobDataSize = (kSectorCount * kSectorSize); 156 kvs::FakeFlashMemoryBuffer<kSectorSize, kSectorCount> flash_; 179 EXPECT_EQ(writer.ConservativeWriteLimit(), kSectorSize * kSectorCount); in TEST_F()
|
/external/pigweed/pw_kvs/public/pw_kvs/ |
D | fake_flash_memory.h | 150 template <size_t kSectorSize, size_t kSectorCount, size_t kInjectedErrors = 8> 157 kSectorSize, in FakeFlashMemory() argument 176 std::array<std::byte, kSectorCount * kSectorSize> buffer_;
|
/external/stressapptest/src/ |
D | worker.cc | 2571 read_block_size_ = kSectorSize; // default 1 sector (512 bytes) in DiskThread() 2572 write_block_size_ = kSectorSize; // this assumes read and write block size in DiskThread() 2626 if (read_block_size % kSectorSize != 0) { in SetParameters() 2628 "(thread %d).\n", kSectorSize, thread_num_); in SetParameters() 2638 if (write_block_size % kSectorSize != 0) { in SetParameters() 2640 "of %d (thread %d).\n", kSectorSize, thread_num_); in SetParameters() 2706 if (segment_size % kSectorSize != 0) { in SetParameters() 2708 " (thread %d).\n", kSectorSize, thread_num_); in SetParameters() 2712 segment_size_ = segment_size / kSectorSize; in SetParameters() 2723 block_table_->SetParameters(kSectorSize, write_block_size_, in SetParameters() [all …]
|
D | worker.h | 697 static const int kSectorSize = 512; // Size of sector on disk.
|
/external/pigweed/pw_software_update/ |
D | update_bundle_test.cc | 35 constexpr size_t kSectorSize = 2048; variable 192 kvs::FakeFlashMemoryBuffer<kSectorSize, kSectorCount> blob_flash_;
|