Home
last modified time | relevance | path

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

/external/libchrome/base/memory/
Dlinked_ptr_unittest.cc19 A(): mynum(num++) { history += base::StringPrintf("A%d ctor\n", mynum); } in A()
20 virtual ~A() { history += base::StringPrintf("A%d dtor\n", mynum); } in ~A()
21 virtual void Use() { history += base::StringPrintf("A%d use\n", mynum); } in Use()
22 int mynum; member
27 B() { history += base::StringPrintf("B%d ctor\n", mynum); } in B()
28 ~B() override { history += base::StringPrintf("B%d dtor\n", mynum); } in ~B()
29 void Use() override { history += base::StringPrintf("B%d use\n", mynum); } in Use()
/external/google-breakpad/src/testing/gtest/test/
Dgtest-linked_ptr_test.cc49 A(): mynum(num++) { *history << "A" << mynum << " ctor\n"; } in A()
50 virtual ~A() { *history << "A" << mynum << " dtor\n"; } in ~A()
51 virtual void Use() { *history << "A" << mynum << " use\n"; } in Use()
53 int mynum; member in __anon2c5a7cc90111::A
59 B() { *history << "B" << mynum << " ctor\n"; } in B()
60 ~B() { *history << "B" << mynum << " dtor\n"; } in ~B()
61 virtual void Use() { *history << "B" << mynum << " use\n"; } in Use()