Searched defs:PI (Results 51 - 75 of 102) sorted by relevance

12345

/external/chromium_org/third_party/libvpx/source/libvpx/test/
H A Ddct16x16_test.cc40 const double PI = 3.1415926535898; member in namespace:__anon12980
48 x = cos(PI * j * (l + 0.5) / 16.0) *
49 cos(PI * i * (k + 0.5) / 16.0) *
/external/chromium_org/third_party/skia/experimental/Intersection/
H A DCubicUtilities.cpp104 const double PI = 4 * atan(1); variable
137 r = neg2RootQ * cos((theta + 2 * PI) / 3) - adiv3;
141 r = neg2RootQ * cos((theta - 2 * PI) / 3) - adiv3;
246 r = neg2RootQ * cos((theta + 2 * PI) / 3) - adiv3;
250 r = neg2RootQ * cos((theta - 2 * PI) / 3) - adiv3;
/external/jsilver/src/com/google/streamhtmlparser/impl/
H A DHtmlParserImpl.java64 private static final InternalState PI; field in class:HtmlParserImpl
97 PI =InternalState.getInstanceHtml("PI");
690 registerMapping(PI, HtmlParser.STATE_TEXT);
782 registerTransition("[:default:]", PI_MAY_END, PI);
784 registerTransition("[:default:]", PI, PI);
785 registerTransition("?", PI, PI_MAY_END);
810 registerTransition("?", TAG_START, PI);
/external/llvm/include/llvm/IR/
H A DPassManager.h658 typename AnalysisPassMapT::iterator PI = AnalysisPasses.find(PassID); local
659 assert(PI != AnalysisPasses.end() &&
661 return *PI->second;
666 typename AnalysisPassMapT::const_iterator PI = AnalysisPasses.find(PassID); local
667 assert(PI != AnalysisPasses.end() &&
669 return *PI->second;
/external/llvm/lib/Analysis/
H A DLint.cpp224 Function::arg_iterator PI = F->arg_begin(), PE = F->arg_end(); local
228 if (PI != PE) {
229 Argument *Formal = PI++;
H A DInstructionSimplify.cpp446 PHINode *PI;
448 PI = cast<PHINode>(LHS);
450 if (!ValueDominatesPHI(RHS, PI, Q.DT))
454 PI = cast<PHINode>(RHS);
456 if (!ValueDominatesPHI(LHS, PI, Q.DT))
462 for (unsigned i = 0, e = PI->getNumIncomingValues(); i != e; ++i) {
463 Value *Incoming = PI->getIncomingValue(i);
465 if (Incoming == PI) continue;
466 Value *V = PI == LHS ?
495 PHINode *PI local
[all...]
/external/llvm/lib/CodeGen/
H A DEarlyIfConversion.cpp411 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
719 SSAIfConv::PHIInfo &PI = IfConv.PHIs[i]; local
[all...]
H A DBranchFolding.cpp1320 size_t PI = 0; local
1323 while(PI != MBB->pred_size()) {
1324 MachineBasicBlock *PMBB = *(MBB->pred_begin() + PI);
1327 ++PI;
1379 for (MachineBasicBlock::pred_iterator PI = MBB->pred_begin(),
1380 E = MBB->pred_end(); PI != E; ++PI) {
1382 MachineBasicBlock *PredBB = *PI;
1528 MachineBasicBlock::iterator PI = Loc;
1529 --PI;
[all...]
H A DIfConversion.cpp925 MachineFunction::iterator PI = BB; local
926 MachineFunction::iterator I = std::next(PI);
932 if (I == E || !I->empty() || !PI->isSuccessor(I))
934 PI = I++;
943 for (MachineBasicBlock::pred_iterator PI = BB->pred_begin(),
944 E = BB->pred_end(); PI != E; ++PI) {
945 BBInfo &PBBI = BBAnalysis[(*PI)->getNumber()];
1162 for (MachineBasicBlock::pred_iterator PI = CvtBBI->BB->pred_begin(),
1163 E = CvtBBI->BB->pred_end(); PI !
1475 MachineBasicBlock::pred_iterator PI = TailBB->pred_begin(); local
[all...]
/external/llvm/lib/Transforms/Utils/
H A DBasicBlockUtils.cpp753 pred_iterator PI = pred_begin(BB), PE = pred_end(BB); local
754 if (PI == PE) // No predecessor
756 Pred1 = *PI++;
757 if (PI == PE) // Only one predecessor
759 Pred2 = *PI++;
760 if (PI != PE) // More than two predecessors
/external/skia/experimental/Intersection/
H A DCubicUtilities.cpp104 const double PI = 4 * atan(1); variable
137 r = neg2RootQ * cos((theta + 2 * PI) / 3) - adiv3;
141 r = neg2RootQ * cos((theta - 2 * PI) / 3) - adiv3;
246 r = neg2RootQ * cos((theta + 2 * PI) / 3) - adiv3;
250 r = neg2RootQ * cos((theta - 2 * PI) / 3) - adiv3;
/external/chromium_org/third_party/skia/src/pathops/
H A DSkPathOpsCubic.cpp188 static const double PI = 3.141592653589793; variable
263 r = neg2RootQ * cos((theta + 2 * PI) / 3) - adiv3;
267 r = neg2RootQ * cos((theta - 2 * PI) / 3) - adiv3;
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/main/source/
H A Dsettings.h158 #define PI 3.14159265358979 macro
/external/llvm/lib/IR/
H A DLegacyPassManager.cpp89 static bool ShouldPrintBeforeOrAfterPass(const PassInfo *PI, argument
94 if (PassInf->getPassArgument() == PI->getPassArgument()) {
103 static bool ShouldPrintBeforePass(const PassInfo *PI) { argument
104 return PrintBeforeAll || ShouldPrintBeforeOrAfterPass(PI, PrintBefore);
109 static bool ShouldPrintAfterPass(const PassInfo *PI) { argument
110 return PrintAfterAll || ShouldPrintBeforeOrAfterPass(PI, PrintAfter);
339 /// Return function pass corresponding to PassInfo PI, that is
342 Pass* getOnTheFlyPass(Pass *MP, AnalysisID PI, Function &F) override;
610 const PassInfo *PI = local
612 if (PI
629 const PassInfo *PI = PassRegistry::getPassRegistry()->getPassInfo(*I); local
721 AnalysisID PI = (*I)->getPassID(); local
826 AnalysisID PI = P->getPassID(); local
966 AnalysisID PI = P->getPassID(); local
1047 const PassInfo *PI = PassRegistry::getPassRegistry()->getPassInfo(*I); local
1266 getOnTheFlyPass(Pass *P, AnalysisID PI, Function &F) argument
1699 getOnTheFlyPass(Pass *MP, AnalysisID PI, Function &F) argument
[all...]
/external/llvm/lib/Transforms/Scalar/
H A DJumpThreading.cpp356 for (pred_iterator PI = pred_begin(BB), E = pred_end(BB); PI != E; ++PI)
357 Result.push_back(std::make_pair(KC, *PI));
380 for (pred_iterator PI = pred_begin(BB), E = pred_end(BB); PI != E; ++PI) {
381 BasicBlock *P = *PI;
535 for (pred_iterator PI = pred_begin(BB), E = pred_end(BB);PI !
764 pred_iterator PI = pred_begin(BB), PE = pred_end(BB); local
[all...]
/external/llvm/utils/TableGen/
H A DSubtargetEmitter.cpp386 for (CodeGenSchedModels::ProcIter PI = SchedModels.procModelBegin(),
387 PE = SchedModels.procModelEnd(); PI != PE; ++PI) {
389 if (!ItinsDefSet.insert(PI->ItinsDef))
392 std::vector<Record*> FUs = PI->ItinsDef->getValueAsListOfDefs("FU");
396 const std::string &Name = PI->ItinsDef->getName();
406 std::vector<Record*> BPs = PI->ItinsDef->getValueAsListOfDefs("BP");
440 for (CodeGenSchedModels::ProcIter PI = SchedModels.procModelBegin(),
441 PE = SchedModels.procModelEnd(); PI != PE; ++PI) {
1326 IdxVec PI; local
1336 OS << "if (SchedModel->getProcessorID() == " << *PI << ") "; local
[all...]
/external/pdfium/core/src/fpdftext/
H A Dfpdf_text.cpp684 #define PI 3.1415926535897932384626433832795 macro
700 int degree = (int)(angle * 180 / PI + 0.5);
/external/skia/src/pathops/
H A DSkPathOpsCubic.cpp188 static const double PI = 3.141592653589793; variable
263 r = neg2RootQ * cos((theta + 2 * PI) / 3) - adiv3;
267 r = neg2RootQ * cos((theta - 2 * PI) / 3) - adiv3;
/external/webrtc/src/modules/audio_coding/codecs/isac/main/source/
H A Dsettings.h157 #define PI 3.14159265358979 macro
/external/chromium_org/third_party/icu/source/i18n/
H A Dastro.cpp22 #if defined (PI)
23 #undef PI macro
201 const double CalendarAstronomer::PI = 3.14159265358979323846; member in class:CalendarAstronomer
203 #define CalendarAstronomer_PI2 (CalendarAstronomer::PI*2.0)
204 #define RAD_HOUR ( 12 / CalendarAstronomer::PI ) // radians -> hours
205 #define DEG_RAD ( CalendarAstronomer::PI / 180 ) // degrees -> radians
206 #define RAD_DEG ( 180 / CalendarAstronomer::PI ) // radians -> degrees
222 return normalize(angle, CalendarAstronomer::PI * 2.0);
226 * Normalize an angle into the range -PI - PI
[all...]
/external/chromium_org/third_party/webrtc/base/
H A Dvirtualsocketserver.cc953 static double PI = 4 * atan(1.0); member in namespace:rtc
957 return exp(-a) / (stddev * sqrt(2 * PI));
/external/clang/lib/Analysis/
H A DConsumed.cpp474 void insertInfo(const Expr *E, const PropagationInfo &PI) { argument
475 PropagationMap.insert(PairType(E->IgnoreParens(), PI));
1034 for (CFGBlock::const_pred_iterator PI = TargetBlock->pred_begin(),
1035 PE = TargetBlock->pred_end(); PI != PE; ++PI) {
1036 if (*PI && CurrBlockOrder < VisitOrder[(*PI)->getBlockID()] )
1119 for (CFGBlock::const_pred_iterator PI = Block->pred_begin(),
1120 PE = Block->pred_end(); PI != PE; ++PI) {
[all...]
/external/icu/icu4c/source/i18n/
H A Dastro.cpp22 #if defined (PI)
23 #undef PI macro
201 const double CalendarAstronomer::PI = 3.14159265358979323846; member in class:CalendarAstronomer
203 #define CalendarAstronomer_PI2 (CalendarAstronomer::PI*2.0)
204 #define RAD_HOUR ( 12 / CalendarAstronomer::PI ) // radians -> hours
205 #define DEG_RAD ( CalendarAstronomer::PI / 180 ) // degrees -> radians
206 #define RAD_DEG ( 180 / CalendarAstronomer::PI ) // radians -> degrees
222 return normalize(angle, CalendarAstronomer::PI * 2.0);
226 * Normalize an angle into the range -PI - PI
[all...]
/external/libpng/contrib/gregbook/
H A Drpng2-win.c128 #ifndef PI
129 # define PI 3.141592653589793238 macro
131 #define PI_2 (PI*0.5)
132 #define INV_PI_360 (360.0 / PI)
1004 intensity = cos((angle+(rotate*dist*PI)) * freq) *
1007 hue = (angle + PI) * INV_PI_360 + aoffset;
H A Drpng2-x.c119 #ifndef PI
120 # define PI 3.141592653589793238 macro
122 #define PI_2 (PI*0.5)
123 #define INV_PI_360 (360.0 / PI)
1231 intensity = cos((angle+(rotate*dist*PI)) * freq) *
1234 hue = (angle + PI) * INV_PI_360 + aoffset;
1996 intensity = cos((angle+(rotate*dist*PI)) * freq) *
1999 hue = (angle + PI) * INV_PI_360 + aoffset;

Completed in 506 milliseconds

12345