HomeSort by relevance Sort by last modified time
    Searched refs:isPowerOfTwo (Results 1 - 25 of 39) sorted by null

1 2

  /external/guava/guava/src/com/google/common/math/
DoubleMath.java 176 public static boolean isPowerOfTwo(double x) {
177 return x > 0.0 && isFinite(x) && LongMath.isPowerOfTwo(getSignificand(x));
222 checkRoundingUnnecessary(isPowerOfTwo(x));
228 increment = !isPowerOfTwo(x);
231 increment = exponent < 0 & !isPowerOfTwo(x);
234 increment = exponent >= 0 & !isPowerOfTwo(x);
BigIntegerMath.java 54 public static boolean isPowerOfTwo(BigInteger x) {
72 checkRoundingUnnecessary(isPowerOfTwo(x)); // fall through
79 return isPowerOfTwo(x) ? logFloor : logFloor + 1;
IntMath.java 63 public static boolean isPowerOfTwo(int x) {
80 checkRoundingUnnecessary(isPowerOfTwo(x));
LongMath.java 60 public static boolean isPowerOfTwo(long x) {
76 checkRoundingUnnecessary(isPowerOfTwo(x));
  /external/guava/guava-gwt/src-super/com/google/common/math/super/com/google/common/math/
IntMath.java 52 public static boolean isPowerOfTwo(int x) {
  /tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/
BootSector.java 295 private static boolean isPowerOfTwo(int n) {
326 if (!isPowerOfTwo(v)) throw new IllegalArgumentException(
  /frameworks/base/libs/hwui/
SkiaShader.cpp 45 static inline bool isPowerOfTwo(unsigned int n) {
228 if (!extensions.hasNPot() && (!isPowerOfTwo(width) || !isPowerOfTwo(height)) &&
  /external/clang/include/clang/AST/
CharUnits.h 127 /// isPowerOfTwo - Test whether the quantity is a power of two.
129 bool isPowerOfTwo() const {
  /frameworks/av/cmds/screenrecord/
TextRenderer.cpp 60 static bool isPowerOfTwo(uint32_t val) {
99 if (!isPowerOfTwo(FontBitmap::width)) {
  /external/guava/guava-tests/test/com/google/common/math/
IntMathTest.java 93 assertEquals(expected, IntMath.isPowerOfTwo(x));
129 // Relies on the correctness of isPowerOfTwo(int).
134 boolean isPowerOf2 = IntMath.isPowerOfTwo(x);
BigIntegerMathTest.java 63 assertEquals(expected, BigIntegerMath.isPowerOfTwo(x));
107 // Relies on the correctness of isPowerOfTwo(BigInteger).
111 boolean isPowerOf2 = BigIntegerMath.isPowerOfTwo(x);
DoubleMathTest.java 378 assertTrue(DoubleMath.isPowerOfTwo(StrictMath.pow(2.0, i)));
386 assertEquals(expected, DoubleMath.isPowerOfTwo(x));
LongMathTest.java 135 assertEquals(expected, LongMath.isPowerOfTwo(x));
169 /* Relies on the correctness of isPowerOfTwo(long). */
173 boolean isPowerOf2 = LongMath.isPowerOfTwo(x);
  /prebuilts/devtools/tools/lib/
fat32lib.jar 
guava-13.0.1.jar 
  /external/chromium_org/third_party/WebKit/Source/wtf/
HashTable.h 588 template<unsigned size, bool isPowerOfTwo> struct HashTableCapacityForSizeSplitter;
    [all...]
  /external/clang/lib/CodeGen/
CGObjC.cpp 714 if (!IvarSize.isPowerOfTwo()) {
    [all...]
  /external/chromium_org/third_party/WebKit/Source/devtools/scripts/closure/
compiler.jar 
  /external/owasp/sanitizer/distrib/lib/
guava.jar 
  /external/owasp/sanitizer/lib/guava-libraries/
guava.jar 
  /packages/services/Telecomm/libs/
guava.jar 
  /prebuilts/eclipse/maven/apache-maven-3.2.1/lib/
guava-14.0.1.jar 
  /prebuilts/misc/common/android-support-test/
espresso-core.jar 
  /prebuilts/misc/common/tradefed/
tradefed-prebuilt.jar 
  /prebuilts/tools/common/gradle-plugins/repository/com/google/guava/guava/14.0/
guava-14.0.jar 

Completed in 3331 milliseconds

1 2