/external/clang/test/Sema/ |
usual-float.c | 7 const float PI = 3.142; 10 float ang = (float) tindex * (-dir*2.0f*PI/n);
|
/external/llvm/include/llvm/ |
PassAnalysisSupport.h | 130 // Find pass that is implementing PI. 131 Pass *findImplPass(AnalysisID PI) { 134 if (AnalysisImpls[i].first == PI) { 142 // Find pass that is implementing PI. Initialize pass for Function F. 143 Pass *findImplPass(Pass *P, AnalysisID PI, Function &F); 145 void addAnalysisImplsPair(AnalysisID PI, Pass *P) { 146 if (findImplPass(PI) == P) 148 std::pair<AnalysisID, Pass*> pir = std::make_pair(PI,P); 182 const void *PI = &AnalysisType::ID; 184 Pass *ResultPass = Resolver->getAnalysisIfAvailable(PI, true) [all...] |
PassRegistry.h | 56 void registerPass(const PassInfo &PI, bool ShouldFree = false); 60 void unregisterPass(const PassInfo &PI);
|
/frameworks/base/core/java/android/gesture/ |
Instance.java | 30 0, (float) (Math.PI / 4), (float) (Math.PI / 2), (float) (Math.PI * 3 / 4), 31 (float) Math.PI, -0, (float) (-Math.PI / 4), (float) (-Math.PI / 2), 32 (float) (-Math.PI * 3 / 4), (float) -Math.PI
|
/ndk/tests/device/test-stlport_shared-exception/jni/ |
cond1.cpp | 17 int PI(int& i) { return i++; } 36 CI(throw PI(i)); 39 (1 ? 0 : throw PI(i)); 42 CI(0 ? 0 : throw PI(i)); 45 CI(0 ? has_destructor() : throw PI(i)); 47 (argc+1 ? has_destructor() : throw PI(i));
|
/ndk/tests/device/test-stlport_static-exception/jni/ |
cond1.cpp | 17 int PI(int& i) { return i++; } 36 CI(throw PI(i)); 39 (1 ? 0 : throw PI(i)); 42 CI(0 ? 0 : throw PI(i)); 45 CI(0 ? has_destructor() : throw PI(i)); 47 (argc+1 ? has_destructor() : throw PI(i));
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Math/ |
15.8.2.5.js | 54 array[item++] = new TestCase( SECTION, "Math.atan2(1, 0)", Math.PI/2, Math.atan2(1,0) ); 55 array[item++] = new TestCase( SECTION, "Math.atan2(1,-0)", Math.PI/2, Math.atan2(1,-0) ); 58 array[item++] = new TestCase( SECTION, "Math.atan2(0, -0)", Math.PI, Math.atan2(0,-0) ); 59 array[item++] = new TestCase( SECTION, "Math.atan2(0, -1)", Math.PI, Math.atan2(0, -1) ); 65 array[item++] = new TestCase( SECTION, "Math.atan2(-0, -0)", -Math.PI, Math.atan2(-0, -0) ); 66 array[item++] = new TestCase( SECTION, "Math.atan2(-0, -1)", -Math.PI, Math.atan2(-0, -1) ); 67 array[item++] = new TestCase( SECTION, "Math.atan2(-1, 0)", -Math.PI/2, Math.atan2(-1, 0) ); 68 array[item++] = new TestCase( SECTION, "Math.atan2(-1, -0)", -Math.PI/2, Math.atan2(-1, -0) ); 70 array[item++] = new TestCase( SECTION, "Math.atan2(1,-Infinity)", Math.PI, Math.atan2(1, Number.NEGATIVE_INFINITY) ); 75 array[item++] = new TestCase( SECTION, "Math.atan2(-1,-Infinity)", -Math.PI, Math.atan2(-1,Number.NEGATIVE_INFINITY) ) [all...] |
15.8.2.2.js | 27 range is from +0 to +PI. special cases: 53 array[item++] = new TestCase( SECTION, "Math.acos(null)", Math.PI/2, Math.acos(null) ); 57 array[item++] = new TestCase( SECTION, "Math.acos('0')", Math.PI/2, Math.acos('0') ); 59 array[item++] = new TestCase( SECTION, "Math.acos('-1')", Math.PI, Math.acos('-1') ); 64 array[item++] = new TestCase( SECTION, "Math.acos(-1)", Math.PI, Math.acos(-1) ); 65 array[item++] = new TestCase( SECTION, "Math.acos(0)", Math.PI/2, Math.acos(0) ); 66 array[item++] = new TestCase( SECTION, "Math.acos(-0)", Math.PI/2, Math.acos(-0) ); 67 array[item++] = new TestCase( SECTION, "Math.acos(Math.SQRT1_2)", Math.PI/4, Math.acos(Math.SQRT1_2)); 68 array[item++] = new TestCase( SECTION, "Math.acos(-Math.SQRT1_2)", Math.PI/4*3, Math.acos(-Math.SQRT1_2)); 69 array[item++] = new TestCase( SECTION, "Math.acos(0.9999619230642)", Math.PI/360, Math.acos(0.9999619230642)) [all...] |
15.8.2.3.js | 27 range is from -PI/2 to +PI/2. special cases: 58 array[item++] = new TestCase( SECTION, "Math.asin('1')", Math.PI/2, Math.asin("1") ); 59 array[item++] = new TestCase( SECTION, "Math.asin('-1')", -Math.PI/2, Math.asin("-1") ); 60 array[item++] = new TestCase( SECTION, "Math.asin(Math.SQRT1_2+'')", Math.PI/4, Math.asin(Math.SQRT1_2+'') ); 61 array[item++] = new TestCase( SECTION, "Math.asin(-Math.SQRT1_2+'')", -Math.PI/4, Math.asin(-Math.SQRT1_2+'') ); 70 array[item++] = new TestCase( SECTION, "Math.asin(1)", Math.PI/2, Math.asin(1) ); 71 array[item++] = new TestCase( SECTION, "Math.asin(-1)", -Math.PI/2, Math.asin(-1) ); 72 array[item++] = new TestCase( SECTION, "Math.asin(Math.SQRT1_2))", Math.PI/4, Math.asin(Math.SQRT1_2) ); 73 array[item++] = new TestCase( SECTION, "Math.asin(-Math.SQRT1_2))", -Math.PI/4, Math.asin(-Math.SQRT1_2)) [all...] |
15.8.2.4.js | 27 range is from -PI/2 to +PI/2. special cases: 31 - if x == +Infinity, the result is approximately +PI/2 32 - if x == -Infinity, the result is approximately -PI/2 62 array[item++] = new TestCase( SECTION, "Math.atan('1')", Math.PI/4, Math.atan('1') ); 63 array[item++] = new TestCase( SECTION, "Math.atan('-1')", -Math.PI/4, Math.atan('-1') ); 64 array[item++] = new TestCase( SECTION, "Math.atan('Infinity)", Math.PI/2, Math.atan('Infinity') ); 65 array[item++] = new TestCase( SECTION, "Math.atan('-Infinity)", -Math.PI/2, Math.atan('-Infinity') ); 70 array[item++] = new TestCase( SECTION, "Math.atan(Infinity)", Math.PI/2, Math.atan(Number.POSITIVE_INFINITY) ); 71 array[item++] = new TestCase( SECTION, "Math.atan(-Infinity)", -Math.PI/2, Math.atan(Number.NEGATIVE_INFINITY) ) [all...] |
15.8.2.7.js | 69 array[item++] = new TestCase( SECTION, "Math.cos(Math.PI*2)", 1, Math.cos(Math.PI*2) ); 70 array[item++] = new TestCase( SECTION, "Math.cos(Math.PI/4)", Math.SQRT2/2, Math.cos(Math.PI/4) ); 71 array[item++] = new TestCase( SECTION, "Math.cos(Math.PI/2)", 0, Math.cos(Math.PI/2) ); 72 array[item++] = new TestCase( SECTION, "Math.cos(3*Math.PI/4)", -Math.SQRT2/2, Math.cos(3*Math.PI/4) ); 73 array[item++] = new TestCase( SECTION, "Math.cos(Math.PI)", -1, Math.cos(Math.PI) ); [all...] |
15.8.2.18.js | 63 array[item++] = new TestCase( SECTION, "Math.tan(Math.PI/4)", 1, Math.tan(Math.PI/4)); 64 array[item++] = new TestCase( SECTION, "Math.tan(3*Math.PI/4)", -1, Math.tan(3*Math.PI/4)); 65 array[item++] = new TestCase( SECTION, "Math.tan(Math.PI)", -0, Math.tan(Math.PI)); 66 array[item++] = new TestCase( SECTION, "Math.tan(5*Math.PI/4)", 1, Math.tan(5*Math.PI/4)); 67 array[item++] = new TestCase( SECTION, "Math.tan(7*Math.PI/4)", -1, Math.tan(7*Math.PI/4)) [all...] |
/external/llvm/lib/Transforms/ObjCARC/ |
ObjCARCAliasAnalysis.h | 54 virtual void *getAdjustedAnalysisPointer(const void *PI) { 55 if (PI == &AliasAnalysis::ID)
|
/external/llvm/lib/CodeGen/ |
EarlyIfConversion.cpp | 410 PHIInfo &PI = PHIs.back(); 412 for (unsigned i = 1; i != PI.PHI->getNumOperands(); i += 2) { 413 if (PI.PHI->getOperand(i+1).getMBB() == TPred) 414 PI.TReg = PI.PHI->getOperand(i).getReg(); 415 if (PI.PHI->getOperand(i+1).getMBB() == FPred) 416 PI.FReg = PI.PHI->getOperand(i).getReg(); 418 assert(TargetRegisterInfo::isVirtualRegister(PI.TReg) && "Bad PHI"); 419 assert(TargetRegisterInfo::isVirtualRegister(PI.FReg) && "Bad PHI") [all...] |
/external/proguard/src/proguard/gui/splash/ |
SineTiming.java | 51 return 0.5 + 0.5 * Math.sin(2.0 * Math.PI * (time + phase) / period);
|
/frameworks/base/core/java/android/view/animation/ |
AccelerateDecelerateInterpolator.java | 36 return (float)(Math.cos((input + 1) * Math.PI) / 2.0f) + 0.5f;
|
/external/llvm/lib/IR/ |
Pass.cpp | 60 const PassInfo *PI = PassRegistry::getPassRegistry()->getPassInfo(AID); 61 if (PI) 62 return PI->getPassName(); 172 const PassInfo *PI = PassRegistry::getPassRegistry()->getPassInfo(ID); 173 if (!PI) 175 return PI->createPass(); 256 const PassInfo *PI = Pass::lookupPassInfo(Arg); 258 if (PI) Preserved.push_back(PI->getTypeInfo());
|
BasicBlock.cpp | 184 pred_iterator PI = pred_begin(this), E = pred_end(this); 185 if (PI == E) return 0; // No preds. 186 BasicBlock *ThePred = *PI; 187 ++PI; 188 return (PI == E) ? ThePred : 0 /*multiple preds*/; 197 pred_iterator PI = pred_begin(this), E = pred_end(this); 198 if (PI == E) return 0; // No preds. 199 BasicBlock *PredBB = *PI; 200 ++PI; 201 for (;PI != E; ++PI) [all...] |
/external/llvm/include/llvm/Analysis/ |
BlockFrequencyImpl.h | 157 PI = GraphTraits< Inverse<BlockT *> >::child_begin(BB), 160 if (PI == PE) 163 BlockT *Pred = *PI; 165 ++PI; 166 if (PI != PE) 194 PI = GraphTraits< Inverse<BlockT *> >::child_begin(BB), 196 PI != PE; ++PI) { 197 BlockT *Pred = *PI; 238 PI = GraphTraits< Inverse<BlockT *> >::child_begin(Head) [all...] |
LibCallAliasAnalysis.h | 60 virtual void *getAdjustedAnalysisPointer(const void *PI) { 61 if (PI == &AliasAnalysis::ID)
|
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/ |
ZoomControl.java | 33 private static final double MAX_ANGLE = Math.PI / 3; 215 if ((alpha >= -(Math.PI / 2)) && (alpha <= -MAX_ANGLE)) { 219 if ((alpha >= MAX_ANGLE) && (alpha <= (Math.PI / 2))) { 239 beta = ((mMaxProgress - mProgress) * mInterval) + Math.PI + MAX_ANGLE; 243 if (beta >= 0 && beta <= Math.PI / 2) { 247 } else if (beta > Math.PI / 2 && beta < (Math.PI / 2) + MAX_ANGLE) { 248 alpha = beta - Math.PI; 251 } else if (beta <= 2 * Math.PI && beta > (3 * Math.PI) / 2) [all...] |
/external/icu4c/i18n/ |
astro.cpp | 22 #if defined (PI) 23 #undef PI 201 const double CalendarAstronomer::PI = 3.14159265358979323846; 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 217 * Normalize an angle so that it's in the range 0 - 2pi. 218 * For positive angles this is just (angle % 2pi), but the Java 222 return normalize(angle, CalendarAstronomer::PI * 2.0) [all...] |
/external/llvm/lib/Transforms/Scalar/ |
BasicBlockPlacement.cpp | 56 /// PI - The profile information that is guiding us. 58 ProfileInfo *PI; 88 PI = &getAnalysis<ProfileInfo>(); 134 double MaxExecutionCount = PI->getExecutionCount(*SI); 140 double Count = PI->getExecutionCount(*SI);
|
/external/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/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))
|