/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9/ |
3d-morph.js | 31 var PI2nx = Math.PI * 8/nx 33 var f30 = -(50 * sin(f*Math.PI*2))
|
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/ |
3d-morph.js | 31 var PI2nx = Math.PI * 8/nx 33 var f30 = -(50 * sin(f*Math.PI*2))
|
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-1.0/ |
3d-morph.js | 31 var PI2nx = Math.PI * 8/nx 33 var f30 = -(50 * sin(f*Math.PI*2))
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ui/ |
PieChart.js | 57 this._lastAngle = -Math.PI/2; 89 var sliceAngle = value / this._totalValue * 2 * Math.PI; 92 sliceAngle = Math.min(sliceAngle, 2 * Math.PI * 0.9999); 99 var largeArc = sliceAngle > Math.PI ? 1 : 0;
|
/external/llvm/lib/IR/ |
BasicBlock.cpp | 188 pred_iterator PI = pred_begin(this), E = pred_end(this); 189 if (PI == E) return nullptr; // No preds. 190 BasicBlock *ThePred = *PI; 191 ++PI; 192 return (PI == E) ? ThePred : nullptr /*multiple preds*/; 201 pred_iterator PI = pred_begin(this), E = pred_end(this); 202 if (PI == E) return nullptr; // No preds. 203 BasicBlock *PredBB = *PI; 204 ++PI; 205 for (;PI != E; ++PI) [all...] |
/external/llvm/include/llvm/Analysis/ |
PtrUseVisitor.h | 111 PtrInfo PI; 211 PI.reset(); 226 if (PI.isAborted()) 229 return PI; 235 PI.setEscaped(&SI); 243 PI.setEscaped(&I); 278 PI.setEscaped(CS.getInstruction());
|
LoopInfoImpl.h | 137 for (typename InvBlockTraits::ChildIteratorType PI = 139 PE = InvBlockTraits::child_end(Header); PI != PE; ++PI) { 140 typename InvBlockTraits::NodeType *N = *PI; 159 typename InvBlockTraits::ChildIteratorType PI = 164 for (; PI != PE; ++PI) { 165 typename InvBlockTraits::NodeType *N = *PI; 256 for (typename InvBlockTraits::ChildIteratorType PI = 258 PI != PE; ++PI) [all...] |
/external/llvm/lib/CodeGen/ |
GCMetadata.cpp | 146 for (GCFunctionInfo::iterator PI = FD->begin(), 147 PE = FD->end(); PI != PE; ++PI) { 149 OS << "\t" << PI->Label->getName() << ": " 150 << DescKind(PI->Kind) << ", live = {"; 152 for (GCFunctionInfo::live_iterator RI = FD->live_begin(PI), 153 RE = FD->live_end(PI);;) {
|
MachineBlockPlacement.cpp | 381 for (MachineBasicBlock::pred_iterator PI = (*SI)->pred_begin(), 383 PI != PE; ++PI) { 384 if (*PI == *SI || (BlockFilter && !BlockFilter->count(*PI)) || 385 BlockToChain[*PI] == &Chain) 388 = MBFI->getBlockFreq(*PI) * MBPI->getEdgeProbability(*PI, *SI); 565 for (MachineBasicBlock::pred_iterator PI = L.getHeader()->pred_begin(), 567 PI != PE; ++PI) [all...] |
/external/chromium_org/native_client_sdk/src/gonacl_appengine/static/bullet/ |
scenes.js | 24 body.rotation.x = ( Math.random() * 360 ) * Math.PI / 180; 25 body.rotation.y = ( Math.random() * 360 ) * Math.PI / 180; 26 body.rotation.z = ( Math.random() * 360 ) * Math.PI / 180; 52 body.rotation.x = ( Math.random() * 360 ) * Math.PI / 180; 53 body.rotation.y = ( Math.random() * 360 ) * Math.PI / 180; 54 body.rotation.z = ( Math.random() * 360 ) * Math.PI / 180; 178 body.rotation.x = ( Math.random() * 360 ) * Math.PI / 180; 179 body.rotation.y = ( Math.random() * 360 ) * Math.PI / 180; 180 body.rotation.z = ( Math.random() * 360 ) * Math.PI / 180;
|
/external/llvm/include/llvm/ |
PassSupport.h | 58 PassInfo *PI = new PassInfo(name, arg, & passName ::ID, \ 60 Registry.registerPass(*PI, true); \ 61 return PI; \ 76 PassInfo *PI = new PassInfo(name, arg, & passName ::ID, \ 78 Registry.registerPass(*PI, true); \ 79 return PI; \ 178 PassInfo *PI = new PassInfo(name, arg, & passName ::ID, \ 180 Registry.registerPass(*PI, true); \ 197 PassInfo *PI = new PassInfo(n, arg, & passName ::ID, \ 199 Registry.registerPass(*PI, true); [all...] |
/external/llvm/lib/Transforms/Scalar/ |
CorrelatedValuePropagation.cpp | 172 pred_iterator PI = pred_begin(C->getParent()), PE = pred_end(C->getParent()); 173 if (PI == PE) return false; 176 C->getOperand(0), Op1, *PI, C->getParent()); 179 ++PI; 180 while (PI != PE) { 182 C->getOperand(0), Op1, *PI, C->getParent()); 184 ++PI; 229 for (pred_iterator PI = PB; PI != PE; ++PI) { [all...] |
StructurizeCFG.cpp | 368 for (pred_iterator PI = pred_begin(BB), PE = pred_end(BB); 369 PI != PE; ++PI) { 372 if (!ParentRegion->contains(*PI)) 375 Region *R = RI->getRegionFor(*PI); 379 BranchInst *Term = cast<BranchInst>((*PI)->getTerminator()); 385 if (Visited.count(*PI)) { 391 !Pred.count(Other) && !Pred.count(*PI)) { 394 Pred[*PI] = BoolTrue; 398 Pred[*PI] = buildCondition(Term, i, false) [all...] |
/frameworks/base/services/core/java/com/android/server/ |
TwilightCalculator.java | 31 private static final float DEGREES_TO_RADIANS = (float) (Math.PI / 180.0f); 82 final float solarLng = trueAnomaly + 1.796593063f + (float) Math.PI; 111 float hourAngle = (float) (Math.acos(cosHourAngle) / (2 * Math.PI));
|
/external/chromium_org/v8/test/mjsunit/ |
double-intrinsics.js | 20 0x400921fb, 0x54442d18, Math.PI, 21 0xc00921fb, 0x54442d18, -Math.PI,
|
sin-cos.js | 50 assertEquals(1, Math.sin(Math.PI / 2)); 55 assertEquals(-1, Math.cos(Math.PI)); 123 test_inputs.push(Math.PI/2); 124 test_inputs.push(Math.PI/2 + epsilon); 125 test_inputs.push(Math.PI/2 - epsilon); 126 test_inputs.push(Math.PI); 127 test_inputs.push(Math.PI + epsilon); 128 test_inputs.push(Math.PI - epsilon); 129 test_inputs.push(- 2*Math.PI); 130 test_inputs.push(- 2*Math.PI + epsilon) [all...] |
/external/clang/tools/libclang/ |
BuildSystem.cpp | 49 PI = path::begin(virtualPath), 50 PE = path::end(virtualPath); PI != PE; ++PI) { 51 StringRef Comp = *PI;
|
/external/llvm/utils/TableGen/ |
SubtargetEmitter.cpp | 386 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) { [all...] |
/frameworks/base/core/java/android/view/animation/ |
AccelerateDecelerateInterpolator.java | 41 return (float)(Math.cos((input + 1) * Math.PI) / 2.0f) + 0.5f;
|
/packages/apps/Exchange/src/com/android/exchange/adapter/ |
Wbxml.java | 37 static public final int PI = 0x43;
|
/external/aac/libAACenc/src/ |
aacenc_tns.h | 99 #ifndef PI 100 #define PI 3.1415926535897931f
|
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/ |
PointCloud.java | 39 private static final float PI = (float) Math.PI; 144 final float ds = (2.0f * PI * innerRadius / INNER_POINTS); 149 float circumference = 2.0f * PI * r; 151 float eta = PI/2.0f; 152 float dEta = 2.0f * PI / pointsInBand; 183 float cosf = FloatMath.cos(PI * 0.25f * glowDistance / glowManager.radius); 192 float cosf = FloatMath.cos(PI * 0.5f * distanceToWaveRing / waveManager.radius);
|
/packages/apps/InCallUI/src/com/android/incallui/widget/multiwaveview/ |
PointCloud.java | 39 private static final float PI = (float) Math.PI; 144 final float ds = (2.0f * PI * innerRadius / INNER_POINTS); 149 float circumference = 2.0f * PI * r; 151 float eta = PI/2.0f; 152 float dEta = 2.0f * PI / pointsInBand; 184 float cosf = FloatMath.cos(PI * 0.25f * glowDistance / glowManager.radius); 193 float cosf = FloatMath.cos(PI * 0.25f * distanceToWaveRing / waveManager.width);
|
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/ |
DeviceSensors.java | 234 * beta angle is +-pi/2 these angles uniquely define the orientation of a mobile device in 3D 237 * 'pitch' angle beta is allowed to be within [-pi, pi). A mobile device with pitch angle 238 * greater than pi/2 could correspond to a user lying down and looking upward at the screen. 243 * <li>values[0]: rotation around the Z axis, alpha in [0, 2*pi)</li> 244 * <li>values[1]: rotation around the X axis, beta in [-pi, pi)</li> 245 * <li>values[2]: rotation around the Y axis, gamma in [-pi/2, pi/2)</li> 271 values[1] = Math.asin(R[7]); // beta (-pi/2, pi/2 [all...] |
/external/llvm/lib/Transforms/Utils/ |
SSAUpdater.cpp | 113 for (pred_iterator PI = pred_begin(BB), E = pred_end(BB); PI != E; ++PI) { 114 BasicBlock *PredBB = *PI; 248 for (unsigned PI = 0, E = SomePhi->getNumIncomingValues(); PI != E; ++PI) 249 Preds->push_back(SomePhi->getIncomingBlock(PI)); 251 for (pred_iterator PI = pred_begin(BB), E = pred_end(BB); PI != E; ++PI [all...] |