Home
last modified time | relevance | path

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

/external/libchrome/base/threading/
Dsequence_local_storage_map.cc59 SequenceLocalStorageMap::ValueDestructorPair value_destructor_pair) { in Set() argument
63 sls_map_.emplace(slot_id, std::move(value_destructor_pair)); in Set()
65 it->second = std::move(value_destructor_pair); in Set()
83 ValueDestructorPair&& value_destructor_pair) in ValueDestructorPair() argument
84 : value_(value_destructor_pair.value_), in ValueDestructorPair()
85 destructor_(value_destructor_pair.destructor_) { in ValueDestructorPair()
86 value_destructor_pair.value_ = nullptr; in ValueDestructorPair()
91 ValueDestructorPair&& value_destructor_pair) { in operator =() argument
96 value_ = value_destructor_pair.value_; in operator =()
97 destructor_ = value_destructor_pair.destructor_; in operator =()
[all …]
Dsequence_local_storage_map_unittest.cc44 SequenceLocalStorageMap::ValueDestructorPair value_destructor_pair{ in CreateValueDestructorPair() local
47 return value_destructor_pair; in CreateValueDestructorPair()
59 SequenceLocalStorageMap::ValueDestructorPair value_destructor_pair = in TEST() local
62 sequence_local_storage_map.Set(kSlotId, std::move(value_destructor_pair)); in TEST()
77 SequenceLocalStorageMap::ValueDestructorPair value_destructor_pair = in TEST() local
80 sequence_local_storage_map.Set(kSlotId, std::move(value_destructor_pair)); in TEST()
96 SequenceLocalStorageMap::ValueDestructorPair value_destructor_pair = in TEST() local
101 sequence_local_storage_map.Set(kSlotId, std::move(value_destructor_pair)); in TEST()
Dsequence_local_storage_map.h43 ValueDestructorPair(ValueDestructorPair&& value_destructor_pair);
45 ValueDestructorPair& operator=(ValueDestructorPair&& value_destructor_pair);
61 void Set(int slot_id, ValueDestructorPair value_destructor_pair);
Dsequence_local_storage_slot.h92 value_destructor_pair(value_ptr, destructor); in Set()
95 slot_id_, std::move(value_destructor_pair)); in Set()