Home
last modified time | relevance | path

Searched refs:EntryState (Results 1 – 9 of 9) sorted by relevance

/external/pigweed/pw_kvs/
Dentry_cache_test.cc46 .state = EntryState::kValid};
74 {.key_hash = 987, .transaction_id = 5, .state = EntryState::kDeleted}, in TEST_F()
79 EXPECT_EQ(EntryState::kDeleted, metadata.state()); in TEST_F()
102 entries_.AddNewOrUpdateExisting({i, i, EntryState::kValid}, i, 1)); in TEST_F()
273 .state = EntryState::kDeleted}, in InitializedEntryCache()
279 .state = EntryState::kDeleted}, in InitializedEntryCache()
325 EXPECT_EQ(EntryState::kValid, metadata.state()); in TEST_F()
342 EXPECT_EQ(EntryState::kValid, metadata.state()); in TEST_F()
369 EXPECT_EQ(EntryState::kDeleted, metadata.state()); in TEST_F()
Dkey_value_store.cc414 while (entry_metadata.state() == EntryState::kDeleted) { in RemoveDeletedKeyEntries()
471 return WriteEntryForExistingKey(metadata, EntryState::kValid, key, value); in PutBytes()
492 return WriteEntryForExistingKey(metadata, EntryState::kDeleted, key, {}); in Delete()
508 item_.iterator_->state() != EntryState::kValid) { in operator ++()
517 cache_iterator->state() != EntryState::kValid) { in begin()
567 (status.ok() && metadata_out->state() == EntryState::kDeleted)) { in FindExisting()
660 EntryState new_state, in WriteEntryForExistingKey()
692 return WriteEntry(key, value, EntryState::kValid); in WriteEntryForNewKey()
697 EntryState new_state, in WriteEntry()
1294 EntryState state) { in CreateEntry()
[all …]
Dentry_cache.cc214 if (descriptor.state != EntryState::kDeleted) { in present_entries()
/external/pigweed/pw_kvs/public/pw_kvs/internal/
Dkey_descriptor.h23 enum class EntryState : bool { kValid, kDeleted }; enum
30 EntryState state; // TODO(hepler): Pack into transaction ID? or something?
Dentry.h97 deleted() ? EntryState::kDeleted : EntryState::kValid}; in descriptor()
Dentry_cache.h44 EntryState state() const { return descriptor_->state; } in state()
/external/pigweed/pw_kvs/public/pw_kvs/
Dkey_value_store.h372 using EntryState = internal::EntryState; variable
442 EntryState new_state,
450 EntryState new_state,
529 EntryState state);
/external/cronet/net/disk_cache/blockfile/
Ddisk_format.h131 enum EntryState { enum
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/
DSLPVectorizer.cpp1450 enum EntryState { Vectorize, NeedToGather }; enum
1451 EntryState State;