Searched refs:serial (Results 1 – 11 of 11) sorted by relevance
/bionic/libc/system_properties/ |
D | system_properties.cpp | 52 #define SERIAL_DIRTY(serial) ((serial)&1) argument 53 #define SERIAL_VALUE_LEN(serial) ((serial) >> 24) argument 159 return atomic_load_explicit(pa->serial(), memory_order_acquire); in AreaSerial() 186 uint32_t new_serial = load_const_atomic(&pi->serial, memory_order_acquire); in ReadMutablePropertyValue() 187 uint32_t serial; in ReadMutablePropertyValue() local 190 serial = new_serial; in ReadMutablePropertyValue() 191 len = SERIAL_VALUE_LEN(serial); in ReadMutablePropertyValue() 192 if (__predict_false(SERIAL_DIRTY(serial))) { in ReadMutablePropertyValue() 200 new_serial = load_const_atomic(&pi->serial, memory_order_relaxed); in ReadMutablePropertyValue() 201 if (__predict_true(serial == new_serial)) { in ReadMutablePropertyValue() [all …]
|
D | prop_info.cpp | 41 atomic_init(&this->serial, valuelen << 24); in prop_info() 51 atomic_init(&this->serial, error_value_len << 24 | kLongFlag); in prop_info()
|
/bionic/libc/system_properties/include/system_properties/ |
D | prop_info.h | 58 atomic_uint_least32_t serial; 71 return (load_const_atomic(&serial, memory_order_relaxed) & kLongFlag) != 0; in is_long()
|
D | system_properties.h | 63 uint32_t serial),
|
D | prop_area.h | 130 atomic_uint_least32_t* serial() { in serial() function
|
/bionic/libc/private/ |
D | CachedProperty.h | 96 static void Callback(void* data, const char*, const char* value, uint32_t serial) { in Callback() argument 98 instance->cached_property_serial_ = serial; in Callback()
|
/bionic/tests/ |
D | system_properties_test.cpp | 417 unsigned serial = __system_property_serial(pi); in TEST() local 419 ASSERT_NE(serial, __system_property_serial(pi)); in TEST() 431 unsigned serial = system_properties.WaitAny(0); in TEST() local 436 serial = system_properties.WaitAny(serial); in TEST() 447 serial = system_properties.WaitAny(serial); in TEST() 466 unsigned serial = __system_property_serial(pi); in TEST() local 476 system_properties.Wait(pi, serial, &new_serial, nullptr); in TEST() 477 ASSERT_GT(new_serial, serial); in TEST()
|
/bionic/libc/bionic/ |
D | system_property_api.cpp | 81 const char* value, uint32_t serial), in __system_property_read_callback() argument 110 return atomic_load_explicit(&pi->serial, memory_order_acquire); in __system_property_serial()
|
/bionic/libc/kernel/uapi/linux/ |
D | capi.h | 52 __u8 serial[CAPI_SERIAL_LEN]; member
|
D | media.h | 14 char serial[40]; member
|
/bionic/libc/kernel/uapi/sound/ |
D | hdspm.h | 120 unsigned int serial; member
|