Home
last modified time | relevance | path

Searched refs:old_epoch (Results 1 – 3 of 3) sorted by relevance

/external/jemalloc/test/unit/
Dmallctl.c77 uint64_t old_epoch, new_epoch; in TEST_BEGIN() local
78 size_t sz = sizeof(old_epoch); in TEST_BEGIN()
83 assert_zu_eq(sz, sizeof(old_epoch), "Unexpected output size"); in TEST_BEGIN()
86 assert_d_eq(mallctl("epoch", &old_epoch, &sz, NULL, 0), 0, in TEST_BEGIN()
88 assert_zu_eq(sz, sizeof(old_epoch), "Unexpected output size"); in TEST_BEGIN()
93 assert_zu_eq(sz, sizeof(old_epoch), "Unexpected output size"); in TEST_BEGIN()
96 assert_d_eq(mallctl("epoch", &old_epoch, &sz, &new_epoch, in TEST_BEGIN()
98 assert_zu_eq(sz, sizeof(old_epoch), "Unexpected output size"); in TEST_BEGIN()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_rtl.h125 u64 old_epoch = epoch(); in IncrementEpoch() local
127 DCHECK_EQ(old_epoch + 1, epoch()); in IncrementEpoch()
128 (void)old_epoch; in IncrementEpoch()
Dtsan_interceptors.cc2757 unsigned old_epoch = (old >> 8) / (old & 0xff); in __tsan_testonly_barrier_wait() local
2761 if (cur_epoch != old_epoch) in __tsan_testonly_barrier_wait()