Lines Matching refs:accum
34 t accum = tests[i].accum0; \
35 assert_##ta##_eq(atomic_read_##p(&accum), \
39 assert_##ta##_eq(atomic_add_##p(&accum, tests[i].x), \
41 "i=%u, accum=%"FMT", x=%"FMT, \
43 assert_##ta##_eq(atomic_read_##p(&accum), accum, \
46 accum = tests[i].accum0; \
47 assert_##ta##_eq(atomic_sub_##p(&accum, tests[i].x), \
49 "i=%u, accum=%"FMT", x=%"FMT, \
51 assert_##ta##_eq(atomic_read_##p(&accum), accum, \
54 accum = tests[i].accum0; \
55 err = atomic_cas_##p(&accum, tests[i].x, tests[i].s); \
58 assert_##ta##_eq(accum, err ? tests[i].accum0 : \
61 accum = tests[i].accum0; \
62 atomic_write_##p(&accum, tests[i].s); \
63 assert_##ta##_eq(accum, tests[i].s, \