Searched defs:cursor (Results 1 - 9 of 9) sorted by relevance

/dalvik/dx/src/com/android/dx/io/instructions/
H A DBaseCodeCursor.java27 private int cursor; field in class:BaseCodeCursor
34 this.cursor = 0;
38 public final int cursor() { method in class:BaseCodeCursor
39 return cursor;
44 int mapped = baseAddressMap.get(cursor);
45 return (mapped >= 0) ? mapped : cursor;
54 * Advance the cursor by the indicated amount.
57 cursor += amount;
H A DCodeCursor.java24 * Gets the cursor. The cursor is the offset in code units from
29 public int cursor(); method in interface:CodeCursor
32 * Gets the base address associated with the current cursor. This
33 * differs from the cursor value when explicitly set (by {@link
/dalvik/vm/reflect/
H A DReflect.h226 const u1* cursor; /* current cursor */ member in struct:EncodedArrayIterator
250 * cursor. This returns primitive values in their corresponding union
257 * @returns true if a value was decoded and the cursor advanced; false if
/dalvik/libdex/
H A DDexProto.h200 * pointer to a prototype and its parts, along with a cursor.
206 int cursor; member in struct:DexParameterIterator
H A DDexProto.cpp484 pIterator->cursor = 0;
497 int cursor = pIterator->cursor; local
500 if (cursor >= parameterCount) {
504 u4 idx = dexTypeListGetIdx(pIterator->parameters, cursor);
505 pIterator->cursor++;
/dalvik/dexgen/src/com/android/dexgen/util/
H A DByteArray.java252 * with the cursor starting at the beginning of this instance's data.
265 * with the cursor starting at the beginning of this instance's data.
277 * Helper interface that allows one to get the cursor (of a stream).
281 * Gets the current cursor.
283 * @return {@code 0..size();} the cursor
293 /** 0..size; the cursor */
294 private int cursor; field in class:ByteArray.MyInputStream
300 cursor = 0;
305 if (cursor >= size) {
309 int result = getUnsignedByte0(cursor);
[all...]
H A DByteArrayAnnotatedOutput.java44 /** {@code >= 0;} current output cursor */
45 private int cursor; field in class:ByteArrayAnnotatedOutput
100 this.cursor = 0;
129 byte[] result = new byte[cursor];
130 System.arraycopy(data, 0, result, 0, cursor);
136 return cursor;
141 if (cursor != expectedCursor) {
142 throw new ExceptionWithContext("expected cursor " +
143 expectedCursor + "; actual value: " + cursor);
149 int writeAt = cursor;
[all...]
/dalvik/dx/src/com/android/dx/util/
H A DByteArray.java252 * with the cursor starting at the beginning of this instance's data.
265 * with the cursor starting at the beginning of this instance's data.
277 * Helper interface that allows one to get the cursor (of a stream).
281 * Gets the current cursor.
283 * @return {@code 0..size();} the cursor
293 /** 0..size; the cursor */
294 private int cursor; field in class:ByteArray.MyInputStream
300 cursor = 0;
305 if (cursor >= size) {
309 int result = getUnsignedByte0(cursor);
[all...]
H A DByteArrayAnnotatedOutput.java47 /** {@code >= 0;} current output cursor */
48 private int cursor; field in class:ByteArrayAnnotatedOutput
112 this.cursor = 0;
141 byte[] result = new byte[cursor];
142 System.arraycopy(data, 0, result, 0, cursor);
148 return cursor;
153 if (cursor != expectedCursor) {
154 throw new ExceptionWithContext("expected cursor " +
155 expectedCursor + "; actual value: " + cursor);
161 int writeAt = cursor;
[all...]

Completed in 230 milliseconds