HomeSort by relevance Sort by last modified time
    Searched full:obj_p (Results 1 - 11 of 11) sorted by null

  /external/clang/test/SemaObjC/
comptypes-4.m 11 MyClass <MyProtocol> *obj_p;
14 obj_cp = obj_p;
15 obj_p = obj_cp; // expected-warning {{incompatible pointer types assigning to 'MyClass<MyProtocol> *' from 'MyClass *'}}
17 if (obj_cp == obj_p)
20 if (obj_p == obj_cp)
comptypes-8.m 6 id<MyProtocol> obj_p = 0;
10 obj_p = 0;
comptypes-2.m 16 id<MyProtocol> obj_p = nil;
22 obj = (id)obj_p;
26 obj_c = (MyClass *)obj_p;
28 obj_p = (id<MyProtocol>)obj;
29 obj_p = (id<MyProtocol>)obj_c;
30 obj_p = (id<MyProtocol>)obj_C;
32 obj_C = (Class)obj_p;
comptypes-1.m 22 id<MyProtocol> obj_p = nil;
29 obj = obj_p; /* Ok */
44 obj_p = obj; /* Ok */
45 obj_p = obj_c; // expected-warning {{assigning to 'id<MyProtocol>' from incompatible type 'MyClass *'}}
46 obj_p = obj_cp; /* Ok */
47 obj_p = obj_C; // expected-warning {{incompatible pointer types assigning to 'id<MyProtocol>' from 'Class'}}
54 obj_cp = obj_p; /* Ok */
58 if (obj == obj_p) foo() ; /* Ok */ /*Bogus warning here in 2.95.4*/
59 if (obj_p == obj) foo() ; /* Ok */
69 if (obj_p == obj_c) foo() ; // expected-warning {{comparison of distinct pointer types ('id<MyProtocol>' and (…)
    [all...]
comptypes-7.m 18 id <MyProtocol> obj_p = nil;
30 obj_p = i; // expected-warning {{incompatible integer to pointer conversion assigning to 'id<MyProtocol>' from 'int'}}
31 obj_p = j; // expected-warning {{incompatible pointer types assigning to 'id<MyProtocol>' from 'int *'}}
40 i = obj_p; // expected-warning {{incompatible pointer to integer conversion assigning to 'int' from 'id<MyProtocol>'}}
45 j = obj_p; // expected-warning {{incompatible pointer types assigning to 'int *' from 'id<MyProtocol>'}}
59 if (obj_p == i) foo() ; // expected-warning {{comparison between pointer and integer ('id<MyProtocol>' and 'int')}}
60 if (i == obj_p) foo() ; // expected-warning {{comparison between pointer and integer ('int' and 'id<MyProtocol>')}}
61 if (obj_p == j) foo() ; // expected-warning {{comparison of distinct pointer types ('id<MyProtocol>' and 'int *')}}
62 if (j == obj_p) foo() ; // expected-warning {{comparison of distinct pointer types ('int *' and 'id<MyProtocol>')}}
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/rpcsvc/
nis_callback.h 38 typedef nis_object *obj_p; typedef
43 obj_p *entries_val;
66 extern bool_t xdr_obj_p (XDR *, obj_p*) __THROW;
nis_callback.x 53 typedef nis_object *obj_p;
56 obj_p entries<>; /* List of objects */
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/rpcsvc/
nis_callback.h 38 typedef nis_object *obj_p; typedef
43 obj_p *entries_val;
66 extern bool_t xdr_obj_p (XDR *, obj_p*) __THROW;
nis_callback.x 53 typedef nis_object *obj_p;
56 obj_p entries<>; /* List of objects */
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/rpcsvc/
nis_callback.h 38 typedef nis_object *obj_p; typedef
43 obj_p *entries_val;
66 extern bool_t xdr_obj_p (XDR *, obj_p*) __THROW;
nis_callback.x 53 typedef nis_object *obj_p;
56 obj_p entries<>; /* List of objects */

Completed in 613 milliseconds