Home
last modified time | relevance | path

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

/system/update_engine/update_manager/
Dboxed_value_unittest.cc44 class DeleterMarker { class
46 explicit DeleterMarker(bool* marker) : marker_(marker) { *marker_ = false; } in DeleterMarker() function in chromeos_update_manager::DeleterMarker
48 ~DeleterMarker() { *marker_ = true; } in ~DeleterMarker()
51 friend string BoxedValue::ValuePrinter<DeleterMarker>(const void *);
58 string BoxedValue::ValuePrinter<DeleterMarker>(const void *value) { in ValuePrinter()
59 const DeleterMarker* val = reinterpret_cast<const DeleterMarker*>(value); in ValuePrinter()
66 const DeleterMarker* deleter_marker = new DeleterMarker(&marker); in TEST()
77 const DeleterMarker* deleter_marker = new DeleterMarker(&marker); in TEST()
95 lst.emplace_back(new const DeleterMarker(&marker)); in TEST()
228 BoxedValue value = BoxedValue(new DeleterMarker(&marker)); in TEST()