/third_party/jerryscript/tests/jerry/ |
H A D | math-trig.js | 25 assert (Math.cos (Math.PI) > -1.0 * mod_p); 26 assert (Math.cos (Math.PI) < -1.0 * mod_m); 28 assert (Math.cos (Math.PI / 2) > -delta); 29 assert (Math.cos (Math.PI / 2) < +delta); 30 assert (Math.cos (-Math.PI / 2) > -delta); 31 assert (Math.cos (-Math.PI / 2) < +delta); 33 assert (Math.cos (Math.PI / 4) > mod_m * Math.SQRT2 / 2); 34 assert (Math.cos (Math.PI / 4) < mod_p * Math.SQRT2 / 2); 36 assert (Math.cos (-Math.PI / 4) > mod_m * Math.SQRT2 / 2); 37 assert (Math.cos (-Math.PI / [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ |
H A D | PassAnalysisSupport.h | 154 /// Find pass that is implementing PI. 155 Pass *findImplPass(AnalysisID PI) { in findImplPass() argument 158 if (AnalysisImpl.first == PI) { in findImplPass() 166 /// Find pass that is implementing PI. Initialize pass for Function F. 167 Pass *findImplPass(Pass *P, AnalysisID PI, Function &F); 169 void addAnalysisImplsPair(AnalysisID PI, Pass *P) { in addAnalysisImplsPair() argument 170 if (findImplPass(PI) == P) in addAnalysisImplsPair() 172 std::pair<AnalysisID, Pass*> pir = std::make_pair(PI,P); in addAnalysisImplsPair() 204 const void *PI = &AnalysisType::ID; in getAnalysisIfAvailable() local 206 Pass *ResultPass = Resolver->getAnalysisIfAvailable(PI, tru in getAnalysisIfAvailable() 255 getAnalysisID(AnalysisID PI, Function &F) getAnalysisID() argument [all...] |
H A D | PassSupport.h | 35 PassInfo *PI = new PassInfo( \ 38 Registry.registerPass(*PI, true); \ 39 return PI; \ 55 PassInfo *PI = new PassInfo( \ 58 Registry.registerPass(*PI, true); \ 59 return PI; \ 153 PassInfo *PI = new PassInfo( \ 156 Registry.registerPass(*PI, true); \ 175 PassInfo *PI = new PassInfo( \ 178 Registry.registerPass(*PI, tru [all...] |
/third_party/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 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 in eclipticToHorizon() 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...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
H A D | CalendarAstronomer.java | 188 static private final double PI = 3.14159265358979323846; field in 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 in eclipticToHorizon() 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...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
H A D | EarlyIfConversion.cpp | 511 PHIInfo &PI = PHIs.back(); in canConvertIf() local 513 for (unsigned i = 1; i != PI.PHI->getNumOperands(); i += 2) { in canConvertIf() 514 if (PI.PHI->getOperand(i+1).getMBB() == TPred) in canConvertIf() 515 PI.TReg = PI.PHI->getOperand(i).getReg(); in canConvertIf() 516 if (PI.PHI->getOperand(i+1).getMBB() == FPred) in canConvertIf() 517 PI.FReg = PI.PHI->getOperand(i).getReg(); in canConvertIf() 519 assert(Register::isVirtualRegister(PI.TReg) && "Bad PHI"); in canConvertIf() 520 assert(Register::isVirtualRegister(PI in canConvertIf() 568 PHIInfo &PI = PHIs[i]; replacePHIInstrs() local 588 PHIInfo &PI = PHIs[i]; rewritePHIOperands() local 842 SSAIfConv::PHIInfo &PI = IfConv.PHIs[i]; shouldConvertIf() local [all...] |
H A D | GCMetadata.cpp | 119 for (GCFunctionInfo::iterator PI = FD->begin(), PE = FD->end(); PI != PE; in runOnFunction() 120 ++PI) { in runOnFunction() 122 OS << "\t" << PI->Label->getName() << ": " << "post-call" in runOnFunction() 125 for (GCFunctionInfo::live_iterator RI = FD->live_begin(PI), in runOnFunction() 126 RE = FD->live_end(PI); in runOnFunction()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/ |
H A D | SystemZHazardRecognizer.cpp | 176 PI = SchedModel->getWriteProcResBegin(SC), in dumpSU() 177 PE = SchedModel->getWriteProcResEnd(SC); PI != PE; ++PI) { in dumpSU() 179 *SchedModel->getProcResource(PI->ProcResourceIdx); in dumpSU() 190 if (PI->Cycles > 1) in dumpSU() 191 OS << "(" << PI->Cycles << "cyc)"; in dumpSU() 297 PI = SchedModel->getWriteProcResBegin(SC), in EmitInstruction() 298 PE = SchedModel->getWriteProcResEnd(SC); PI != PE; ++PI) { in EmitInstruction() 300 if (SchedModel->getProcResource(PI in EmitInstruction() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/ |
H A D | PPCEarlyReturn.cpp | 65 for (MachineBasicBlock::pred_iterator PI = ReturnMBB.pred_begin(), in processBlock() 66 PIE = ReturnMBB.pred_end(); PI != PIE; ++PI) { in processBlock() 69 if ((*PI)->empty()) in processBlock() 72 for (MachineBasicBlock::iterator J = (*PI)->getLastNonDebugInstr();;) { in processBlock() 73 if (J == (*PI)->end()) in processBlock() 80 BuildMI(**PI, J, J->getDebugLoc(), TII->get(I->getOpcode())) in processBlock() 92 BuildMI(**PI, J, J->getDebugLoc(), TII->get(PPC::BCCLR)) in processBlock() 107 **PI, J, J->getDebugLoc(), in processBlock() 129 if (J == (*PI) in processBlock() [all...] |
/third_party/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 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); in norm2PI() 228 * Normalize an angle into the range -PI - PI [all...] |
/third_party/node/deps/icu-small/source/i18n/ |
H A D | astro.cpp | 24 #if defined (PI) 25 #undef PI macro 203 const double CalendarAstronomer::PI = 3.14159265358979323846; member in 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); in norm2PI() 228 * Normalize an angle into the range -PI - PI [all...] |
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | astro.cpp | 24 #if defined (PI) 25 #undef PI macro 203 const double CalendarAstronomer::PI = 3.14159265358979323846; member in 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); in norm2PI() 228 * Normalize an angle into the range -PI - PI [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/ |
H A D | ErlangGCPrinter.cpp | 82 for (GCFunctionInfo::iterator PI = MD.begin(), PE = MD.end(); PI != PE; in finishAssembly() 83 ++PI) { in finishAssembly() 86 MCSymbol *Label = PI->Label; in finishAssembly() 92 GCFunctionInfo::iterator PI = MD.begin(); in finishAssembly() local 108 AP.emitInt16(MD.live_size(PI)); in finishAssembly() 111 for (GCFunctionInfo::live_iterator LI = MD.live_begin(PI), in finishAssembly() 112 LE = MD.live_end(PI); in finishAssembly()
|
/third_party/skia/third_party/externals/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; in ExecuteAndWait() local 35 if (Execute(PI, Program, args, envp, redirects, memoryLimit, ErrMsg)) { in ExecuteAndWait() 39 PI, secondsToWait, /*WaitUntilTerminates=*/secondsToWait == 0, ErrMsg); in ExecuteAndWait() 53 ProcessInfo PI; in ExecuteNoWait() local 56 if (!Execute(PI, Program, args, envp, redirects, memoryLimit, ErrMsg)) in ExecuteNoWait() 60 return PI; in ExecuteNoWait()
|
/third_party/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",
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
H A D | Program.cpp | 25 static bool Execute(ProcessInfo &PI, StringRef Program, 36 ProcessInfo PI; in ExecuteAndWait() local 37 if (Execute(PI, Program, Args, Env, Redirects, MemoryLimit, ErrMsg)) { in ExecuteAndWait() 41 PI, SecondsToWait, /*WaitUntilTerminates=*/SecondsToWait == 0, ErrMsg); in ExecuteAndWait() 57 ProcessInfo PI; in ExecuteNoWait() local 60 if (!Execute(PI, Program, Args, Env, Redirects, MemoryLimit, ErrMsg)) in ExecuteNoWait() 64 return PI; in ExecuteNoWait()
|
/third_party/ffmpeg/libavfilter/ |
H A D | vf_xbr.c | 39 #ifdef PI 40 #undef PI macro 92 #define FILT2(PE, PI, PH, PF, PG, PC, PD, PB, PA, G5, C4, G0, D0, C1, B1, F4, I4, H5, I5, A0, A1, \ 95 const unsigned e = df(PE,PC) + df(PE,PG) + df(PI,H5) + df(PI,F4) + (df(PH,PF)<<2); \ 96 const unsigned i = df(PH,PD) + df(PH,I5) + df(PF,I4) + df(PF,PB) + (df(PE,PI)<<2); \ 99 if (e < i && (!eq(PF,PB) && !eq(PH,PD) || eq(PE,PI) \ 126 #define FILT3(PE, PI, PH, PF, PG, PC, PD, PB, PA, G5, C4, G0, D0, C1, B1, F4, I4, H5, I5, A0, A1, \ 129 const unsigned e = df(PE,PC) + df(PE,PG) + df(PI,H5) + df(PI,F 272 const uint32_t PI = sa3[pnext]; xbr_filter() local [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
H A D | Pass.cpp | 81 const PassInfo *PI = PassRegistry::getPassRegistry()->getPassInfo(AID); in getPassName() local 82 if (PI) in getPassName() 83 return PI->getPassName(); in getPassName() 188 const PassInfo *PI = PassRegistry::getPassRegistry()->getPassInfo(ID); in createPass() local 189 if (!PI) in createPass() 191 return PI->createPass(); in createPass() 263 const PassInfo *PI = Pass::lookupPassInfo(Arg); in addPreserved() local 265 if (PI) Preserved.push_back(PI->getTypeInfo()); in addPreserved()
|
H A D | PassRegistry.cpp | 57 void PassRegistry::registerPass(const PassInfo &PI, bool ShouldFree) { in registerPass() argument 60 PassInfoMap.insert(std::make_pair(PI.getTypeInfo(), &PI)).second; in registerPass() 63 PassInfoStringMap[PI.getPassArgument()] = &PI; in registerPass() 67 Listener->passRegistered(&PI); in registerPass() 70 ToFree.push_back(std::unique_ptr<const PassInfo>(&PI)); in registerPass()
|
H A D | BasicBlock.cpp | 241 const_pred_iterator PI = pred_begin(this), E = pred_end(this); in getSinglePredecessor() local 242 if (PI == E) return nullptr; // No preds. in getSinglePredecessor() 243 const BasicBlock *ThePred = *PI; in getSinglePredecessor() 244 ++PI; in getSinglePredecessor() 245 return (PI == E) ? ThePred : nullptr /*multiple preds*/; in getSinglePredecessor() 254 const_pred_iterator PI = pred_begin(this), E = pred_end(this); in getUniquePredecessor() local 255 if (PI == E) return nullptr; // No preds. in getUniquePredecessor() 256 const BasicBlock *PredBB = *PI; in getUniquePredecessor() 257 ++PI; in getUniquePredecessor() 258 for (;PI ! in getUniquePredecessor() [all...] |
H A D | LegacyPassManager.cpp | 436 /// Return function pass corresponding to PassInfo PI, that is 439 Pass* getOnTheFlyPass(Pass *MP, AnalysisID PI, Function &F) override; 660 const PassInfo *PI = findAnalysisPassInfo(P->getPassID()); in schedulePass() local 661 if (PI && PI->isAnalysis() && findAnalysisPass(P->getPassID())) { in schedulePass() 679 const PassInfo *PI = findAnalysisPassInfo(ID); in schedulePass() local 681 if (!PI) { in schedulePass() 700 assert(PI && "Expected required passes to be initialized"); in schedulePass() 701 AnalysisPass = PI->createPass(); in schedulePass() 734 if (PI in schedulePass() 773 const PassInfo *&PI = AnalysisPassInfos[AID]; findAnalysisPassInfo() local 865 AnalysisID PI = P->getPassID(); recordAvailableAnalysis() local 996 AnalysisID PI = P->getPassID(); freePass() local 1072 const PassInfo *PI = TPM->findAnalysisPassInfo(ID); add() local 1292 getOnTheFlyPass(Pass *P, AnalysisID PI, Function &F) getOnTheFlyPass() argument 1667 getOnTheFlyPass(Pass *MP, AnalysisID PI, Function &F) getOnTheFlyPass() argument [all...] |
/third_party/typescript/tests/baselines/reference/ |
H A D | discriminatedUnionTypes1.js | 25 return Math.PI * s.radius * s.radius; 39 case "circle": return Math.PI * s.radius * s.radius; 51 case "circle": return Math.PI * s.radius * s.radius; 60 case "circle": return Math.PI * s.radius * s.radius; 151 return Math.PI * s.radius * s.radius;
164 case "circle": return Math.PI * s.radius * s.radius;
174 case "circle": return Math.PI * s.radius * s.radius;
182 case "circle": return Math.PI * s.radius * s.radius;
|
/third_party/ffmpeg/tests/fate/ |
H A D | hlsenc.mak | 4 -f lavfi -v verbose -i "aevalsrc=cos(2*PI*t)*sin(2*PI*(440+4*t)*t):d=20" -f hls -hls_time 3 -map 0 \ 18 -f lavfi -v verbose -i "aevalsrc=cos(2*PI*t)*sin(2*PI*(440+4*t)*t):d=20" -f hls -hls_time 3 -map 0 \ 33 -f lavfi -i "aevalsrc=cos(2*PI*t)*sin(2*PI*(440+4*t)*t):d=20" -f hls -hls_time 3 -map 0 \ 47 -f lavfi -i "aevalsrc=cos(2*PI*t)*sin(2*PI*(440+4*t)*t):d=20" -f hls -hls_segment_size 300000 -map 0 \ 58 -f lavfi -i "aevalsrc=cos(2*PI*t)*sin(2*PI*(44 [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
H A D | PtrUseVisitor.h | 124 PtrInfo PI; member in llvm::detail::PtrUseVisitorBase 228 PI.reset(); in visitPtr() 243 if (PI.isAborted()) in visitPtr() 246 return PI; in visitPtr() 252 PI.setEscaped(&SI); in visitStoreInst() 264 PI.setEscaped(&I); in visitPtrToIntInst() 299 PI.setEscaped(CS.getInstruction()); in visitCallSite()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
H A D | PassManager.h | 497 PassInstrumentation PI = in run() local 513 if (!PI.runBeforePass<IRUnitT>(*P, IR)) in run() 520 PI.runAfterPass<IRUnitT>(*P, IR); in run() 924 typename AnalysisPassMapT::iterator PI = AnalysisPasses.find(ID); in lookUpPass() local 925 assert(PI != AnalysisPasses.end() && in lookUpPass() 927 return *PI->second; in lookUpPass() 932 typename AnalysisPassMapT::const_iterator PI = AnalysisPasses.find(ID); in lookUpPass() local 933 assert(PI != AnalysisPasses.end() && in lookUpPass() 935 return *PI->second; in lookUpPass() 954 PassInstrumentation PI; in getResultImpl() local 1297 PassInstrumentation PI = AM.getResult<PassInstrumentationAnalysis>(M); run() local 1422 PassInstrumentation PI = run() local [all...] |