/external/chromium_org/base/memory/ |
D | scoped_ptr_unittest.cc | 109 scoped_ptr<ConDecLogger> scoper(new ConDecLogger(&constructed)); in TEST() local 111 EXPECT_TRUE(scoper.get()); in TEST() 113 EXPECT_EQ(10, scoper->SomeMeth(10)); in TEST() 114 EXPECT_EQ(10, scoper.get()->SomeMeth(10)); in TEST() 115 EXPECT_EQ(10, (*scoper).SomeMeth(10)); in TEST() 121 scoped_ptr<ConDecLogger> scoper(new ConDecLogger(&constructed)); in TEST() local 123 EXPECT_TRUE(scoper.get()); in TEST() 125 scoper.reset(new ConDecLogger(&constructed)); in TEST() 127 EXPECT_TRUE(scoper.get()); in TEST() 129 scoper.reset(); in TEST() [all …]
|
D | scoped_vector_unittest.cc | 266 ScopedVector<T> PassThru(ScopedVector<T> scoper) { in PassThru() argument 267 return scoper.Pass(); in PassThru()
|
/external/chromium/base/memory/ |
D | scoped_ptr_unittest.cc | 32 scoped_ptr<ConDecLogger> scoper(new ConDecLogger(&constructed)); in TEST() local 34 EXPECT_TRUE(scoper.get()); in TEST() 36 EXPECT_EQ(10, scoper->SomeMeth(10)); in TEST() 37 EXPECT_EQ(10, scoper.get()->SomeMeth(10)); in TEST() 38 EXPECT_EQ(10, (*scoper).SomeMeth(10)); in TEST() 44 scoped_ptr<ConDecLogger> scoper(new ConDecLogger(&constructed)); in TEST() local 46 EXPECT_TRUE(scoper.get()); in TEST() 48 scoper.reset(new ConDecLogger(&constructed)); in TEST() 50 EXPECT_TRUE(scoper.get()); in TEST() 52 scoper.reset(); in TEST() [all …]
|
/external/chromium_org/third_party/libaddressinput/chromium/cpp/test/util/ |
D | scoped_ptr_unittest.cc | 37 scoped_ptr<ConDecLogger> scoper(new ConDecLogger(&constructed)); in TEST() local 39 EXPECT_TRUE(scoper.get()); in TEST() 41 EXPECT_EQ(10, scoper->SomeMeth(10)); in TEST() 42 EXPECT_EQ(10, scoper.get()->SomeMeth(10)); in TEST() 43 EXPECT_EQ(10, (*scoper).SomeMeth(10)); in TEST() 49 scoped_ptr<ConDecLogger> scoper(new ConDecLogger(&constructed)); in TEST() local 51 EXPECT_TRUE(scoper.get()); in TEST() 53 scoper.reset(new ConDecLogger(&constructed)); in TEST() 55 EXPECT_TRUE(scoper.get()); in TEST() 57 scoper.reset(); in TEST() [all …]
|
/external/chromium_org/ui/base/cocoa/ |
D | tracking_area_unittest.mm | 75 ScopedCrTrackingArea scoper([trackingArea_ retain]); 76 [[scoper.get() owner] performMessage]; 86 ScopedCrTrackingArea scoper; 87 EXPECT_FALSE(scoper.get()); 89 scoper.reset([trackingArea_ retain]); 90 [[scoper.get() owner] performMessage]; 93 [[scoper.get() owner] performMessage];
|
/external/chromium/chrome/browser/ui/cocoa/ |
D | tracking_area_unittest.mm | 90 ScopedCrTrackingArea scoper([trackingArea_ retain]); 91 [[scoper.get() owner] performMessage]; 101 ScopedCrTrackingArea scoper; 102 EXPECT_FALSE(scoper.get()); 104 scoper.reset([trackingArea_ retain]); 105 [[scoper.get() owner] performMessage]; 108 [[scoper.get() owner] performMessage];
|
/external/chromium_org/base/ |
D | bind_helpers.h | 370 explicit PassedWrapper(T scoper) : is_valid_(true), scoper_(scoper.Pass()) {} 516 static inline internal::PassedWrapper<T> Passed(T scoper) { 517 return internal::PassedWrapper<T>(scoper.Pass()); 520 static inline internal::PassedWrapper<T> Passed(T* scoper) { 521 return internal::PassedWrapper<T>(scoper->Pass());
|
D | bind_unittest.cc | 156 T PassThru(T scoper) { in PassThru() argument 157 return scoper.Pass(); in PassThru()
|
/external/chromium_org/mojo/public/bindings/lib/ |
D | passable.h | 54 void operator=(ScopedHandleBase<HandleType> scoper) { 55 reset(scoper.release());
|
/external/chromium_org/base/test/ |
D | mock_chrome_application_mac.mm | 24 base::AutoReset<BOOL> scoper(&handlingSendEvent_, YES);
|
/external/chromium_org/content/shell/browser/ |
D | shell_application_mac.mm | 21 base::AutoReset<BOOL> scoper(&handlingSendEvent_, YES);
|
/external/chromium_org/ui/gl/ |
D | gl_context_cgl.cc | 263 CGLRendererInfoObjDeleter> scoper(&renderer_info); in GetTotalGpuMemory() local
|
/external/chromium_org/chrome/browser/ui/cocoa/ |
D | cocoa_profile_test.mm | 34 // thread. If the scoper in TestingBrowserProcess, owned by ChromeTestSuite,
|
/external/chromium_org/remoting/host/mac/ |
D | me2me_preference_pane.mm | 118 // called, so put it in a scoper and .release() it when given to the
|
/external/chromium/base/ |
D | message_pump_mac.mm | 27 // A scoper for autorelease pools created from message pump run loops.
|
/external/chromium_org/chrome/browser/mac/ |
D | install_from_dmg.mm | 483 // A simple scoper that calls DASessionScheduleWithRunLoop when created and
|
/external/chromium_org/base/message_loop/ |
D | message_pump_mac.mm | 42 // A scoper for autorelease pools created from message pump run loops.
|