Home
last modified time | relevance | path

Searched refs:EntryFormat (Results 1 – 17 of 17) sorted by relevance

/external/pigweed/pw_kvs/public/pw_kvs/
Dformat.h24 struct EntryFormat;
63 explicit constexpr EntryFormats(std::span<const EntryFormat> formats) in EntryFormats()
66 explicit constexpr EntryFormats(const EntryFormat& format) in EntryFormats()
69 const EntryFormat& primary() const { return formats_.front(); } in primary()
73 const EntryFormat* Find(uint32_t magic) const;
76 const std::span<const EntryFormat> formats_;
83 struct EntryFormat { struct
Dkey_value_store.h352 std::span<const EntryFormat> formats,
574 const EntryFormat& format,
578 std::span<const EntryFormat, kEntryFormats>( in KeyValueStoreBuffer() argument
579 reinterpret_cast<const EntryFormat (&)[1]>(format)), in KeyValueStoreBuffer()
588 std::span<const EntryFormat, kEntryFormats> formats,
627 std::array<EntryFormat, kEntryFormats> formats_;
/external/pigweed/pw_kvs/public/pw_kvs/internal/
Dentry.h67 const EntryFormat& format, in Valid()
78 const EntryFormat& format, in Tombstone()
105 Status Update(const EntryFormat& new_format, uint32_t new_transaction_id);
178 const EntryFormat& format,
186 const EntryFormat& format, in Entry()
/external/pigweed/pw_kvs/
Dformat.cc19 const EntryFormat* EntryFormats::Find(const uint32_t magic) const { in Find()
20 for (const EntryFormat& format : formats_) { in Find()
Dkey_value_store_test.cc109 constexpr EntryFormat default_format{.magic = 0xa6cb3c16,
121 constexpr EntryFormat format{.magic = 0x89bb14d2, .checksum = nullptr}; in TEST()
137 constexpr EntryFormat format{.magic = 0xd1da57c1, .checksum = nullptr}; in TEST()
153 constexpr EntryFormat format{.magic = 0x610f6d17, .checksum = nullptr}; in TEST()
178 constexpr EntryFormat format{.magic = 0x83a9257, .checksum = nullptr}; in TEST()
219 constexpr EntryFormat format{.magic = 0x2ed3a058, .checksum = nullptr}; in TEST()
247 constexpr EntryFormat format{.magic = 0x5d70896, .checksum = nullptr}; in TEST()
309 constexpr EntryFormat format{.magic = 0x7bf19895, .checksum = nullptr}; in TEST()
Dentry_test.cc37 constexpr EntryFormat kFormat{0x961c2ff9, nullptr};
112 constexpr EntryFormat kFormatWithChecksum{kMagicWithChecksum,
296 const EntryFormat format{kMagicWithChecksum, nullptr}; in TEST()
356 constexpr EntryFormat kNoChecksumFormat{.magic = 0x721bad24,
410 constexpr EntryFormat kFormatWithSum{kMagicWithSum, &sum_checksum};
514 constexpr EntryFormat no_checksum{.magic = 0x43fae18f, .checksum = nullptr}; in TEST_F()
Dentry.cc52 const EntryFormat* format = formats.Find(header.magic); in Read()
78 const EntryFormat& format, in Entry()
110 Status Entry::Update(const EntryFormat& new_format, in Update()
Dfake_flash_test_key_value_store.cc61 constexpr EntryFormat kvs_format = {.magic = 0xc40fd8a8,
Dkey_value_store_wear_test.cc30 constexpr EntryFormat format{.magic = 0x1bce4ad5, .checksum = nullptr};
Dentry_cache_test.cc245 constexpr EntryFormat kFormat{.magic = uint32_t(kMagic), .checksum = nullptr};
Dkey_value_store_initialized_test.cc79 constexpr EntryFormat default_format{.magic = 0x5b9a341e,
Dkey_value_store.cc42 std::span<const EntryFormat> formats, in KeyValueStore()
Dkey_value_store_binary_format_test.cc170 EntryFormat default_format = {.magic = kMagic, .checksum = &default_checksum};
/external/pigweed/pw_kvs/size_report/
Dwith_kvs.cc31 static constexpr pw::kvs::EntryFormat kvs_format = {.magic = 0x22d3f8a0,
/external/pigweed/pw_blob_store/size_report/
Dbase.cc31 static constexpr pw::kvs::EntryFormat kvs_format = {.magic = 0x22d3f8a0,
Dbasic_blob.cc32 static constexpr pw::kvs::EntryFormat kvs_format = {.magic = 0x22d3f8a0,
Ddeferred_write_blob.cc32 static constexpr pw::kvs::EntryFormat kvs_format = {.magic = 0x22d3f8a0,