/prebuilts/go/linux-x86/src/math/ |
jn.go | 93 // Jn(x) = cos(x-(2n+1)*pi/4)*sqrt(2/x*pi) 94 // Yn(x) = sin(x-(2n+1)*pi/4)*sqrt(2/x*pi) 96 // xn=x-(2n+1)*pi/4, sqt2 = sqrt(2),then 268 // Jn(x) = cos(x-(2n+1)*pi/4)*sqrt(2/x*pi) 269 // Yn(x) = sin(x-(2n+1)*pi/4)*sqrt(2/x*pi) 271 // xn=x-(2n+1)*pi/4, sqt2 = sqrt(2),the [all...] |
sin.go | 27 // Range reduction is into intervals of pi/4. The reduction error is nearly 31 // Between 0 and pi/4 the sine is approximated by 33 // Between pi/4 and pi/2 the cosine is represented as 58 // Range reduction is into intervals of pi/4. The reduction error is nearly 62 // Between 0 and pi/4 the cosine is approximated by 64 // Between pi/4 and pi/2 the sine is represented as 121 PI4A = 7.85398125648498535156E-1 // 0x3fe921fb40000000, Pi/4 split into three parts 124 M4PI = 1.273239544735162542821171882678754627704620361328125 // 4/pi [all...] |
/frameworks/rs/cpu_ref/ |
rsCpuIntrinsicBlur.cpp | 65 float pi = 3.1415926535897932f; local 66 // g(x) = (1 / (sqrt(2 * pi) * sigma)) * e ^ (-x^2 / (2 * sigma^2)) 79 float coeff1 = 1.0f / (sqrtf(2.0f * pi) * sigma); 116 const uchar *pi = ptrIn + x*4; local 122 const uchar4 *pvy = (const uchar4 *)&pi[validY * iStride]; 134 const uchar *pi = ptrIn + x; local 140 float pf = (float)pi[validY * iStride]; 182 const uchar *pi = ptrIn; local 187 float4 pf = convert_float4(((const uchar4 *)pi)[0]); 189 pi += iStride 206 const uchar *pi = ptrIn; local 235 const uchar *pi = ptrIn; local 328 const uchar *pi = pin + (y - cp->mIradius) * stride; local 394 const uchar *pi = pin + (y - cp->mIradius) * stride; local [all...] |
/external/libunwind/src/dwarf/ |
Gfind_unwind_table.c | 82 unw_proc_info_t pi; local 83 memset (&pi, 0, sizeof (pi)); 84 pi.gp = di_cache->gp; 91 if (dwarf_read_encoded_pointer (ei->u.memory.as, a, &addr, hdr.eh_frame_ptr_enc, &pi, 98 if (dwarf_read_encoded_pointer (ei->u.memory.as, a, &addr, hdr.fde_count_enc, &pi, 252 unw_proc_info_t pi; local 367 memset (&pi, 0, sizeof (pi)); 368 pi.gp = edi->di_cache.gp [all...] |
Gfind_proc_info-lsb.c | 53 unw_proc_info_t *pi, int need_unwind_info, void *arg) 62 if ((ret = dwarf_extract_proc_info_from_fde (as, a, &addr, pi, 0, 0, arg)) 66 if (ip >= pi->start_ip && ip < pi->end_ip) 71 if ((ret = dwarf_extract_proc_info_from_fde (as, a, &addr, pi, 609 unw_proc_info_t *pi = cb_data->pi; local 679 pi->gp = di->gp; 694 &addr, hdr->eh_frame_ptr_enc, pi, 700 &addr, hdr->fde_count_enc, pi, [all...] |
/packages/apps/Settings/src/com/android/settings/applications/ |
RunningState.java | 454 PackageInfo pi = pm.getPackageInfo(name, 0); local 455 if (pi.sharedUserLabel != 0) { 457 pi.sharedUserLabel, pi.applicationInfo); 461 mPackageInfo = pi.applicationInfo; 937 ActivityManager.RunningAppProcessInfo pi = processes.get(i); local 1028 ActivityManager.RunningAppProcessInfo pi = processes.get(i); local 1118 ProcessItem pi = pit.next(); local 1190 ProcessItem pi = sortedProcesses.get(i); local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_math.py | 143 self.ftest('pi', math.pi, 3.1415926)
148 self.ftest('acos(-1)', math.acos(-1), math.pi)
149 self.ftest('acos(0)', math.acos(0), math.pi/2)
167 self.ftest('asin(-1)', math.asin(-1), -math.pi/2)
169 self.ftest('asin(1)', math.asin(1), math.pi/2)
185 self.ftest('atan(-1)', math.atan(-1), -math.pi/4)
187 self.ftest('atan(1)', math.atan(1), math.pi/4)
188 self.ftest('atan(inf)', math.atan(INF), math.pi/2)
189 self.ftest('atan(-inf)', math.atan(NINF), -math.pi/2) [all...] |
/external/python/cpython2/Lib/test/ |
test_math.py | 143 self.ftest('pi', math.pi, 3.1415926) 148 self.ftest('acos(-1)', math.acos(-1), math.pi) 149 self.ftest('acos(0)', math.acos(0), math.pi/2) 167 self.ftest('asin(-1)', math.asin(-1), -math.pi/2) 169 self.ftest('asin(1)', math.asin(1), math.pi/2) 185 self.ftest('atan(-1)', math.atan(-1), -math.pi/4) 187 self.ftest('atan(1)', math.atan(1), math.pi/4) 188 self.ftest('atan(inf)', math.atan(INF), math.pi/2) 189 self.ftest('atan(-inf)', math.atan(NINF), -math.pi/2 [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_math.py | 143 self.ftest('pi', math.pi, 3.1415926) 148 self.ftest('acos(-1)', math.acos(-1), math.pi) 149 self.ftest('acos(0)', math.acos(0), math.pi/2) 167 self.ftest('asin(-1)', math.asin(-1), -math.pi/2) 169 self.ftest('asin(1)', math.asin(1), math.pi/2) 185 self.ftest('atan(-1)', math.atan(-1), -math.pi/4) 187 self.ftest('atan(1)', math.atan(1), math.pi/4) 188 self.ftest('atan(inf)', math.atan(INF), math.pi/2) 189 self.ftest('atan(-inf)', math.atan(NINF), -math.pi/2 [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_math.py | 143 self.ftest('pi', math.pi, 3.1415926) 148 self.ftest('acos(-1)', math.acos(-1), math.pi) 149 self.ftest('acos(0)', math.acos(0), math.pi/2) 167 self.ftest('asin(-1)', math.asin(-1), -math.pi/2) 169 self.ftest('asin(1)', math.asin(1), math.pi/2) 185 self.ftest('atan(-1)', math.atan(-1), -math.pi/4) 187 self.ftest('atan(1)', math.atan(1), math.pi/4) 188 self.ftest('atan(inf)', math.atan(INF), math.pi/2) 189 self.ftest('atan(-inf)', math.atan(NINF), -math.pi/2 [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_math.py | 143 self.ftest('pi', math.pi, 3.1415926) 148 self.ftest('acos(-1)', math.acos(-1), math.pi) 149 self.ftest('acos(0)', math.acos(0), math.pi/2) 167 self.ftest('asin(-1)', math.asin(-1), -math.pi/2) 169 self.ftest('asin(1)', math.asin(1), math.pi/2) 185 self.ftest('atan(-1)', math.atan(-1), -math.pi/4) 187 self.ftest('atan(1)', math.atan(1), math.pi/4) 188 self.ftest('atan(inf)', math.atan(INF), math.pi/2) 189 self.ftest('atan(-inf)', math.atan(NINF), -math.pi/2 [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_math.py | 143 self.ftest('pi', math.pi, 3.1415926) 148 self.ftest('acos(-1)', math.acos(-1), math.pi) 149 self.ftest('acos(0)', math.acos(0), math.pi/2) 167 self.ftest('asin(-1)', math.asin(-1), -math.pi/2) 169 self.ftest('asin(1)', math.asin(1), math.pi/2) 185 self.ftest('atan(-1)', math.atan(-1), -math.pi/4) 187 self.ftest('atan(1)', math.atan(1), math.pi/4) 188 self.ftest('atan(inf)', math.atan(INF), math.pi/2) 189 self.ftest('atan(-inf)', math.atan(NINF), -math.pi/2 [all...] |
/bionic/libm/upstream-freebsd/lib/msun/src/ |
e_lgammaf_r.c | 29 pi = 3.1415927410e+00, /* 0x40490fdb */ variable 109 case 0: y = __kernel_sindf(pi*y); break; 111 case 2: y = __kernel_cosdf(pi*((float)0.5-y)); break; 113 case 4: y = __kernel_sindf(pi*(one-y)); break; 115 case 6: y = -__kernel_cosdf(pi*(y-(float)1.5)); break; 116 default: y = __kernel_sindf(pi*(y-(float)2.0)); break; 151 nadj = __ieee754_logf(pi/fabsf(t*x));
|
e_acos.c | 19 * acos(x) = pi/2 - asin(x) 20 * acos(-x) = pi/2 + asin(x) 22 * acos(x) = pi/2 - (x + x*x^2*R(x^2)) (see asin.c) 24 * acos(x) = pi/2 - (pi/2 - 2asin(sqrt((1-x)/2))) 31 * acos(x) = pi - 2asin(sqrt((1-|x|)/2)) 32 * = pi - 0.5*(s+s*z*R(z)), where z=(1-|x|)/2,s=sqrt(z) 48 pi = 3.14159265358979311600e+00, /* 0x400921FB, 0x54442D18 */ variable 76 else return pi+2.0*pio2_lo; /* acos(-1)= pi */ [all...] |
/external/clang/test/SemaCXX/ |
new-delete.cpp | 38 int *pi = new int; local 39 float *pf = new (pi) float(); 40 pi = new int(1); 41 pi = new int('c'); 45 S *(*paps)[2] = new S*[*pi][2]; 48 pi = ::new int; 52 pi = new (S(1.0f, 2)) int;
|
cxx1y-variable-templates_top_level.cpp | 12 T pi = T(3.1415926535897932385); // expected-note {{template is declared here}} variable 25 int ipi = pi<int>; 27 double dpi = pi<double>; 33 int ipi = pi; // expected-error {{cannot refer to variable template 'pi' without a template argument list}} 39 return pi<T> * r * r; 60 int ipi0 = pi<int>; 61 int pi; local 62 int a = pi; 63 int ipi = pi<int>; // expected-error {{expected '(' for function-style cast or type construction}} [all...] |
/external/libcxx/test/std/numerics/complex.number/complex.transcendentals/ |
acos.pass.cpp | 37 const double pi = std::atan2(+0., -0.); local 44 is_about(r.real(), pi/2); 50 is_about(r.real(), pi/2); 55 is_about(r.real(), pi/2); 66 is_about(r.real(), pi); 79 is_about(r.real(), 0.75 * pi); 85 is_about(r.real(), 0.25 * pi);
|
/external/libunwind/include/tdep-x86_64/ |
libunwind_i.h | 212 dwarf_find_proc_info((c)->as, (ip), &(c)->pi, (n), \ 214 # define tdep_put_unwind_info(as,pi,arg) \ 215 dwarf_put_unwind_info((as), (pi), (arg)) 218 (*(c)->as->acc.find_proc_info)((c)->as, (ip), &(c)->pi, (n), \ 220 # define tdep_put_unwind_info(as,pi,arg) \ 221 (*(as)->acc.put_unwind_info)((as), (pi), (arg)) 234 unw_dyn_info_t *di, unw_proc_info_t *pi,
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/numerics/complex.number/complex.transcendentals/ |
acos.pass.cpp | 37 const double pi = std::atan2(+0., -0.); local 44 is_about(r.real(), pi/2); 50 is_about(r.real(), pi/2); 55 is_about(r.real(), pi/2); 66 is_about(r.real(), pi); 79 is_about(r.real(), 0.75 * pi); 85 is_about(r.real(), 0.25 * pi);
|
/external/libunwind/include/tdep-arm/ |
libunwind_i.h | 268 arm_find_proc_info((c)->as, (ip), &(c)->pi, (n), \ 270 # define tdep_put_unwind_info(as,pi,arg) \ 271 arm_put_unwind_info((as), (pi), (arg)) 274 (*(c)->as->acc.find_proc_info)((c)->as, (ip), &(c)->pi, (n), \ 276 # define tdep_put_unwind_info(as,pi,arg) \ 277 (*(as)->acc.put_unwind_info)((as), (pi), (arg)) 289 unw_proc_info_t *pi, int need_unwind_info, 292 unw_proc_info_t *pi, void *arg); 294 unw_dyn_info_t *di, unw_proc_info_t *pi,
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
UsbUserSettingsManager.java | 204 private void requestPermissionDialog(Intent intent, String packageName, PendingIntent pi) { 222 intent.putExtra(Intent.EXTRA_INTENT, pi); 234 public void requestPermission(UsbDevice device, String packageName, PendingIntent pi, int uid) { 242 pi.send(mUserContext, 0, intent); 253 pi.send(mUserContext, 0, intent); 263 requestPermissionDialog(intent, packageName, pi); 266 public void requestPermission(UsbAccessory accessory, String packageName, PendingIntent pi) { 274 pi.send(mUserContext, 0, intent); 282 requestPermissionDialog(intent, packageName, pi);
|
/cts/tests/tests/permission/src/android/permission/cts/ |
ProviderPermissionTest.java | 145 for (PackageInfo pi : holding) { 146 if (!Objects.equals(pi.packageName, validPkg)) { 149 + pi.packageName + " which must be revoked for security reasons");
|
/device/linaro/bootloader/edk2/StdLib/LibC/Math/ |
e_acos.c | 35 * acos(x) = pi/2 - asin(x)
36 * acos(-x) = pi/2 + asin(x)
38 * acos(x) = pi/2 - (x + x*x^2*R(x^2)) (see asin.c)
40 * acos(x) = pi/2 - (pi/2 - 2asin(sqrt((1-x)/2)))
47 * acos(x) = pi - 2asin(sqrt((1-|x|)/2))
48 * = pi - 0.5*(s+s*z*R(z)), where z=(1-|x|)/2,s=sqrt(z)
62 pi = 3.14159265358979311600e+00, /* 0x400921FB, 0x54442D18 */
variable 89 else return pi+2.0*pio2_lo; /* acos(-1)= pi */
[all...] |
/external/fdlibm/ |
e_acos.c | 16 * acos(x) = pi/2 - ieee_asin(x) 17 * acos(-x) = pi/2 + ieee_asin(x) 19 * acos(x) = pi/2 - (x + x*x^2*R(x^2)) (see asin.c) 21 * acos(x) = pi/2 - (pi/2 - 2asin(ieee_sqrt((1-x)/2))) 28 * acos(x) = pi - 2asin(ieee_sqrt((1-|x|)/2)) 29 * = pi - 0.5*(s+s*z*R(z)), where z=(1-|x|)/2,s=ieee_sqrt(z) 46 pi = 3.14159265358979311600e+00, /* 0x400921FB, 0x54442D18 */ variable 74 else return pi+2.0*pio2_lo; /* ieee_acos(-1)= pi */ [all...] |
/external/python/cpython2/Demo/threads/ |
Generator.py | 67 def pi(g): function 81 g = Generator(pi, ()) 83 g = Generator(pi, ())
|