Lines Matching refs:sr
78 void g(ShortRef sr, LongRef lr, E2Ref e2_ref, XpmfRef pmf_ref) { in g() argument
80 short s1 = sr++; in g()
86 short& sr1 = (sr *= lr); in g()
87 volatile long& lr1 = (lr *= sr); in g()
98 short& sr2 = (sr %= lr); in g()
99 volatile long& lr2 = (lr <<= sr); in g()
101 bool b1 = (sr && lr) || (sr || lr); in g()
120 void test_with_ptrs(VolatileIntPtr vip, ConstIntPtr cip, ShortRef sr, in test_with_ptrs() argument
122 const int& cir1 = cip[sr]; in test_with_ptrs()
123 const int& cir2 = sr[cip]; in test_with_ptrs()
124 volatile int& vir1 = vip[sr]; in test_with_ptrs()
125 volatile int& vir2 = sr[vip]; in test_with_ptrs()
140 int i1 = +sr; in test_with_ptrs()
141 int i2 = -sr; in test_with_ptrs()
150 void test_assign_restrictions(ShortRef& sr) { in test_assign_restrictions() argument
151 sr = (short)0; // expected-error{{no viable overloaded '='}} in test_assign_restrictions()