/cts/apps/CtsVerifier/jni/audio_loopback/audio_utils/ |
roundup.c | 26 unsigned rounded = ((unsigned) 0x80000000) >> lz; local 27 // 0x800000001 and higher are actually rounded _down_ to prevent overflow 28 if (v > rounded && lz > 0) { 29 rounded <<= 1; 31 return rounded;
|
/external/drrickorang/LoopbackApp/app/src/main/jni/audio_utils/ |
roundup.c | 26 unsigned rounded = ((unsigned) 0x80000000) >> lz; local 27 // 0x800000001 and higher are actually rounded _down_ to prevent overflow 28 if (v > rounded && lz > 0) { 29 rounded <<= 1; 31 return rounded;
|
/system/media/audio_utils/ |
roundup.c | 26 unsigned rounded = ((unsigned) 0x80000000) >> lz; local 27 // 0x800000001 and higher are actually rounded _down_ to prevent overflow 28 if (v > rounded && lz > 0) { 29 rounded <<= 1; 31 return rounded;
|
/external/mesa3d/include/ |
c99_math.h | 55 long int rounded = (long int)(d + 0.5); local 58 if (rounded % 2 != 0) 59 rounded += (d > 0) ? -1 : 1; 62 return rounded; 68 long int rounded = (long int)(f + 0.5f); local 71 if (rounded % 2 != 0) 72 rounded += (f > 0) ? -1 : 1; 75 return rounded; 81 long long int rounded = (long long int)(d + 0.5); local 84 if (rounded % 2 != 0 94 long long int rounded = (long long int)(f + 0.5f); local [all...] |
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/ |
Utilities.java | 50 int rounded = 0x80000000 >>> lz; local 51 // 0x800000001 and higher are actually rounded _down_ to prevent overflow 52 if (size > rounded && lz > 0) { 53 rounded <<= 1; 55 return rounded;
|
/external/valgrind/none/tests/s390x/ |
rounding-4.stdout.exp | 2 load rounded d = 12345678.250 f = 12345678.000 4 load rounded d = 12345678.250 f = 12345678.000 6 load rounded d = 12345678.250 f = 12345679.000 8 load rounded d = 12345678.250 f = 12345678.000 11 load rounded d = 12345678.750 f = 12345679.000 13 load rounded d = 12345678.750 f = 12345678.000 15 load rounded d = 12345678.750 f = 12345679.000 17 load rounded d = 12345678.750 f = 12345678.000 20 load rounded d = -12345678.250 f = -12345678.000 22 load rounded d = -12345678.250 f = -12345678.00 [all...] |
/bionic/libc/bionic/ |
mremap.cpp | 41 size_t rounded = BIONIC_ALIGN(new_size, PAGE_SIZE); local 42 if (rounded < new_size || rounded > PTRDIFF_MAX) {
|
mmap.cpp | 51 size_t rounded = BIONIC_ALIGN(size, PAGE_SIZE); local 52 if (rounded < size || rounded > PTRDIFF_MAX) {
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/wavelib/ |
PipeShort.java | 32 // maxBytes will be rounded up to a power of 2, and all slots are available. Must be >= 2. 132 int rounded = 0x80000000 >>> lz; local 133 // 0x800000001 and higher are actually rounded _down_ to prevent overflow 134 if (v > rounded && lz > 0) { 135 rounded <<= 1; 137 return rounded;
|
/external/v8/src/mips/ |
simulator-mips.cc | 2738 double rounded; local 2748 double rounded = std::floor(fs + 0.5); local 2762 double rounded = trunc(fs); local 2771 double rounded = std::floor(fs); local 2780 double rounded = std::ceil(fs); local 2793 double rounded; local 2807 double rounded = trunc(fs); local 2821 double rounded = std::floor(fs + 0.5); local 2841 double rounded = std::floor(fs); local 2855 double rounded = std::ceil(fs); local 3288 float rounded = trunc(fs); local 3297 float rounded = trunc(fs); local 3311 float rounded = std::floor(fs); local 3320 float rounded = std::floor(fs); local 3333 float rounded = std::floor(fs + 0.5); local 3348 float rounded = std::floor(fs + 0.5); local 3368 float rounded = std::ceil(fs); local 3377 float rounded = std::ceil(fs); local 3408 float rounded; local 3420 float rounded; local [all...] |
simulator-mips.h | 207 void set_fpu_register_invalid_result64(float original, float rounded); 208 void set_fpu_register_invalid_result(float original, float rounded); 209 void set_fpu_register_word_invalid_result(float original, float rounded); 210 void set_fpu_register_invalid_result64(double original, double rounded); 211 void set_fpu_register_invalid_result(double original, double rounded); 212 void set_fpu_register_word_invalid_result(double original, double rounded); 223 bool set_fcsr_round_error(double original, double rounded); 224 bool set_fcsr_round_error(float original, float rounded); 225 bool set_fcsr_round64_error(double original, double rounded); 226 bool set_fcsr_round64_error(float original, float rounded); [all...] |
/external/v8/src/mips64/ |
simulator-mips64.cc | 2699 float rounded; local 2709 float rounded; local 2719 float rounded = trunc(fs); local 2727 float rounded = trunc(fs); local 2736 float rounded = std::floor(fs + 0.5); local 2750 float rounded = std::floor(fs + 0.5); local 2765 float rounded = floor(fs); local 2775 float rounded = std::floor(fs); local 2784 float rounded = std::ceil(fs); local 2792 float rounded = ceil(fs); local 3060 double rounded; local 3071 double rounded = std::floor(fs + 0.5); local 3085 double rounded = trunc(fs); local 3094 double rounded = std::floor(fs); local 3103 double rounded = std::ceil(fs); local 3114 double rounded; local 3124 double rounded = std::floor(fs + 0.5); local 3139 double rounded = trunc(fs); local 3148 double rounded = floor(fs); local 3157 double rounded = ceil(fs); local [all...] |
simulator-mips64.h | 217 void set_fpu_register_invalid_result64(float original, float rounded); 218 void set_fpu_register_invalid_result(float original, float rounded); 219 void set_fpu_register_word_invalid_result(float original, float rounded); 220 void set_fpu_register_invalid_result64(double original, double rounded); 221 void set_fpu_register_invalid_result(double original, double rounded); 222 void set_fpu_register_word_invalid_result(double original, double rounded); 231 bool set_fcsr_round_error(double original, double rounded); 232 bool set_fcsr_round64_error(double original, double rounded); 233 bool set_fcsr_round_error(float original, float rounded); 234 bool set_fcsr_round64_error(float original, float rounded); [all...] |
/frameworks/base/core/java/android/text/format/ |
Formatter.java | 176 final RoundedBytesResult rounded = RoundedBytesResult.roundBytes(sizeBytes, flags); local 178 final NumberFormat numberFormatter = getNumberFormatter(locale, rounded.fractionDigits); 179 final String formattedNumber = numberFormatter.format(rounded.value); 181 if (rounded.units == MeasureUnit.BYTE || rounded.units == PETABYTE) { 183 units = getSuffixOverride(res, rounded.units); 189 locale, numberFormatter, rounded.value, rounded.units); 193 return new BytesResult(formattedNumber, units, rounded.roundedBytes); 268 // Note we calculate the rounded long by ourselves, but still let NumberFormat comput [all...] |
/prebuilts/go/darwin-x86/test/fixedbugs/ |
bug470.go | 21 // 0.01 rounded to float32 then to float64 is F32.
|
/prebuilts/go/linux-x86/test/fixedbugs/ |
bug470.go | 21 // 0.01 rounded to float32 then to float64 is F32.
|
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/internal/ |
strtod.h | 191 DiyFp rounded(v.f >> precisionSize, v.e + static_cast<int>(precisionSize)); 195 rounded.f++; 196 if (rounded.f & (DiyFp::kDpHiddenBit << 1)) { // rounding overflows mantissa (issue #340) 197 rounded.f >>= 1; 198 rounded.e++; 202 *result = rounded.ToDouble();
|
/prebuilts/go/darwin-x86/src/runtime/ |
msize.go | 20 // the size divided by 8 (rounded up). Objects >= 1024 bytes 22 // size divided by 128 (rounded up). The arrays are constants
|
/prebuilts/go/linux-x86/src/runtime/ |
msize.go | 20 // the size divided by 8 (rounded up). Objects >= 1024 bytes 22 // size divided by 128 (rounded up). The arrays are constants
|
/prebuilts/go/darwin-x86/src/math/big/ |
float_test.go | 429 x, zero, neven, naway, away string // input, results rounded to prec bits 839 {"1.401298464e-45", math.SmallestNonzeroFloat32, Above}, // rounded up to smallest denormal 840 {"0x.ffffff8p-149", math.SmallestNonzeroFloat32, Above}, // rounded up to smallest denormal 841 {"0x.0000018p-126", math.SmallestNonzeroFloat32, Above}, // rounded up to smallest denormal 850 {"0x0.0000010p-126", math.Float32frombits(0x00000000), Below}, // rounded down to even 851 {"0x0.0000011p-126", math.Float32frombits(0x00000001), Above}, // rounded up to smallest denormal 852 {"0x0.0000018p-126", math.Float32frombits(0x00000001), Above}, // rounded up to smallest denormal 859 {"0x0.8p-149", math.Float32frombits(0x000000000), Below}, // rounded down to even 860 {"0x0.9p-149", math.Float32frombits(0x000000001), Above}, // rounded up to smallest denormal 861 {"0x0.ap-149", math.Float32frombits(0x000000001), Above}, // rounded up to smallest denorma [all...] |
/prebuilts/go/linux-x86/src/math/big/ |
float_test.go | 429 x, zero, neven, naway, away string // input, results rounded to prec bits 839 {"1.401298464e-45", math.SmallestNonzeroFloat32, Above}, // rounded up to smallest denormal 840 {"0x.ffffff8p-149", math.SmallestNonzeroFloat32, Above}, // rounded up to smallest denormal 841 {"0x.0000018p-126", math.SmallestNonzeroFloat32, Above}, // rounded up to smallest denormal 850 {"0x0.0000010p-126", math.Float32frombits(0x00000000), Below}, // rounded down to even 851 {"0x0.0000011p-126", math.Float32frombits(0x00000001), Above}, // rounded up to smallest denormal 852 {"0x0.0000018p-126", math.Float32frombits(0x00000001), Above}, // rounded up to smallest denormal 859 {"0x0.8p-149", math.Float32frombits(0x000000000), Below}, // rounded down to even 860 {"0x0.9p-149", math.Float32frombits(0x000000001), Above}, // rounded up to smallest denormal 861 {"0x0.ap-149", math.Float32frombits(0x000000001), Above}, // rounded up to smallest denorma [all...] |
/external/eigen/bench/btl/data/ |
mk_new_gnuplot.sh | 21 echo set term postscript color rounded enhanced >> $WHAT.gnuplot 24 # echo set term svg color rounded enhanced >> $WHAT.gnuplot
|
/external/jacoco/org.jacoco.report/src/org/jacoco/report/check/ |
Limit.java | 168 final BigDecimal rounded = v.setScale(ref.scale(), mode); local 171 rounded.toPlainString(), minmax, ref.toPlainString());
|
/external/jarjar/src/main/com/tonicsystems/jarjar/util/ |
ClassHeaderReader.java | 145 int rounded = (int)(CHUNK * Math.ceil((float)amount / CHUNK)); local 146 bsize += read(in, b, bsize, rounded - bsize);
|
/external/deqp/framework/common/ |
tcuBilinearImageCompare.cpp | 80 const deUint32 rounded = (sum + half) >> (NUM_SUBPIXEL_BITS*2); local 82 DE_ASSERT(de::inRange<deUint32>(rounded, 0, 0xff)); 83 return (deUint8)rounded;
|