Home | History | Annotate | Download | only in ufetchstore

Lines Matching defs:cell

352 #define	read_test_cell(cell)		(cell)->test_cell
353 #define write_test_cell(cell, v) (cell)->test_cell = (v)
363 memory_cell_check_guard(const struct memory_cell * const cell)
365 return cell->guard0 == ULONG_MAX &&
366 cell->guard1 == ULONG_MAX;
377 struct memory_cell cell = memory_cell_initializer;
382 write_test_cell(&cell, test_cell_val8);
383 ATF_REQUIRE_EQ(do_ufetch_8(&cell.val8[index8], &res), 0);
384 ATF_REQUIRE(memory_cell_check_guard(&cell));
400 struct memory_cell cell = memory_cell_initializer;
405 write_test_cell(&cell, test_cell_val16);
406 ATF_REQUIRE_EQ(do_ufetch_16(&cell.val16[index16], &res), 0);
407 ATF_REQUIRE(memory_cell_check_guard(&cell));
423 struct memory_cell cell = memory_cell_initializer;
428 write_test_cell(&cell, test_cell_val32);
429 ATF_REQUIRE_EQ(do_ufetch_32(&cell.val32[index32], &res), 0);
430 ATF_REQUIRE(memory_cell_check_guard(&cell));
447 struct memory_cell cell = memory_cell_initializer;
452 write_test_cell(&cell, test_cell_val64);
453 ATF_REQUIRE_EQ(do_ufetch_64(&cell.val64, &res), 0);
454 ATF_REQUIRE(memory_cell_check_guard(&cell));
708 struct memory_cell cell = memory_cell_initializer;
712 ATF_REQUIRE_EQ(do_ustore_8(&cell.val8[index8], test_pattern8), 0);
713 ATF_REQUIRE(memory_cell_check_guard(&cell));
714 ATF_REQUIRE(read_test_cell(&cell) == test_cell_val8);
729 struct memory_cell cell = memory_cell_initializer;
733 ATF_REQUIRE_EQ(do_ustore_16(&cell.val16[index16], test_pattern16), 0);
734 ATF_REQUIRE(memory_cell_check_guard(&cell));
735 ATF_REQUIRE(read_test_cell(&cell) == test_cell_val16);
750 struct memory_cell cell = memory_cell_initializer;
754 ATF_REQUIRE_EQ(do_ustore_32(&cell.val32[index32], test_pattern32), 0);
755 ATF_REQUIRE(memory_cell_check_guard(&cell));
756 ATF_REQUIRE(read_test_cell(&cell) == test_cell_val32);
772 struct memory_cell cell = memory_cell_initializer;
776 ATF_REQUIRE_EQ(do_ustore_64(&cell.val64, test_pattern64), 0);
777 ATF_REQUIRE(memory_cell_check_guard(&cell));
778 ATF_REQUIRE(read_test_cell(&cell) == test_cell_val64);
1009 uint32_t cell = 0xdeadbeef;
1014 ATF_REQUIRE_EQ(do_ucas_32(&cell, 0xdeadbeef, 0xbeefdead, &actual), 0);
1016 ATF_REQUIRE(cell == 0xbeefdead);
1032 uint64_t cell = 0xdeadbeef;
1037 ATF_REQUIRE_EQ(do_ucas_64(&cell, 0xdeadbeef, 0xbeefdead, &actual), 0);
1039 ATF_REQUIRE(cell == 0xbeefdead);
1055 uint32_t cell = 0xa5a5a5a5;
1060 ATF_REQUIRE_EQ(do_ucas_32(&cell, 0xdeadbeef, 0xbeefdead, &actual), 0);
1062 ATF_REQUIRE(cell == 0xa5a5a5a5);
1078 uint64_t cell = 0xa5a5a5a5;
1083 ATF_REQUIRE_EQ(do_ucas_64(&cell, 0xdeadbeef, 0xbeefdead, &actual), 0);
1085 ATF_REQUIRE(cell == 0xa5a5a5a5);