/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/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;
|
/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/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;
|
tcuTexture.cpp | 255 const deUint32 rounded = convertSatRte<deUint32>(f); local 257 return de::min(rounded, maxUint24); [all...] |
/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/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/v8/tools/ |
generate-ten-powers.scm | 79 (define (rounded-/bx x y) 112 (v (rounded-/bx two^e ten^i))
|
/libcore/luni/src/test/java/libcore/java/math/ |
BigDecimalTest.java | 64 BigDecimal rounded = bigDecimal.round(new MathContext(2, RoundingMode.FLOOR)); local 65 assertEquals("0.99", rounded.toString());
|
/external/dng_sdk/source/ |
dng_matrix.cpp | 278 real64 rounded = Round_int32 (fData [j] [k] * factor) * invFactor; local 280 error = fData [j] [k] - rounded; 282 fData [j] [k] = rounded;
|
/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/mesa3d/src/glsl/ |
ir_constant_expression.cpp | 52 int rounded = IROUND(val); local 55 if (rounded % 2 != 0) 56 rounded += val > 0 ? -1 : 1; 59 return rounded; [all...] |
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawable/ |
UserIconDrawable.java | 370 Rect rounded = new Rect(); local 371 dstRect.round(rounded); 374 mUserDrawable.setBounds(rounded);
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/dfp/ |
Dfp.java | 914 * @return rounded value 922 * @return rounded value 930 * @return rounded value 1048 Dfp rounded; local [all...] |
/external/deqp/modules/gles3/functional/ |
es3fShaderCommonFunctionTests.cpp | 600 const int rounded = (q > 0.5f) ? (truncated + 1) : // Rounded up local 602 truncated; // Rounded down 604 return float(rounded); 684 const deUint32 maxUlpDiff = getMaxUlpDiffFromBits(mantissaBits); // ULP diff for rounded integer value. [all...] |
/external/deqp/modules/gles31/functional/ |
es31fShaderCommonFunctionTests.cpp | 678 const int rounded = (q > 0.5f) ? (truncated + 1) : // Rounded up local 680 truncated; // Rounded down 682 return float(rounded); 762 const deUint32 maxUlpDiff = getMaxUlpDiffFromBits(mantissaBits); // ULP diff for rounded integer value. [all...] |
/external/icu/icu4c/source/i18n/ |
compactdecimalformat.cpp | 258 DigitList orig, rounded; local 261 _round(orig, rounded, isNegative, status); 265 double roundedDouble = rounded.getDouble();
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
Drawable.java | 1476 final int rounded = Math.round(result); local [all...] |
/libcore/ojluni/src/main/java/java/util/ |
HashMap.java | 262 int rounded = number >= MAXIMUM_CAPACITY local 264 : (rounded = Integer.highestOneBit(number)) != 0 265 ? (Integer.bitCount(number) > 1) ? rounded << 1 : rounded 268 return rounded; [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/ |
CropActivity.java | 432 Rect rounded = new Rect(); local 433 trueCrop.roundOut(rounded); 434 mResultIntent.putExtra(CropExtras.KEY_CROPPED_RECT, rounded);
|
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
vktShaderCommonFunctionTests.cpp | 797 const int rounded = (q > 0.5f) ? (truncated + 1) : // Rounded up local 799 truncated; // Rounded down 801 return float(rounded); 878 const deUint32 maxUlpDiff = getMaxUlpDiffFromBits(mantissaBits); // ULP diff for rounded integer value. [all...] |
/toolchain/binutils/binutils-2.25/bfd/ |
peXXigen.c | 714 int rounded = FA (sec->size); 721 dsize += rounded; 723 tsize += rounded; 713 int rounded = FA (sec->size); local [all...] |
/external/v8/src/mips/ |
simulator-mips.cc | 2545 double rounded; local 2555 double rounded = std::floor(fs + 0.5); local 2569 double rounded = trunc(fs); local 2578 double rounded = std::floor(fs); local 2587 double rounded = std::ceil(fs); local 2600 double rounded; local 2614 double rounded = trunc(fs); local 2628 double rounded = std::floor(fs + 0.5); local 2648 double rounded = std::floor(fs); local 2662 double rounded = std::ceil(fs); local 3066 float rounded = trunc(fs); local 3075 float rounded = trunc(fs); local 3089 float rounded = std::floor(fs); local 3098 float rounded = std::floor(fs); local 3111 float rounded = std::floor(fs + 0.5); local 3126 float rounded = std::floor(fs + 0.5); local 3146 float rounded = std::ceil(fs); local 3155 float rounded = std::ceil(fs); local 3238 float rounded; local 3250 float rounded; local [all...] |
/external/v8/src/mips64/ |
simulator-mips64.cc | 2500 float rounded; local 2510 float rounded; local 2520 float rounded = trunc(fs); local 2528 float rounded = trunc(fs); local 2537 float rounded = std::floor(fs + 0.5); local 2551 float rounded = std::floor(fs + 0.5); local 2566 float rounded = floor(fs); local 2576 float rounded = std::floor(fs); local 2585 float rounded = std::ceil(fs); local 2593 float rounded = ceil(fs); local 2936 double rounded; local 2947 double rounded = std::floor(fs + 0.5); local 2961 double rounded = trunc(fs); local 2970 double rounded = std::floor(fs); local 2979 double rounded = std::ceil(fs); local 2990 double rounded; local 3000 double rounded = std::floor(fs + 0.5); local 3015 double rounded = trunc(fs); local 3024 double rounded = floor(fs); local 3033 double rounded = ceil(fs); local [all...] |