Home
last modified time | relevance | path

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

12345678910>>...18

/external/protobuf/objectivec/
DGPBArray.h56 + (instancetype)array;
65 + (instancetype)arrayWithValue:(int32_t)value;
75 + (instancetype)arrayWithValueArray:(GPBInt32Array *)array;
84 + (instancetype)arrayWithCapacity:(NSUInteger)count;
89 - (instancetype)init NS_DESIGNATED_INITIALIZER;
99 - (instancetype)initWithValues:(const int32_t [__nullable])values
109 - (instancetype)initWithValueArray:(GPBInt32Array *)array;
118 - (instancetype)initWithCapacity:(NSUInteger)count;
228 + (instancetype)array;
237 + (instancetype)arrayWithValue:(uint32_t)value;
[all …]
DGPBDictionary.h71 - (instancetype)initWithUInt32s:(const uint32_t [__nullable])values
82 - (instancetype)initWithDictionary:(GPBUInt32UInt32Dictionary *)dictionary;
91 - (instancetype)initWithCapacity:(NSUInteger)numItems;
166 - (instancetype)initWithInt32s:(const int32_t [__nullable])values
177 - (instancetype)initWithDictionary:(GPBUInt32Int32Dictionary *)dictionary;
186 - (instancetype)initWithCapacity:(NSUInteger)numItems;
261 - (instancetype)initWithUInt64s:(const uint64_t [__nullable])values
272 - (instancetype)initWithDictionary:(GPBUInt32UInt64Dictionary *)dictionary;
281 - (instancetype)initWithCapacity:(NSUInteger)numItems;
356 - (instancetype)initWithInt64s:(const int64_t [__nullable])values
[all …]
DGPBWellKnownTypes.h89 - (instancetype)initWithDate:(NSDate *)date;
98 - (instancetype)initWithTimeIntervalSince1970:(NSTimeInterval)timeIntervalSince1970;
124 - (instancetype)initWithTimeInterval:(NSTimeInterval)timeInterval;
134 - (instancetype)initWithTimeIntervalSince1970:(NSTimeInterval)timeIntervalSince1970
156 + (nullable instancetype)anyWithMessage:(nonnull GPBMessage *)message
169 + (nullable instancetype)anyWithMessage:(nonnull GPBMessage *)message
183 - (nullable instancetype)initWithMessage:(nonnull GPBMessage *)message
196 - (nullable instancetype)initWithMessage:(nonnull GPBMessage *)message
DGPBMessage.h108 + (instancetype)message;
128 + (nullable instancetype)parseFromData:(NSData *)data error:(NSError **)errorPtr;
149 + (nullable instancetype)parseFromData:(NSData *)data
172 + (nullable instancetype)parseFromCodedInputStream:(GPBCodedInputStream *)input
197 + (nullable instancetype)parseDelimitedFromCodedInputStream:(GPBCodedInputStream *)input
220 - (nullable instancetype)initWithData:(NSData *)data error:(NSError **)errorPtr;
241 - (nullable instancetype)initWithData:(NSData *)data
265 - (nullable instancetype)initWithCodedInputStream:(GPBCodedInputStream *)input
DGPBDescriptor_PackagePrivate.h148 + (instancetype)
157 - (instancetype)initWithClass:(Class)messageClass
177 - (instancetype)initWithPackage:(NSString *)package
180 - (instancetype)initWithPackage:(NSString *)package
191 - (instancetype)initWithName:(const char *)name fields:(NSArray *)fields;
207 - (instancetype)initWithFieldDescription:(void *)description
215 + (instancetype)
221 + (instancetype)
229 - (instancetype)initWithName:(NSString *)name
249 - (instancetype)initWithExtensionDescription:
/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 …]
/external/llvm-project/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 …]
/external/llvm-project/clang/test/SemaObjC/
Dinfer-availability-from-init.m5 +(instancetype)new;
6 -(instancetype)init;
10 -(instancetype)init __attribute__((unavailable)); // expected-note{{'init' has been explicitly mark…
18 +(instancetype)init __attribute__((unavailable));
19 +(instancetype)new;
27 +(instancetype)init __attribute__((unavailable));
28 -(instancetype)new;
29 +(instancetype)new: (int)x;
37 +(instancetype)new;
38 -(instancetype)init;
[all …]
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 …]
Dmultiple-method-names-in-class-self.m7 + (instancetype) alloc;
9 + (_Nonnull instancetype) globalObject;
15 - (instancetype)initWithFoo:(int)x;
21 - (instancetype)initWithFoo:(SelfAllocReturn *)x;
27 - (instancetype)initWithFoo:(int)x {
31 + (instancetype) thingWithFoo:(int)x {
Ddictionary-literal-duplicates.m8 +(instancetype)numberWithChar:(char)value;
9 +(instancetype)numberWithInt:(int)value;
10 +(instancetype)numberWithDouble:(double)value;
11 +(instancetype)numberWithBool:(unsigned char)value;
12 +(instancetype)numberWithUnsignedLong:(unsigned long)value;
13 +(instancetype)numberWithLongLong:(long long) value;
14 +(instancetype)numberWithUnsignedInt:(unsigned)value;
21 + (instancetype)dictionaryWithObjects:(const id[])objects
/external/llvm-project/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/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 …]
/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/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dobjc-super-self.m4 - (instancetype)init;
5 - (instancetype)self;
13 - (instancetype)init {
19 - (instancetype)initWithObject:(NSObject *)obj {
31 - (instancetype)initWithObject:(NSObject *)objc a:(int)a {
39 - (instancetype)initWithObject:(NSObject *)objc b:(int)b {
47 - (instancetype)initWithObject:(NSObject *)objc c:(int)c {
55 - (instancetype)initWithObject:(NSObject *)objc d:(int)d {
61 - (instancetype)foo {
65 - (instancetype)bar {
[all …]
Dgoogle-objc-avoid-nsobject-new.m4 + (instancetype)new;
5 + (instancetype)alloc;
6 - (instancetype)init;
14 + (instancetype)date;
43 + (instancetype)new; // Declare again to suppress warning.
44 - (instancetype)initWithInt:(int)anInt;
45 - (instancetype)init __attribute__((unavailable));
54 + (instancetype)new;
76 + (instancetype)new {
/external/llvm-project/clang/test/SemaObjCXX/
Dinstancetype.mm4 # 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 …]
/external/grpc-grpc/src/objective-c/GRPCClient/private/
DGRPCWrappedCall.h32 - (instancetype)initWithMetadata:(NSDictionary *)metadata handler:(void (^)(void))handler;
34 - (instancetype)initWithMetadata:(NSDictionary *)metadata
42 - (instancetype)initWithMessage:(NSData *)message
49 - (instancetype)initWithHandler:(void (^)(void))handler NS_DESIGNATED_INITIALIZER;
55 - (instancetype)initWithHandler:(void (^)(NSDictionary *))handler NS_DESIGNATED_INITIALIZER;
61 - (instancetype)initWithHandler:(void (^)(grpc_byte_buffer *))handler NS_DESIGNATED_INITIALIZER;
67 - (instancetype)initWithHandler:(void (^)(NSError *, NSDictionary *))handler
76 - (instancetype)initWithHost:(NSString *)host
/external/grpc-grpc/src/objective-c/RxLibrary/
DGRXWriter+Immediate.h27 + (instancetype)writerWithEnumerator:(NSEnumerator *)enumerator;
33 + (instancetype)writerWithValueSupplier:(id (^)(void))block;
43 + (instancetype)writerWithContainer:(id<NSFastEnumeration>)container;
49 + (instancetype)writerWithValue:(id)value;
55 + (instancetype)writerWithError:(NSError *)error;
61 + (instancetype)emptyWriter;
DGRXWriter+Immediate.m26 + (instancetype)writerWithEnumerator:(NSEnumerator *)enumerator {
30 + (instancetype)writerWithValueSupplier:(id (^)(void))block {
34 + (instancetype)writerWithContainer:(id<NSFastEnumeration>)container {
38 + (instancetype)writerWithValue:(id)value {
42 + (instancetype)writerWithError:(NSError *)error {
46 + (instancetype)emptyWriter {
/external/llvm-project/clang/tools/clang-fuzzer/corpus_examples/objc/
DSharedInstance.m2 + (instancetype)alloc;
4 - (instancetype)init;
8 + (instancetype)sharedInstance;
10 - (instancetype)initWithFoo:(int)foo;
17 + (instancetype)sharedInstance {
26 - (instancetype)initWithFoo:(int)foo {
/external/webrtc/sdk/objc/api/peerconnection/
DRTCIceServer.h55 - (nonnull instancetype)init NS_UNAVAILABLE;
58 - (instancetype)initWithURLStrings:(NSArray<NSString *> *)urlStrings;
64 - (instancetype)initWithURLStrings:(NSArray<NSString *> *)urlStrings
72 - (instancetype)initWithURLStrings:(NSArray<NSString *> *)urlStrings
81 - (instancetype)initWithURLStrings:(NSArray<NSString *> *)urlStrings
91 - (instancetype)initWithURLStrings:(NSArray<NSString *> *)urlStrings
103 - (instancetype)initWithURLStrings:(NSArray<NSString *> *)urlStrings

12345678910>>...18