Home
last modified time | relevance | path

Searched refs:instancetype (Results 1 – 25 of 124) sorted by relevance

12345

/external/clang/test/ARCMT/
Dobjcmt-instancetype.m.result2 // RUN: %clang_cc1 -objcmt-migrate-instancetype -mt-migrate-directory %t %s -x objective-c -fobjc-r…
14 + (instancetype)stringWithString:(NSString *)string;
15 - (instancetype)initWithString:(NSString *)aString;
19 + (instancetype)stringWithString:(NSString *)string { return 0; };
20 - (instancetype)initWithString:(NSString *)aString { return 0; };
29 + (instancetype)array;
30 + (instancetype)arrayWithObject:(id)anObject;
31 + (instancetype)arrayWithObjects:(const id [])objects count:(unsigned long)cnt;
32 + (instancetype)arrayWithObjects:(id)firstObj, ...;
33 + (instancetype) arrayWithArray:(NSArray *)array;
[all …]
Dobjcmt-instancetype-2.m.result2 // RUN: %clang_cc1 -objcmt-migrate-instancetype -mt-migrate-directory %t %s -x objective-c -fobjc-r…
31 + (instancetype)URLWithString:(NSString *)URLString;
32 + (instancetype)URLWithString:(NSString *)URLString relativeToURL:(NSURL *)baseURL;
33 + (instancetype)URLByResolvingBookmarkData:(NSData *)bookmarkData options:(NSURLBookmarkResolutionO…
38 + (instancetype)errorWithDomain:(NSString *)domain code:(NSInteger)code userInfo:(NSDictionary *)di…
43 + (instancetype)stringWithCapacity:(NSUInteger)capacity;
47 + (instancetype)dataWithCapacity:(NSUInteger)aNumItems;
48 + (instancetype)dataWithLength:(NSUInteger)length;
54 + (instancetype )dictionaryWithSharedKeySet:(id)keyset __attribute__((availability(macosx,introduce…
58 + (instancetype)protocolCheckerWithTarget:(NSObject *)anObject protocol:(Protocol *)aProtocol;
[all …]
Dobjcmt-instancetype-unnecessary-diff.m1 // RUN: %clang_cc1 -objcmt-migrate-instancetype %s -triple x86_64-apple-darwin11 -fobjc-arc -migrat…
5 // CHECK-NOT: instancetype
9 +(instancetype) dictionaryWithURLEncodedString:(NSString *)urlEncodedString;
/external/clang/test/Rewriter/
Dinstancetype-test.mm9 + (instancetype)alloc;
10 - (instancetype)init; // expected-note{{overridden method is part of the 'init' method family}}
11 - (instancetype)self;
15 - (instancetype)selfProp;
20 - (instancetype)methodInProto1;
25 - (instancetype)methodInProto2; // expected-note{{overridden method returns an instance of its clas…
26 - (instancetype)otherMethodInProto2; // expected-note{{overridden method returns an instance of its…
30 - (instancetype)initSubclass1;
32 + (instancetype)allocSubclass1;
36 - (instancetype)initSubclass2;
[all …]
/external/clang/test/SemaObjC/
Dinstancetype.m4 # error Missing 'instancetype' feature macro.
8 + (instancetype)alloc; // expected-note {{explicitly declared 'instancetype'}}
9 - (instancetype)init; // expected-note{{overridden method is part of the 'init' method family}}
10 - (instancetype)self; // expected-note {{explicitly declared 'instancetype'}}
14 - (instancetype)selfProp;
19 - (instancetype)methodInProto1;
24 - (instancetype)methodInProto2; // expected-note{{overridden method returns an instance of its clas…
25 - (instancetype)otherMethodInProto2; // expected-note{{overridden method returns an instance of its…
29 - (instancetype)initSubclass1;
31 + (instancetype)allocSubclass1;
[all …]
Dattr-designated-init.m247 - (instancetype)initInProcess
256 - (instancetype)initWithStuff:(id)stuff __attribute__((objc_designated_initializer));
257 - (instancetype)init NS_UNAVAILABLE;
261 - (instancetype)init
358 -(instancetype) init NS_DESIGNATED_INITIALIZER; // expected-note {{method marked as designated init…
365 -(instancetype) initWithBasePath:(id)path {
368 -(instancetype) init {
374 -(instancetype) init NS_DESIGNATED_INITIALIZER;
377 -(instancetype) init {
383 -(instancetype)init NS_UNAVAILABLE;
[all …]
Dformat-cstrings-warning.m14 - (instancetype)initWithFormat:(NSString *)format, ... __attribute__((format(__NSString__, 1, 2)));…
15 - (instancetype)initWithFormat:(NSString *)format arguments:(va_list)argList __attribute__((format(…
16 - (instancetype)initWithFormat:(NSString *)format locale:(id)locale, ... __attribute__((format(__NS…
17 - (instancetype)initWithFormat:(NSString *)format locale:(id)locale arguments:(va_list)argList __at…
18 + (instancetype)stringWithFormat:(NSString *)format, ... __attribute__((format(__NSString__, 1, 2))…
19 + (instancetype)localizedStringWithFormat:(NSString *)format, ... __attribute__((format(__NSString_…
/external/clang/test/SemaObjCXX/
Dinstancetype.mm4 # error Missing 'instancetype' feature macro.
8 + (instancetype)alloc;
9 - (instancetype)init; // expected-note{{overridden method is part of the 'init' method family}}
10 - (instancetype)self; // expected-note {{explicitly declared 'instancetype'}}
14 - (instancetype)selfProp;
19 - (instancetype)methodInProto1;
24 - (instancetype)methodInProto2; // expected-note{{overridden method returns an instance of its clas…
25 - (instancetype)otherMethodInProto2; // expected-note{{overridden method returns an instance of its…
29 - (instancetype)initSubclass1;
31 + (instancetype)allocSubclass1;
[all …]
/external/clang/test/ARCMT/designated-init-in-header/
Dheader1.h.result6 -(instancetype)init;
11 +(instancetype)s1;
12 -(instancetype)initWithFoo:(NSString*)foo NS_DESIGNATED_INITIALIZER;
Dfile2.m.in.result6 +(instancetype)s1 { return 0; }
7 -(instancetype)initWithFoo:(NSString*)foo
/external/webrtc/webrtc/api/objc/
DRTCOpenGLVideoRenderer.h33 - (instancetype)initWithContext:(EAGLContext *)context
36 - (instancetype)initWithContext:(NSOpenGLContext *)context
54 - (instancetype)init NS_UNAVAILABLE;
DRTCIceServer.h26 - (instancetype)init NS_UNAVAILABLE;
29 - (instancetype)initWithURLStrings:(NSArray<NSString *> *)urlStrings;
35 - (instancetype)initWithURLStrings:(NSArray<NSString *> *)urlStrings
DRTCMediaConstraints.h17 - (instancetype)init NS_UNAVAILABLE;
20 - (instancetype)initWithMandatoryConstraints:
DRTCSessionDescription.h33 - (instancetype)init NS_UNAVAILABLE;
36 - (instancetype)initWithType:(RTCSdpType)type sdp:(NSString *)sdp
DRTCIceCandidate.h32 - (instancetype)init NS_UNAVAILABLE;
37 - (instancetype)initWithSdp:(NSString *)sdp
/external/webrtc/talk/app/webrtc/objc/public/
DRTCFileLogger.h65 - (instancetype)init;
68 - (instancetype)initWithDirPath:(NSString *)dirPath
71 - (instancetype)initWithDirPath:(NSString *)dirPath
DRTCOpenGLVideoRenderer.h48 - (instancetype)initWithContext:(EAGLContext*)context;
50 - (instancetype)initWithContext:(NSOpenGLContext*)context;
/external/clang/test/CodeGenObjC/
Ddebug-info-instancetype.m3 // Substitute the actual type for a method returning instancetype.
11 + (instancetype)defaultFoo;
15 +(instancetype)defaultFoo {return 0;}
/external/webrtc/webrtc/examples/objc/AppRTCDemo/
DARDSignalingMessage.m25 - (instancetype)initWithType:(ARDSignalingMessageType)type {
74 - (instancetype)initWithCandidate:(RTCICECandidate *)candidate {
91 - (instancetype)initWithDescription:(RTCSessionDescription *)description {
115 - (instancetype)init {
DARDWebSocketChannel.h18 - (instancetype)initWithURL:(NSURL *)url
39 - (instancetype)initWithURL:(NSURL *)url restURL:(NSURL *)restURL;
DARDSignalingMessage.h36 - (instancetype)initWithCandidate:(RTCICECandidate *)candidate;
44 - (instancetype)initWithDescription:(RTCSessionDescription *)description;
/external/webrtc/talk/app/webrtc/objc/
DRTCDataChannel+Internal.h37 - (instancetype)initWithDataBuffer:(const webrtc::DataBuffer&)buffer;
52 - (instancetype)initWithDataChannel:
DRTCPeerConnection+Internal.h39 - (instancetype)initWithFactory:(webrtc::PeerConnectionFactoryInterface *)factory
43 - (instancetype)initWithFactory:(webrtc::PeerConnectionFactoryInterface *)factory
/external/clang/test/SemaObjCXX/Inputs/
Dnullability-consistency-7.h35 - (instancetype)init; // expected-warning{{pointer is missing a nullability type specifier}}
36 - (instancetype)initWithA:( A*)a __attribute__((objc_designated_initializer)); // expected-warning …
/external/clang/test/ARCMT/whitelisted/
Dobjcmt-with-whitelist-impl.m.result2 // RUN: %clang_cc1 -objcmt-migrate-readwrite-property -objcmt-migrate-instancetype -objcmt-white-li…
17 +(instancetype)i1 {}

12345