Home
last modified time | relevance | path

Searched refs:prop_info (Results 1 – 10 of 10) sorted by relevance

/bionic/libc/include/sys/
Dsystem_properties.h39 typedef struct prop_info prop_info; typedef
54 const prop_info* __system_property_find(const char* name);
59 void __system_property_read_callback(const prop_info *pi,
69 int __system_property_foreach(void (*propfn)(const prop_info* pi, void* cookie), void* cookie)
85 bool __system_property_wait(const prop_info* pi,
94 int __system_property_read(const prop_info* pi, char* name, char* value);
98 const prop_info* __system_property_find_nth(unsigned n);
D_system_properties.h115 int __system_property_update(prop_info *pi, const char *value, unsigned int len);
122 uint32_t __system_property_serial(const prop_info* pi);
/bionic/tests/
Dsystem_properties_test.cpp69 static void foreach_test_callback(const prop_info *pi, void* cookie) { in foreach_test_callback()
76 static void hierarchical_test_callback(const prop_info *pi, void *cookie) { in hierarchical_test_callback()
103 prop_info* pi = const_cast<prop_info*>(__system_property_find("property")); in PropertyWaitHelperFn()
159 const prop_info* pi = __system_property_find("property"); in TEST()
161 __system_property_update(const_cast<prop_info*>(pi), "value4", 6); in TEST()
165 __system_property_update(const_cast<prop_info*>(pi), "newvalue5", 9); in TEST()
169 __system_property_update(const_cast<prop_info*>(pi), "value6", 6); in TEST()
359 const prop_info* pi = __system_property_find("property"); in TEST()
362 ASSERT_EQ(0, __system_property_update(const_cast<prop_info*>(pi), "value2", 6)); in TEST()
377 prop_info* pi = const_cast<prop_info*>(__system_property_find("property")); in TEST()
[all …]
Dsystem_properties_test2.cpp89 const prop_info* pi = __system_property_find(property_name.c_str()); in TEST()
120 const prop_info* pi_long = __system_property_find(long_property_name.c_str()); in TEST()
/bionic/libc/bionic/
Dsystem_properties.cpp140 const prop_info* find(const char* name);
143 bool foreach (void (*propfn)(const prop_info* pi, void* cookie), void* cookie);
158 prop_info* new_prop_info(const char* name, uint32_t namelen, const char* value, uint32_t valuelen,
162 prop_info* to_prop_info(atomic_uint_least32_t* off_p);
168 const prop_info* find_property(prop_bt* const trie, const char* name, uint32_t namelen,
171 bool foreach_property(prop_bt* const trie, void (*propfn)(const prop_info* pi, void* cookie),
184 struct prop_info { struct
191 prop_info(const char* name, uint32_t namelen, const char* value, uint32_t valuelen) { in prop_info() argument
200 DISALLOW_IMPLICIT_CONSTRUCTORS(prop_info);
329 prop_info* prop_area::new_prop_info(const char* name, uint32_t namelen, const char* value, in new_prop_info()
[all …]
Dbionic_systrace.cpp36 static const prop_info* g_pinfo;
Dlibc_logging.cpp481 const prop_info* pinfo;
/bionic/benchmarks/
Dproperty_benchmark.cpp168 const prop_info** pinfo = new const prop_info*[nprops]; in BM_property_read()
191 const prop_info** pinfo = new const prop_info*[nprops]; in BM_property_serial()
/bionic/libc/private/
DCachedProperty.h77 const prop_info* prop_info_;
/bionic/libc/tzcode/
Dlocaltime.c1333 static const prop_info* pi; in tzset_unlocked()