Searched refs:serial (Results 1 – 11 of 11) sorted by relevance
/bionic/libc/system_properties/ |
D | system_properties.cpp | 50 #define SERIAL_DIRTY(serial) ((serial)&1) argument 51 #define SERIAL_VALUE_LEN(serial) ((serial) >> 24) argument 122 return atomic_load_explicit(pa->serial(), memory_order_acquire); in AreaSerial() 145 uint32_t new_serial = load_const_atomic(&pi->serial, memory_order_acquire); in ReadMutablePropertyValue() 146 uint32_t serial; in ReadMutablePropertyValue() local 149 serial = new_serial; in ReadMutablePropertyValue() 150 len = SERIAL_VALUE_LEN(serial); in ReadMutablePropertyValue() 151 if (__predict_false(SERIAL_DIRTY(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() [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/tests/ |
D | system_properties_test.cpp | 343 unsigned serial = __system_property_serial(pi); in TEST() local 345 ASSERT_NE(serial, __system_property_serial(pi)); in TEST() 357 unsigned serial = system_properties.WaitAny(0); in TEST() local 362 serial = system_properties.WaitAny(serial); in TEST() 373 serial = system_properties.WaitAny(serial); in TEST() 392 unsigned serial = __system_property_serial(pi); in TEST() local 402 system_properties.Wait(pi, serial, &new_serial, nullptr); in TEST() 403 ASSERT_GT(new_serial, serial); in TEST()
|
/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 | 64 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/libc/bionic/ |
D | system_property_api.cpp | 80 const char* value, uint32_t serial), in __system_property_read_callback() argument 109 return atomic_load_explicit(&pi->serial, memory_order_acquire); in __system_property_serial()
|
/bionic/libc/kernel/uapi/linux/ |
D | capi.h | 64 __u8 serial[CAPI_SERIAL_LEN]; member
|
D | media.h | 27 char serial[40]; member
|
/bionic/libc/kernel/uapi/sound/ |
D | hdspm.h | 130 unsigned int serial; member
|