Searched refs:slice (Results 1 - 7 of 7) sorted by relevance

/dalvik/dx/src/com/android/dx/cf/attrib/
H A DRawAttribute.java64 this(name, data.slice(offset, offset + length), pool);
/dalvik/dexgen/src/com/android/dexgen/util/
H A DByteArray.java25 * can "reveal" a partial slice of the underlying array.
33 /** {@code >= 0}; start index of the slice (inclusive) */
44 * @param start {@code >= 0;} start index of the slice (inclusive)
46 * the slice (exclusive)
89 * Returns a slice (that is, a sub-array) of this instance.
91 * @param start {@code >= 0;} start index of the slice (inclusive)
93 * the slice (exclusive)
94 * @return {@code non-null;} the slice
96 public ByteArray slice(int start, int end) { method in class:ByteArray
/dalvik/dx/src/com/android/dx/util/
H A DByteArray.java25 * can "reveal" a partial slice of the underlying array.
33 /** {@code >= 0}; start index of the slice (inclusive) */
44 * @param start {@code >= 0;} start index of the slice (inclusive)
46 * the slice (exclusive)
89 * Returns a slice (that is, a sub-array) of this instance.
91 * @param start {@code >= 0;} start index of the slice (inclusive)
93 * the slice (exclusive)
94 * @return {@code non-null;} the slice
96 public ByteArray slice(int start, int end) { method in class:ByteArray
/dalvik/dx/src/com/android/dx/cf/direct/
H A DStdAttributeFactory.java279 new BytecodeArray(bytes.slice(codeOffset, codeOffset + codeLength),
554 bytes.slice(offset + 2, offset + length), cf.getConstantPool(),
577 bytes.slice(offset + 2, offset + length), cf.getConstantPool(),
735 ByteArray bytes = cf.getBytes().slice(offset, offset + length);
H A DAnnotationParser.java89 this.bytes = cf.getBytes().slice(offset, offset + length);
H A DDirectClassFile.java43 * Class file with info taken from a {@code byte[]} or slice thereof.
621 bytes = bytes.slice(offset, offset + size * 2);
/dalvik/dx/src/com/android/dx/cf/cst/
H A DConstantPoolParser.java417 ByteArray ubytes = bytes.slice(at, at + length);

Completed in 154 milliseconds