Searched refs:old_epoch (Results 1 – 4 of 4) sorted by relevance
/external/jemalloc/test/unit/ |
D | mallctl.c | 81 uint64_t old_epoch, new_epoch; in TEST_BEGIN() local 82 size_t sz = sizeof(old_epoch); in TEST_BEGIN() 87 assert_zu_eq(sz, sizeof(old_epoch), "Unexpected output size"); in TEST_BEGIN() 90 assert_d_eq(mallctl("epoch", (void *)&old_epoch, &sz, NULL, 0), 0, in TEST_BEGIN() 92 assert_zu_eq(sz, sizeof(old_epoch), "Unexpected output size"); in TEST_BEGIN() 97 assert_zu_eq(sz, sizeof(old_epoch), "Unexpected output size"); in TEST_BEGIN() 100 assert_d_eq(mallctl("epoch", (void *)&old_epoch, &sz, in TEST_BEGIN() 103 assert_zu_eq(sz, sizeof(old_epoch), "Unexpected output size"); in TEST_BEGIN()
|
/external/jemalloc_new/test/unit/ |
D | mallctl.c | 79 uint64_t old_epoch, new_epoch; in TEST_BEGIN() local 80 size_t sz = sizeof(old_epoch); in TEST_BEGIN() 85 assert_zu_eq(sz, sizeof(old_epoch), "Unexpected output size"); in TEST_BEGIN() 88 assert_d_eq(mallctl("epoch", (void *)&old_epoch, &sz, NULL, 0), 0, in TEST_BEGIN() 90 assert_zu_eq(sz, sizeof(old_epoch), "Unexpected output size"); in TEST_BEGIN() 95 assert_zu_eq(sz, sizeof(old_epoch), "Unexpected output size"); in TEST_BEGIN() 98 assert_d_eq(mallctl("epoch", (void *)&old_epoch, &sz, in TEST_BEGIN() 101 assert_zu_eq(sz, sizeof(old_epoch), "Unexpected output size"); in TEST_BEGIN()
|
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_rtl.h | 125 u64 old_epoch = epoch(); in IncrementEpoch() local 127 DCHECK_EQ(old_epoch + 1, epoch()); in IncrementEpoch() 128 (void)old_epoch; in IncrementEpoch()
|
D | tsan_interceptors.cc | 2627 unsigned old_epoch = (old >> 8) / (old & 0xff); in __tsan_testonly_barrier_wait() local 2631 if (cur_epoch != old_epoch) in __tsan_testonly_barrier_wait()
|