Home
last modified time | relevance | path

Searched refs:first_byte (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/libcxxabi/test/
H A Dguard_test_basic.pass.cpp37 uint8_t first_byte() { in first_byte() function
59 assert(first_byte() == 0); in test_acquire()
61 assert(first_byte() == 0); in test_acquire()
65 assert(first_byte() == 0); in test_acquire()
68 assert(first_byte() == 1); in test_acquire()
76 assert(first_byte() == 0); in test_release()
78 assert(first_byte() == 0); in test_release()
80 assert(first_byte() == 1); in test_release()
87 assert(first_byte() == 0); in test_abort()
89 assert(first_byte() == 0); in test_abort()
[all …]
H A Dguard_threaded_test.pass.cpp90 uint8_t *first_byte = reinterpret_cast<uint8_t*>(g); in check_guard() local
91 if (std::__libcpp_atomic_load(first_byte, std::_AO_Acquire) == 0) { in check_guard()