Searched refs:instancetype (Results 1 – 25 of 124) sorted by relevance
12345
/external/clang/test/ARCMT/ |
D | objcmt-instancetype.m.result | 2 // 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 …]
|
D | objcmt-instancetype-2.m.result | 2 // 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 …]
|
D | objcmt-instancetype-unnecessary-diff.m | 1 // 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/ |
D | instancetype-test.mm | 9 + (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/ |
D | instancetype.m | 4 # 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 …]
|
D | attr-designated-init.m | 247 - (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 …]
|
D | format-cstrings-warning.m | 14 - (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/ |
D | instancetype.mm | 4 # 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/ |
D | header1.h.result | 6 -(instancetype)init; 11 +(instancetype)s1; 12 -(instancetype)initWithFoo:(NSString*)foo NS_DESIGNATED_INITIALIZER;
|
D | file2.m.in.result | 6 +(instancetype)s1 { return 0; } 7 -(instancetype)initWithFoo:(NSString*)foo
|
/external/webrtc/webrtc/api/objc/ |
D | RTCOpenGLVideoRenderer.h | 33 - (instancetype)initWithContext:(EAGLContext *)context 36 - (instancetype)initWithContext:(NSOpenGLContext *)context 54 - (instancetype)init NS_UNAVAILABLE;
|
D | RTCIceServer.h | 26 - (instancetype)init NS_UNAVAILABLE; 29 - (instancetype)initWithURLStrings:(NSArray<NSString *> *)urlStrings; 35 - (instancetype)initWithURLStrings:(NSArray<NSString *> *)urlStrings
|
D | RTCMediaConstraints.h | 17 - (instancetype)init NS_UNAVAILABLE; 20 - (instancetype)initWithMandatoryConstraints:
|
D | RTCSessionDescription.h | 33 - (instancetype)init NS_UNAVAILABLE; 36 - (instancetype)initWithType:(RTCSdpType)type sdp:(NSString *)sdp
|
D | RTCIceCandidate.h | 32 - (instancetype)init NS_UNAVAILABLE; 37 - (instancetype)initWithSdp:(NSString *)sdp
|
/external/webrtc/talk/app/webrtc/objc/public/ |
D | RTCFileLogger.h | 65 - (instancetype)init; 68 - (instancetype)initWithDirPath:(NSString *)dirPath 71 - (instancetype)initWithDirPath:(NSString *)dirPath
|
D | RTCOpenGLVideoRenderer.h | 48 - (instancetype)initWithContext:(EAGLContext*)context; 50 - (instancetype)initWithContext:(NSOpenGLContext*)context;
|
/external/clang/test/CodeGenObjC/ |
D | debug-info-instancetype.m | 3 // Substitute the actual type for a method returning instancetype. 11 + (instancetype)defaultFoo; 15 +(instancetype)defaultFoo {return 0;}
|
/external/webrtc/webrtc/examples/objc/AppRTCDemo/ |
D | ARDSignalingMessage.m | 25 - (instancetype)initWithType:(ARDSignalingMessageType)type { 74 - (instancetype)initWithCandidate:(RTCICECandidate *)candidate { 91 - (instancetype)initWithDescription:(RTCSessionDescription *)description { 115 - (instancetype)init {
|
D | ARDWebSocketChannel.h | 18 - (instancetype)initWithURL:(NSURL *)url 39 - (instancetype)initWithURL:(NSURL *)url restURL:(NSURL *)restURL;
|
D | ARDSignalingMessage.h | 36 - (instancetype)initWithCandidate:(RTCICECandidate *)candidate; 44 - (instancetype)initWithDescription:(RTCSessionDescription *)description;
|
/external/webrtc/talk/app/webrtc/objc/ |
D | RTCDataChannel+Internal.h | 37 - (instancetype)initWithDataBuffer:(const webrtc::DataBuffer&)buffer; 52 - (instancetype)initWithDataChannel:
|
D | RTCPeerConnection+Internal.h | 39 - (instancetype)initWithFactory:(webrtc::PeerConnectionFactoryInterface *)factory 43 - (instancetype)initWithFactory:(webrtc::PeerConnectionFactoryInterface *)factory
|
/external/clang/test/SemaObjCXX/Inputs/ |
D | nullability-consistency-7.h | 35 - (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/ |
D | objcmt-with-whitelist-impl.m.result | 2 // RUN: %clang_cc1 -objcmt-migrate-readwrite-property -objcmt-migrate-instancetype -objcmt-white-li… 17 +(instancetype)i1 {}
|
12345