/external/clang/test/Sema/ |
H A D | usual-float.c | 7 const float PI = 3.142; local 10 float ang = (float) tindex * (-dir*2.0f*PI/n);
|
/external/llvm/tools/opt/ |
H A D | PassPrinters.h | 28 FunctionPass *createFunctionPassPrinter(const PassInfo *PI, raw_ostream &out, 31 CallGraphSCCPass *createCallGraphPassPrinter(const PassInfo *PI, 34 ModulePass *createModulePassPrinter(const PassInfo *PI, raw_ostream &out, 37 LoopPass *createLoopPassPrinter(const PassInfo *PI, raw_ostream &out, 40 RegionPass *createRegionPassPrinter(const PassInfo *PI, raw_ostream &out, 43 BasicBlockPass *createBasicBlockPassPrinter(const PassInfo *PI,
|
H A D | PassPrinters.cpp | 33 FunctionPassPrinter(const PassInfo *PI, raw_ostream &out, bool Quiet) argument 34 : FunctionPass(ID), PassToPrint(PI), Out(out), QuietPass(Quiet) { 66 CallGraphSCCPassPrinter(const PassInfo *PI, raw_ostream &out, bool Quiet) argument 67 : CallGraphSCCPass(ID), PassToPrint(PI), Out(out), QuietPass(Quiet) { 103 ModulePassPrinter(const PassInfo *PI, raw_ostream &out, bool Quiet) argument 104 : ModulePass(ID), PassToPrint(PI), Out(out), QuietPass(Quiet) { 135 LoopPassPrinter(const PassInfo *PI, raw_ostream &out, bool Quiet) argument 136 : LoopPass(ID), PassToPrint(PI), Out(out), QuietPass(Quiet) { 168 RegionPassPrinter(const PassInfo *PI, raw_ostream &out, bool Quiet) argument 169 : RegionPass(ID), PassToPrint(PI), Ou 203 BasicBlockPassPrinter(const PassInfo *PI, raw_ostream &out, bool Quiet) argument 231 createFunctionPassPrinter(const PassInfo *PI, raw_ostream &OS, bool Quiet) argument 236 createCallGraphPassPrinter(const PassInfo *PI, raw_ostream &OS, bool Quiet) argument 242 createModulePassPrinter(const PassInfo *PI, raw_ostream &OS, bool Quiet) argument 247 createLoopPassPrinter(const PassInfo *PI, raw_ostream &OS, bool Quiet) argument 252 createRegionPassPrinter(const PassInfo *PI, raw_ostream &OS, bool Quiet) argument 257 createBasicBlockPassPrinter(const PassInfo *PI, raw_ostream &OS, bool Quiet) argument [all...] |
/external/skia/experimental/docs/ |
H A D | exampleSlides.js | 80 { "line": [ 200,200, 200 + circle.radius * Math.cos(-22.5 * Math.PI / 180), 81 200 + circle.radius * Math.sin(-22.5 * Math.PI / 180) ] } 456 "range":[-22.5 * Math.PI / 180, (-22.5 - 360) * Math.PI / 180], "params":"circle", 460 "range":[-22.5 * Math.PI / 180, (-22.5 - 360) * Math.PI / 180], "params":"circle",
|
/external/skqp/experimental/docs/ |
H A D | exampleSlides.js | 80 { "line": [ 200,200, 200 + circle.radius * Math.cos(-22.5 * Math.PI / 180), 81 200 + circle.radius * Math.sin(-22.5 * Math.PI / 180) ] } 456 "range":[-22.5 * Math.PI / 180, (-22.5 - 360) * Math.PI / 180], "params":"circle", 460 "range":[-22.5 * Math.PI / 180, (-22.5 - 360) * Math.PI / 180], "params":"circle",
|
/external/universal-tween-engine/java/api/src/aurelienribon/tweenengine/equations/ |
H A D | Sine.java | 11 private static final float PI = 3.14159265f; field in class:Sine 16 return (float) -Math.cos(t * (PI/2)) + 1; 28 return (float) Math.sin(t * (PI/2)); 40 return -0.5f * ((float) Math.cos(PI*t) - 1);
|
H A D | Elastic.java | 11 private static final float PI = 3.14159265f; field in class:Elastic 21 else s = p/(2*PI) * (float)Math.asin(1/a); 22 return -(a*(float)Math.pow(2,10*(t-=1)) * (float)Math.sin( (t-s)*(2*PI)/p )); 39 else s = p/(2*PI) * (float)Math.asin(1/a); 40 return a*(float)Math.pow(2,-10*t) * (float)Math.sin( (t-s)*(2*PI)/p ) + 1; 57 else s = p/(2*PI) * (float)Math.asin(1/a); 58 if (t < 1) return -.5f*(a*(float)Math.pow(2,10*(t-=1)) * (float)Math.sin( (t-s)*(2*PI)/p )); 59 return a*(float)Math.pow(2,-10*(t-=1)) * (float)Math.sin( (t-s)*(2*PI)/p )*.5f + 1;
|
/external/python/cpython2/Lib/test/ |
H A D | double_const.py | 12 PI = 3.14159265358979324 variable 29 check_ok(PI, PI_str)
|
/external/python/cpython3/Lib/test/ |
H A D | double_const.py | 12 PI = 3.14159265358979324 variable 29 check_ok(PI, PI_str)
|
/external/llvm/lib/Support/ |
H A D | Program.cpp | 26 static bool Execute(ProcessInfo &PI, StringRef Program, const char **args, 34 ProcessInfo PI; local 35 if (Execute(PI, Program, args, envp, redirects, memoryLimit, ErrMsg)) { 39 PI, secondsToWait, /*WaitUntilTerminates=*/secondsToWait == 0, ErrMsg); 53 ProcessInfo PI; local 56 if (!Execute(PI, Program, args, envp, redirects, memoryLimit, ErrMsg)) 60 return PI;
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
H A D | Program.cpp | 26 static bool Execute(ProcessInfo &PI, StringRef Program, const char **args, 34 ProcessInfo PI; local 35 if (Execute(PI, Program, args, envp, redirects, memoryLimit, ErrMsg)) { 39 PI, secondsToWait, /*WaitUntilTerminates=*/secondsToWait == 0, ErrMsg); 53 ProcessInfo PI; local 56 if (!Execute(PI, Program, args, envp, redirects, memoryLimit, ErrMsg)) 60 return PI;
|
/external/llvm/include/llvm/ |
H A D | PassAnalysisSupport.h | 153 /// Find pass that is implementing PI. 154 Pass *findImplPass(AnalysisID PI) { argument 157 if (AnalysisImpl.first == PI) { 165 /// Find pass that is implementing PI. Initialize pass for Function F. 166 Pass *findImplPass(Pass *P, AnalysisID PI, Function &F); 168 void addAnalysisImplsPair(AnalysisID PI, Pass *P) { argument 169 if (findImplPass(PI) == P) 171 std::pair<AnalysisID, Pass*> pir = std::make_pair(PI,P); 204 const void *PI = &AnalysisType::ID; local 206 Pass *ResultPass = Resolver->getAnalysisIfAvailable(PI, tru 257 getAnalysisID(AnalysisID PI, Function &F) argument [all...] |
/external/swiftshader/third_party/LLVM/include/llvm/ |
H A D | PassAnalysisSupport.h | 129 // Find pass that is implementing PI. 130 Pass *findImplPass(AnalysisID PI) { argument 133 if (AnalysisImpls[i].first == PI) { 141 // Find pass that is implementing PI. Initialize pass for Function F. 142 Pass *findImplPass(Pass *P, AnalysisID PI, Function &F); 144 void addAnalysisImplsPair(AnalysisID PI, Pass *P) { argument 145 if (findImplPass(PI) == P) 147 std::pair<AnalysisID, Pass*> pir = std::make_pair(PI,P); 181 const void *PI = &AnalysisType::ID; local 183 Pass *ResultPass = Resolver->getAnalysisIfAvailable(PI, tru 234 getAnalysisID(AnalysisID PI, Function &F) argument [all...] |
H A D | PassRegistry.h | 56 void registerPass(const PassInfo &PI, bool ShouldFree = false); 60 void unregisterPass(const PassInfo &PI);
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
H A D | ErlangGCPrinter.cpp | 86 for (GCFunctionInfo::iterator PI = MD.begin(), PE = MD.end(); PI != PE; 87 ++PI) { 90 MCSymbol *Label = PI->Label; 96 GCFunctionInfo::iterator PI = MD.begin(); local 112 AP.EmitInt16(MD.live_size(PI)); 115 for (GCFunctionInfo::live_iterator LI = MD.live_begin(PI), 116 LE = MD.live_end(PI);
|
/external/llvm/lib/Target/PowerPC/ |
H A D | PPCEarlyReturn.cpp | 70 for (MachineBasicBlock::pred_iterator PI = ReturnMBB.pred_begin(), 71 PIE = ReturnMBB.pred_end(); PI != PIE; ++PI) { 74 if ((*PI)->empty()) 77 for (MachineBasicBlock::iterator J = (*PI)->getLastNonDebugInstr();;) { 78 if (J == (*PI)->end()) 85 BuildMI(**PI, J, J->getDebugLoc(), TII->get(I->getOpcode())) 97 BuildMI(**PI, J, J->getDebugLoc(), TII->get(PPC::BCCLR)) 112 **PI, J, J->getDebugLoc(), 134 if (J == (*PI) [all...] |
/external/llvm/lib/CodeGen/ |
H A D | EarlyIfConversion.cpp | 411 PHIInfo &PI = PHIs.back(); local 413 for (unsigned i = 1; i != PI.PHI->getNumOperands(); i += 2) { 414 if (PI.PHI->getOperand(i+1).getMBB() == TPred) 415 PI.TReg = PI.PHI->getOperand(i).getReg(); 416 if (PI.PHI->getOperand(i+1).getMBB() == FPred) 417 PI.FReg = PI.PHI->getOperand(i).getReg(); 419 assert(TargetRegisterInfo::isVirtualRegister(PI.TReg) && "Bad PHI"); 420 assert(TargetRegisterInfo::isVirtualRegister(PI 461 PHIInfo &PI = PHIs[i]; local 481 PHIInfo &PI = PHIs[i]; local 728 SSAIfConv::PHIInfo &PI = IfConv.PHIs[i]; local [all...] |
/external/llvm/unittests/ADT/ |
H A D | PostOrderIteratorTest.cpp | 32 auto PI = po_end(NullBB); local 33 PI.insertEdge(NullBB, NullBB);
|
/external/proguard/src/proguard/gui/splash/ |
H A D | SineTiming.java | 51 return 0.5 + 0.5 * Math.sin(2.0 * Math.PI * (time + phase) / period);
|
/external/llvm/lib/IR/ |
H A D | PassRegistry.cpp | 53 void PassRegistry::registerPass(const PassInfo &PI, bool ShouldFree) { argument 56 PassInfoMap.insert(std::make_pair(PI.getTypeInfo(), &PI)).second; 59 PassInfoStringMap[PI.getPassArgument()] = &PI; 63 Listener->passRegistered(&PI); 66 ToFree.push_back(std::unique_ptr<const PassInfo>(&PI));
|
H A D | Pass.cpp | 69 const PassInfo *PI = PassRegistry::getPassRegistry()->getPassInfo(AID); local 70 if (PI) 71 return PI->getPassName(); 209 const PassInfo *PI = PassRegistry::getPassRegistry()->getPassInfo(ID); local 210 if (!PI) 212 return PI->createPass(); 283 const PassInfo *PI = Pass::lookupPassInfo(Arg); local 285 if (PI) Preserved.push_back(PI->getTypeInfo());
|
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/ |
H A D | BlockFrequencyImpl.h | 157 PI = GraphTraits< Inverse<BlockT *> >::child_begin(BB), local 160 if (PI == PE) 163 BlockT *Pred = *PI; 165 ++PI; 166 if (PI != PE) 194 PI = GraphTraits< Inverse<BlockT *> >::child_begin(BB), 196 PI != PE; ++PI) { 197 BlockT *Pred = *PI; 238 PI [all...] |
/external/icu/icu4c/source/i18n/ |
H A D | astro.cpp | 24 #if defined (PI) 25 #undef PI macro 203 const double CalendarAstronomer::PI = 3.14159265358979323846; member in class:CalendarAstronomer 205 #define CalendarAstronomer_PI2 (CalendarAstronomer::PI*2.0) 206 #define RAD_HOUR ( 12 / CalendarAstronomer::PI ) // radians -> hours 207 #define DEG_RAD ( CalendarAstronomer::PI / 180 ) // degrees -> radians 208 #define RAD_DEG ( 180 / CalendarAstronomer::PI ) // radians -> degrees 224 return normalize(angle, CalendarAstronomer::PI * 2.0); 228 * Normalize an angle into the range -PI - PI [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
H A D | CalendarAstronomer.java | 188 static private final double PI = 3.14159265358979323846; field in class:CalendarAstronomer 189 static private final double PI2 = PI * 2.0; 191 static private final double RAD_HOUR = 12 / PI; // radians -> hours 192 static private final double DEG_RAD = PI / 180; // degrees -> radians 193 static private final double RAD_DEG = 180 / PI; // radians -> degrees 482 double H = getLocalSidereal()*PI/12 - equatorial.ascension; // Hour-angle 504 // Angles are in radians (after multiplying by PI/180) 508 static final double SUN_ETA_G = 279.403303 * PI/180; // Ecliptic longitude at epoch 509 static final double SUN_OMEGA_G = 282.768422 * PI/180; // Ecliptic longitude of perigee 512 //double sunTheta0 = 0.533128 * PI/18 [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
H A D | CalendarAstronomer.java | 186 static private final double PI = 3.14159265358979323846; field in class:CalendarAstronomer 187 static private final double PI2 = PI * 2.0; 189 static private final double RAD_HOUR = 12 / PI; // radians -> hours 190 static private final double DEG_RAD = PI / 180; // degrees -> radians 191 static private final double RAD_DEG = 180 / PI; // radians -> degrees 480 double H = getLocalSidereal()*PI/12 - equatorial.ascension; // Hour-angle 502 // Angles are in radians (after multiplying by PI/180) 506 static final double SUN_ETA_G = 279.403303 * PI/180; // Ecliptic longitude at epoch 507 static final double SUN_OMEGA_G = 282.768422 * PI/180; // Ecliptic longitude of perigee 510 //double sunTheta0 = 0.533128 * PI/18 [all...] |