Lines Matching refs:sr
87 void g(ShortRef sr, LongRef lr, E2Ref e2_ref, XpmfRef pmf_ref) { in g() argument
89 short s1 = sr++; in g()
95 short& sr1 = (sr *= lr); in g()
96 volatile long& lr1 = (lr *= sr); in g()
107 short& sr2 = (sr %= lr); in g()
108 volatile long& lr2 = (lr <<= sr); in g()
110 bool b1 = (sr && lr) || (sr || lr); in g()
129 void test_with_ptrs(VolatileIntPtr vip, ConstIntPtr cip, ShortRef sr, in test_with_ptrs() argument
131 const int& cir1 = cip[sr]; in test_with_ptrs()
132 const int& cir2 = sr[cip]; in test_with_ptrs()
133 volatile int& vir1 = vip[sr]; in test_with_ptrs()
134 volatile int& vir2 = sr[vip]; in test_with_ptrs()
149 int i1 = +sr; in test_with_ptrs()
150 int i2 = -sr; in test_with_ptrs()
159 void test_assign_restrictions(ShortRef& sr) { in test_assign_restrictions() argument
160 sr = (short)0; // expected-error{{no viable overloaded '='}} in test_assign_restrictions()