Lines Matching refs:ptr

8 	unsigned int obj, *ptr;  in test_spec()  local
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()
15 ptr = ptr; in test_spec()
16 ptr = &obj; in test_spec()
17 obj = *ptr; in test_spec()
22 const int obj, *ptr; in test_const() local
24 typeof(ptr) ptr2 = ptr; in test_const()
25 typeof(*ptr) var2 = obj; in test_const()
26 typeof(*ptr) *ptr3 = ptr; in test_const()
27 typeof(obj) *ptr4 = ptr; in test_const()
28 ptr = ptr; in test_const()
29 ptr = &obj; in test_const()
34 volatile int obj, *ptr; in test_volatile() local
36 typeof(ptr) ptr2 = ptr; in test_volatile()
37 typeof(*ptr) var2 = obj; in test_volatile()
38 typeof(*ptr) *ptr3 = ptr; in test_volatile()
39 typeof(obj) *ptr4 = ptr; in test_volatile()
41 ptr = ptr; in test_volatile()
42 ptr = &obj; in test_volatile()
43 obj = *ptr; in test_volatile()
48 int *restrict obj, *restrict *ptr; in test_restrict() local
50 typeof(ptr) ptr2 = ptr; in test_restrict()
51 typeof(*ptr) var2 = obj; in test_restrict()
52 typeof(*ptr) *ptr3 = ptr; in test_restrict()
53 typeof(obj) *ptr4 = ptr; in test_restrict()
55 ptr = ptr; in test_restrict()
56 ptr = &obj; in test_restrict()
57 obj = *ptr; in test_restrict()
62 int _Atomic obj, *ptr; in test_atomic() local
64 typeof(ptr) ptr2 = ptr; in test_atomic()
65 typeof(*ptr) var2 = obj; in test_atomic()
66 typeof(*ptr) *ptr3 = ptr; in test_atomic()
67 typeof(obj) *ptr4 = ptr; in test_atomic()
69 ptr = ptr; in test_atomic()
70 ptr = &obj; in test_atomic()
71 obj = *ptr; in test_atomic()
77 type_t obj, *ptr; in test_bitwise() local
79 typeof(ptr) ptr2 = ptr; in test_bitwise()
80 typeof(*ptr) var2 = obj; in test_bitwise()
81 typeof(*ptr) *ptr3 = ptr; in test_bitwise()
82 typeof(obj) *ptr4 = ptr; in test_bitwise()
84 ptr = ptr; in test_bitwise()
85 ptr = &obj; in test_bitwise()
86 obj = *ptr; in test_bitwise()
91 static int obj, *ptr; in test_static() local
93 typeof(ptr) ptr2 = ptr; in test_static()
94 typeof(*ptr) var2 = obj; in test_static()
95 typeof(*ptr) *ptr3 = ptr; in test_static()
96 typeof(obj) *ptr4 = ptr; in test_static()
98 ptr = ptr; in test_static()
99 ptr = &obj; in test_static()
100 obj = *ptr; in test_static()
105 __thread int obj, *ptr; in test_tls() local
107 typeof(ptr) ptr2 = ptr; in test_tls()
108 typeof(*ptr) var2 = obj; in test_tls()
109 typeof(*ptr) *ptr3 = ptr; in test_tls()
110 typeof(obj) *ptr4 = ptr; in test_tls()
112 ptr = ptr; in test_tls()
113 ptr = &obj; in test_tls()
114 obj = *ptr; in test_tls()
119 int __nocast obj, *ptr; in test_nocast() local
121 typeof(ptr) ptr2 = ptr; in test_nocast()
122 typeof(*ptr) var2 = obj; in test_nocast()
123 typeof(*ptr) *ptr3 = ptr; in test_nocast()
124 typeof(obj) *ptr4 = ptr; in test_nocast()
126 ptr = ptr; in test_nocast()
127 ptr = &obj; in test_nocast()
128 obj = *ptr; in test_nocast()