Searched defs:isPowerOfTwo (Results 1 - 24 of 24) sorted by relevance

/external/guava/guava-tests/benchmark/com/google/common/math/
H A DDoubleMathBenchmark.java76 @Benchmark int isPowerOfTwo(int reps) { method in class:DoubleMathBenchmark
80 if (DoubleMath.isPowerOfTwo(doubles[j])) {
/external/guava/guava-gwt/src-super/com/google/common/math/super/com/google/common/math/
H A DBigIntegerMath.java53 public static boolean isPowerOfTwo(BigInteger x) { method in class:BigIntegerMath
72 checkRoundingUnnecessary(isPowerOfTwo(x)); // fall through
79 return isPowerOfTwo(x) ? logFloor : logFloor + 1;
H A DLongMath.java56 public static boolean isPowerOfTwo(long x) { method in class:LongMath
84 checkRoundingUnnecessary(isPowerOfTwo(x));
H A DIntMath.java59 public static boolean isPowerOfTwo(int x) { method in class:IntMath
88 checkRoundingUnnecessary(isPowerOfTwo(x));
/external/guava/guava/src/com/google/common/math/
H A DBigIntegerMath.java55 public static boolean isPowerOfTwo(BigInteger x) { method in class:BigIntegerMath
74 checkRoundingUnnecessary(isPowerOfTwo(x)); // fall through
81 return isPowerOfTwo(x) ? logFloor : logFloor + 1;
H A DDoubleMath.java197 public static boolean isPowerOfTwo(double x) { method in class:DoubleMath
198 return x > 0.0 && isFinite(x) && LongMath.isPowerOfTwo(getSignificand(x));
244 checkRoundingUnnecessary(isPowerOfTwo(x));
250 increment = !isPowerOfTwo(x);
253 increment = exponent < 0 & !isPowerOfTwo(x);
256 increment = exponent >= 0 & !isPowerOfTwo(x);
H A DIntMath.java62 public static boolean isPowerOfTwo(int x) { method in class:IntMath
91 checkRoundingUnnecessary(isPowerOfTwo(x));
H A DLongMath.java61 public static boolean isPowerOfTwo(long x) { method in class:LongMath
89 checkRoundingUnnecessary(isPowerOfTwo(x));
/external/clang/include/clang/AST/
H A DCharUnits.h127 /// isPowerOfTwo - Test whether the quantity is a power of two.
129 bool isPowerOfTwo() const { function in class:clang::CharUnits
/external/skia/tests/
H A DDetermineDomainModeTest.cpp115 bool isPowerOfTwo,
118 int size = isPowerOfTwo ? 128 : 100;
133 (isPowerOfTwo || isExact) ? RectInfo::kHard : RectInfo::kBad,
134 (isPowerOfTwo || isExact) ? RectInfo::kHard : RectInfo::kBad,
114 create_proxy(GrProxyProvider* proxyProvider, bool isPowerOfTwo, bool isExact, RectInfo* rect) argument
/external/skqp/tests/
H A DDetermineDomainModeTest.cpp115 bool isPowerOfTwo,
118 int size = isPowerOfTwo ? 128 : 100;
133 (isPowerOfTwo || isExact) ? RectInfo::kHard : RectInfo::kBad,
134 (isPowerOfTwo || isExact) ? RectInfo::kHard : RectInfo::kBad,
114 create_proxy(GrProxyProvider* proxyProvider, bool isPowerOfTwo, bool isExact, RectInfo* rect) argument
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
H A DTensorFFT.h221 const bool is_power_of_two = isPowerOfTwo(line_len);
299 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE static bool isPowerOfTwo(Index x) { function in struct:Eigen::TensorEvaluator
319 eigen_assert(isPowerOfTwo(line_len));
391 eigen_assert(isPowerOfTwo(n));
519 eigen_assert(isPowerOfTwo(n));
/external/swiftshader/third_party/LLVM/lib/Analysis/
H A DValueTracking.cpp711 /// isPowerOfTwo - Return true if the given value is known to have exactly one
715 bool llvm::isPowerOfTwo(Value *V, const TargetData *TD, unsigned Depth) { function in class:llvm
735 return isPowerOfTwo(ZI->getOperand(0), TD, Depth);
738 return isPowerOfTwo(SI->getTrueValue(), TD, Depth) &&
739 isPowerOfTwo(SI->getFalseValue(), TD, Depth);
748 return isPowerOfTwo(PEO->getOperand(0), TD, Depth);
849 if (XKnownNonNegative && isPowerOfTwo(Y, TD, Depth))
851 if (YKnownNonNegative && isPowerOfTwo(X, TD, Depth))
/external/deqp/external/vulkancts/modules/vulkan/api/
H A DvktApiObjectManagementTests.cpp296 bool isPowerOfTwo (T value) function in namespace:vkt::api::__anon4264
305 DE_ASSERT(isPowerOfTwo(align));
/external/owasp/sanitizer/distrib/lib/
H A Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/collect/ ...
/external/owasp/sanitizer/lib/guava-libraries/
H A Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/collect/ ...
/external/annotation-tools/annotation-file-utilities/lib/
H A Dguava-20.0.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META-INF/maven/com. ...
/external/guice/lib/
H A Dguava-16.0.1.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META-INF/maven/com. ...
/external/dagger2/lib/
H A Dauto-value-1.4.1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/auto/ com/google/auto/value/ ...
H A Dgoogle-java-format-0.1-20151017.042846-2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/googlejavaformat/ com/google/googlejavaformat/CloseOp ...
/external/conscrypt/benchmark-android/
H A Dvogar.jarMETA-INF/ META-INF/MANIFEST.MF vogar/ vogar/TestProperties.class TestProperties.java package vogar ...
/external/owasp/sanitizer/tools/findbugs/lib/
H A Dfindbugs.jarMETA-INF/ META-INF/MANIFEST.MF default.xsl edu/ edu/umd/ edu/umd/cs/ edu/ ...
/external/v8/src/inspector/build/closure-compiler/
H A Dclosure-compiler.jarMETA-INF/MANIFEST.MF META-INF/ com/ com/google/ com/google/debugging/ com/google/debugging/sourcemap/ ...
/external/robolectric/v3/runtime/
H A Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...

Completed in 502 milliseconds