Searched refs:prop_info (Results 1 - 6 of 6) sorted by relevance

/bionic/libc/include/sys/
H A Dsystem_properties.h36 typedef struct prop_info prop_info; typedef in typeref:struct:prop_info
56 ** the returned prop_info pointer.
58 ** It is safe to cache the prop_info pointer to avoid future
62 const prop_info *__system_property_find(const char *name);
73 int __system_property_read(const prop_info *pi, char *name, char *value);
75 /* Return a prop_info for the nth system property, or NULL if
84 const prop_info *__system_property_find_nth(unsigned n);
86 /* Pass a prop_info for each system property to the provided
97 void (*propfn)(const prop_info *p
[all...]
H A D_system_properties.h67 ** - once allocated, a prop_info's name will not change
68 ** - once allocated, a prop_info's offset will not change
119 int __system_property_update(prop_info *pi, const char *value, unsigned int len);
126 unsigned int __system_property_serial(const prop_info *pi);
136 const prop_info *__system_property_find_compat(const char *name);
137 int __system_property_read_compat(const prop_info *pi, char *name, char *value);
139 void (*propfn)(const prop_info *pi, void *cookie),
/bionic/tests/
H A Dsystem_properties_test.cpp92 prop_info *pi;
98 pi = (prop_info *)__system_property_find("property");
99 ASSERT_NE((prop_info *)NULL, pi);
102 pi = (prop_info *)__system_property_find("other_property");
103 ASSERT_NE((prop_info *)NULL, pi);
106 pi = (prop_info *)__system_property_find("property_other");
107 ASSERT_NE((prop_info *)NULL, pi);
161 static void foreach_test_callback(const prop_info *pi, void* cookie) {
164 ASSERT_NE((prop_info *)NULL, pi);
189 ASSERT_NE((const prop_info *)NUL
[all...]
/bionic/libc/bionic/
H A Dsystem_properties_compat.c69 const prop_info *__system_property_find_compat(const char *name)
89 return (const prop_info *)pi;
95 int __system_property_read_compat(const prop_info *_pi, char *name, char *value)
118 void (*propfn)(const prop_info *pi, void *cookie),
127 propfn((const prop_info *)pi, cookie);
H A Dsystem_properties.c68 struct prop_info { struct
74 typedef struct prop_info prop_info; typedef in typeref:struct:prop_info
306 static prop_info *new_prop_info(const char *name, uint8_t namelen,
310 prop_info *info = new_prop_obj(sizeof(prop_info) + namelen + 1, &off_tmp);
381 static const prop_info *find_property(prop_bt *trie, const char *name,
433 const prop_info *__system_property_find(const char *name)
441 int __system_property_read(const prop_info *pi, char *name, char *value)
469 const prop_info *p
[all...]
/bionic/libc/netbsd/resolv/
H A Dres_state.c59 struct prop_info* _pi;
72 rt->_pi = (struct prop_info*) __system_property_find("net.change");
130 rt->_pi = (struct prop_info*) __system_property_find("net.change");

Completed in 173 milliseconds