/external/harfbuzz/src/ |
harfbuzz-gdef.c | 232 HB_UShort* pi; local 249 pi = ap->PointIndex; 253 FREE( pi ); 258 pi[n] = GET_UShort();
|
/external/harfbuzz_ng/src/hb-old/ |
harfbuzz-gdef.c | 232 HB_UShort* pi; local 249 pi = ap->PointIndex; 253 FREE( pi ); 258 pi[n] = GET_UShort();
|
/external/icu4c/common/ |
usc_impl.c | 308 int32_t pi = pairIndex & ~1; local 310 while (STACK_IS_NOT_EMPTY(scriptRun) && TOP(scriptRun).pairIndex != pi) {
|
/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/mesa3d/src/mesa/drivers/dri/r200/ |
r200_vertprog.c | 107 int pi; local 123 for(pi = 0; pi < paramList->NumParameters; pi++) { 124 switch(paramList->Parameters[pi].Type) { 127 //fprintf(stderr, "%s", vp->Parameters->Parameters[pi].Name); 129 *fcmd++ = paramList->ParameterValues[pi][0].f; 130 *fcmd++ = paramList->ParameterValues[pi][1].f; 131 *fcmd++ = paramList->ParameterValues[pi][2].f; 132 *fcmd++ = paramList->ParameterValues[pi][3].f [all...] |
/external/opencv/cvaux/src/ |
cvhmmobs.cpp | 512 static const double pi = 3.1415926535897932384626433832795; local 567 t = pi / (2 * n);
|
/external/skia/src/core/ |
SkCordic.cpp | 12 // 0x20000000 equals pi / 4 49 int32_t scaledRadians = radians * 0x28be; // scale radians to 65536 / PI() 130 SkFixed pi = SkApplySign(SK_FixedPI, rsign); local 131 result = pi - result;
|
/external/skia/src/effects/ |
SkBlurImageFilter.cpp | 123 float pi = SkScalarToFloat(SK_ScalarPI); local 124 int d = static_cast<int>(floorf(SkScalarToFloat(s) * 3.0f * sqrtf(2.0f * pi) / 4.0f + 0.5f));
|
/external/speex/libspeex/ |
kiss_fft.c | 490 const double pi=3.14159265358979323846264338327; local 491 double phase = ( -2*pi /nfft ) * i;
|
/external/tagsoup/src/org/ccil/cowan/tagsoup/ |
PYXWriter.java | 128 public void pi(char[] buff, int offset, int length) throws SAXException { method in class:PYXWriter
|
/external/tremolo/Tremolo/ |
floor0.c | 86 /* interpolated lookup based cos function, domain 0 to PI only */ 87 /* a is in 0.16 format, where 0==0, 2^^16-1==PI, return 0.14 */ 96 /* a is in 0.16 format, where 0==0, 2^^16==PI, return .LSP_FRACBITS */ 179 /* lsp is in 8.24, range 0 to PI; coslook wants it in .16 0 to 1*/ 199 ogg_uint32_t pi=46341; /* 2**-.5 in 0.16 */ local 208 lsp_loop_asm(&qi,&pi,&qexp,ilsp,wi,m); 210 pi=((pi*pi)>>16); 215 pi*=(1<<14)-((wi*wi)>>14) [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
StorageNotification.java | 133 PendingIntent pi = PendingIntent.getActivity(mContext, 0, intent, 0); local 137 com.android.internal.R.drawable.stat_sys_warning, false, true, pi); 201 PendingIntent pi = PendingIntent.getActivity(mContext, 0, intent, 0); local 206 com.android.internal.R.drawable.stat_notify_sdcard_usb, true, false, pi); 215 PendingIntent pi = PendingIntent.getActivity(mContext, 0, intent, 0); local 220 com.android.internal.R.drawable.stat_notify_sdcard_usb, true, false, pi); 259 PendingIntent pi = PendingIntent.getActivity(mContext, 0, intent, 0); local 264 false, true, pi); 274 boolean sound, boolean visible, PendingIntent pi) { 307 if (pi == null) [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);
|
/frameworks/rs/cpu_ref/ |
rsCpuIntrinsicBlur.cpp | 67 float pi = 3.1415926535897932f; local 68 // g(x) = ( 1 / sqrt( 2 * pi ) * sigma) * e ^ ( -x^2 / 2 * sigma^2 ) 81 float coeff1 = 1.0f / (sqrtf(2.0f * pi) * sigma); 118 const uchar *pi = ptrIn + x*4; local 124 const uchar4 *pvy = (const uchar4 *)&pi[validY * iStride]; 136 const uchar *pi = ptrIn + x; local 142 float pf = (float)pi[validY * iStride]; 170 const uchar *pi = ptrIn; local 175 float4 pf = convert_float4(((const uchar4 *)pi)[0]); 177 pi += iStride 193 const uchar *pi = ptrIn; local 224 const uchar *pi = ptrIn; local 302 const uchar *pi = pin + (y - cp->mIradius) * stride; local 354 const uchar *pi = pin + (y - cp->mIradius) * stride; local [all...] |
/libcore/luni/src/test/java/tests/org/w3c/dom/ |
ImportNode.java | 445 ProcessingInstruction pi; local 455 pi = aNewDoc.createProcessingInstruction("target1", "data1"); 456 aNode = (ProcessingInstruction) doc.importNode(pi, false);
|
/packages/apps/Settings/src/com/android/settings/applications/ |
AppOpsDetails.java | 127 PermissionInfo pi = mPm.getPermissionInfo(perm, 0); local 128 if (pi.group != null && !lastPermGroup.equals(pi.group)) { 129 lastPermGroup = pi.group; 130 PermissionGroupInfo pgi = mPm.getPermissionGroupInfo(pi.group, 0);
|
/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...] |
test_random.py | 8 from math import log, exp, pi, fsum, sin namespace 470 def gamma(z, sqrt2pi=(2.0*pi)**0.5): 473 return pi / sin(pi*z) / gamma(1.0-z) 518 (g.vonmisesvariate, (1.23, 0), pi, pi**2/3), 562 # range [0, 2*PI]. 572 " of range [0, 2*pi]").format(mu, kappa, sample))
|
/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...] |
test_random.py | 8 from math import log, exp, pi, fsum, sin namespace 470 def gamma(z, sqrt2pi=(2.0*pi)**0.5): 473 return pi / sin(pi*z) / gamma(1.0-z) 518 (g.vonmisesvariate, (1.23, 0), pi, pi**2/3), 562 # range [0, 2*PI]. 572 " of range [0, 2*pi]").format(mu, kappa, sample))
|
/frameworks/base/media/java/android/media/ |
RemoteController.java | 273 final PendingIntent pi; local 283 pi = mClientPendingIntentCurrent; 285 if (pi != null) { 289 pi.send(mContext, 0, intent); 719 private void onNewPendingIntent(int genId, PendingIntent pi) { 726 mClientPendingIntentCurrent = pi; 730 private void onNewPlaybackInfo(int genId, PlaybackInfo pi) { 739 mLastPlaybackInfo = pi; 742 if (pi.mCurrentPosMs == RemoteControlClient.PLAYBACK_POSITION_ALWAYS_UNKNOWN) { 743 l.onClientPlaybackStateUpdate(pi.mState) 835 final PlaybackInfo pi = new PlaybackInfo(RemoteControlClient.PLAYSTATE_STOPPED, local [all...] |
/libcore/luni/src/test/java/libcore/xml/ |
NormalizeTest.java | 531 ProcessingInstruction pi = document.createProcessingInstruction("foo", ""); local 532 root.appendChild(pi); 535 pi.setData(new String(new char[] { 'A', 'B', (char) c}));
|
/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...] |
/bionic/libm/upstream-freebsd/lib/msun/src/ |
e_lgammaf_r.c | 26 pi = 3.1415927410e+00, /* 0x40490fdb */ variable 100 if(ix<0x3e800000) return __kernel_sindf(pi*x); 124 case 0: y = __kernel_sindf(pi*y); break; 126 case 2: y = __kernel_cosdf(pi*((float)0.5-y)); break; 128 case 4: y = __kernel_sindf(pi*(one-y)); break; 130 case 6: y = -__kernel_cosdf(pi*(y-(float)1.5)); break; 131 default: y = __kernel_sindf(pi*(y-(float)2.0)); break; 162 nadj = __ieee754_logf(pi/fabsf(t*x));
|
/development/apps/Development/src/com/android/development/ |
PackageSummary.java | 218 ProviderInfo pi = info.providers[i]; local 221 setItemText(view, info, pi.name); 248 private final static void setItemText(Button item, PackageInfo pi,
|