/frameworks/compile/libbcc/runtime/lib/ |
divxc3.c | 22 long double _Complex 23 __divxc3(long double __a, long double __b, long double __c, long double __d) 26 long double __logbw = logbl(fmaxl(fabsl(__c), fabsl(__d))); 33 long double __denom = __c * __c + __d * __d; 34 long double _Complex z;
|
/system/extras/tests/bionic/libc/other/ |
bench_locks.c | 7 static double now(void) 16 double t0, t1;
|
/external/libvpx/vp8/encoder/ |
ssim.c | 33 static const double ki_w = 1. / 2304.; // 1 / sum(i:0..6, j..6) K[i]*K[j] 34 double get_ssimg(const uint8 *org, const uint8 *rec, 71 const double iw = 1. / w; 72 const double iwx = xm * iw; 73 const double iwy = ym * iw; 74 double sxx = xxm * iw - iwx * iwx; 75 double syy = yym * iw - iwy * iwy; 83 const double sxsy = sqrt(sxx * syy); 84 const double sxy = xym * iw - iwx * iwy; 85 static const double C11 = (0.01 * 0.01) * (255 * 255) [all...] |
/libcore/luni/src/main/java/java/lang/ |
Math.java | 28 * The double value closest to e, the base of the natural logarithm. 30 public static final double E = 2.718281828459045; 33 * The double value closest to pi, the ratio of a circle's circumference to 36 public static final double PI = 3.141592653589793; 61 public static native double abs(double d); 106 * Returns the closest double approximation of the arc cosine of the 121 public static native double acos(double d); 124 * Returns the closest double approximation of the arc sine of the argumen [all...] |
/external/v8/src/ |
double.h | 37 static uint64_t double_to_uint64(double d) { return BitCast<uint64_t>(d); } 38 static double uint64_to_double(uint64_t d64) { return BitCast<double>(d64); } 41 class Double { 51 Double() : d64_(0) {} 52 explicit Double(double d) : d64_(double_to_uint64(d)) {} 53 explicit Double(uint64_t d64) : d64_(d64) {} 54 explicit Double(DiyFp diy_fp) 57 // The value encoded by this Double must be greater or equal to +0.0 [all...] |
/external/opencv/cvaux/src/ |
_cvvm.h | 125 double* F, 129 CvStatus icvCubic( double a2, double a1, 130 double a0, double* squares ); 132 double icvDet( double* M ); 133 double icvMinor( double* M, int x, int y ); 136 icvGaussMxN( double *A, double *B, int M, int N, double **solutions ) [all...] |
/bionic/libc/bionic/ |
ldexp.c | 26 double value; 40 double value; 50 /* Get two 32 bit ints from a double. */ 60 /* Get the more significant 32 bit int from a double. */ 69 /* Set the more significant 32 bits of a double from an int. */ 80 static const double 86 static double 87 _copysign(double x, double y) 96 double [all...] |
/external/clang/test/Analysis/ |
nil-receiver-undefined-larger-than-voidptr-ret.m | 10 - (double)doubleM; 11 - (long double)longDoubleM; 19 - (double)doubleM { return 0.0; } 20 - (long double)longDoubleM { return 0.0; } 34 long double ld = [obj longDoubleM]; 47 double d = [obj doubleM]; 53 double d = [obj doubleM]; // no-warning 84 // CHECK-darwin8: warning: The receiver of message 'longDoubleM' is nil and returns a value of type 'long double' that will be garbage 86 // CHECK-darwin8: warning: The receiver of message 'doubleM' is nil and returns a value of type 'double' that will be garbage 89 // CHECK-darwin9-NOT: warning: The receiver of message 'longDoubleM' is nil and returns a value of type 'long double' that will be garbag [all...] |
/external/clang/test/CodeGen/ |
sse-builtins.c | 41 // CHECK: load double* {{.*}}, align 1{{$}} 47 // CHECK: load <2 x double>* {{.*}}, align 16{{$}} 53 // CHECK: load double* {{.*}}, align 1{{$}} 59 // CHECK: load double* {{.*}}, align 1{{$}} 65 // CHECK: load double* {{.*}}, align 1{{$}} 71 // CHECK: store {{.*}} double* {{.*}}, align 1{{$}} 77 // CHECK: store {{.*}} double* {{.*}}, align 1{{$}} 78 // CHECK: store {{.*}} double* {{.*}}, align 1{{$}} 84 // CHECK: store {{.*}} <2 x double>* {{.*}}, align 16{{$}} 90 // CHECK: store {{.*}} double* {{.*}}, align 1{{$} [all...] |
/external/clang/test/SemaCXX/ |
missing-namespace-qualifier-typo-corrections.cpp | 10 int Double(int x) { return x + x; } 12 Double(toFoobar()); // expected-error{{{use of undeclared identifier 'toFoobar'; did you mean 'barstool::toFoobar'?}} 26 if (toFoobar()) Double(7); // expected-error{{use of undeclared identifier 'toFoobar'; did you mean 'barstool::toFoobar'?}} 27 if (noFoobar()) Double(7); // expected-error{{use of undeclared identifier 'noFoobar'; did you mean 'barstool::toFoobar'?}} 28 if (moreFoobar()) Double(7); // expected-error{{use of undeclared identifier 'moreFoobar'; did you mean 'fizbin::nested::moreFoobar'}} 29 if (lessFoobar()) Double(7); // expected-error{{use of undeclared identifier 'lessFoobar'; did you mean 'fizbin::nested::lessFoobar'?}} 30 if (baztool::toFoobar()) Double(7); // expected-error{{use of undeclared identifier 'baztool'; did you mean 'fizbin::baztool'?}} 31 if (nested::moreFoobar()) Double(7); // expected-error{{use of undeclared identifier 'nested'; did you mean 'fizbin::nested'?}} 32 if (dummy::moreFoobar()) Double(7); // expected-error{{use of undeclared identifier 'dummy'; did you mean 'fizbin::dummy'?}} 33 if (dummy::mreFoobar()) Double(7); // expected-error{{use of undeclared identifier 'dummy'; did you mean 'fizbin::dummy'?}} [all...] |
/external/llvm/test/CodeGen/Generic/ |
cast-fp.ll | 7 @A = global double 2.000000e+00 ; <double*> [#uses=1] 13 %a = load double* @A ; <double> [#uses=4] 15 call i32 (i8*, ...)* @printf( i8* %a_fs, double %a ) ; <i32>:1 [#uses=0] 16 %a_d2l = fptosi double %a to i64 ; <i64> [#uses=1] 19 %a_d2i = fptosi double %a to i32 ; <i32> [#uses=2] 22 %a_d2sb = fptosi double %a to i8 ; <i8> [#uses=1] 29 %b_i2d = sitofp i32 %b to double ; <double> [#uses=1 [all...] |
/external/llvm/test/CodeGen/Mips/ |
eh.ll | 4 @g1 = global double 0.000000e+00, align 8 7 define void @_Z1fd(double %i2) { 25 %0 = bitcast i8* %exception to double* 26 store double 3.200000e+00, double* %0, align 8, !tbaa !0 45 %4 = bitcast i8* %3 to double* 46 %exn.scalar = load double* %4, align 8 47 %add = fadd double %exn.scalar, %i2 48 store double %add, double* @g1, align 8, !tbaa ! [all...] |
/external/llvm/test/CodeGen/X86/ |
vec_shuffle.ll | 16 define void @test_v2sd(<2 x double>* %P, double %X, double %Y) nounwind { 17 %tmp = insertelement <2 x double> zeroinitializer, double %X, i32 0 ; <<2 x double>> [#uses=1] 18 %tmp2 = insertelement <2 x double> %tmp, double %Y, i32 1 ; <<2 x double>> [#uses=1] 19 store <2 x double> %tmp2, <2 x double>* % [all...] |
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/parallel/ |
random_number.h | 47 double supremum_reciprocal; 48 double RAND_SUP_REC; 59 uint64 /*supremum*/, double supremum_reciprocal) 61 uint64 supremum, double /*supremum_reciprocal*/) 76 supremum_reciprocal(double(supremum) / double(RAND_SUP)), 77 RAND_SUP_REC(1.0 / double(RAND_SUP)), 87 supremum_reciprocal(double(supremum) / double(RAND_SUP)), 88 RAND_SUP_REC(1.0 / double(RAND_SUP)) [all...] |
/external/webkit/Source/WebCore/platform/audio/ |
AudioBus.h | 79 double sampleRate() const { return m_sampleRate; } 80 void setSampleRate(double sampleRate) { m_sampleRate = sampleRate; } 97 static PassOwnPtr<AudioBus> createBySampleRateConverting(AudioBus* sourceBus, bool mixToMono, double newSampleRate); 105 void scale(double scale); 108 void setGain(double gain) { m_busGain = gain; } 109 double gain() { return m_busGain; } 124 void copyWithGainFrom(const AudioBus &sourceBus, double* lastMixGain, double targetGain); 125 void sumWithGainFrom(const AudioBus &sourceBus, double* lastMixGain, double targetGain) [all...] |
/external/opencv/cxcore/src/ |
cxmean.cpp | 161 double scale = pix ? 1./pix : 0 165 mean[0] = scale*(double)tmp##0 169 double t0 = scale*(double)tmp##0; \ 170 double t1 = scale*(double)tmp##1; \ 176 double t0 = scale*(double)tmp##0; \ 177 double t1 = scale*(double)tmp##1; [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
GalleryUtils.java | 123 private static final double RAD_PER_DEG = Math.PI / 180.0; 124 private static final double EARTH_RADIUS_METERS = 6367000.0; 126 public static double fastDistanceMeters(double latRad1, double lngRad1, 127 double latRad2, double lngRad2) { 133 double sineLat = (latRad1 - latRad2); 136 double sineLng = (lngRad1 - lngRad2); 140 double cosTerms = Math.cos((latRad1 + latRad2) / 2.0) [all...] |
/external/webkit/Source/WebCore/html/ |
InputType.h | 122 virtual double valueAsDate() const; 123 virtual void setValueAsDate(double, ExceptionCode&) const; 124 virtual double valueAsNumber() const; 125 virtual void setValueAsNumber(double, ExceptionCode&) const; 141 virtual double defaultValueForStepUp() const; 142 virtual double minimum() const; 143 virtual double maximum() const; 144 virtual bool stepMismatch(const String&, double step) const; 145 virtual double stepBase() const; 146 virtual double stepBaseWithDecimalPlaces(unsigned*) const [all...] |
/external/webkit/Source/WebCore/page/animation/ |
AnimationBase.h | 59 double duration() const; 98 void updateStateMachine(AnimStateInput, double param); 101 void onAnimationStartResponse(double startTime) 127 virtual double timeToNextService(); 129 double progress(double scale, double offset, const TimingFunction*) const; 165 void freezeAtTime(double t); 171 double beginAnimationUpdateTime() const; 173 double getElapsedTime() const [all...] |
/external/fdlibm/ |
e_j1.c | 62 static double pone(double), qone(double); 64 static double pone(), qone(); 68 static const double 70 static double 87 static double zero = 0.0; 90 double __ieee754_j1(double x) 92 double __ieee754_j1(x) [all...] |
e_j0.c | 62 static double pzero(double), qzero(double); 64 static double pzero(), qzero(); 68 static const double 70 static double 86 static double zero = 0.0; 89 double __ieee754_j0(double x) 91 double __ieee754_j0(x) [all...] |
/external/webkit/Source/JavaScriptCore/wtf/ |
CurrentTime.cpp | 72 const double msPerSecond = 1000.0; 81 static double highResUpTime() 121 return (1000.0 * qpc.QuadPart) / static_cast<double>(qpcFrequency.QuadPart); 124 static double lowResUTCTime() 159 double currentTime() 166 static double syncLowResUTCTime; 167 static double syncHighResUpTime; 168 static double lastUTCTime; 170 double lowResTime = lowResUTCTime(); 175 double highResTime = highResUpTime() [all...] |
/frameworks/base/location/java/android/location/ |
Location.java | 62 private double mLatitude = 0.0; 63 private double mLongitude = 0.0; 65 private double mAltitude = 0.0f; 76 private double mLat1 = 0.0; 77 private double mLon1 = 0.0; 78 private double mLat2 = 0.0; 79 private double mLon2 = 0.0; 156 * The coordinate must be a valid double between -180.0 and 180.0. 163 public static String convert(double coordinate, int outputType) { 165 Double.isNaN(coordinate)) [all...] |
/external/llvm/test/CodeGen/ARM/ |
2009-07-18-RewriterBug.ll | 4 %struct.VEC2 = type { double, double, double } 52 %20 = getelementptr %struct.VERTEX* %18, i32 0, i32 0, i32 0 ; <double*> [#uses=1] 53 %21 = load double* %20, align 4 ; <double> [#uses=3] 54 %22 = getelementptr %struct.VERTEX* %18, i32 0, i32 0, i32 1 ; <double*> [#uses=1] 55 %23 = load double* %22, align 4 ; <double> [#uses=3] 85 %38 = getelementptr %struct.VERTEX* %t1.0.i, i32 0, i32 0, i32 0 ; <double*> [#uses=1 [all...] |
/external/webkit/Source/WebCore/webaudio/ |
AudioPannerNode.cpp | 43 static void fixNANs(double &x) 49 AudioPannerNode::AudioPannerNode(AudioContext* context, double sampleRate) 106 double azimuth; 107 double elevation; 112 double totalGain = distanceConeGain(); 161 void AudioPannerNode::getAzimuthElevation(double* outAzimuth, double* outElevation) 165 double azimuth = 0.0; 191 double upProjection = sourceListener.dot(up); 200 double frontBack = projectedSource.dot(listenerFrontNorm) [all...] |