/bionic/libc/system_properties/ |
D | system_properties.cpp | 143 uint32_t SystemProperties::ReadMutablePropertyValue(const prop_info* pi, char* value) { in ReadMutablePropertyValue() argument 145 uint32_t new_serial = load_const_atomic(&pi->serial, memory_order_acquire); in ReadMutablePropertyValue() 153 prop_area* pa = contexts_->GetPropAreaForName(pi->name); in ReadMutablePropertyValue() 156 memcpy(value, pi->value, len + 1); in ReadMutablePropertyValue() 159 new_serial = load_const_atomic(&pi->serial, memory_order_relaxed); in ReadMutablePropertyValue() 174 int SystemProperties::Read(const prop_info* pi, char* name, char* value) { in Read() argument 175 uint32_t serial = ReadMutablePropertyValue(pi, value); in Read() 177 size_t namelen = strlcpy(name, pi->name, PROP_NAME_MAX); in Read() 183 pi->name, PROP_NAME_MAX - 1, name); in Read() 186 if (is_read_only(pi->name) && pi->is_long()) { in Read() [all …]
|
D | contexts_serialized.cpp | 147 void ContextsSerialized::ForEach(void (*propfn)(const prop_info* pi, void* cookie), void* cookie) { in ForEach() argument
|
D | prop_area.cpp | 334 void (*propfn)(const prop_info* pi, void* cookie), void* cookie) { in foreach_property() argument 371 bool prop_area::foreach (void (*propfn)(const prop_info* pi, void* cookie), void* cookie) { in foreach() argument
|
D | contexts_split.cpp | 345 void ContextsSplit::ForEach(void (*propfn)(const prop_info* pi, void* cookie), void* cookie) { in ForEach() argument
|
/bionic/libc/bionic/ |
D | system_property_api.cpp | 73 int __system_property_read(const prop_info* pi, char* name, char* value) { in __system_property_read() argument 74 return system_properties.Read(pi, name, value); in __system_property_read() 78 void __system_property_read_callback(const prop_info* pi, in __system_property_read_callback() argument 82 return system_properties.ReadCallback(pi, callback, cookie); in __system_property_read_callback() 91 int __system_property_update(prop_info* pi, const char* value, unsigned int len) { in __system_property_update() argument 92 return system_properties.Update(pi, value, len); in __system_property_update() 102 uint32_t __system_property_serial(const prop_info* pi) { in __system_property_serial() argument 109 return atomic_load_explicit(&pi->serial, memory_order_acquire); in __system_property_serial() 118 bool __system_property_wait(const prop_info* pi, uint32_t old_serial, uint32_t* new_serial_ptr, in __system_property_wait() argument 120 return system_properties.Wait(pi, old_serial, new_serial_ptr, relative_timeout); in __system_property_wait() [all …]
|
D | fdsan.cpp | 352 const prop_info* pi = __system_property_find(kFdsanPropertyName); in android_fdsan_set_error_level_from_property() local 353 if (!pi) { in android_fdsan_set_error_level_from_property() 366 pi, in android_fdsan_set_error_level_from_property()
|
/bionic/tests/ |
D | system_properties_test.cpp | 58 static void foreach_test_callback(const prop_info *pi, void* cookie) { in foreach_test_callback() argument 61 ASSERT_TRUE(pi != nullptr); in foreach_test_callback() 65 static void hierarchical_test_callback(const prop_info *pi, void *cookie) { in hierarchical_test_callback() argument 71 __system_property_read(pi, name, value); in hierarchical_test_callback() 137 const prop_info* pi = system_properties.Find("property"); in TEST() local 138 ASSERT_TRUE(pi != nullptr); in TEST() 139 system_properties.Update(const_cast<prop_info*>(pi), "value4", 6); in TEST() 141 pi = system_properties.Find("other_property"); in TEST() 142 ASSERT_TRUE(pi != nullptr); in TEST() 143 system_properties.Update(const_cast<prop_info*>(pi), "newvalue5", 9); in TEST() [all …]
|
D | system_properties_test2.cpp | 91 const prop_info* pi = __system_property_find(property_name.c_str()); in TEST() local 92 ASSERT_TRUE(pi != nullptr); in TEST() 95 __system_property_read_callback(pi, in TEST() 102 pi = __system_property_find(long_property_name.c_str()); in TEST() 103 ASSERT_TRUE(pi != nullptr); in TEST() 106 __system_property_read_callback(pi, in TEST() 114 pi = __system_property_find(property_name.c_str()); in TEST() 115 ASSERT_TRUE(pi != nullptr); in TEST() 118 ASSERT_EQ(8, __system_property_read(pi, &legacy_name[0], propvalue)); in TEST() 123 ASSERT_TRUE(pi != nullptr); in TEST()
|
D | utils.h | 82 static const prop_info* pi = __system_property_find("ro.dalvik.vm.isa.arm"); in running_with_native_bridge() local 83 return pi != nullptr; in running_with_native_bridge() 85 static const prop_info* pi = __system_property_find("ro.dalvik.vm.isa.arm64"); in running_with_native_bridge() 86 return pi != nullptr; in running_with_native_bridge()
|
/bionic/libm/upstream-freebsd/lib/msun/src/ |
D | e_atan2f.c | 28 pi = 3.1415927410e+00; /* 0x40490fdb */ variable 53 case 2: return pi+tiny;/* atan(+0,-anything) = pi */ in __ieee754_atan2f() 54 case 3: return -pi-tiny;/* atan(-0,-anything) =-pi */ in __ieee754_atan2f() 73 case 2: return pi+tiny ; /* atan(+...,-INF) */ in __ieee754_atan2f() 74 case 3: return -pi-tiny ; /* atan(-...,-INF) */ in __ieee754_atan2f() 92 case 2: return pi-(z-pi_lo);/* atan(+,-) */ in __ieee754_atan2f() 94 return (z-pi_lo)-pi;/* atan(-,-) */ in __ieee754_atan2f()
|
D | e_atan2l.c | 40 #define pi ((long double)pi1 + pi2) macro 43 pi = 3.14159265358979323846264338327950280e+00L; variable 75 case 2: return pi+tiny;/* atan(+0,-anything) = pi */ in atan2l() 76 case 3: return -pi-tiny;/* atan(-0,-anything) =-pi */ in atan2l() 96 case 2: return pi+tiny ; /* atan(+...,-INF) */ in atan2l() 97 case 3: return -pi-tiny ; /* atan(-...,-INF) */ in atan2l() 116 case 2: return pi-(z-pi_lo);/* atan(+,-) */ in atan2l() 118 return (z-pi_lo)-pi;/* atan(-,-) */ in atan2l()
|
D | e_atan2.c | 56 pi = 3.1415926535897931160E+00; /* 0x400921FB, 0x54442D18 */ variable 82 case 2: return pi+tiny;/* atan(+0,-anything) = pi */ in __ieee754_atan2() 83 case 3: return -pi-tiny;/* atan(-0,-anything) =-pi */ in __ieee754_atan2() 102 case 2: return pi+tiny ; /* atan(+...,-INF) */ in __ieee754_atan2() 103 case 3: return -pi-tiny ; /* atan(-...,-INF) */ in __ieee754_atan2() 121 case 2: return pi-(z-pi_lo);/* atan(+,-) */ in __ieee754_atan2() 123 return (z-pi_lo)-pi;/* atan(-,-) */ in __ieee754_atan2()
|
D | e_lgammaf_r.c | 29 pi = 3.1415927410e+00, /* 0x40490fdb */ variable 109 case 0: y = __kernel_sindf(pi*y); break; in sin_pif() 111 case 2: y = __kernel_cosdf(pi*((float)0.5-y)); break; in sin_pif() 113 case 4: y = __kernel_sindf(pi*(one-y)); break; in sin_pif() 115 case 6: y = -__kernel_cosdf(pi*(y-(float)1.5)); break; in sin_pif() 116 default: y = __kernel_sindf(pi*(y-(float)2.0)); break; in sin_pif() 151 nadj = __ieee754_logf(pi/fabsf(t*x)); in __ieee754_lgammaf_r()
|
D | e_acosl.c | 37 #define pi ((long double)pi1 + pi2) macro 40 pi = 3.14159265358979323846264338327950280e+00L; variable 55 else return pi+2.0*pio2_lo; /* acos(-1)= pi */ in acosl() 73 return pi - 2.0*(s+w); in acosl()
|
D | e_lgamma_r.c | 94 pi = 3.14159265358979311600e+00, /* 0x400921FB, 0x54442D18 */ variable 188 case 0: y = __kernel_sin(pi*y,zero,0); break; in sin_pi() 190 case 2: y = __kernel_cos(pi*(0.5-y),zero); break; in sin_pi() 192 case 4: y = __kernel_sin(pi*(one-y),zero,0); break; in sin_pi() 194 case 6: y = -__kernel_cos(pi*(y-1.5),zero); break; in sin_pi() 195 default: y = __kernel_sin(pi*(y-2.0),zero,0); break; in sin_pi() 230 nadj = __ieee754_log(pi/fabs(t*x)); in __ieee754_lgamma_r()
|
D | e_acosf.c | 24 pi = 3.1415925026e+00, /* 0x40490fda */ variable 44 else return pi+(float)2.0*pio2_lo; /* acos(-1)= pi */ in __ieee754_acosf() 62 return pi - (float)2.0*(s+w); in __ieee754_acosf()
|
D | e_acos.c | 48 pi = 3.14159265358979311600e+00, /* 0x400921FB, 0x54442D18 */ variable 76 else return pi+2.0*pio2_lo; /* acos(-1)= pi */ in __ieee754_acos() 94 return pi - 2.0*(s+w); in __ieee754_acos()
|
/bionic/libc/system_properties/include/system_properties/ |
D | system_properties.h | 61 int Read(const prop_info* pi, char* name, char* value); 62 void ReadCallback(const prop_info* pi, 67 int Update(prop_info* pi, const char* value, unsigned int len); 70 bool Wait(const prop_info* pi, uint32_t old_serial, uint32_t* new_serial_ptr, 73 int Foreach(void (*propfn)(const prop_info* pi, void* cookie), void* cookie); 76 uint32_t ReadMutablePropertyValue(const prop_info* pi, char* value);
|
D | prop_area.h | 128 bool foreach (void (*propfn)(const prop_info* pi, void* cookie), void* cookie); 161 bool foreach_property(prop_bt* const trie, void (*propfn)(const prop_info* pi, void* cookie),
|
D | contexts.h | 42 virtual void ForEach(void (*propfn)(const prop_info* pi, void* cookie), void* cookie) = 0;
|
D | contexts_pre_split.h | 54 virtual void ForEach(void (*propfn)(const prop_info* pi, void* cookie), void* cookie) override { in ForEach() argument
|
D | contexts_serialized.h | 46 virtual void ForEach(void (*propfn)(const prop_info* pi, void* cookie), void* cookie) override;
|
D | contexts_split.h | 46 virtual void ForEach(void (*propfn)(const prop_info* pi, void* cookie), void* cookie) override;
|
/bionic/libm/upstream-freebsd/lib/msun/ld128/ |
D | e_lgammal_r.c | 34 pi = 3.14159265358979323846264338327950288e+00L; variable 212 case 0: y = __kernel_sinl(pi*y,zero,0); break; in sin_pil() 214 case 2: y = __kernel_cosl(pi*(0.5-y),zero); break; in sin_pil() 216 case 4: y = __kernel_sinl(pi*(one-y),zero,0); break; in sin_pil() 218 case 6: y = -__kernel_cosl(pi*(y-1.5),zero); break; in sin_pil() 219 default: y = __kernel_sinl(pi*(y-2.0),zero,0); break; in sin_pil() 254 nadj = logl(pi/fabsl(t*x)); in lgammal_r()
|
/bionic/benchmarks/ |
D | property_benchmark.cpp | 203 [](const prop_info* pi, void* cookie) { in BM_property_find_real() argument 204 __system_property_read_callback(pi, in BM_property_find_real()
|