/haiku-buildtools/gcc/gcc/testsuite/objc.dg/ |
H A D | id-1.m | 1 /* Test attempt to redefine 'id' in an incompatible fashion. */ 4 typedef int id; /* { dg-error "conflicting types for .id." } */ 5 /* { dg-message "previous declaration of .id. was here" "" { target *-*-* } 0 } */ 7 id b;
|
H A D | dwarf-1.m | 2 /* { dg-final { scan-assembler "\"id.0\".*DW_AT_name" } } */ 5 id x;
|
H A D | exceptions-6.m | 9 void test (id object) 14 @throw (id)0 17 void test2 (id object) 25 void test3 (id object1, id object2)
|
H A D | proto-hier-2.m | 5 typedef struct objc_object { struct objc_class *class_pointer; } *id; 10 id <Bar> Foo_Bar () { } 19 id _mainData; 23 -(id) mainDataSource; 24 -(id) anotherDataSource; 25 -(id) my_method: (int) i; 29 -(id) anotherDataSource 31 return (id)_anotherData; 34 -(id) mainDataSource 39 -(id) my_metho [all...] |
H A D | fwd-proto-1.m | 6 typedef struct objc_object { struct objc_class *class_pointer; } *id; 12 - (id <Bar>)someMethod; 13 - (id <Baz>)anotherMethod; /* { dg-error "annot find protocol declaration" } */ 17 - (id <Foo>)someOtherMethod; 18 - (id <Baz>)anotherMethod; /* { dg-error "annot find protocol declaration" } */ 19 - (id <Boo>)yetAnotherMethod;
|
H A D | method-conflict-2.m | 14 + (void) method1: (id)x; /* { dg-message "previous declaration" } */ 15 - (id) method2: (long)x; /* { dg-message "previous declaration" } */ 18 + (void) method1: (id)x; /* { dg-error "declared .@optional. and .@required. at the same time" } */ 19 - (id) method2: (long)x; /* { dg-error "declared .@optional. and .@required. at the same time" } */ 28 - (id *) method4: (long)x; /* { dg-message "previous declaration" } */ 32 - (id *) method4: (long)x; /* { dg-error "declared .@optional. and .@required. at the same time" } */
|
/haiku-buildtools/gcc/gcc/testsuite/obj-c++.dg/strings/ |
H A D | strings-1.mm | 10 id test_valid1 = @"test"; 11 id test_valid2 = @"te" @"st"; 12 id test_valid3 = @"te" @"s" @"t"; 13 id test_valid4 = @ "t" @ "e" @ "s" @ "t"; 17 id test_valid5 = @"te" "st"; 18 id test_valid6 = @"te" "s" @"t"; 19 id test_valid7 = @"te" @"s" "t"; 22 id test_invalid1 = @@"test"; /* { dg-error "stray .@. in program" } */ 26 id test_invalid5 = @"te" @@"st"; /* { dg-error "repeated .@. before Objective-C string" } */ 27 id test_invalid [all...] |
/haiku-buildtools/gcc/gcc/testsuite/objc.dg/strings/ |
H A D | strings-1.m | 10 id test_valid1 = @"test"; 11 id test_valid2 = @"te" @"st"; 12 id test_valid3 = @"te" @"s" @"t"; 13 id test_valid4 = @ "t" @ "e" @ "s" @ "t"; 17 id test_valid5 = @"te" "st"; 18 id test_valid6 = @"te" "s" @"t"; 19 id test_valid7 = @"te" @"s" "t"; 22 id test_invalid1 = @@"test"; /* { dg-error "stray .@. in program" } */ 26 id test_invalid5 = @"te" @@"st"; /* { dg-error "repeated .@. before Objective-C string" } */ 27 id test_invalid [all...] |
/haiku-buildtools/gcc/gcc/testsuite/obj-c++.dg/attributes/ |
H A D | unused-parameter-1.mm | 9 - (id) method1: (id) argument1; 10 - (id) method2: (id) __attribute__((unused)) argument1; 11 - (id) method3: (id) __attribute__((unused)) argument1 12 andArgument: (id) argument2; 13 - (id) method4: (id) __attribute__((unused)) argument1 14 andArgument: (id) __attribute_ [all...] |
H A D | parameter-attribute-1.mm | 11 - (id) method1: (id) argument1; 12 - (id) method2: (id) __attribute__((unused)) argument1; 13 - (id) method3: (id) __attribute__((unused)) argument1 14 andArgument: (id) argument2; 15 - (id) method4: (id) __attribute__((unused)) argument1 16 andArgument: (id) __attribute_ [all...] |
H A D | parameter-attribute-2.mm | 12 + (id) method1: (id) __attribute__ ((xxxxx)) argument1; 13 + (id) method2: (id) __attribute__ ((noinline)) argument1; 17 + (id) method1: (id) __attribute__ ((xxxxx)) argument1 /* { dg-warning ".xxxxx. attribute directive ignored" } */ 21 + (id) method2: (id) __attribute__ ((noinline)) argument1 /* { dg-warning ".noinline. attribute ignored" } */
|
/haiku-buildtools/legacy/gcc/libobjc/ |
H A D | nil_method.c | 32 id 33 nil_method(id receiver, SEL op, ...)
|
H A D | objects.c | 35 id __objc_object_alloc(Class); 36 id __objc_object_dispose(id); 37 id __objc_object_copy(id); 39 id (*_objc_object_alloc)(Class) = __objc_object_alloc; /* !T:SINGLE */ 40 id (*_objc_object_dispose)(id) = __objc_object_dispose; /* !T:SINGLE */ 41 id (*_objc_object_copy)(id) [all...] |
/haiku-buildtools/gcc/gcc/testsuite/obj-c++.dg/ |
H A D | try-catch-6.mm | 10 @catch (id foo) {
|
H A D | exceptions-6.mm | 9 void test (id object) 14 @throw (id)0 17 void test2 (id object) 25 void test3 (id object1, id object2)
|
H A D | method-conflict-2.mm | 14 + (void) method1: (id)x; /* { dg-message "previous declaration" } */ 15 - (id) method2: (long)x; /* { dg-message "previous declaration" } */ 18 + (void) method1: (id)x; /* { dg-error "declared .@optional. and .@required. at the same time" } */ 19 - (id) method2: (long)x; /* { dg-error "declared .@optional. and .@required. at the same time" } */ 28 - (id *) method4: (long)x; /* { dg-message "previous declaration" } */ 32 - (id *) method4: (long)x; /* { dg-error "declared .@optional. and .@required. at the same time" } */
|
/haiku-buildtools/gcc/gcc/testsuite/objc.dg/attributes/ |
H A D | parameter-attribute-1.m | 11 - (id) method1: (id) argument1; 12 - (id) method2: (id) __attribute__((unused)) argument1; 13 - (id) method3: (id) __attribute__((unused)) argument1 14 andArgument: (id) argument2; 15 - (id) method4: (id) __attribute__((unused)) argument1 16 andArgument: (id) __attribute_ [all...] |
H A D | parameter-attribute-2.m | 12 + (id) method1: (id) __attribute__ ((xxxxx)) argument1; 13 + (id) method2: (id) __attribute__ ((noinline)) argument1; 17 + (id) method1: (id) __attribute__ ((xxxxx)) argument1 21 + (id) method2: (id) __attribute__ ((noinline)) argument1
|
/haiku-buildtools/isl/ |
H A D | isl_id.c | 15 #define BASE id 30 isl_ctx *isl_id_get_ctx(__isl_keep isl_id *id) argument 32 return id ? id->ctx : NULL; 35 void *isl_id_get_user(__isl_keep isl_id *id) argument 37 return id ? id->user : NULL; 40 const char *isl_id_get_name(__isl_keep isl_id *id) argument 42 return id ? id 48 isl_id *id; local 81 isl_id *id = (isl_id *)entry; local 118 isl_id_copy(isl_id *id) argument 135 isl_hash_id(uint32_t hash, __isl_keep isl_id *id) argument 145 isl_id_set_free_user(__isl_take isl_id *id, __isl_give void (*free_user)(void *user)) argument 159 isl_id_free(__isl_take isl_id *id) argument 190 isl_printer_print_id(__isl_take isl_printer *p, __isl_keep isl_id *id) argument [all...] |
/haiku-buildtools/gcc/gcc/testsuite/g++.old-deja/g++.law/ |
H A D | parsing4.C | 10 int test2(int id,void (**orc)(int,int)); // works
|
/haiku-buildtools/gcc/gcc/testsuite/obj-c++.dg/property/ |
H A D | at-property-5.mm | 9 id property_a; 13 id property_e; 14 id property_f; 15 id property_g; 16 id property_h; 20 @property id property_a; /* { dg-warning "object property .property.a. has no .assign., .retain. or .copy. attribute" } */ 26 @property (retain) id property_e; 27 @property (retain) id property_f; 28 @property (retain) id property_g; 29 @property (retain) id property_ [all...] |
/haiku-buildtools/gcc/gcc/testsuite/objc.dg/property/ |
H A D | at-property-5.m | 9 id property_a; 13 id property_e; 14 id property_f; 15 id property_g; 16 id property_h; 20 @property id property_a; /* { dg-warning "object property .property.a. has no .assign., .retain. or .copy. attribute" } */ 26 @property (retain) id property_e; 27 @property (retain) id property_f; 28 @property (retain) id property_g; 29 @property (retain) id property_ [all...] |
/haiku-buildtools/gcc/gcc/testsuite/gfortran.dg/ |
H A D | associated_target_4.f90 | 12 integer::id component in type:node_type 18 root%id=1 19 root%child%id=2 20 print *,root%child%id," is child of ",root%id,":" 21 print *,root%child%parent%id,root%id
|
/haiku-buildtools/gcc/gcc/testsuite/objc-obj-c++-shared/ |
H A D | TestsuiteObject.h | 32 + (id) initialize; 35 + (id) new; 36 + (id) alloc; 37 - (id) init; 38 - (id) free;
|
/haiku-buildtools/gcc/libgomp/testsuite/libgomp.fortran/ |
H A D | stack.f90 | 4 integer id variable in program:stack 8 !$omp parallel private (id) 9 id = omp_get_thread_num() + 1 10 ilocs(id) = foo()
|