/system/core/base/ |
properties.cpp | 35 const prop_info* pi = __system_property_find(key.c_str()); local 36 if (pi == nullptr) return default_value; 39 __system_property_read_callback(pi, 138 const prop_info* pi; local 140 while ((pi = __system_property_find(key.c_str())) == nullptr) { 147 return pi; 153 const prop_info* pi = WaitForPropertyCreation(key, relative_timeout, start_time); local 154 if (pi == nullptr) return false; 162 __system_property_read_callback(pi, WaitForPropertyCallback, &data); 168 if (!__system_property_wait(pi, data.last_read_serial, &unused, &ts)) return false [all...] |
/external/python/cpython3/Lib/test/ |
test_cmath.py | 6 from cmath import phase, polar, rect, pi 154 self.assertAlmostEqual(cmath.pi, pi_expected, places=9, 155 msg="cmath.pi is {}; should be {}".format(cmath.pi, pi_expected)) 429 check(-1, (1., pi)) 430 check(1j, (1., pi / 2)) 431 check(-3j, (3., -pi / 2)) 434 check(complex(-inf, 0), (inf, pi)) 435 check(complex(3, inf), (inf, pi / 2)) 436 check(complex(5, -inf), (inf, -pi / 2) [all...] |
/external/libunwind/src/arm/ |
Gex_tables.c | 51 unw_proc_info_t *pi; /* proc-info pointer */ member in struct:arm_cb_data 287 unw_word_t entry = (unw_word_t) c->pi.unwind_info; 380 unw_dyn_info_t *di, unw_proc_info_t *pi, 404 if (prel31_to_addr (as, arg, last, &pi->start_ip) < 0) 407 pi->end_ip = di->end_ip -1; 426 if (prel31_to_addr (as, arg, entry, &pi->start_ip) < 0) 429 if (prel31_to_addr (as, arg, entry + 8, &pi->end_ip) < 0) 432 pi->end_ip--; 437 pi->unwind_info_size = 8; 438 pi->unwind_info = (void *) entry [all...] |
/cts/tests/tests/content/src/android/content/pm/cts/ |
FeatureGroupInfoTest.java | 56 PackageInfo pi = mPackageManager.getPackageInfo(getContext().getPackageName(), local 58 assertNotNull(pi); 59 assertNotNull(pi.reqFeatures); 60 assertNotNull(pi.featureGroups); 62 assertFeatureInfosMatch(pi.reqFeatures, expectedFeatures); 63 assertFeatureGroupsMatch(pi.featureGroups, expectedGroups);
|
/external/libmojo/base/android/java/src/org/chromium/base/ |
BuildInfo.java | 84 PackageInfo pi = pm.getPackageInfo(context.getPackageName(), 0); local 86 if (pi.versionCode > 0) { 87 msg = Integer.toString(pi.versionCode); 100 PackageInfo pi = pm.getPackageInfo(context.getPackageName(), 0); local 102 if (pi.versionName != null) { 103 msg = pi.versionName;
|
/prebuilts/go/darwin-x86/src/image/draw/ |
example_test.go | 32 pi := image.NewPaletted(im.Bounds(), []color.Color{ 40 draw.FloydSteinberg.Draw(pi, im.Bounds(), im, image.ZP) 42 for i, p := range pi.Pix {
|
/prebuilts/go/linux-x86/src/image/draw/ |
example_test.go | 32 pi := image.NewPaletted(im.Bounds(), []color.Color{ 40 draw.FloydSteinberg.Draw(pi, im.Bounds(), im, image.ZP) 42 for i, p := range pi.Pix {
|
/bionic/libm/upstream-freebsd/lib/msun/src/ |
e_acosf.c | 24 pi = 3.1415925026e+00, /* 0x40490fda */ variable 44 else return pi+(float)2.0*pio2_lo; /* acos(-1)= pi */ 62 return pi - (float)2.0*(s+w);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/json/tests/ |
test_float.py | 7 for num in [1617161771.7650001, math.pi, math.pi**100,
8 math.pi**-100, 3.1]:
|
/external/libunwind/src/unwind/ |
unwind-internal.h | 70 unw_proc_info_t pi; local 118 || unw_get_proc_info (&context->cursor, &pi) < 0) 121 personality = (_Unwind_Personality_Fn) (uintptr_t) pi.handler;
|
/external/python/cpython2/Lib/json/tests/ |
test_float.py | 7 for num in [1617161771.7650001, math.pi, math.pi**100, 8 math.pi**-100, 3.1]:
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/json/tests/ |
test_float.py | 7 for num in [1617161771.7650001, math.pi, math.pi**100, 8 math.pi**-100, 3.1]:
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/json/tests/ |
test_float.py | 7 for num in [1617161771.7650001, math.pi, math.pi**100, 8 math.pi**-100, 3.1]:
|
/bionic/libc/system_properties/include/system_properties/ |
contexts_pre_split.h | 54 virtual void ForEach(void (*propfn)(const prop_info* pi, void* cookie), void* cookie) override {
|
contexts_serialized.h | 46 virtual void ForEach(void (*propfn)(const prop_info* pi, void* cookie), void* cookie) override;
|
contexts_split.h | 46 virtual void ForEach(void (*propfn)(const prop_info* pi, void* cookie), void* cookie) override;
|
/build/kati/ |
flags.cc | 66 int pi = i; local 144 for (; pi <= i; pi++) { 145 subkati_args.push_back(argv[pi]);
|
/external/clang/test/SemaCXX/ |
direct-initializer.cpp | 57 int *pi = cd; // expected-error {{no viable conversion from 'const Derived' to 'int *'}} local
|
/external/freetype/src/tools/ |
cordic.py | 6 scale = units/math.pi 11 print "table of arctan( 1/2^n ) for PI = " + repr(units/65536.0) + " units"
|
/external/libcxx/test/std/numerics/complex.number/complex.transcendentals/ |
atanh.pass.cpp | 37 const double pi = std::atan2(+0., -0.); local 65 is_about(r.imag(), pi/2); 67 is_about(r.imag(), -pi/2); 79 is_about(r.imag(), -pi/2); 81 is_about(r.imag(), pi/2); 88 is_about(r.imag(), -pi/2); 90 is_about(r.imag(), pi/2); 108 is_about(r.imag(), -pi/2); 110 is_about(r.imag(), pi/2);
|
/libcore/dom/src/test/java/org/w3c/domts/level2/core/ |
documentimportnode20.java | 41 * node, a cdata node and a pi. Verify if the nodes have been 43 * cdata nodes and the PItarget and PIData for the pi nodes. 89 ProcessingInstruction pi; local 108 pi = (ProcessingInstruction) childList.item(1); 112 piTargetVal = pi.getTarget(); 113 piDataVal = pi.getData();
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
HttpClientFactory.java | 110 PackageInfo pi; local 112 pi = context.getPackageManager().getPackageInfo( 118 pi.packageName, 119 pi.versionName,
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/numerics/complex.number/complex.transcendentals/ |
atanh.pass.cpp | 37 const double pi = std::atan2(+0., -0.); local 65 is_about(r.imag(), pi/2); 67 is_about(r.imag(), -pi/2); 79 is_about(r.imag(), -pi/2); 81 is_about(r.imag(), pi/2); 88 is_about(r.imag(), -pi/2); 90 is_about(r.imag(), pi/2); 108 is_about(r.imag(), -pi/2); 110 is_about(r.imag(), pi/2);
|
/external/eigen/Eigen/src/Core/products/ |
TriangularMatrixVector.h | 57 for (Index pi=0; pi<size; pi+=PanelWidth) 59 Index actualPanelWidth = (std::min)(PanelWidth, size-pi); 62 Index i = pi + k; 63 Index s = IsLower ? ((HasUnitDiag||HasZeroDiag) ? i+1 : i ) : pi; 70 Index r = IsLower ? rows - pi - actualPanelWidth : pi; 73 Index s = IsLower ? pi+actualPanelWidth : 0; 76 LhsMapper(&lhs.coeffRef(s,pi), lhsStride) [all...] |
/cts/hostsidetests/appsecurity/test-apps/V3SigningSchemeRotation/src/android/appsecurity/cts/v3rotationtests/ |
V3RotationTest.java | 105 PackageInfo pi = pm.getPackageInfo(PKG, PackageManager.GET_SIGNATURES); local 106 assertNotNull("Failed to get signatures in PackageInfo of " + PKG, pi.signatures); 108 1, pi.signatures.length); 110 pi.signatures[0].toCharsString(), FIRST_CERT_HEX); 117 PackageInfo pi = pm.getPackageInfo(PKG, PackageManager.GET_SIGNING_CERTIFICATES); local 119 pi.signingInfo); 121 pi.signingInfo.hasMultipleSigners()); 122 Signature[] signingHistory = pi.signingInfo.getSigningCertificateHistory();
|