OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:isPowerOfTwo
(Results
1 - 25
of
34
) sorted by null
1
2
/external/webkit/Source/JavaScriptCore/wtf/
PageBlock.h
34
inline bool
isPowerOfTwo
(size_t size) { return !(size & (size - 1)); }
81
using WTF::
isPowerOfTwo
;
PageBlock.cpp
80
ASSERT(
isPowerOfTwo
(s_pageSize));
PageAllocationAligned.cpp
35
ASSERT(
isPowerOfTwo
(alignment));
/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) {
/external/jmonkeyengine/engine/src/android/com/jme3/renderer/android/
TextureUtil.java
91
if (!FastMath.
isPowerOfTwo
(width) || !FastMath.
isPowerOfTwo
(height))
/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(
/external/clang/include/clang/AST/
CharUnits.h
128
///
isPowerOfTwo
- Test whether the quantity is a power of two.
130
bool
isPowerOfTwo
() const {
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/heightmap/
MidpointDisplacementHeightMap.java
78
if (size < 0 || !FastMath.
isPowerOfTwo
(size - 1)) {
/frameworks/base/libs/hwui/
SkiaShader.cpp
44
static inline bool
isPowerOfTwo
(unsigned int n) {
127
if (!extensions.hasNPot() && (!
isPowerOfTwo
(width) || !
isPowerOfTwo
(height)) &&
/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);
/external/jmonkeyengine/engine/src/lwjgl/com/jme3/renderer/lwjgl/
LwjglGL1Renderer.java
736
if (!FastMath.
isPowerOfTwo
(img.getWidth())
737
|| !FastMath.
isPowerOfTwo
(img.getHeight())) {
[
all
...]
LwjglRenderer.java
[
all
...]
/external/jmonkeyengine/engine/src/core/com/jme3/math/
FastMath.java
86
public static boolean
isPowerOfTwo
(int number) {
[
all
...]
/dalvik/vm/compiler/codegen/x86/
LowerAlu.cpp
987
int
isPowerOfTwo
(int imm) {
999
int power =
isPowerOfTwo
(imm);
[
all
...]
Lower.h
[
all
...]
/dalvik/vm/compiler/codegen/arm/
CodegenDriver.cpp
[
all
...]
/prebuilts/devtools/tools/lib/
fat32lib.jar
/dalvik/vm/compiler/codegen/mips/
CodegenDriver.cpp
[
all
...]
Completed in 549 milliseconds
1
2