Home
last modified time | relevance | path

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

/system/update_engine/update_manager/
Dboxed_value_unittest.cc54 friend string BoxedValue::ValuePrinter<DeleterMarker>(const void*);
61 string BoxedValue::ValuePrinter<DeleterMarker>(const void* value) { in ValuePrinter()
72 BoxedValue* box = new BoxedValue(deleter_marker); in TEST()
82 BoxedValue* box = new BoxedValue(deleter_marker); in TEST()
83 BoxedValue* new_box = new BoxedValue(std::move(*box)); in TEST()
93 list<BoxedValue> lst; in TEST()
105 map<int, BoxedValue> m; in TEST()
106 m.emplace(42, BoxedValue(new const string("Hola mundo!"))); in TEST()
115 EXPECT_EQ("Hej Verden!", BoxedValue(new string("Hej Verden!")).ToString()); in TEST()
119 EXPECT_EQ("42", BoxedValue(new int(42)).ToString()); in TEST()
[all …]
Dboxed_value.cc46 string BoxedValue::ValuePrinter<string>(const void* value) { in ValuePrinter()
52 string BoxedValue::ValuePrinter<int>(const void* value) { in ValuePrinter()
62 string BoxedValue::ValuePrinter<unsigned int>(const void* value) { in ValuePrinter()
72 string BoxedValue::ValuePrinter<int64_t>(const void* value) { in ValuePrinter()
82 string BoxedValue::ValuePrinter<uint64_t>(const void* value) { in ValuePrinter()
92 string BoxedValue::ValuePrinter<bool>(const void* value) { in ValuePrinter()
98 string BoxedValue::ValuePrinter<double>(const void* value) { in ValuePrinter()
108 string BoxedValue::ValuePrinter<base::Time>(const void* value) { in ValuePrinter()
114 string BoxedValue::ValuePrinter<base::TimeDelta>(const void* value) { in ValuePrinter()
120 string BoxedValue::ValuePrinter<ConnectionType>(const void* value) { in ValuePrinter()
[all …]
Dboxed_value.h54 class BoxedValue {
59 BoxedValue() : value_(nullptr), deleter_(nullptr), printer_(nullptr) {} in BoxedValue() function
64 explicit BoxedValue(const T* value) in BoxedValue() function
74 BoxedValue(BoxedValue&& other) noexcept in BoxedValue() function
85 ~BoxedValue() { in ~BoxedValue()
121 DISALLOW_COPY_AND_ASSIGN(BoxedValue);
Devaluation_context-inl.h48 value_cache_.emplace(static_cast<BaseVariable*>(var), BoxedValue(result)); in GetValue()
Devaluation_context.h155 typedef std::map<BaseVariable*, BoxedValue> ValueCacheMap;