/external/llvm/lib/Analysis/ |
RegionInfo.cpp | 169 for (pred_iterator PI = pred_begin(entry), PE = pred_end(entry); PI != PE; 170 ++PI) { 171 Pred = *PI; 191 for (pred_iterator PI = pred_begin(exit), PE = pred_end(exit); PI != PE; 192 ++PI) { 193 Pred = *PI; 405 for (pred_iterator PI = pred_begin(getExit()), PE = pred_end(getExit()); 406 PI != PE; ++PI [all...] |
LoopInfo.cpp | 145 pred_iterator PI = pred_begin(H); 146 assert(PI != pred_end(H) && 148 Backedge = *PI++; 149 if (PI == pred_end(H)) return nullptr; // dead loop 150 Incoming = *PI++; 151 if (PI != pred_end(H)) return nullptr; // multiple backedges? 339 for (pred_iterator PI = pred_begin(ExitBlocks[i]), 340 PE = pred_end(ExitBlocks[i]); PI != PE; ++PI) 341 if (!contains(*PI)) [all...] |
/external/chromium_org/third_party/opus/src/silk/float/ |
apply_sine_window_FLP.c | 36 /* 1 -> sine window from 0 to pi/2 */ 37 /* 2 -> sine window from pi/2 to pi */ 53 freq = PI / ( length + 1 );
|
/external/chromium_org/third_party/skia/experimental/SkV8Example/ |
snow.js | 7 p.arc(0, 0, r, 0, 2*Math.PI); 60 ctx.arc(p.x, p.y, p.r, 0, 2*Math.PI, true);
|
/external/chromium_org/tools/perf/page_sets/tough_canvas_cases/canvas2d_balls_common/ |
bouncing_balls_draw_ball_as_canvas_sprite.js | 20 ctx.rotate(i * 2 * Math.PI / spriteMapSize ); 36 var idx = safeMod(Math.floor(angle * spriteMapSize / (2 * Math.PI)),
|
/external/libopus/silk/float/ |
apply_sine_window_FLP.c | 36 /* 1 -> sine window from 0 to pi/2 */ 37 /* 2 -> sine window from pi/2 to pi */ 53 freq = PI / ( length + 1 );
|
/external/llvm/lib/CodeGen/ |
OptimizePHIs.cpp | 183 for (InstrSetIterator PI = PHIsInCycle.begin(), PE = PHIsInCycle.end(); 184 PI != PE; ++PI) { 185 MachineInstr *PhiMI = *PI;
|
LiveRangeCalc.cpp | 199 for (MachineBasicBlock::pred_iterator PI = MBB->pred_begin(), 200 PE = MBB->pred_end(); PI != PE; ++PI) { 201 MachineBasicBlock *Pred = *PI; 313 for (MachineBasicBlock::pred_iterator PI = MBB->pred_begin(), 314 PE = MBB->pred_end(); PI != PE; ++PI) { 315 LiveOutPair &Value = LiveOut[*PI];
|
MachineSSAUpdater.cpp | 163 for (MachineBasicBlock::pred_iterator PI = BB->pred_begin(), 164 E = BB->pred_end(); PI != E; ++PI) { 165 MachineBasicBlock *PredBB = *PI; 278 for (MachineBasicBlock::pred_iterator PI = BB->pred_begin(), 279 E = BB->pred_end(); PI != E; ++PI) 280 Preds->push_back(*PI);
|
TailDuplication.cpp | 170 for (SmallSetVector<MachineBasicBlock *, 8>::iterator PI = Preds.begin(), 171 PE = Preds.end(); PI != PE; ++PI) { 172 MachineBasicBlock *PredBB = *PI; 651 for (MachineBasicBlock::pred_iterator PI = BB.pred_begin(), 652 PE = BB.pred_end(); PI != PE; ++PI) { 653 MachineBasicBlock *PredBB = *PI; 679 for (SmallSetVector<MachineBasicBlock *, 8>::iterator PI = Preds.begin(), 680 PE = Preds.end(); PI != PE; ++PI) [all...] |
/external/llvm/lib/Transforms/Scalar/ |
SimplifyCFGPass.cpp | 130 for (pred_iterator PI = PB; PI != PE; ++PI) 131 RetBlockPHI->addIncoming(InVal, *PI);
|
LoopRotation.cpp | 494 for (SmallVectorImpl<BasicBlock *>::iterator PI = ExitPreds.begin(), 496 PI != PE; ++PI) { 498 Loop *PredLoop = LI->getLoopFor(*PI); 501 SplitLatchEdge |= L->getLoopLatch() == *PI; 502 BasicBlock *ExitSplit = SplitCriticalEdge(*PI, Exit, this); 536 pred_iterator PI = pred_begin(BB); 537 BasicBlock *NearestDom = *PI; 538 for (pred_iterator PE = pred_end(BB); PI != PE; ++PI) [all...] |
JumpThreading.cpp | 356 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 != E; ++PI) [all...] |
/external/llvm/tools/bugpoint/ |
bugpoint.cpp | 106 const PassInfo *PI = PassRegistry::getPassRegistry()->getPassInfo(ID); 107 D.addPass(PI->getPassArgument()); 204 const PassInfo* PI = *I; 205 D.addPass(PI->getPassArgument());
|
/external/skia/experimental/SkV8Example/ |
snow.js | 7 p.arc(0, 0, r, 0, 2*Math.PI); 60 ctx.arc(p.x, p.y, p.r, 0, 2*Math.PI, true);
|
/libcore/luni/src/test/java/libcore/java/lang/ |
IntrinsicTest.java | 108 Math.cos(Math.PI); 109 Math.class.getMethod("cos", double.class).invoke(null, Math.PI); 113 Math.sin(Math.PI); 114 Math.class.getMethod("sin", double.class).invoke(null, Math.PI);
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
MotionEventHelper.java | 113 if (result < -Math.PI / 2) { 114 result += Math.PI; 115 } else if (result > Math.PI / 2) { 116 result -= Math.PI;
|
/external/chromium_org/v8/test/mjsunit/regress/ |
regress-925537.js | 38 assertClose( Math.PI / 4, Math.atan2(pinf, pinf)); 39 assertClose(-Math.PI / 4, Math.atan2(ninf, pinf)); 40 assertClose( 3 * Math.PI / 4, Math.atan2(pinf, ninf)); 41 assertClose(-3 * Math.PI / 4, Math.atan2(ninf, ninf));
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
SweepGradient_Delegate.java | 182 angle = (float) (dy < 0 ? 3 * Math.PI / 2 : Math.PI / 2); 184 angle = (float) (dx < 0 ? Math.PI : 0); 189 angle += Math.PI * 2; 192 angle += Math.PI; 197 data[index++] = getGradientColor((float) (angle / (2 * Math.PI)));
|
/external/llvm/lib/IR/ |
LegacyPassManager.cpp | 89 static bool ShouldPrintBeforeOrAfterPass(const PassInfo *PI, 94 if (PassInf->getPassArgument() == PI->getPassArgument()) { 103 static bool ShouldPrintBeforePass(const PassInfo *PI) { 104 return PrintBeforeAll || ShouldPrintBeforeOrAfterPass(PI, PrintBefore); 109 static bool ShouldPrintAfterPass(const PassInfo *PI) { 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 = 612 if (PI && PI->isAnalysis() && findAnalysisPass(P->getPassID())) [all...] |
DataLayout.cpp | 544 for (const PointerAlignElem &PI : Pointers) { 546 if (PI.AddressSpace == 0 && PI.ABIAlign == 8 && PI.PrefAlign == 8 && 547 PI.TypeByteWidth == 8) 551 if (PI.AddressSpace) { 552 OS << PI.AddressSpace; 554 OS << ":" << PI.TypeByteWidth*8 << ':' << PI.ABIAlign*8; 555 if (PI.PrefAlign != PI.ABIAlign [all...] |
/external/llvm/lib/Transforms/Utils/ |
LCSSA.cpp | 118 for (BasicBlock **PI = PredCache.GetPreds(ExitBB); *PI; ++PI) { 119 PN->addIncoming(&Inst, *PI); 124 if (!L.contains(*PI))
|
LoopSimplify.cpp | 117 for (pred_iterator PI = pred_begin(Header), PE = pred_end(Header); 118 PI != PE; ++PI) { 119 BasicBlock *P = *PI; 319 for (pred_iterator PI=pred_begin(Header), E = pred_end(Header); PI!=E; ++PI) { 320 BasicBlock *P = *PI; 491 for (pred_iterator PI = pred_begin(*BB), 492 PE = pred_end(*BB); PI != PE; ++PI) [all...] |
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/ |
Ease.java | 117 return -DOMAIN * (float) Math.cos(input/DURATION * (Math.PI/2)) + DOMAIN + START; 122 return DOMAIN * (float) Math.sin(input/DURATION * (Math.PI/2)) + START; 127 return -DOMAIN/2 * ((float)Math.cos(Math.PI*input/DURATION) - 1.0f) + START;
|
/packages/apps/InCallUI/src/com/android/incallui/widget/multiwaveview/ |
Ease.java | 117 return -DOMAIN * (float) Math.cos(input/DURATION * (Math.PI/2)) + DOMAIN + START; 122 return DOMAIN * (float) Math.sin(input/DURATION * (Math.PI/2)) + START; 127 return -DOMAIN/2 * ((float)Math.cos(Math.PI*input/DURATION) - 1.0f) + START;
|