Searched refs:array (Results 1 - 14 of 14) sorted by relevance

/dalvik/dx/src/com/android/dx/io/instructions/
H A DShortArrayCodeInput.java26 /** source array to read from */
27 private final short[] array; field in class:ShortArrayCodeInput
32 public ShortArrayCodeInput(short[] array) { argument
33 if (array == null) {
34 throw new NullPointerException("array == null");
37 this.array = array;
42 return cursor() < array.length;
48 int value = array[cursor()];
H A DShortArrayCodeOutput.java24 /** array to write to */
25 private final short[] array; field in class:ShortArrayCodeOutput
37 this.array = new short[maxSize];
41 * Gets the array. The returned array contains exactly the data
47 if (cursor == array.length) {
48 return array;
52 System.arraycopy(array, 0, result, 0, cursor);
58 array[cursor()] = codeUnit;
H A DInstructionCodec.java763 byte[] array = new byte[size];
769 array[i] = (byte) (value & 0xff);
773 this, opcodeUnit, array);
776 short[] array = new short[size];
778 array[i] = (short) in.read();
781 this, opcodeUnit, array);
784 int[] array = new int[size];
786 array[i] = in.readInt();
789 this, opcodeUnit, array);
792 long[] array
[all...]
/dalvik/dx/src/com/android/dx/dex/file/
H A DEncodedArrayItem.java24 * Encoded array of constant values.
30 /** {@code non-null;} the array to represent */
31 private final CstArray array; field in class:EncodedArrayItem
42 * @param array {@code non-null;} array to represent
44 public EncodedArrayItem(CstArray array) { argument
51 if (array == null) {
52 throw new NullPointerException("array == null");
55 this.array = array;
[all...]
H A DAnnotationUtils.java157 CstArray array = makeCstArray(types);
159 result.put(new NameValuePair(VALUE_STRING, array));
247 CstArray array = makeCstArray(types);
249 result.put(new NameValuePair(VALUE_STRING, array));
258 * @return {@code non-null;} the corresponding array constant
H A DAnnotationItem.java85 * Sorts an array of instances, in place, by type id index,
89 * @param array {@code non-null;} array to sort
91 public static void sortByTypeIdIndex(AnnotationItem[] array) { argument
92 Arrays.sort(array, TYPE_ID_SORTER);
H A DValueEncoder.java94 /** annotation value type constant: {@code array} */
281 * Writes out the encoded form of the given array, that is, as
288 * @param array {@code non-null;} array instance to write
293 public void writeArray(CstArray array, boolean topLevel) { argument
295 CstArray.List list = ((CstArray) array).getList();
/dalvik/dexgen/src/com/android/dexgen/dex/file/
H A DEncodedArrayItem.java33 * Encoded array of constant values.
39 /** {@code non-null;} the array to represent */
40 private final CstArray array; field in class:EncodedArrayItem
51 * @param array {@code non-null;} array to represent
53 public EncodedArrayItem(CstArray array) { argument
60 if (array == null) {
61 throw new NullPointerException("array == null");
64 this.array = array;
[all...]
H A DAnnotationUtils.java154 CstArray array = makeCstArray(types);
156 result.put(new NameValuePair(VALUE_UTF, array));
230 CstArray array = makeCstArray(types);
232 result.put(new NameValuePair(VALUE_UTF, array));
241 * @return {@code non-null;} the corresponding array constant
H A DAnnotationItem.java87 * Sorts an array of instances, in place, by type id index,
91 * @param array {@code non-null;} array to sort
93 public static void sortByTypeIdIndex(AnnotationItem[] array) { argument
94 Arrays.sort(array, TYPE_ID_SORTER);
H A DValueEncoder.java86 /** annotation value type constant: {@code array} */
259 * Writes out the encoded form of the given array, that is, as
266 * @param array {@code non-null;} array instance to write
271 public void writeArray(CstArray array, boolean topLevel) { argument
273 CstArray.List list = ((CstArray) array).getList();
/dalvik/dx/src/com/android/dx/cf/code/
H A DRopperMachine.java55 /** {@code non-null;} array reflection class */
169 * Gets the instructions array. It is shared and gets modified by
172 * @return {@code non-null;} the instructions array
384 * Add an array constructor for the int[] containing all the
394 // Add a move-result for the new-filled-array
400 * Add a const-class instruction for the specified array
408 * Java library array constructor.
528 * array constructor "newarray" or an object array
531 * is for the element type and not the array typ
[all...]
/dalvik/libdex/
H A DDexFile.h426 u4 insnsSize; /* size of the insns array, in u2 units */
527 u1 array[1]; /* data in encoded_array format */ member in struct:DexEncodedArray
/dalvik/dx/etc/
H A Djasmin.jar ... .AnnotationElement extends java.lang.Object { private boolean array private char sign private jas.CP name private jas ...

Completed in 291 milliseconds