/third_party/jerryscript/tests/jerry/ |
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 / 4) < mod_p * Math.SQRT2 / 2); [all …]
|
/third_party/typescript/tests/baselines/reference/ |
D | parserRegularExpressionDivideAmbiguity5.types | 2 model.rotate(0, rotateY * Math.PI / 180, rotateZ * Math.PI / 180); 3 >model.rotate(0, rotateY * Math.PI / 180, rotateZ * Math.PI / 180) : any 8 >rotateY * Math.PI / 180 : number 9 >rotateY * Math.PI : number 11 >Math.PI : number 13 >PI : number 15 >rotateZ * Math.PI / 180 : number 16 >rotateZ * Math.PI : number 18 >Math.PI : number 20 >PI : number
|
D | parserRegularExpressionDivideAmbiguity5.symbols | 2 model.rotate(0, rotateY * Math.PI / 180, rotateZ * Math.PI / 180); 3 >Math.PI : Symbol(Math.PI, Decl(lib.es5.d.ts, --, --)) 5 >PI : Symbol(Math.PI, Decl(lib.es5.d.ts, --, --)) 6 >Math.PI : Symbol(Math.PI, Decl(lib.es5.d.ts, --, --)) 8 >PI : Symbol(Math.PI, Decl(lib.es5.d.ts, --, --))
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ |
D | PassAnalysisSupport.h | 155 Pass *findImplPass(AnalysisID PI) { in findImplPass() argument 158 if (AnalysisImpl.first == PI) { in findImplPass() 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, true); in getAnalysisIfAvailable() 213 return (AnalysisType*)ResultPass->getAdjustedAnalysisPointer(PI); in getAnalysisIfAvailable() 226 AnalysisType &Pass::getAnalysisID(AnalysisID PI) const { in getAnalysisID() argument [all …]
|
/third_party/libwebsockets/scripts/ |
D | ctest-background-kill.sh | 11 PI=`cat /tmp/sai-ctest-$J` 17 kill -0 $PI 20 echo "Background task $PI: $J" 23 echo "Background Process $PI unexpectedly dead already, their log" 30 kill $PI 39 kill -0 $PI 2>&1 49 kill -9 $PI 58 kill -0 $PI 2>&1
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
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() 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 639 public static final SolarLongitude SUMMER_SOLSTICE = new SolarLongitude(PI/2); 647 public static final SolarLongitude AUTUMN_EQUINOX = new SolarLongitude(PI); [all …]
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
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() 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 637 public static final SolarLongitude SUMMER_SOLSTICE = new SolarLongitude(PI/2); 645 public static final SolarLongitude AUTUMN_EQUINOX = new SolarLongitude(PI); [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
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.FReg) && "Bad PHI"); in canConvertIf() 523 if (!TII->canInsertSelect(*Head, Cond, PI.TReg, PI.FReg, in canConvertIf() 524 PI.CondCycles, PI.TCycles, PI.FCycles)) { in canConvertIf() [all …]
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
D | astro.cpp | 24 #if defined (PI) 25 #undef PI 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() 231 …return normalize(angle + CalendarAstronomer::PI, CalendarAstronomer::PI * 2.0) - CalendarAstronome… in normPI() 505 … double H = getLocalSidereal()*CalendarAstronomer::PI/12 - equatorial.ascension; // Hour-angle in eclipticToHorizon() [all …]
|
/third_party/flutter/skia/third_party/externals/icu/source/i18n/ |
D | astro.cpp | 24 #if defined (PI) 25 #undef PI 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() 231 …return normalize(angle + CalendarAstronomer::PI, CalendarAstronomer::PI * 2.0) - CalendarAstronome… in normPI() 505 … double H = getLocalSidereal()*CalendarAstronomer::PI/12 - equatorial.ascension; // Hour-angle in eclipticToHorizon() [all …]
|
/third_party/icu/icu4c/source/i18n/ |
D | astro.cpp | 24 #if defined (PI) 25 #undef PI 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() 231 …return normalize(angle + CalendarAstronomer::PI, CalendarAstronomer::PI * 2.0) - CalendarAstronome… in normPI() 505 … double H = getLocalSidereal()*CalendarAstronomer::PI/12 - equatorial.ascension; // Hour-angle in eclipticToHorizon() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/ |
D | SystemZHazardRecognizer.cpp | 176 PI = SchedModel->getWriteProcResBegin(SC), in dumpSU() local 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() local 298 PE = SchedModel->getWriteProcResEnd(SC); PI != PE; ++PI) { in EmitInstruction() 300 if (SchedModel->getProcResource(PI->ProcResourceIdx)->BufferSize == 1) in EmitInstruction() 303 ProcResourceCounters[PI->ProcResourceIdx]; in EmitInstruction() 304 CurrCounter += PI->Cycles; in EmitInstruction() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/ |
D | PPCEarlyReturn.cpp | 65 for (MachineBasicBlock::pred_iterator PI = ReturnMBB.pred_begin(), in processBlock() local 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)->begin()) in processBlock() 135 if ((*PI)->canFallThrough() && (*PI)->isLayoutSuccessor(&ReturnMBB)) in processBlock() [all …]
|
/third_party/node/deps/icu-small/source/i18n/ |
D | astro.cpp | 24 #if defined (PI) 25 #undef PI 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() 231 …return normalize(angle + CalendarAstronomer::PI, CalendarAstronomer::PI * 2.0) - CalendarAstronome… in normPI() 505 … double H = getLocalSidereal()*CalendarAstronomer::PI/12 - equatorial.ascension; // Hour-angle in eclipticToHorizon() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/ |
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/modules/canvaskit/tests/ |
D | canvas2d.spec.js | 304 ctx.arc(20, 120, 18, 0, 1.75 * Math.PI); 308 ctx.ellipse(130, 25, 30, 10, -1*Math.PI/8, Math.PI/6, 1.5*Math.PI) 315 ctx.arc(50, 100, 10, Math.PI, -Math.PI/2); 318 ctx.arc(75, 100, 10, Math.PI, -Math.PI/2, true); 321 ctx.arc(100, 100, 10, Math.PI, 100.1 * Math.PI, true); 324 ctx.arc(125, 100, 10, Math.PI, 100.1 * Math.PI, false); 327 ctx.ellipse(155, 100, 10, 15, Math.PI/8, 100.1 * Math.PI, Math.PI, true); 330 ctx.ellipse(180, 100, 10, 15, Math.PI/8, Math.PI, 100.1 * Math.PI, true); 342 ctx.rotate(Math.PI / 3); 351 ctx.rotate(Math.PI / 6); [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/ |
D | ErlangGCPrinter.cpp | 82 for (GCFunctionInfo::iterator PI = MD.begin(), PE = MD.end(); PI != PE; in finishAssembly() local 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/flutter/skia/experimental/docs/ |
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/experimental/docs/ |
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/ffmpeg/tests/ref/fate/ |
D | eval | 11 Evaluating '-PI' 12 '-PI' -> -3.141593 14 Evaluating '+PI' 15 '+PI' -> 3.141593 17 Evaluating '1+(5-2)^(3-1)+1/2+sin(PI)-max(-2.2,-3.1)' 18 '1+(5-2)^(3-1)+1/2+sin(PI)-max(-2.2,-3.1)' -> 12.700000 94 Evaluating 'bar + PI + E + 100f*2 + foo' 95 'bar + PI + E + 100f*2 + foo' -> nan 216 Evaluating 'pow(PI,1.23)' 217 'pow(PI,1.23)' -> 4.087844 [all …]
|
/third_party/boost/libs/numeric/interval/test/ |
D | pi.cpp | 16 #define PI 3.14159265358979323846 macro 33 BOOST_CHECK(in((int) PI, pi_i)); in test_main() 34 BOOST_CHECK(in((float) PI, pi_f)); in test_main() 35 BOOST_CHECK(in((double)PI, pi_d)); in test_main() 36 BOOST_CHECK(subset(pi_i, widen(I_i((int) PI), 1))); in test_main() 37 BOOST_CHECK(subset(pi_f, widen(I_f((float) PI), (std::numeric_limits<float> ::min)()))); in test_main() 38 BOOST_CHECK(subset(pi_d, widen(I_d((double)PI), (std::numeric_limits<double>::min)()))); in test_main()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
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/flutter/skia/modules/canvaskit/tests/ |
D | canvas2d.spec.js | 303 ctx.arc(20, 120, 18, 0, 1.75 * Math.PI); 307 ctx.ellipse(130, 25, 30, 10, -1*Math.PI/8, Math.PI/6, 1.5*Math.PI) 314 ctx.arc(50, 100, 10, Math.PI, -Math.PI/2); 317 ctx.arc(75, 100, 10, Math.PI, -Math.PI/2, true); 320 ctx.arc(100, 100, 10, Math.PI, 100.1 * Math.PI, true); 323 ctx.arc(125, 100, 10, Math.PI, 100.1 * Math.PI, false); 326 ctx.ellipse(155, 100, 10, 15, Math.PI/8, 100.1 * Math.PI, Math.PI, true); 329 ctx.ellipse(180, 100, 10, 15, Math.PI/8, Math.PI, 100.1 * Math.PI, true); 345 ctx.rotate(Math.PI / 3); 354 ctx.rotate(Math.PI / 6); [all …]
|
/third_party/libxml2/result/XPath/tests/ |
D | nodespat | 21 7 PI target 30 12 PI target 45 6 PI target 54 11 PI target 70 7 PI target 79 12 PI target 93 5 PI target
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
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()
|