Searched refs:new_serial (Results 1 – 2 of 2) sorted by relevance
/bionic/libc/system_properties/ |
D | system_properties.cpp | 145 uint32_t new_serial = load_const_atomic(&pi->serial, memory_order_acquire); in ReadMutablePropertyValue() local 149 serial = new_serial; in ReadMutablePropertyValue() 159 new_serial = load_const_atomic(&pi->serial, memory_order_relaxed); in ReadMutablePropertyValue() 160 if (__predict_true(serial == new_serial)) { in ReadMutablePropertyValue() 313 uint32_t new_serial; in WaitAny() local 314 Wait(nullptr, old_serial, &new_serial, nullptr); in WaitAny() 315 return new_serial; in WaitAny() 337 uint32_t new_serial; in Wait() local 343 new_serial = load_const_atomic(serial_ptr, memory_order_acquire); in Wait() 344 } while (new_serial == old_serial); in Wait() [all …]
|
/bionic/tests/ |
D | system_properties_test.cpp | 401 uint32_t new_serial; in TEST() local 402 system_properties.Wait(pi, serial, &new_serial, nullptr); in TEST() 403 ASSERT_GT(new_serial, serial); in TEST()
|