| /minix3/external/bsd/llvm/dist/clang/test/SemaObjC/ |
| H A D | attr-availability.m | 8 - (void)method __attribute__((availability(macosx,introduced=10.1,deprecated=10.2))); // expected-n… 10 …_attribute__((availability(macosx,introduced=10.3))); // expected-note{{overridden method is here}} 13 …_attribute__((availability(macosx,deprecated=10.3))); // expected-note{{overridden method is here}} 15 …_attribute__((availability(macosx,introduced=10.3))); // expected-note{{overridden method is here}} 20 - (void)method; // NOTE: we expect 'method' to *not* inherit availability. method 21 …osx,introduced=10.4))); // expected-warning{{overriding method introduced after overridden method … 24 …sx,deprecated=10.2))); // expected-warning{{overriding method deprecated before overridden method … 26 …vailable))); // expected-warning{{overriding method cannot be unavailable on OS X when its overrid… 30 [a method]; // expected-warning{{'method' is deprecated: first deprecated in OS X 10.2}} 31 [b method]; // no-warning [all …]
|
| H A D | DoubleMethod.m | 1 // RUN: %clang_cc1 -Wduplicate-method-match -fsyntax-only -verify -Wno-objc-root-class %s 8 - (void) method; // expected-note {{previous declaration is here}} method 9 - (void) method; // expected-warning {{multiple declarations of method 'method' found and ignored}} method 13 - (void) method {;} // expected-note {{previous declaration is here}} method 14 - (void) method {;} // expected-error {{duplicate declaration of method 'method'}} method
|
| H A D | attr-availability-1.m | 11 - (void)method __attribute__((availability(macosx,introduced=10_1,deprecated=10_2))); // expected-n… 13 …_attribute__((availability(macosx,introduced=10_3))); // expected-note{{overridden method is here}} 16 …_attribute__((availability(macosx,deprecated=10_3))); // expected-note{{overridden method is here}} 18 …_attribute__((availability(macosx,introduced=10_3))); // expected-note{{overridden method is here}} 23 - (void)method; // NOTE: we expect 'method' to *not* inherit availability. method 24 …osx,introduced=10_4))); // expected-warning{{overriding method introduced after overridden method … 27 …sx,deprecated=10_2))); // expected-warning{{overriding method deprecated before overridden method … 29 …vailable))); // expected-warning{{overriding method cannot be unavailable on OS X when its overrid… 33 [a method]; // expected-warning{{'method' is deprecated: first deprecated in OS X 10.2}} 34 [b method]; // no-warning [all …]
|
| H A D | method-undefined-warn-1.m | 6 - (int) int_meth; // expected-note {{method 'int_meth' declared here}} 7 + (int) cls_meth; // expected-note {{method 'cls_meth' declared here}} 8 + (void) cls_meth1 : (int) arg1; // expected-note {{method 'cls_meth1:' declared here}} 11 @implementation INTF // expected-warning {{method definition for 'int_meth' not found}} \ 12 // expected-warning {{method definition for 'cls_meth' not found}} \ 13 // expected-warning {{method definition for 'cls_meth1:' not found}} 22 - (int) int_meth; // expected-note {{method 'int_meth' declared here}} 23 + (int) cls_meth; // expected-note {{method 'cls_meth' declared here}} 24 + (void) cls_meth1 : (int) arg1; // expected-note {{method 'cls_meth1:' declared here}} 27 @implementation INTF1 // expected-warning {{method definition for 'int_meth' not found}} \ [all …]
|
| H A D | warn-superclass-method-mismatch.m | 1 // RUN: %clang_cc1 -fsyntax-only -Wsuper-class-method-mismatch -verify %s 10 -(void) method: (int*) x; // expected-note {{previous declaration is here}} 24 -(void) method: (struct A*) a; // expected-warning {{method parameter type 'struct A *' does not ma… 25 …id) method1: (Sub*) x; // expected-warning {{method parameter type 'Sub *' does not match super cl… 27 …(Sub *)x2 : (float)x3; // expected-warning {{method parameter type 'Sub *' does not match super cl… 29 …(float*)f1 : (Sub*) x; // expected-warning {{method parameter type 'Sub *' does not match super cl… 30 …: (int) x : (float) d; // expected-warning {{method parameter type 'float' does not match super cl… 31 …(int) x : (double) d; // expected-warning {{method parameter type 'double' does not match super cl… 36 …[base method:&x]; // warn. if base is actually 'Sub' it will use -[Sub method] with wrong argumen…
|
| H A D | undef-protocol-methods-1.m | 4 - (void) P1proto; // expected-note {{method 'P1proto' declared here}} 5 + (void) ClsP1Proto; // expected-note {{method 'ClsP1Proto' declared here}} 9 - (void) P2proto; // expected-note {{method 'P2proto' declared here}} 10 + (void) ClsP2Proto; // expected-note {{method 'ClsP2Proto' declared here}} 14 - (void) P3proto; // expected-note {{method 'P3proto' declared here}} 15 + (void) ClsP3Proto; // expected-note {{method 'ClsP3Proto' declared here}} 20 - (void) meth; // expected-note {{method 'meth' declared here}} 21 - (void) meth : (int) arg1; // expected-note {{method 'meth:' declared here}} 22 + (void) cls_meth : (int) arg1; // expected-note {{method 'cls_meth:' declared here}}
|
| H A D | unknown-anytype.m | 19 double *dp = [test1() getSomePtr]; // okay: picks first method found 20 …UnknownMethod]; // expected-error{{no known method '-otherUnknownMethod'; cast the message send to… 22 …UnknownMethod]; // expected-error{{no known method '-otherUnknownMethod'; cast the message send to… 25 …knownMethod]) { // expected-error{{no known method '-otherUnknownMethod'; cast the message send to… 27 …knownMethod]) { // expected-error{{no known method '-otherUnknownMethod'; cast the message send to…
|
| H A D | selector-overload.m | 15 - method:(int)a; 16 - method:(int)a; 22 - method:(void *)a; 28 - method:(struct D)a; 34 - method:(float)a; 40 - method:(float)a; 47 [xx method:4];
|
| H A D | class-property-access.m | 21 -(int)method; method 31 (void)RootClass.method; 32 (void)Subclass.method; 36 RootClass.method = 3; 37 Subclass.method = 4; 46 [RootClass method]; 47 [Subclass method];
|
| H A D | error-missing-getter.m | 12 if (x.setterOnly) { // expected-error {{no getter method for read from property}} 15 func(x.setterOnly + 1, x); // expected-error {{no getter method for read from property}} 16 int i = x.setterOnly + 1; // expected-error {{no getter method for read from property}} 17 return x.setterOnly + 1; // expected-error {{no getter method for read from property}} 27 if (TestClass.setterOnly) { // expected-error {{no getter method for read from property}} 30 … func(TestClass.setterOnly + 1, x); // expected-error {{no getter method for read from property}} \ 32 int i = TestClass.setterOnly + 1; // expected-error {{no getter method for read from property}} 33 return TestClass.setterOnly + 1; // expected-error {{no getter method for read from property}} 41 return super.setterOnly; // expected-error {{no getter method for read from property}}
|
| H A D | related-result-type-inference.m | 11 - (id)retain; // expected-note{{instance method 'retain' is assumed to return an instance of its r… 49 // Inference based on method family 85 - (id)initBlah; // expected-note 2{{overridden method is part of the 'init' method family}} 89 - (Unrelated *)initBlah; // expected-warning{{method is expected to return an instance of its class… 96 - (Unrelated *)initBlah { // expected-warning{{method is expected to return an instance of its cla… 102 + (id)newBlarg; // expected-note{{overridden method is part of the 'new' method family}} 106 + alloc; // expected-note{{overridden method is part of the 'alloc' method family}} 110 + (Unrelated *)newBlarg { // expected-warning{{method is expected to return an instance of its clas… 114 + (Unrelated *)alloc { // expected-warning{{method is expected to return an instance of its class t… 120 - (id)initBlah; // expected-note{{overridden method is part of the 'init' method family}} [all …]
|
| H A D | method-undef-category-warn-1.m | 7 - (void) Pmeth; // expected-note {{method 'Pmeth' declared here}} 8 - (void) Pmeth1; // expected-note {{method 'Pmeth1' declared here}} 12 - (void) meth2; // expected-note {{method 'meth2' declared here}} 15 @implementation MyClass1(CAT) // expected-warning {{method 'Pmeth' in protocol 'P' not implemented}… 16 // expected-warning {{method definition for 'meth2' not found}} 21 - (void)ppp; // expected-note {{method 'ppp' declared here}} 24 @implementation MyClass1(DOG) // expected-warning {{method 'Pmeth1' in protocol 'P' not implemented… 25 // expected-warning {{method definition for 'ppp' not found}} 56 // Don't warn when a category does not implemented a method imported
|
| H A D | class-message-protocol-lookup.m | 16 - (id)alloc2; // expected-note 2 {{method 'alloc2' declared here}} 21 …Class<TestProtocol> c = [c alloc]; // expected-warning {{class method '+alloc' not found (return … 22 …ol> c1 = [c1 alloc2]; // expected-warning {{instance method 'alloc2' found instead of class metho… 30 …Class<TestProtocol> c = [c alloc]; // expected-warning {{class method '+alloc' not found (return … 31 …ol> c1 = [c1 alloc2]; // expected-warning {{instance method 'alloc2' found instead of class metho…
|
| /minix3/external/bsd/llvm/dist/clang/test/SemaCUDA/ |
| H A D | method-target.cu | 9 void method() {} in method() function 13 s.method(); // expected-error {{reference to __host__ function 'method' in __device__ function}} in foo1() 20 …void method(int) {} // expected-note {{candidate function not viable: call to __host__ function fr… in method() function 21 …void method(float) {} // expected-note {{candidate function not viable: call to __host__ function … in method() function 25 s.method(f); // expected-error {{no matching member function}} in foo2() 32 __device__ void method() {} in method() function 36 s.method(); // expected-error {{reference to __device__ function 'method' in __host__ function}} in foo3() 43 __device__ void method() {} in method() function 47 …s.method(); // expected-error {{reference to __device__ function 'method' in __host__ __device__ f… in foo4() 66 void method() {} in method() function [all …]
|
| /minix3/external/bsd/bind/dist/bin/named/ |
| H A D | geoip.c | 37 GeoIPOptions method, const char *name) in init_geoip_db() argument 62 db = GeoIP_open_type(edition, method); in init_geoip_db() 82 init_geoip_db(dbp, fallback, 0, method, name); in init_geoip_db() 106 GeoIPOptions method; in ns_geoip_load() 109 method = GEOIP_STANDARD; in ns_geoip_load() 111 method = GEOIP_MMAP_CACHE; in ns_geoip_load() 123 method, "Country (IPv4)"); in ns_geoip_load() 126 method, "Country (IPv6)"); in ns_geoip_load() 130 GEOIP_CITY_EDITION_REV0, method, "City (IPv4)"); in ns_geoip_load() 133 GEOIP_CITY_EDITION_REV0_V6, method, "City (IPv6)"); in ns_geoip_load() [all …]
|
| /minix3/external/bsd/llvm/dist/clang/test/SemaObjCXX/ |
| H A D | message.mm | 3 - (int*)method; method 7 - (int*)method { method 9 [x method]; // expected-error{{receiver type 'x' is not an Objective-C class}} 19 - (int*)method; method 20 + (void)method; class 32 - (int*)method { method 33 [ivar method]; 36 [I2_holder().get() method]; 37 [I2_holder().get() + 17 method]; 40 + (void)method { class [all …]
|
| H A D | ivar-lookup.mm | 4 - (float*)method; method 10 - (int*)method; method 14 - (int*)method { method 15 int *ip = [Ivar method]; // Okay; calls A's method on the instance variable Ivar. 16 // Note that Objective-C calls Ivar's method.
|
| /minix3/crypto/external/bsd/openssl/dist/crypto/x509v3/ |
| H A D | v3_prn.c | 124 const X509V3_EXT_METHOD *method; in X509V3_EXT_print() local 128 if (!(method = X509V3_EXT_get(ext))) in X509V3_EXT_print() 131 if (method->it) in X509V3_EXT_print() 134 ASN1_ITEM_ptr(method->it)); in X509V3_EXT_print() 136 ext_str = method->d2i(NULL, &p, ext->value->length); in X509V3_EXT_print() 141 if (method->i2s) { in X509V3_EXT_print() 142 if (!(value = method->i2s(method, ext_str))) { in X509V3_EXT_print() 161 } else if (method->i2v) { in X509V3_EXT_print() 162 if (!(nval = method->i2v(method, ext_str, NULL))) { in X509V3_EXT_print() 167 method->ext_flags & X509V3_EXT_MULTILINE); in X509V3_EXT_print() [all …]
|
| H A D | v3_ocsp.c | 73 static int i2r_ocsp_crlid(const X509V3_EXT_METHOD *method, void *nonce, 75 static int i2r_ocsp_acutoff(const X509V3_EXT_METHOD *method, void *nonce, 77 static int i2r_object(const X509V3_EXT_METHOD *method, void *obj, BIO *out, 84 static int i2r_ocsp_nonce(const X509V3_EXT_METHOD *method, void *nonce, 87 static int i2r_ocsp_nocheck(const X509V3_EXT_METHOD *method, 89 static void *s2i_ocsp_nocheck(const X509V3_EXT_METHOD *method, 91 static int i2r_ocsp_serviceloc(const X509V3_EXT_METHOD *method, void *in, 160 static int i2r_ocsp_crlid(const X509V3_EXT_METHOD *method, void *in, BIO *bp, in i2r_ocsp_crlid() argument 193 static int i2r_ocsp_acutoff(const X509V3_EXT_METHOD *method, void *cutoff, in i2r_ocsp_acutoff() argument 203 static int i2r_object(const X509V3_EXT_METHOD *method, void *oid, BIO *bp, in i2r_object() argument [all …]
|
| H A D | v3_info.c | 68 *method, AUTHORITY_INFO_ACCESS 72 *method, 98 ASN1_SIMPLE(ACCESS_DESCRIPTION, method, ASN1_OBJECT), 111 *method, AUTHORITY_INFO_ACCESS 121 ret = i2v_GENERAL_NAME(method, desc->location, ret); 125 i2t_ASN1_OBJECT(objtmp, sizeof objtmp, desc->method); 146 *method, in v2i_AUTHORITY_INFO_ACCESS() argument 177 if (!v2i_GENERAL_NAME_ex(acc->location, method, ctx, &ctmp, 0)) in v2i_AUTHORITY_INFO_ACCESS() 186 acc->method = OBJ_txt2obj(objtmp, 0); in v2i_AUTHORITY_INFO_ACCESS() 187 if (!acc->method) { in v2i_AUTHORITY_INFO_ACCESS() [all …]
|
| /minix3/crypto/external/bsd/openssl/dist/crypto/bio/ |
| H A D | bio_lib.c | 66 BIO *BIO_new(BIO_METHOD *method) in BIO_new() argument 75 if (!BIO_set(ret, method)) { in BIO_new() 82 int BIO_set(BIO *bio, BIO_METHOD *method) in BIO_set() argument 84 bio->method = method; in BIO_set() 99 if (method->create != NULL) in BIO_set() 100 if (!method->create(bio)) { in BIO_set() 132 if ((a->method != NULL) && (a->method->destroy != NULL)) in BIO_free() 133 a->method->destroy(a); in BIO_free() 182 return b->method->name; in BIO_method_name() 187 return b->method->type; in BIO_method_type() [all …]
|
| H A D | bio_cb.c | 86 BIO_snprintf(p, p_maxlen, "Free - %s\n", bio->method->name); in BIO_debug_callback() 89 if (bio->method->type & BIO_TYPE_DESCRIPTOR) in BIO_debug_callback() 92 bio->method->name, bio->num); in BIO_debug_callback() 95 bio->num, (unsigned long)argi, bio->method->name); in BIO_debug_callback() 98 if (bio->method->type & BIO_TYPE_DESCRIPTOR) in BIO_debug_callback() 101 bio->method->name, bio->num); in BIO_debug_callback() 104 bio->num, (unsigned long)argi, bio->method->name); in BIO_debug_callback() 107 BIO_snprintf(p, p_maxlen, "puts() - %s\n", bio->method->name); in BIO_debug_callback() 111 bio->method->name); in BIO_debug_callback() 115 bio->method->name); in BIO_debug_callback()
|
| /minix3/crypto/external/bsd/openssl/dist/crypto/ui/ |
| H A D | ui.h | 86 UI *UI_new_method(const UI_METHOD *method); 323 int UI_method_set_opener(UI_METHOD *method, int (*opener) (UI *ui)); 324 int UI_method_set_writer(UI_METHOD *method, 326 int UI_method_set_flusher(UI_METHOD *method, int (*flusher) (UI *ui)); 327 int UI_method_set_reader(UI_METHOD *method, 329 int UI_method_set_closer(UI_METHOD *method, int (*closer) (UI *ui)); 330 int UI_method_set_prompt_constructor(UI_METHOD *method, 336 int (*UI_method_get_opener(UI_METHOD *method)) (UI *); 337 int (*UI_method_get_writer(UI_METHOD *method)) (UI *, UI_STRING *); 338 int (*UI_method_get_flusher(UI_METHOD *method)) (UI *); [all …]
|
| H A D | ui_lib.c | 77 UI *UI_new_method(const UI_METHOD *method) in UI_new_method() argument 86 if (method == NULL) in UI_new_method() 89 ret->meth = method; in UI_new_method() 611 int UI_method_set_opener(UI_METHOD *method, int (*opener) (UI *ui)) in UI_method_set_opener() argument 613 if (method) { in UI_method_set_opener() 614 method->ui_open_session = opener; in UI_method_set_opener() 620 int UI_method_set_writer(UI_METHOD *method, in UI_method_set_writer() argument 623 if (method) { in UI_method_set_writer() 624 method->ui_write_string = writer; in UI_method_set_writer() 630 int UI_method_set_flusher(UI_METHOD *method, int (*flusher) (UI *ui)) in UI_method_set_flusher() argument [all …]
|
| /minix3/external/bsd/llvm/dist/clang/test/FixIt/ |
| H A D | fixit-missing-method-return-type.m | 3 // RUN: %clang_cc1 -Wmissing-method-return-type -fixit -x objective-c -Wno-objc-root-class %t 4 // RUN: %clang_cc1 -fsyntax-only -pedantic -Wmissing-method-return-type -Werror -x objective-c -Wno… 8 // RUN: %clang_cc1 -Wmissing-method-return-type -fixit -x objective-c++ -Wno-objc-root-class %t 9 // RUN: %clang_cc1 -fsyntax-only -pedantic -Wmissing-method-return-type -Werror -x objective-c++ -W… 13 …itWithFoo:(id)foo; // expected-warning {{method has no return type specified; defaults to 'id' [-W… 19 …)foo { return 0; } // expected-warning {{method has no return type specified; defaults to 'id' [-W…
|