Searched refs:id (Results 1 - 25 of 993) sorted by relevance

1234567891011>>

/haiku-buildtools/gcc/gcc/testsuite/objc.dg/
H A Did-1.m1 /* 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 Ddwarf-1.m2 /* { dg-final { scan-assembler "\"id.0\".*DW_AT_name" } } */
5 id x;
H A Dexceptions-6.m9 void test (id object)
14 @throw (id)0
17 void test2 (id object)
25 void test3 (id object1, id object2)
H A Dproto-hier-2.m5 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 Dfwd-proto-1.m6 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 Dmethod-conflict-2.m14 + (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 Dstrings-1.mm10 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 Dstrings-1.m10 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 Dunused-parameter-1.mm9 - (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 Dparameter-attribute-1.mm11 - (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 Dparameter-attribute-2.mm12 + (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 Dnil_method.c32 id
33 nil_method(id receiver, SEL op, ...)
H A Dobjects.c35 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 Dtry-catch-6.mm10 @catch (id foo) {
H A Dexceptions-6.mm9 void test (id object)
14 @throw (id)0
17 void test2 (id object)
25 void test3 (id object1, id object2)
H A Dmethod-conflict-2.mm14 + (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 Dparameter-attribute-1.m11 - (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 Dparameter-attribute-2.m12 + (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 Disl_id.c15 #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 Dparsing4.C10 int test2(int id,void (**orc)(int,int)); // works
/haiku-buildtools/gcc/gcc/testsuite/obj-c++.dg/property/
H A Dat-property-5.mm9 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 Dat-property-5.m9 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 Dassociated_target_4.f9012 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 DTestsuiteObject.h32 + (id) initialize;
35 + (id) new;
36 + (id) alloc;
37 - (id) init;
38 - (id) free;
/haiku-buildtools/gcc/libgomp/testsuite/libgomp.fortran/
H A Dstack.f904 integer id variable in program:stack
8 !$omp parallel private (id)
9 id = omp_get_thread_num() + 1
10 ilocs(id) = foo()

Completed in 205 milliseconds

1234567891011>>