/bionic/libc/system_properties/ |
D | system_properties.cpp | 184 uint32_t SystemProperties::ReadMutablePropertyValue(const prop_info* pi, char* value) { in ReadMutablePropertyValue() argument 186 uint32_t new_serial = load_const_atomic(&pi->serial, memory_order_acquire); in ReadMutablePropertyValue() 194 prop_area* pa = contexts_->GetPropAreaForName(pi->name); in ReadMutablePropertyValue() 197 memcpy(value, pi->value, len + 1); in ReadMutablePropertyValue() 200 new_serial = load_const_atomic(&pi->serial, memory_order_relaxed); in ReadMutablePropertyValue() 215 int SystemProperties::Read(const prop_info* pi, char* name, char* value) { in Read() argument 216 uint32_t serial = ReadMutablePropertyValue(pi, value); in Read() 218 size_t namelen = strlcpy(name, pi->name, PROP_NAME_MAX); in Read() 224 pi->name, PROP_NAME_MAX - 1, name); in Read() 227 if (is_read_only(pi->name) && pi->is_long()) { in Read() [all …]
|
/bionic/libc/bionic/ |
D | system_property_api.cpp | 74 int __system_property_read(const prop_info* pi, char* name, char* value) { in __system_property_read() argument 75 return system_properties.Read(pi, name, value); in __system_property_read() 79 void __system_property_read_callback(const prop_info* pi, in __system_property_read_callback() argument 83 return system_properties.ReadCallback(pi, callback, cookie); in __system_property_read_callback() 92 int __system_property_update(prop_info* pi, const char* value, unsigned int len) { in __system_property_update() argument 93 return system_properties.Update(pi, value, len); in __system_property_update() 103 uint32_t __system_property_serial(const prop_info* pi) { in __system_property_serial() argument 110 return atomic_load_explicit(&pi->serial, memory_order_acquire); in __system_property_serial() 119 bool __system_property_wait(const prop_info* pi, uint32_t old_serial, uint32_t* new_serial_ptr, in __system_property_wait() argument 121 return system_properties.Wait(pi, old_serial, new_serial_ptr, relative_timeout); in __system_property_wait() [all …]
|
D | fdsan.cpp | 349 const prop_info* pi = __system_property_find(kFdsanPropertyName); in android_fdsan_set_error_level_from_property() local 350 if (!pi) { in android_fdsan_set_error_level_from_property() 363 pi, in android_fdsan_set_error_level_from_property()
|
D | bionic_allocator.cpp | 412 BionicSmallObjectAllocator* BionicAllocator::get_small_object_allocator(page_info* pi, void* ptr) { in get_small_object_allocator() argument 413 BionicSmallObjectAllocator* result = get_small_object_allocator_unchecked(pi->type); in get_small_object_allocator() 414 if (result != pi->allocator_addr) { in get_small_object_allocator()
|
/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 atan2f() 54 case 3: return -pi-tiny;/* atan(-0,-anything) =-pi */ in atan2f() 73 case 2: return pi+tiny ; /* atan(+...,-INF) */ in atan2f() 74 case 3: return -pi-tiny ; /* atan(-...,-INF) */ in atan2f() 92 case 2: return pi-(z-pi_lo);/* atan(+,-) */ in atan2f() 94 return (z-pi_lo)-pi;/* atan(-,-) */ in atan2f()
|
D | e_atan2.c | 56 pi = 3.1415926535897931160E+00; /* 0x400921FB, 0x54442D18 */ variable 82 case 2: return pi+tiny;/* atan(+0,-anything) = pi */ in atan2() 83 case 3: return -pi-tiny;/* atan(-0,-anything) =-pi */ in atan2() 102 case 2: return pi+tiny ; /* atan(+...,-INF) */ in atan2() 103 case 3: return -pi-tiny ; /* atan(-...,-INF) */ in atan2() 121 case 2: return pi-(z-pi_lo);/* atan(+,-) */ in atan2() 123 return (z-pi_lo)-pi;/* atan(-,-) */ in atan2()
|
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_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 = logf(pi/fabsf(t*x)); in 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 = log(pi/fabs(t*x)); in 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 acosf() 62 return pi - (float)2.0*(s+w); in 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 acos() 94 return pi - 2.0*(s+w); in acos()
|
/bionic/tests/ |
D | system_properties_test.cpp | 80 static void foreach_test_callback(const prop_info *pi, void* cookie) { in foreach_test_callback() argument 83 ASSERT_TRUE(pi != nullptr); in foreach_test_callback() 87 static void hierarchical_test_callback(const prop_info *pi, void *cookie) { in hierarchical_test_callback() argument 93 __system_property_read(pi, name, value); in hierarchical_test_callback() 211 const prop_info* pi = system_properties.Find("property"); in TEST() local 212 ASSERT_TRUE(pi != nullptr); in TEST() 213 system_properties.Update(const_cast<prop_info*>(pi), "value4", 6); in TEST() 215 pi = system_properties.Find("other_property"); in TEST() 216 ASSERT_TRUE(pi != nullptr); in TEST() 217 system_properties.Update(const_cast<prop_info*>(pi), "newvalue5", 9); in TEST() [all …]
|
D | system_properties_test2.cpp | 87 const prop_info* pi = __system_property_find(property_name.c_str()); in TEST() local 88 ASSERT_TRUE(pi != nullptr); in TEST() 91 __system_property_read_callback(pi, in TEST() 98 pi = __system_property_find(long_property_name.c_str()); in TEST() 99 ASSERT_TRUE(pi != nullptr); in TEST() 102 __system_property_read_callback(pi, in TEST() 110 pi = __system_property_find(property_name.c_str()); in TEST() 111 ASSERT_TRUE(pi != nullptr); in TEST() 114 ASSERT_EQ(8, __system_property_read(pi, &legacy_name[0], propvalue)); in TEST() 119 ASSERT_TRUE(pi != nullptr); in TEST()
|
D | gwp_asan_test.cpp | 126 const prop_info* pi = __system_property_find(name.c_str()); in GetSysprop() local 127 if (pi == nullptr) return value; in GetSysprop() 129 pi, in GetSysprop()
|
D | utils.h | 76 static const prop_info* pi = __system_property_find("ro.dalvik.vm.isa." ABI_STRING); in running_with_native_bridge() local 77 return pi != nullptr; in running_with_native_bridge()
|
/bionic/libc/system_properties/include/system_properties/ |
D | system_properties.h | 60 int Read(const prop_info* pi, char* name, char* value); 61 void ReadCallback(const prop_info* pi, 66 int Update(prop_info* pi, const char* value, unsigned int len); 69 bool Wait(const prop_info* pi, uint32_t old_serial, uint32_t* new_serial_ptr, 72 int Foreach(void (*propfn)(const prop_info* pi, void* cookie), void* cookie); 75 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 void (*propfn)(const prop_info* pi, void* cookie), void* cookie);
|
D | contexts.h | 43 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_split.h | 47 virtual void ForEach(void (*propfn)(const prop_info* pi, void* cookie), void* cookie) override;
|
D | contexts_serialized.h | 48 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 | 207 [](const prop_info* pi, void* cookie) { in BM_property_find_real() argument 208 __system_property_read_callback(pi, in BM_property_find_real()
|
/bionic/libc/private/ |
D | bionic_allocator.h | 120 BionicSmallObjectAllocator* get_small_object_allocator(page_info* pi, void* ptr);
|