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.cc49 friend string BoxedValue::ValuePrinter<DeleterMarker>(const void *);
56 string BoxedValue::ValuePrinter<DeleterMarker>(const void *value) { in ValuePrinter()
67 BoxedValue* box = new BoxedValue(deleter_marker); in TEST()
77 BoxedValue* box = new BoxedValue(deleter_marker); in TEST()
78 BoxedValue* new_box = new BoxedValue(std::move(*box)); in TEST()
88 list<BoxedValue> lst; in TEST()
100 map<int, BoxedValue> m; in TEST()
101 m.emplace(42, BoxedValue(new const string("Hola mundo!"))); in TEST()
111 BoxedValue(new string("Hej Verden!")).ToString()); in TEST()
115 EXPECT_EQ("42", BoxedValue(new int(42)).ToString()); in TEST()
[all …]
Dboxed_value.cc40 string BoxedValue::ValuePrinter<string>(const void* value) { in ValuePrinter()
46 string BoxedValue::ValuePrinter<int>(const void* value) { in ValuePrinter()
52 string BoxedValue::ValuePrinter<unsigned int>(const void* value) { in ValuePrinter()
58 string BoxedValue::ValuePrinter<int64_t>(const void* value) { in ValuePrinter()
64 string BoxedValue::ValuePrinter<uint64_t>(const void* value) { in ValuePrinter()
71 string BoxedValue::ValuePrinter<bool>(const void* value) { in ValuePrinter()
77 string BoxedValue::ValuePrinter<double>(const void* value) { in ValuePrinter()
83 string BoxedValue::ValuePrinter<base::Time>(const void* value) { in ValuePrinter()
89 string BoxedValue::ValuePrinter<base::TimeDelta>(const void* value) { in ValuePrinter()
114 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;