/prebuilts/ndk/9/platforms/android-9/arch-x86/usr/include/sys/ |
system_properties.h | 69 int __system_property_read(const prop_info *pi, char *name, char *value);
|
/ndk/sources/cxx-stl/gabi++/tests/ |
test_gabixx_rtti.cpp | 61 int * pi; local 64 CHECK(typeid(int*) == typeid(pi)); 65 CHECK(typeid(int) == typeid(*pi)); 69 printf(" pi is: %s\n", typeid(pi).name()); 70 printf("*pi is: %s\n", typeid(*pi).name());
|
/ndk/tests/device/test-stlport-rtti/jni/ |
test_stlport_rtti.cpp | 61 int * pi; local 64 CHECK(typeid(int*) == typeid(pi)); 65 CHECK(typeid(int) == typeid(*pi)); 69 printf(" pi is: %s\n", typeid(pi).name()); 70 printf("*pi is: %s\n", typeid(*pi).name());
|
/external/libvorbis/lib/ |
lsp.c | 155 unsigned long pi=46341; /* 2**-.5 in 0.16 */ local 161 pi*=labs(ilsp[1]-wi); 164 if(!(shift=MLOOP_1[(pi|qi)>>25])) 165 if(!(shift=MLOOP_2[(pi|qi)>>19])) 166 shift=MLOOP_3[(pi|qi)>>16]; 168 pi=(pi>>shift)*labs(ilsp[j]-wi); 171 if(!(shift=MLOOP_1[(pi|qi)>>25])) 172 if(!(shift=MLOOP_2[(pi|qi)>>19])) 173 shift=MLOOP_3[(pi|qi)>>16] [all...] |
/external/srtp/crypto/replay/ |
rdbx.c | 90 index_init(xtd_seq_num_t *pi) { 92 *pi = make64(0,0); 94 *pi = 0; 99 index_advance(xtd_seq_num_t *pi, sequence_number_t s) { 103 *pi = make64(high32(*pi) + (s > ~low32(*pi) ? 1 : 0),low32(*pi) + s); 105 *pi += s;
|
/bionic/libc/bionic/ |
system_properties.c | 441 int __system_property_read(const prop_info *pi, char *name, char *value) 446 return __system_property_read_compat(pi, name, value); 450 serial = pi->serial; 452 __futex_wait((volatile void *)&pi->serial, serial, 0); 453 serial = pi->serial; 456 memcpy(value, pi->value, len + 1); 458 if(serial == pi->serial) { 460 strcpy(name, pi->name); 469 const prop_info *pi = __system_property_find(name); local 471 if(pi != 0) 605 const prop_info *pi; local 642 const prop_info *pi; member in struct:find_nth_cookie [all...] |
/external/emma/core/java12/com/vladium/util/ |
WCMatcher.java | 75 // private boolean matches (int pi, int si, final char [] string) 77 // System.out.println ("pi = " + pi + ", si = " + si); 79 // if (pi == m_pattern.length) 83 // switch (m_pattern [pi]) 87 // return (si < string.length) && matches (pi + 1, si + 1, string); 92 // return matches (pi + 1, si, string) || ((si < string.length) && matches (pi, si + 1, string)); 97 // return (si < string.length) && (m_pattern [pi] == string [si]) && matches (pi + 1, si + 1, string) 245 int si = 0, pi = 0; local 304 int si = 0, pi = 0; local [all...] |
/external/srtp/crypto/include/ |
rdbx.h | 150 /* index_init(&pi) initializes a packet index pi (sets it to zero) */ 153 index_init(xtd_seq_num_t *pi); 155 /* index_advance(&pi, s) advances a xtd_seq_num_t forward by s */ 158 index_advance(xtd_seq_num_t *pi, sequence_number_t s);
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
MetaDataTest.java | 139 ProviderInfo pi = mContext.getPackageManager().resolveContentProvider( local 142 checkMetaData(cn, pi); 144 pi = mContext.getPackageManager().resolveContentProvider( 147 assertNull("Meta data returned when not requested", pi.metaData); 154 PermissionInfo pi = mContext.getPackageManager().getPermissionInfo( local 156 checkMetaData(cn, pi); 158 pi = mContext.getPackageManager().getPermissionInfo( 161 assertNull("Meta data returned when not requested", pi.metaData);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_cmath.py | 5 from cmath import phase, polar, rect, pi namespace 117 self.assertAlmostEqual(cmath.pi, pi_expected, places=9, 118 msg="cmath.pi is {}; should be {}".format(cmath.pi, pi_expected)) 362 self.assertCISEqual(polar(-1.), (1., pi)) 363 self.assertCISEqual(polar(1j), (1., pi/2)) 364 self.assertCISEqual(polar(-1j), (1., -pi/2)) 369 self.assertAlmostEqual(phase(-1.), pi) 370 self.assertAlmostEqual(phase(-1.+1E-300j), pi) 371 self.assertAlmostEqual(phase(-1.-1E-300j), -pi) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_cmath.py | 5 from cmath import phase, polar, rect, pi namespace 117 self.assertAlmostEqual(cmath.pi, pi_expected, places=9, 118 msg="cmath.pi is {}; should be {}".format(cmath.pi, pi_expected)) 362 self.assertCISEqual(polar(-1.), (1., pi)) 363 self.assertCISEqual(polar(1j), (1., pi/2)) 364 self.assertCISEqual(polar(-1j), (1., -pi/2)) 369 self.assertAlmostEqual(phase(-1.), pi) 370 self.assertAlmostEqual(phase(-1.+1E-300j), pi) 371 self.assertAlmostEqual(phase(-1.-1E-300j), -pi) [all...] |
/bionic/libm/upstream-freebsd/lib/msun/src/ |
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 */ 60 if(expt<ACOS_CONST) return pio2_hi+pio2_lo;/*x tiny: acosl=pi/2*/ 73 return pi - 2.0*(s+w);
|
/external/chromium/base/third_party/icu/ |
icu_utf.cc | 137 utf8_nextCharSafeBody(const uint8 *s, int32 *pi, int32 length, UChar32 c, UBool strict) { 138 int32 i=*pi; 197 i=*pi; 224 *pi=i;
|
/external/chromium_org/base/third_party/icu/ |
icu_utf.cc | 137 utf8_nextCharSafeBody(const uint8 *s, int32 *pi, int32 length, UChar32 c, UBool strict) { 138 int32 i=*pi; 197 i=*pi; 224 *pi=i;
|
/frameworks/base/tests/SharedLibrary/lib/src/com/google/android/test/shared_library/ |
SharedLibraryMain.java | 43 PackageInfo pi = null; local 45 pi = context.getPackageManager().getPackageInfo(LIBRARY_PACKAGE, 0); 46 return pi.versionCode;
|
/libcore/dom/src/test/java/org/w3c/domts/level2/core/ |
importNode14.java | 41 * parameters. The returned PI should belong to this document whose systemId is "staff.dtd". 71 ProcessingInstruction pi; local 82 pi = aNewDoc.createProcessingInstruction("target1", "data1"); 83 aNode = (ProcessingInstruction) doc.importNode(pi, false);
|
/external/chromium_org/base/android/java/src/org/chromium/base/ |
BuildInfo.java | 69 PackageInfo pi = pm.getPackageInfo(context.getPackageName(), 0); local 71 if (pi.versionCode > 0) { 72 msg = Integer.toString(pi.versionCode); 86 PackageInfo pi = pm.getPackageInfo(context.getPackageName(), 0); local 87 msg = pi.versionName;
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/complex.number/complex.transcendentals/ |
acosh.pass.cpp | 38 const double pi = std::atan2(+0., -0.); local 47 is_about(r.imag(), -pi/2); 49 is_about(r.imag(), pi/2); 63 is_about(r.imag(), -pi/2); 65 is_about(r.imag(), pi/2); 77 is_about(r.imag(), -pi); 79 is_about(r.imag(), pi); 93 is_about(r.imag(), -0.75 * pi); 95 is_about(r.imag(), 0.75 * pi); 102 is_about(r.imag(), -0.25 * pi); [all...] |
log.pass.cpp | 37 const double pi = std::atan2(+0., -0.); local 49 is_about(r.imag(), -pi); 51 is_about(r.imag(), pi); 66 is_about(r.imag(), pi/2); 68 is_about(r.imag(), -pi/2); 79 is_about(r.imag(), pi); 81 is_about(r.imag(), -pi); 97 is_about(r.imag(), pi/2); 103 is_about(r.imag(), -pi); 105 is_about(r.imag(), pi); [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
CdmaInformationRecords.java | 154 public byte pi; field in class:CdmaInformationRecords.CdmaNumberInfoRec 157 public CdmaNumberInfoRec(int id, String number, int numberType, int numberPlan, int pi, 162 this.pi = (byte)pi; 173 ", pi: " + pi + 191 int pi, int si, int reason) { 193 number, numberType, numberPlan, pi, si);
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
AppInfo.java | 80 PackageInfo pi = pm.getPackageInfo(packageName, 0); local 81 flags = initFlags(pi); 82 firstInstallTime = initFirstInstallTime(pi); 90 public static int initFlags(PackageInfo pi) { 91 int appFlags = pi.applicationInfo.flags; 103 public static long initFirstInstallTime(PackageInfo pi) { 104 return pi.firstInstallTime;
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_byteswap.py | 114 s = c_float(math.pi) 115 self.assertEqual(bin(struct.pack("f", math.pi)), bin(s)) 117 self.assertAlmostEqual(s.value, math.pi, 6) 118 s = c_float.__ctype_le__(math.pi) 119 self.assertAlmostEqual(s.value, math.pi, 6) 120 self.assertEqual(bin(struct.pack("<f", math.pi)), bin(s)) 121 s = c_float.__ctype_be__(math.pi) 122 self.assertAlmostEqual(s.value, math.pi, 6) 123 self.assertEqual(bin(struct.pack(">f", math.pi)), bin(s)) 132 s = c_double(math.pi) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_byteswap.py | 114 s = c_float(math.pi) 115 self.assertEqual(bin(struct.pack("f", math.pi)), bin(s)) 117 self.assertAlmostEqual(s.value, math.pi, 6) 118 s = c_float.__ctype_le__(math.pi) 119 self.assertAlmostEqual(s.value, math.pi, 6) 120 self.assertEqual(bin(struct.pack("<f", math.pi)), bin(s)) 121 s = c_float.__ctype_be__(math.pi) 122 self.assertAlmostEqual(s.value, math.pi, 6) 123 self.assertEqual(bin(struct.pack(">f", math.pi)), bin(s)) 132 s = c_double(math.pi) [all...] |
/external/clang/test/SemaCXX/ |
member-pointer.cpp | 96 int HasMembers::*pi = &HasMembers::i; member in class:HasMembers 97 hm.*pi = 0; 98 int i = phm->*pi; 99 (void)&(hm.*pi); 100 (void)&(phm->*pi); 101 (void)&((&hm)->*pi); 107 (void)(hm->*pi); // expected-error {{left hand operand to ->* must be a pointer to class compatible with the right hand operand, but is 'HasMembers'}} 108 (void)(phm.*pi); // expected-error {{left hand operand to .* must be a class compatible with the right hand operand, but is 'HasMembers *'}} 109 (void)(i.*pi); // expected-error {{left hand operand to .* must be a class compatible with the right hand operand, but is 'int'}} 111 (void)(ptr->*pi); // expected-error {{left hand operand to ->* must be a pointer to class compatible with the righ (…) [all...] |
/external/icu4c/common/ |
utf_impl.c | 125 utf8_nextCharSafeBody(const uint8_t *s, int32_t *pi, int32_t length, UChar32 c, UBool strict) { 126 int32_t i=*pi; 163 *pi=i; 174 i=*pi; 179 c=errorValue(i-*pi, strict); 180 *pi=i; 230 utf8_prevCharSafeBody(const uint8_t *s, int32_t start, int32_t *pi, UChar32 c, UBool strict) { 231 int32_t i=*pi; 254 *pi=i; 271 *pi=i [all...] |