Home
last modified time | relevance | path

Searched refs:typeof (Results 1 – 25 of 32) sorted by relevance

12

/illumos-gate/usr/src/tools/smatch/src/validation/
H A Dtypeof-mods.c9 typeof(obj) var = obj; in test_spec()
10 typeof(ptr) ptr2 = ptr; in test_spec()
11 typeof(*ptr) var2 = obj; in test_spec()
12 typeof(*ptr) *ptr3 = ptr; in test_spec()
13 typeof(obj) *ptr4 = ptr; in test_spec()
23 typeof(obj) var = obj; in test_const()
24 typeof(ptr) ptr2 = ptr; in test_const()
25 typeof(*ptr) var2 = obj; in test_const()
35 typeof(obj) var = obj; in test_volatile()
36 typeof(ptr) ptr2 = ptr; in test_volatile()
[all …]
H A Denum-same-type.c8 _Static_assert([typeof(NIL)] == [typeof(NEG)], "enum same type");
9 _Static_assert([typeof(ONE)] == [typeof(NEG)], "enum same type");
10 _Static_assert([typeof(DUO)] == [typeof(NEG)], "enum same type");
H A Dtypeof-safe.c6 typeof(obj) var = obj; in test_safe()
7 typeof(ptr) ptr2 = ptr; in test_safe()
8 typeof(*ptr) var2 = obj; in test_safe()
9 typeof(*ptr) *ptr3 = ptr; in test_safe()
10 typeof(obj) *ptr4 = ptr; in test_safe()
H A Dtypeof-addresspace.c6 typeof(obj) var = obj; in test_as()
7 typeof(ptr) ptr2 = ptr; in test_as()
8 typeof(*ptr) var2 = obj; in test_as()
9 typeof(*ptr) *ptr3 = ptr; /* check-should-pass */ in test_as()
10 typeof(obj) *ptr4 = ptr; /* check-should-pass */ in test_as()
H A Denum-bounds.c4 _Static_assert([typeof(IMAX)] == [int], "");
9 _Static_assert([typeof(IMP1)] == [unsigned int], "");
14 _Static_assert([typeof(IMM1)] == [int], "");
19 _Static_assert([typeof(IMM2)] == [long], "");
H A Dtype-compare.c19 if ([typeof(int)] != [int]) return 1; in test()
20 if ([int] != [typeof(int)]) return 1; in test()
21 if ([typeof(int)] != [typeof(int)]) return 1; in test()
H A Drestrict.c10 void f01(typeof(&rp) dst) { } /* check-should-pass */ in f01()
12 void f03(typeof(&up) dst) { } /* check-should-fail */ in f03()
54 extern typeof(&rp) prp; in baz()
55 extern typeof(&up) pup; in baz()
H A Dc11-atomic.c10 void f01(typeof(&qo) dst) { } /* check-should-pass */ in f01()
12 void f03(typeof(&uo) dst) { } /* check-should-fail */ in f03()
54 extern typeof(&qo) pqo; in baz()
55 extern typeof(&uo) puo; in baz()
H A Dtypeof-noderef.c6 typeof(ptr) ptr2 = ptr; in test_noderef()
7 typeof(*ptr) *ptr3 = ptr; in test_noderef()
8 typeof(obj) *ptr4 = ptr; in test_noderef()
H A Denum-bitwise.c12 _Static_assert([typeof(RZ)] == [bits], "RZ");
13 _Static_assert([typeof(RO)] == [bits], "RO");
14 _Static_assert([typeof(RM)] == [bits], "RM");
H A Dcast-bad-01.c4 return (int) (typeof(fundecl(0))) l; in foo()
H A Dtypeof-bad.c1 static typeof(undef) a;
H A Dbad-typeof.c3 typeof() a; in fun()
H A Dmember_of_typeof.c2 static typeof(v) *p; in typeof() function
H A Dbadtype5.c6 return *(*((typeof(addr) __force *) addr)); in foo()
H A Dcomma.c6 typeof((void)0,c) d; in f()
H A Deval-typeof-vla.c6 int (*p)[1] = (typeof(++i, (int (*)[n])a)) &a; in foo()
H A Dtypeof-attribute.c5 (*(typeof(v) __attribute__((address_space(0), force)) *)(&v))
H A Dvla-sizeof-ice.c4 (__builtin_types_compatible_p(typeof(0?((void*)((long)(x)*0l)):(int*)1),int*))
H A Dreserved.c69 static int (typeof); variable
H A Dbuiltin-arith.c6 typedef typeof(__builtin_trap) t; // OK in test()
H A Denum-sign-gcc.c13 #define is_unsigned(X) ((typeof(X))-1 > 0)
H A Dalternate-keywords.c10 extern typeof (funcs[0]) f0;
/illumos-gate/usr/src/lib/libsqlite/test/
H A Dtable.test479 # Test for the "typeof" function.
494 SELECT typeof(a), typeof(b), typeof(c), typeof(d),
495 typeof(e), typeof(f), typeof(g), typeof(h)
501 SELECT typeof(a+b), typeof(a||b), typeof(c+d), typeof(c||d)
/illumos-gate/usr/src/tools/smatch/src/validation/linear/
H A Dunexamined-base-type.c9 return (*((typeof(s->a) __force *) &s->a)) & 1; in foo()

12