Home
last modified time | relevance | path

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

/external/libchrome/base/memory/
Dscoped_ptr_unittest.cc48 struct CountingDeleter { struct
49 explicit CountingDeleter(int* count) : count_(count) {} in CountingDeleter() function
57 struct CountingDeleterChild : public CountingDeleter {
58 explicit CountingDeleterChild(int* count) : CountingDeleter(count) {} in CountingDeleterChild()
246 scoped_ptr<double, CountingDeleter> scoper(&dummy_value, in TEST()
247 CountingDeleter(&deletes)); in TEST()
273 scoped_ptr<double, CountingDeleter> scoper_construct( in TEST()
478 scoped_ptr<double, CountingDeleter> scoper(&dummy_value, in TEST()
479 CountingDeleter(&deletes)); in TEST()
488 scoped_ptr<double, CountingDeleter> scoper(NULL, in TEST()
[all …]
/external/libweave/third_party/chromium/base/memory/
Dscoped_ptr_unittest.cc49 struct CountingDeleter { struct
50 explicit CountingDeleter(int* count) : count_(count) {} in CountingDeleter() function
58 struct CountingDeleterChild : public CountingDeleter {
59 explicit CountingDeleterChild(int* count) : CountingDeleter(count) {} in CountingDeleterChild()
247 scoped_ptr<double, CountingDeleter> scoper(&dummy_value, in TEST()
248 CountingDeleter(&deletes)); in TEST()
274 scoped_ptr<double, CountingDeleter> scoper_construct( in TEST()
479 scoped_ptr<double, CountingDeleter> scoper(&dummy_value, in TEST()
480 CountingDeleter(&deletes)); in TEST()
489 scoped_ptr<double, CountingDeleter> scoper(NULL, in TEST()
[all …]