Searched refs:bit (Results 1 - 3 of 3) sorted by relevance

/dalvik/dexgen/src/com/android/dexgen/util/
H A DBits.java20 * Utilities for treating {@code int[]}s as bit sets.
31 * Constructs a bit set to contain bits up to the given index (exclusive).
33 * @param max {@code >= 0;} the maximum bit index (exclusive)
42 * Gets the maximum index (exclusive) for the given bit set.
44 * @param bits {@code non-null;} bit set in question
52 * Gets the value of the bit at the given index.
54 * @param bits {@code non-null;} bit set to operate on
55 * @param idx {@code >= 0, < getMax(set);} which bit
56 * @return the value of the indicated bit
60 int bit
[all...]
/dalvik/dx/src/com/android/dx/util/
H A DBits.java20 * Utilities for treating {@code int[]}s as bit sets.
31 * Constructs a bit set to contain bits up to the given index (exclusive).
33 * @param max {@code >= 0;} the maximum bit index (exclusive)
42 * Gets the maximum index (exclusive) for the given bit set.
44 * @param bits {@code non-null;} bit set in question
52 * Gets the value of the bit at the given index.
54 * @param bits {@code non-null;} bit set to operate on
55 * @param idx {@code >= 0, < getMax(set);} which bit
56 * @return the value of the indicated bit
60 int bit
[all...]
/dalvik/libdex/
H A DDexSwapVerify.cpp233 * Set the given bit in pDefinedClassBits, returning its former value.
237 u4 bit = 1 << (typeIdx & 0x1f); local
239 bool result = (*element & bit) != 0;
241 *element |= bit;
318 * one-bit-on integer, suitable for use in an int-sized bit set.
379 u4 usedBits = 0; // Bit set: one bit per section
426 u4 bit = mapTypeToBitMask(item->type); local
428 if (bit == 0) {
432 if ((usedBits & bit) !
[all...]

Completed in 145 milliseconds