Home
last modified time | relevance | path

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

/external/cronet/base/mac/
Dscoped_nsobject.h148 class scoped_nsobject : public scoped_nsprotocol<NST*> {
153 explicit constexpr scoped_nsobject(
158 explicit constexpr scoped_nsobject(NST* object = Traits::InvalidValue())
162 scoped_nsobject(const scoped_nsobject<NST>& that) in scoped_nsobject() function
166 explicit scoped_nsobject(const scoped_nsobject<NSR>& that_as_subclass) in scoped_nsobject() function
169 scoped_nsobject(scoped_nsobject<NST>&& that) in scoped_nsobject() function
172 scoped_nsobject& operator=(const scoped_nsobject<NST>& that) {
177 void reset(const scoped_nsobject<NST>& that) { in reset()
201 class scoped_nsobject<id> : public scoped_nsprotocol<id> {
206 explicit constexpr scoped_nsobject(
[all …]
Dscoped_nsobject_unittest.mm7 #include "base/mac/scoped_nsobject.h"
13 base::scoped_nsobject<NSObject> p1([[NSObject alloc] init]);
16 base::scoped_nsobject<NSObject> p2(p1);
23 base::scoped_nsobject<NSObject> p3 = p1;
33 base::scoped_nsobject<NSObject> p4([p1.get() retain]);
39 base::scoped_nsobject<NSObject> p5([[NSObject alloc] init]);
45 base::scoped_nsobject<NSObject> p6 = p1;
54 base::scoped_nsobject<NSObject> p7([NSObject new]);
55 base::scoped_nsobject<NSObject> p8(std::move(p7));
61 // Instantiating scoped_nsobject<> with T=NSAutoreleasePool should trip a
[all …]
Dscoped_nsobject_unittest_arc.mm9 #import "base/mac/scoped_nsobject.h"
36 CFIndex GetRetainCount(const base::scoped_nsobject<NST>& nst) {
55 base::scoped_nsobject<NSObject> p1([[NSObject alloc] init]);
62 base::scoped_nsobject<NSObject> p2(p1);
71 base::scoped_nsobject<NSObject> p3 = p1;
83 base::scoped_nsobject<NSObject> p4;
85 p4 = base::scoped_nsobject<NSObject>(p1.get());
94 base::scoped_nsobject<NSObject> p5([[NSObject alloc] init]);
102 base::scoped_nsobject<NSObject> p6 = p1;
112 base::scoped_nsobject<id> p([[NSObject alloc] init]);
[all …]
Dscoped_objc_class_swizzler_unittest.mm7 #import "base/mac/scoped_nsobject.h"
79 base::scoped_nsobject<ObjCClassSwizzlerTestOne> object_one(
81 base::scoped_nsobject<ObjCClassSwizzlerTestTwo> object_two(
122 base::scoped_nsobject<ObjCClassSwizzlerTestOne> object_one(
140 base::scoped_nsobject<ObjCClassSwizzlerTestOneChild> child(
Dscoped_sending_event_unittest.mm9 #include "base/mac/scoped_nsobject.h"
49 base::scoped_nsobject<ScopedSendingEventTestCrApp> app_;
Dmac_util.mm26 #include "base/mac/scoped_nsobject.h"
73 base::scoped_nsobject<NSArray> login_items_array(
597 base::scoped_nsobject<NSAppleEventDescriptor> subpane_descriptor;
Dmac_util_unittest.mm18 #include "base/mac/scoped_nsobject.h"
/external/cronet/crypto/
Dapple_keychain_ios.mm11 #include "base/mac/scoped_nsobject.h"
35 base::scoped_nsobject<NSString> service_name_ns(
43 base::scoped_nsobject<NSString> account_name_ns(
89 base::scoped_nsobject<NSString> service_name_ns(
97 base::scoped_nsobject<NSString> account_name_ns(
/external/clang/test/CodeGenObjCXX/
Ddebug-info.mm26 template<typename NST> class scoped_nsobject { };
29 scoped_nsobject<NSImage> defaultFavicon_;
/external/cronet/base/ios/
Dns_error_util.mm10 #include "base/mac/scoped_nsobject.h"
42 scoped_nsobject<NSMutableDictionary> user_info(
/external/cronet/net/base/mac/
Durl_conversions.mm9 #include "base/mac/scoped_nsobject.h"
42 base::scoped_nsobject<NSString> escaped_url_string(
Durl_conversions_unittest.mm7 #include "base/mac/scoped_nsobject.h"
209 base::scoped_nsobject<NSArray> testData_;
/external/cronet/base/test/ios/
Dwait_util.mm10 #include "base/mac/scoped_nsobject.h"
65 scoped_nsobject<NSDate> beforeDate(
/external/cronet/base/message_loop/
Dmessage_pump_mac_unittest.mm10 #import "base/mac/scoped_nsobject.h"
110 base::scoped_nsobject<NSAlert> alert([[NSAlert alloc] init]);
112 base::scoped_nsobject<TestModalAlertCloser> closer(
/external/cronet/base/
Dfile_version_info_mac.h41 base::scoped_nsobject<NSBundle> bundle_;
DBUILD.gn2076 "mac/scoped_nsobject.h",
/external/cronet/base/test/
Dtest_support_ios.mm12 #include "base/mac/scoped_nsobject.h"
81 base::scoped_nsobject<UIWindow> _window;
87 base::scoped_nsobject<UIWindow> _window;
/external/openscreen/third_party/chromium_quic/build/base/
DBUILD.gn664 "../../src/base/mac/scoped_nsobject.h",
665 "../../src/base/mac/scoped_nsobject.mm",