Home
last modified time | relevance | path

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

/external/cronet/net/disk_cache/blockfile/
Dentry_impl.cc434 EntryStore* entry_store = entry_.Data(); in CreateEntry() local
436 memset(entry_store, 0, sizeof(EntryStore) * entry_.address().num_blocks()); in CreateEntry()
441 entry_store->rankings_node = node_address.value(); in CreateEntry()
444 entry_store->hash = hash; in CreateEntry()
445 entry_store->creation_time = Time::Now().ToInternalValue(); in CreateEntry()
446 entry_store->key_len = static_cast<int32_t>(key.size()); in CreateEntry()
447 if (entry_store->key_len > kMaxInternalKeyLength) { in CreateEntry()
449 if (!CreateBlock(entry_store->key_len + 1, &address)) in CreateEntry()
452 entry_store->long_key = address.value(); in CreateEntry()
468 memcpy(entry_store->key, key.data(), key.size()); in CreateEntry()
[all …]