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.cc51 friend string BoxedValue::ValuePrinter<DeleterMarker>(const void *);
58 string BoxedValue::ValuePrinter<DeleterMarker>(const void *value) { in ValuePrinter()
69 BoxedValue* box = new BoxedValue(deleter_marker); in TEST()
79 BoxedValue* box = new BoxedValue(deleter_marker); in TEST()
80 BoxedValue* new_box = new BoxedValue(std::move(*box)); in TEST()
90 list<BoxedValue> lst; in TEST()
102 map<int, BoxedValue> m; in TEST()
103 m.emplace(42, BoxedValue(new const string("Hola mundo!"))); in TEST()
113 BoxedValue(new string("Hej Verden!")).ToString()); in TEST()
117 EXPECT_EQ("42", BoxedValue(new int(42)).ToString()); in TEST()
[all …]
Dboxed_value.cc44 string BoxedValue::ValuePrinter<string>(const void* value) { in ValuePrinter()
50 string BoxedValue::ValuePrinter<int>(const void* value) { in ValuePrinter()
56 string BoxedValue::ValuePrinter<unsigned int>(const void* value) { in ValuePrinter()
62 string BoxedValue::ValuePrinter<int64_t>(const void* value) { in ValuePrinter()
68 string BoxedValue::ValuePrinter<uint64_t>(const void* value) { in ValuePrinter()
75 string BoxedValue::ValuePrinter<bool>(const void* value) { in ValuePrinter()
81 string BoxedValue::ValuePrinter<double>(const void* value) { in ValuePrinter()
87 string BoxedValue::ValuePrinter<base::Time>(const void* value) { in ValuePrinter()
93 string BoxedValue::ValuePrinter<base::TimeDelta>(const void* value) { in ValuePrinter()
99 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
73 BoxedValue(BoxedValue&& other) // NOLINT(build/c++11) in BoxedValue() function
83 ~BoxedValue() { in ~BoxedValue()
119 DISALLOW_COPY_AND_ASSIGN(BoxedValue);
Devaluation_context-inl.h49 static_cast<BaseVariable*>(var), BoxedValue(result)); in GetValue()
Devaluation_context.h153 typedef std::map<BaseVariable*, BoxedValue> ValueCacheMap;