Searched refs:instancetype (Results 1 – 25 of 446) sorted by relevance
12345678910>>...18
56 + (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])values109 - (instancetype)initWithValueArray:(GPBInt32Array *)array;118 - (instancetype)initWithCapacity:(NSUInteger)count;228 + (instancetype)array;237 + (instancetype)arrayWithValue:(uint32_t)value;[all …]
71 - (instancetype)initWithUInt32s:(const uint32_t [__nullable])values82 - (instancetype)initWithDictionary:(GPBUInt32UInt32Dictionary *)dictionary;91 - (instancetype)initWithCapacity:(NSUInteger)numItems;166 - (instancetype)initWithInt32s:(const int32_t [__nullable])values177 - (instancetype)initWithDictionary:(GPBUInt32Int32Dictionary *)dictionary;186 - (instancetype)initWithCapacity:(NSUInteger)numItems;261 - (instancetype)initWithUInt64s:(const uint64_t [__nullable])values272 - (instancetype)initWithDictionary:(GPBUInt32UInt64Dictionary *)dictionary;281 - (instancetype)initWithCapacity:(NSUInteger)numItems;356 - (instancetype)initWithInt64s:(const int64_t [__nullable])values[all …]
89 - (instancetype)initWithDate:(NSDate *)date;98 - (instancetype)initWithTimeIntervalSince1970:(NSTimeInterval)timeIntervalSince1970;124 - (instancetype)initWithTimeInterval:(NSTimeInterval)timeInterval;134 - (instancetype)initWithTimeIntervalSince1970:(NSTimeInterval)timeIntervalSince1970156 + (nullable instancetype)anyWithMessage:(nonnull GPBMessage *)message169 + (nullable instancetype)anyWithMessage:(nonnull GPBMessage *)message183 - (nullable instancetype)initWithMessage:(nonnull GPBMessage *)message196 - (nullable instancetype)initWithMessage:(nonnull GPBMessage *)message
108 + (instancetype)message;128 + (nullable instancetype)parseFromData:(NSData *)data error:(NSError **)errorPtr;149 + (nullable instancetype)parseFromData:(NSData *)data172 + (nullable instancetype)parseFromCodedInputStream:(GPBCodedInputStream *)input197 + (nullable instancetype)parseDelimitedFromCodedInputStream:(GPBCodedInputStream *)input220 - (nullable instancetype)initWithData:(NSData *)data error:(NSError **)errorPtr;241 - (nullable instancetype)initWithData:(NSData *)data265 - (nullable instancetype)initWithCodedInputStream:(GPBCodedInputStream *)input
148 + (instancetype)157 - (instancetype)initWithClass:(Class)messageClass177 - (instancetype)initWithPackage:(NSString *)package180 - (instancetype)initWithPackage:(NSString *)package191 - (instancetype)initWithName:(const char *)name fields:(NSArray *)fields;207 - (instancetype)initWithFieldDescription:(void *)description215 + (instancetype)221 + (instancetype)229 - (instancetype)initWithName:(NSString *)name249 - (instancetype)initWithExtensionDescription:
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 …]
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 …]
5 +(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 …]
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 …]
7 + (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 {
8 +(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
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 …]
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 …]
4 - (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 …]
4 + (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 {
32 - (instancetype)initWithMetadata:(NSDictionary *)metadata handler:(void (^)(void))handler;34 - (instancetype)initWithMetadata:(NSDictionary *)metadata42 - (instancetype)initWithMessage:(NSData *)message49 - (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 *))handler76 - (instancetype)initWithHost:(NSString *)host
27 + (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;
26 + (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 {
2 + (instancetype)alloc;4 - (instancetype)init;8 + (instancetype)sharedInstance;10 - (instancetype)initWithFoo:(int)foo;17 + (instancetype)sharedInstance {26 - (instancetype)initWithFoo:(int)foo {
55 - (nonnull instancetype)init NS_UNAVAILABLE;58 - (instancetype)initWithURLStrings:(NSArray<NSString *> *)urlStrings;64 - (instancetype)initWithURLStrings:(NSArray<NSString *> *)urlStrings72 - (instancetype)initWithURLStrings:(NSArray<NSString *> *)urlStrings81 - (instancetype)initWithURLStrings:(NSArray<NSString *> *)urlStrings91 - (instancetype)initWithURLStrings:(NSArray<NSString *> *)urlStrings103 - (instancetype)initWithURLStrings:(NSArray<NSString *> *)urlStrings