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.java138 int leadingZeros = Long.numberOfLeadingZeros(x); in log2() local
139 long cmp = MAX_POWER_OF_SQRT2_UNSIGNED >>> leadingZeros; in log2()
141 int logFloor = (Long.SIZE - 1) - leadingZeros; in log2()
570 int leadingZeros = in checkedMultiply() local
585 if (leadingZeros > Long.SIZE + 1) { in checkedMultiply()
588 checkNoOverflow(leadingZeros >= Long.SIZE, "checkedMultiply", a, b); in checkedMultiply()
688 int leadingZeros = in saturatedMultiply() local
693 if (leadingZeros > Long.SIZE + 1) { in saturatedMultiply()
698 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.java138 int leadingZeros = Long.numberOfLeadingZeros(x); in log2() local
139 long cmp = MAX_POWER_OF_SQRT2_UNSIGNED >>> leadingZeros; in log2()
141 int logFloor = (Long.SIZE - 1) - leadingZeros; in log2()
570 int leadingZeros = in checkedMultiply() local
585 if (leadingZeros > Long.SIZE + 1) { in checkedMultiply()
588 checkNoOverflow(leadingZeros >= Long.SIZE, "checkedMultiply", a, b); in checkedMultiply()
688 int leadingZeros = in saturatedMultiply() local
693 if (leadingZeros > Long.SIZE + 1) { in saturatedMultiply()
698 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.java951 public void appendDigit(byte value, int leadingZeros, boolean appendAsInteger) { in appendDigit() argument
952 assert leadingZeros >= 0; in appendDigit() local
958 scale += leadingZeros + 1; in appendDigit()
965 leadingZeros += scale; in appendDigit()
972 shiftLeft(leadingZeros + 1); in appendDigit()
977 scale += leadingZeros + 1; in appendDigit()
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DDecimalQuantity_AbstractBCD.java953 public void appendDigit(byte value, int leadingZeros, boolean appendAsInteger) { in appendDigit() argument
954 assert leadingZeros >= 0; in appendDigit() local
960 scale += leadingZeros + 1; in appendDigit()
967 leadingZeros += scale; in appendDigit()
974 shiftLeft(leadingZeros + 1); in appendDigit()
979 scale += leadingZeros + 1; in appendDigit()
/external/icu/icu4c/source/i18n/
Dnumber_decimalquantity.cpp844 void DecimalQuantity::appendDigit(int8_t value, int32_t leadingZeros, bool appendAsInteger) { in appendDigit() argument
845 U_ASSERT(leadingZeros >= 0); in appendDigit()
851 scale += leadingZeros + 1; in appendDigit()
858 leadingZeros += scale; in appendDigit()
865 shiftLeft(leadingZeros + 1); in appendDigit()
870 scale += leadingZeros + 1; in appendDigit()
Dnumber_decimalquantity.h213 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.cpp668 const int leadingZeros = SkCLZ(static_cast<uint32_t>(largestAxis)); in ComputeLevelCount() local
671 const int significantBits = (sizeof(uint32_t) * 8) - leadingZeros; in ComputeLevelCount()
/external/v8/src/execution/s390/
Dsimulator-s390.cc5998 int leadingZeros = __builtin_clz(mask); in TestUnderMask() local
5999 mask = 0x80000000u >> leadingZeros; in TestUnderMask()