Searched defs:PI (Results 1 - 25 of 166) sorted by relevance

1234567

/external/python/cpython2/Lib/test/
H A Ddouble_const.py12 PI = 3.14159265358979324 variable
29 check_ok(PI, PI_str)
/external/python/cpython3/Lib/test/
H A Ddouble_const.py12 PI = 3.14159265358979324 variable
29 check_ok(PI, PI_str)
/external/clang/test/Sema/
H A Dusual-float.c7 const float PI = 3.142; local
10 float ang = (float) tindex * (-dir*2.0f*PI/n);
/external/llvm/unittests/ADT/
H A DPostOrderIteratorTest.cpp32 auto PI = po_end(NullBB); local
33 PI.insertEdge(NullBB, NullBB);
/external/universal-tween-engine/java/api/src/aurelienribon/tweenengine/equations/
H A DSine.java11 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 DElastic.java11 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/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
H A DAstroTest.java37 static final double PI = Math.PI; field in class:AstroTest
137 Equatorial result = astro.eclipticToEquatorial(139.686111 * PI/ 180.0, 4.875278* PI / 180.0);
152 double eclLat = laLat * Math.PI / 360;
153 double eclLong = laLong * Math.PI / 360;
379 double precision = PI/32;
387 double expectedAge = (angle[i]*PI)/180;
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
H A DAstroTest.java34 static final double PI = Math.PI; field in class:AstroTest
134 Equatorial result = astro.eclipticToEquatorial(139.686111 * PI/ 180.0, 4.875278* PI / 180.0);
149 double eclLat = laLat * Math.PI / 360;
150 double eclLong = laLong * Math.PI / 360;
376 double precision = PI/32;
384 double expectedAge = (angle[i]*PI)/180;
/external/libopus/silk/float/
H A DSigProc_FLP.h143 #define PI (3.1415926536f) macro
/external/llvm/lib/CodeGen/AsmPrinter/
H A DErlangGCPrinter.cpp86 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/Support/
H A DProgram.cpp26 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/lib/Target/ARM/MCTargetDesc/
H A DARMUnwindOpAsm.cpp51 inline void EmitPersonalityIndex(unsigned PI) { argument
52 assert(PI < ARM::EHABI::NUM_PERSONALITY_INDEX &&
54 EmitByte(ARM::EHABI::EHT_COMPACT | PI);
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/
H A DLibCallAliasAnalysis.h60 virtual void *getAdjustedAnalysisPointer(const void *PI) { argument
61 if (PI == &AliasAnalysis::ID)
/external/swiftshader/third_party/LLVM/include/llvm/Transforms/Utils/
H A DBasicBlockUtils.h120 /// SplitCriticalEdge - If the edge from *PI to BB is not critical, return
125 inline bool SplitCriticalEdge(BasicBlock *Succ, pred_iterator PI, Pass *P = 0) { argument
127 TerminatorInst *TI = (*PI)->getTerminator();
/external/swiftshader/third_party/llvm-subzero/lib/Support/
H A DProgram.cpp26 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/tensorflow/tensorflow/compiler/xla/service/gpu/llvm_gpu_backend/
H A Ddump_ir_pass.cc86 const llvm::PassInfo *PI = local
92 (PI == nullptr ? "unknown" : PI->getPassArgument().data())));
/external/llvm/tools/bugpoint/
H A Dbugpoint.cpp102 const PassInfo *PI = PassRegistry::getPassRegistry()->getPassInfo(ID); variable
103 D.addPass(PI->getPassArgument());
187 for (const PassInfo *PI : PassList)
188 D.addPass(PI->getPassArgument());
/external/markdown/markdown/
H A Dhtml4.py44 PI = markdown.etree.PI variable
253 elif tag is not None and tag is not Comment and tag is not PI:
/external/swiftshader/third_party/LLVM/lib/MC/
H A DMCSubtargetInfo.cpp24 const SubtargetInfoKV *PI,
32 ProcItins = PI;
21 InitMCSubtargetInfo(StringRef TT, StringRef CPU, StringRef FS, const SubtargetFeatureKV *PF, const SubtargetFeatureKV *PD, const SubtargetInfoKV *PI, const InstrStage *IS, const unsigned *OC, const unsigned *FP, unsigned NF, unsigned NP) argument
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
H A DBasicBlockPlacement.cpp56 /// PI - The profile information that is guiding us.
58 ProfileInfo *PI; member in struct:__anon23012::BlockPlacement
88 PI = &getAnalysis<ProfileInfo>();
134 double MaxExecutionCount = PI->getExecutionCount(*SI);
140 double Count = PI->getExecutionCount(*SI);
/external/swiftshader/third_party/LLVM/tools/bugpoint/
H A Dbugpoint.cpp106 const PassInfo *PI = PassRegistry::getPassRegistry()->getPassInfo(ID); local
107 D.addPass(PI->getPassArgument());
192 const PassInfo* PI = *I; local
193 D.addPass(PI->getPassArgument());
/external/libldac/src/
H A Dstruct_ldac.h32 #ifndef PI
34 #define PI M_PI macro
36 #define PI (double)(3.14159265358979323846) macro
38 #endif /* PI */
/external/llvm/include/llvm/Transforms/Utils/
H A DBasicBlockUtils.h133 /// If the edge from *PI to BB is not critical, return false. Otherwise, split
137 inline bool SplitCriticalEdge(BasicBlock *Succ, pred_iterator PI, argument
141 TerminatorInst *TI = (*PI)->getTerminator();
/external/llvm/lib/IR/
H A DPassRegistry.cpp53 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));
/external/llvm/tools/opt/
H A DPassPrinters.cpp33 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...]

Completed in 730 milliseconds

1234567