Home | History | Annotate | Download | only in lit_tests

Lines Matching refs:sz1

50 static void access3(bool main, int sz1, bool rw, char *p) {
53 access(p, sz1, true);
66 static void access2(bool main, int sz1, int off2, bool rw, char *obj) {
68 access3<off, 0>(main, sz1, rw, obj);
70 access3<off, 1>(main, sz1, rw, obj);
72 access3<off, 2>(main, sz1, rw, obj);
74 access3<off, 3>(main, sz1, rw, obj);
76 access3<off, 4>(main, sz1, rw, obj);
78 access3<off, 5>(main, sz1, rw, obj);
80 access3<off, 6>(main, sz1, rw, obj);
82 access3<off, 7>(main, sz1, rw, obj);
85 static void access1(bool main, int off, int sz1, int off2, bool rw, char *obj) {
87 access2<0>(main, sz1, off2, rw, obj);
89 access2<1>(main, sz1, off2, rw, obj);
91 access2<2>(main, sz1, off2, rw, obj);
93 access2<3>(main, sz1, off2, rw, obj);
95 access2<4>(main, sz1, off2, rw, obj);
97 access2<5>(main, sz1, off2, rw, obj);
99 access2<6>(main, sz1, off2, rw, obj);
101 access2<7>(main, sz1, off2, rw, obj);
107 for (int sz1 = 0; sz1 < 3; sz1++) {
108 for (int off2 = 0; off2 < accesssize(sz1); off2++) {
110 // printf("thr=%d off=%d sz1=%d off2=%d rw=%d p=%p\n",
111 // main, off, sz1, off2, rw, obj);
112 access1(main, off, sz1, off2, rw, (char*)obj);