Home
last modified time | relevance | path

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

12345678910

/external/protobuf/objectivec/
DGPBDictionary.h51 + (instancetype)dictionary;
52 + (instancetype)dictionaryWithValue:(uint32_t)value
54 + (instancetype)dictionaryWithValues:(const uint32_t [])values
57 + (instancetype)dictionaryWithDictionary:(GPBUInt32UInt32Dictionary *)dictionary;
58 + (instancetype)dictionaryWithCapacity:(NSUInteger)numItems;
60 - (instancetype)initWithValues:(const uint32_t [])values
63 - (instancetype)initWithDictionary:(GPBUInt32UInt32Dictionary *)dictionary;
64 - (instancetype)initWithCapacity:(NSUInteger)numItems;
86 + (instancetype)dictionary;
87 + (instancetype)dictionaryWithValue:(int32_t)value
[all …]
DGPBArray.h51 + (instancetype)array;
52 + (instancetype)arrayWithValue:(int32_t)value;
53 + (instancetype)arrayWithValueArray:(GPBInt32Array *)array;
54 + (instancetype)arrayWithCapacity:(NSUInteger)count;
56 - (instancetype)init NS_DESIGNATED_INITIALIZER;
58 - (instancetype)initWithValues:(const int32_t [])values
60 - (instancetype)initWithValueArray:(GPBInt32Array *)array;
61 - (instancetype)initWithCapacity:(NSUInteger)count;
91 + (instancetype)array;
92 + (instancetype)arrayWithValue:(uint32_t)value;
[all …]
DGPBMessage.h86 + (instancetype)message;
101 + (instancetype)parseFromData:(NSData *)data error:(NSError **)errorPtr;
117 + (instancetype)parseFromData:(NSData *)data
135 + (instancetype)parseFromCodedInputStream:(GPBCodedInputStream *)input
155 + (instancetype)parseDelimitedFromCodedInputStream:(GPBCodedInputStream *)input
171 - (instancetype)initWithData:(NSData *)data error:(NSError **)errorPtr;
185 - (instancetype)initWithData:(NSData *)data
202 - (instancetype)initWithCodedInputStream:(GPBCodedInputStream *)input
DGPBDictionary.m584 //%+ (instancetype)dictionary {
588 //%+ (instancetype)dictionaryWith##VNAME$u##:(VALUE_TYPE)##VNAME
597 //%+ (instancetype)dictionaryWith##VNAME$u##s:(const VALUE_TYPE [])##VNAME##s
607 //%+ (instancetype)dictionaryWithDictionary:(GPB##KEY_NAME##VALUE_NAME##Dictionary *)dictionary {
613 //%+ (instancetype)dictionaryWithCapacity:(NSUInteger)numItems {
617 //%- (instancetype)init {
621 //%- (instancetype)initWith##VNAME$u##s:(const VALUE_TYPE [])##VNAME##s
636 //%- (instancetype)initWithDictionary:(GPB##KEY_NAME##VALUE_NAME##Dictionary *)dictionary {
646 //%- (instancetype)initWithCapacity:(NSUInteger)numItems {
673 //%+ (instancetype)dictionary {
[all …]
DGPBDescriptor_PackagePrivate.h145 + (instancetype)
154 - (instancetype)initWithClass:(Class)messageClass
172 - (instancetype)initWithPackage:(NSString *)package
183 - (instancetype)initWithName:(const char *)name fields:(NSArray *)fields;
199 - (instancetype)initWithFieldDescription:(void *)description
207 + (instancetype)
213 + (instancetype)
221 - (instancetype)initWithName:(NSString *)name
241 - (instancetype)initWithExtensionDescription:
DGPBArray.m77 //%+ (instancetype)array {
81 //%+ (instancetype)arrayWithValue:(TYPE)value {
87 //%+ (instancetype)arrayWithValueArray:(GPB##NAME##Array *)array {
91 //%+ (instancetype)arrayWithCapacity:(NSUInteger)count {
95 //%- (instancetype)init {
101 //%- (instancetype)initWithValueArray:(GPB##NAME##Array *)array {
105 //%- (instancetype)initWithValues:(const TYPE [])values count:(NSUInteger)count {
125 //%- (instancetype)initWithCapacity:(NSUInteger)count {
133 //%- (instancetype)copyWithZone:(NSZone *)zone {
303 + (instancetype)array {
[all …]
DGPBWellKnownTypes.h42 - (instancetype)initWithDate:(NSDate *)date;
43 - (instancetype)initWithTimeIntervalSince1970:(NSTimeInterval)timeIntervalSince1970;
49 - (instancetype)initWithTimeIntervalSince1970:(NSTimeInterval)timeIntervalSince1970;
/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/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 …]
/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/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/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
DGRPCWrappedCall.m53 - (instancetype)init {
57 - (instancetype)initWithMetadata:(NSDictionary *)metadata handler:(void (^)(void))handler {
61 - (instancetype)initWithMetadata:(NSDictionary *)metadata
88 - (instancetype)init {
92 - (instancetype)initWithMessage:(NSData *)message handler:(void (^)(void))handler {
112 - (instancetype)init {
116 - (instancetype)initWithHandler:(void (^)(void))handler {
130 - (instancetype)init {
134 - (instancetype)initWithHandler:(void (^)(NSDictionary *))handler {
163 - (instancetype)init {
[all …]
DNSDictionary+GRPC.m26 + (instancetype)grpc_dataFromMetadataValue:(grpc_metadata *)metadata;
33 + (instancetype)grpc_dataFromMetadataValue:(grpc_metadata *)metadata {
47 + (instancetype)grpc_stringFromMetadataValue:(grpc_metadata *)metadata;
54 + (instancetype)grpc_stringFromMetadataValue:(grpc_metadata *)metadata {
69 + (instancetype)grpc_dictionaryFromMetadataArray:(grpc_metadata_array)array {
73 + (instancetype)grpc_dictionaryFromMetadata:(grpc_metadata *)entries count:(size_t)count {
DGRPCRequestHeaders.m66 - (instancetype)init {
70 - (instancetype)initWithCapacity:(NSUInteger)numItems {
74 - (instancetype)initWithCoder:(NSCoder *)aDecoder {
78 - (instancetype)initWithCall:(GRPCCall *)call {
83 - (instancetype)initWithCall:(GRPCCall *)call storage:(NSMutableDictionary *)storage {
92 - (instancetype)initWithObjects:(const id _Nonnull __unsafe_unretained *)objects
/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 {
DGRXWriteable.h49 + (instancetype)writeableWithSingleHandler:(GRXSingleHandler)handler;
50 + (instancetype)writeableWithEventHandler:(GRXEventHandler)handler;
52 - (instancetype)initWithValueHandler:(GRXValueHandler)valueHandler
/external/clang/test/Analysis/
Dnullability-no-arc.mm8 - (instancetype)autorelease;
53 - (instancetype _Nonnull)initWithNonnullReturnAndSelfCheckingIdiom {
62 - (instancetype _Nonnull)initWithNonnullReturnAndNilReturnViaLocal {
72 - (instancetype _Nonnull)initWithPreconditionViolation:(int)p {
81 + (instancetype _Nonnull)factoryCallingInitWithNonnullReturnAndSelfCheckingIdiom {
85 + (instancetype _Nonnull)factoryCallingInitWithNonnullReturnAndNilReturnViaLocal {
89 + (instancetype _Nonnull)initWithPreconditionViolation:(int) p {
/external/clang/test/ARCMT/designated-init-in-header/
Dheader1.h.result6 -(instancetype)init;
11 +(instancetype)s1;
12 -(instancetype)initWithFoo:(NSString*)foo NS_DESIGNATED_INITIALIZER;
/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

12345678910