Home
last modified time | relevance | path

Searched refs:leadingZeros (Results 1 – 12 of 12) sorted by relevance

/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/util/
DParsableNalUnitBitArray.java163 int leadingZeros = 0; in canReadExpGolombCodedNum() local
165 leadingZeros++; in canReadExpGolombCodedNum()
170 return !hitLimit && canReadBits(leadingZeros * 2 + 1); in canReadExpGolombCodedNum()
193 int leadingZeros = 0; in readExpGolombCodeNum() local
195 leadingZeros++; in readExpGolombCodeNum()
197 return (1 << leadingZeros) - 1 + (leadingZeros > 0 ? readBits(leadingZeros) : 0); in readExpGolombCodeNum()
/external/guava/android/guava/src/com/google/common/math/
DLongMath.java139 int leadingZeros = Long.numberOfLeadingZeros(x); in log2() local
140 long cmp = MAX_POWER_OF_SQRT2_UNSIGNED >>> leadingZeros; in log2()
142 int logFloor = (Long.SIZE - 1) - leadingZeros; in log2()
571 int leadingZeros = in checkedMultiply() local
586 if (leadingZeros > Long.SIZE + 1) { in checkedMultiply()
589 checkNoOverflow(leadingZeros >= Long.SIZE, "checkedMultiply", a, b); in checkedMultiply()
689 int leadingZeros = in saturatedMultiply() local
694 if (leadingZeros > Long.SIZE + 1) { in saturatedMultiply()
699 if (leadingZeros < Long.SIZE | (a < 0 & b == Long.MIN_VALUE)) { in saturatedMultiply()
DIntMath.java136 int leadingZeros = Integer.numberOfLeadingZeros(x); in log2() local
137 int cmp = MAX_POWER_OF_SQRT2_UNSIGNED >>> leadingZeros; in log2()
139 int logFloor = (Integer.SIZE - 1) - leadingZeros; in log2()
/external/guava/guava/src/com/google/common/math/
DLongMath.java139 int leadingZeros = Long.numberOfLeadingZeros(x); in log2() local
140 long cmp = MAX_POWER_OF_SQRT2_UNSIGNED >>> leadingZeros; in log2()
142 int logFloor = (Long.SIZE - 1) - leadingZeros; in log2()
571 int leadingZeros = in checkedMultiply() local
586 if (leadingZeros > Long.SIZE + 1) { in checkedMultiply()
589 checkNoOverflow(leadingZeros >= Long.SIZE, "checkedMultiply", a, b); in checkedMultiply()
689 int leadingZeros = in saturatedMultiply() local
694 if (leadingZeros > Long.SIZE + 1) { in saturatedMultiply()
699 if (leadingZeros < Long.SIZE | (a < 0 & b == Long.MIN_VALUE)) { in saturatedMultiply()
DIntMath.java136 int leadingZeros = Integer.numberOfLeadingZeros(x); in log2() local
137 int cmp = MAX_POWER_OF_SQRT2_UNSIGNED >>> leadingZeros; in log2()
139 int logFloor = (Integer.SIZE - 1) - leadingZeros; in log2()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DDecimalQuantity_AbstractBCD.java992 public void appendDigit(byte value, int leadingZeros, boolean appendAsInteger) { in appendDigit() argument
993 assert leadingZeros >= 0; in appendDigit() local
999 scale += leadingZeros + 1; in appendDigit()
1006 leadingZeros += scale; in appendDigit()
1013 shiftLeft(leadingZeros + 1); in appendDigit()
1018 scale += leadingZeros + 1; in appendDigit()
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DDecimalQuantity_AbstractBCD.java994 public void appendDigit(byte value, int leadingZeros, boolean appendAsInteger) { in appendDigit() argument
995 assert leadingZeros >= 0; in appendDigit() local
1001 scale += leadingZeros + 1; in appendDigit()
1008 leadingZeros += scale; in appendDigit()
1015 shiftLeft(leadingZeros + 1); in appendDigit()
1020 scale += leadingZeros + 1; in appendDigit()
/external/icu/icu4c/source/i18n/
Dnumber_decimalquantity.cpp869 void DecimalQuantity::appendDigit(int8_t value, int32_t leadingZeros, bool appendAsInteger) { in appendDigit() argument
870 U_ASSERT(leadingZeros >= 0); in appendDigit()
876 scale += leadingZeros + 1; in appendDigit()
883 leadingZeros += scale; in appendDigit()
890 shiftLeft(leadingZeros + 1); in appendDigit()
895 scale += leadingZeros + 1; in appendDigit()
Dnumber_decimalquantity.h249 void appendDigit(int8_t value, int32_t leadingZeros, bool appendAsInteger);
/external/icu/libicu/cts_headers/
Dnumber_decimalquantity.h249 void appendDigit(int8_t value, int32_t leadingZeros, bool appendAsInteger);
/external/skqp/src/core/
DSkMipMap.cpp507 const int leadingZeros = SkCLZ(static_cast<uint32_t>(largestAxis)); in ComputeLevelCount() local
510 const int significantBits = (sizeof(uint32_t) * 8) - leadingZeros; in ComputeLevelCount()
/external/skia/src/core/
DSkMipmap.cpp671 const int leadingZeros = SkCLZ(static_cast<uint32_t>(largestAxis)); in ComputeLevelCount() local
674 const int significantBits = (sizeof(uint32_t) * 8) - leadingZeros; in ComputeLevelCount()