Searched refs:offset (Results 26 - 50 of 222) sorted by relevance

123456789

/dalvik/dexgen/src/com/android/dexgen/dex/code/form/
H A DForm20t.java73 int offset = insn.getTargetOffset();
75 // Note: A zero offset would fit, but it is prohibited by the spec.
76 return (offset != 0) && signedFitsInShort(offset);
88 int offset = ((TargetInsn) insn).getTargetOffset();
90 write(out, opcodeUnit(insn, 0), (short) offset);
H A DForm21t.java78 int offset = insn.getTargetOffset();
80 // Note: A zero offset would fit, but it is prohibited by the spec.
81 return (offset != 0) && signedFitsInShort(offset);
94 int offset = ((TargetInsn) insn).getTargetOffset();
98 (short) offset);
H A DForm22t.java80 int offset = insn.getTargetOffset();
82 // Note: A zero offset would fit, but it is prohibited by the spec.
83 return (offset != 0) && signedFitsInShort(offset);
96 int offset = ((TargetInsn) insn).getTargetOffset();
101 (short) offset);
H A DForm30t.java84 int offset = ((TargetInsn) insn).getTargetOffset();
87 (short) offset,
88 (short) (offset >> 16));
H A DForm31t.java90 int offset = ((TargetInsn) insn).getTargetOffset();
93 (short) offset,
94 (short) (offset >> 16));
/dalvik/dx/src/com/android/dx/dex/code/form/
H A DForm10t.java73 int offset = insn.getTargetOffset();
75 // Note: A zero offset would fit, but it is prohibited by the spec.
76 return (offset != 0) && signedFitsInByte(offset);
82 int offset = ((TargetInsn) insn).getTargetOffset();
84 write(out, opcodeUnit(insn, (offset & 0xff)));
H A DForm20t.java73 int offset = insn.getTargetOffset();
75 // Note: A zero offset would fit, but it is prohibited by the spec.
76 return (offset != 0) && signedFitsInShort(offset);
82 int offset = ((TargetInsn) insn).getTargetOffset();
84 write(out, opcodeUnit(insn, 0), (short) offset);
H A DForm21t.java89 int offset = insn.getTargetOffset();
91 // Note: A zero offset would fit, but it is prohibited by the spec.
92 return (offset != 0) && signedFitsInShort(offset);
99 int offset = ((TargetInsn) insn).getTargetOffset();
103 (short) offset);
H A DForm22t.java92 int offset = insn.getTargetOffset();
94 // Note: A zero offset would fit, but it is prohibited by the spec.
95 return (offset != 0) && signedFitsInShort(offset);
102 int offset = ((TargetInsn) insn).getTargetOffset();
107 (short) offset);
H A DForm30t.java78 int offset = ((TargetInsn) insn).getTargetOffset();
80 write(out, opcodeUnit(insn, 0), offset);
/dalvik/dx/src/com/android/dx/cf/attrib/
H A DRawAttribute.java58 * @param offset offset in {@code data} to the attribute data
62 public RawAttribute(String name, ByteArray data, int offset, argument
64 this(name, data.slice(offset, offset + length), pool);
/dalvik/vm/alloc/
H A DHeapBitmapInlines.h30 const uintptr_t offset = (uintptr_t)obj - hb->base; local
31 const size_t index = HB_OFFSET_TO_INDEX(offset);
32 const unsigned long mask = HB_OFFSET_TO_MASK(offset);
100 const uintptr_t offset = (uintptr_t)obj - hb->base; local
101 return hb->bits[HB_OFFSET_TO_INDEX(offset)] & HB_OFFSET_TO_MASK(offset);
/dalvik/dx/src/com/android/dx/cf/direct/
H A DAttributeListParser.java36 /** offset in the byte array of the classfile to the start of the list */
37 private final int offset; field in class:AttributeListParser
45 /** {@code >= -1;} the end offset of this list in the byte array of the
57 * @param offset offset in {@code bytes} to the start of the list
60 public AttributeListParser(DirectClassFile cf, int context, int offset, argument
70 int size = cf.getBytes().getUnsignedShort(offset);
74 this.offset = offset;
90 * Gets the end offset o
[all...]
H A DMemberListParser.java41 /** offset in the byte array of the classfile to the start of the list */
42 private final int offset; field in class:MemberListParser
47 /** {@code >= -1;} the end offset of this list in the byte array of the
59 * @param offset offset in {@code bytes} to the start of the list
63 int offset, AttributeFactory attributeFactory) {
68 if (offset < 0) {
69 throw new IllegalArgumentException("offset < 0");
78 this.offset = offset;
62 MemberListParser(DirectClassFile cf, CstType definer, int offset, AttributeFactory attributeFactory) argument
[all...]
/dalvik/libdex/
H A DDexCatch.h35 /* Get the first handler offset for the given DexCode.
81 /* Initialize a DexCatchIterator to a particular handler offset. */
83 const DexCode* pCode, u4 offset)
86 dexGetCatchHandlerData(pCode) + offset);
108 /* Get the handler offset just past the end of the one just iterated over.
123 int offset = -1; local
144 offset = tries[0].handlerOff;
148 offset = dexFindCatchHandlerOffset0(triesSize, dexGetTries(pCode),
153 if (offset < 0) {
157 dexCatchIteratorInit(pIterator, pCode, offset);
82 dexCatchIteratorInit(DexCatchIterator* pIterator, const DexCode* pCode, u4 offset) argument
[all...]
/dalvik/dexgen/src/com/android/dexgen/util/
H A DByteArray.java102 * Returns the offset into the given array represented by the given
103 * offset into this instance.
105 * @param offset offset into this instance
107 * @return corresponding offset into {@code bytes}
111 public int underlyingOffset(int offset, byte[] bytes) { argument
116 return start + offset;
120 * Gets the {@code signed byte} value at a particular offset.
122 * @param off {@code >= 0, < size();} offset to fetch
123 * @return {@code signed byte} at that offset
206 getBytes(byte[] out, int offset) argument
314 read(byte[] arr, int offset, int length) argument
[all...]
H A DOutput.java101 * @param offset {@code >= 0;} offset into {@code bytes} for the first
105 public void write(byte[] bytes, int offset, int length); argument
/dalvik/dx/src/com/android/dx/util/
H A DByteArray.java102 * Returns the offset into the given array represented by the given
103 * offset into this instance.
105 * @param offset offset into this instance
107 * @return corresponding offset into {@code bytes}
111 public int underlyingOffset(int offset, byte[] bytes) { argument
116 return start + offset;
120 * Gets the {@code signed byte} value at a particular offset.
122 * @param off {@code >= 0, < size();} offset to fetch
123 * @return {@code signed byte} at that offset
206 getBytes(byte[] out, int offset) argument
314 read(byte[] arr, int offset, int length) argument
[all...]
H A DOutput.java103 * @param offset {@code >= 0;} offset into {@code bytes} for the first
107 public void write(byte[] bytes, int offset, int length); argument
/dalvik/vm/compiler/codegen/mips/
H A DArchUtility.cpp118 (int) baseAddr + lir->generic.offset + 4 +
130 ((((intptr_t) baseAddr + lir->generic.offset + 4) &
223 int offset = lir->generic.offset;
230 ALOGD("-------- end of chaining cells (0x%04x)", offset);
266 ALOGD("-------- entry offset: 0x%04x", dest);
269 ALOGD("-------- dalvik offset: 0x%04x @ %s", dest,
273 ALOGD("-------- exit offset: 0x%04x", dest);
276 ALOGD("%p (%04x): .align4", baseAddr + offset, offset);
[all...]
/dalvik/vm/compiler/template/mips/
H A DTEMPLATE_STRING_COMPARETO.S32 * offset: t0/t1
50 sll t7, t0, 1 # multiply offset by 2
52 sll t7, t1, 1 # multiply offset by 2
84 addu a0, 4 # offset to contents[2]
85 addu a1, 4 # offset to contents[2]
110 addu a0, 6 # offset to contents[i+3]
111 addu a1, 6 # offset to contents[i+3]
124 addu a0, 2 # offset to contents[i+1]
125 addu a1, 2 # offset to contents[i+1]
/dalvik/tests/021-string2/src/
H A DMain.java27 String offset = new String("xxx0123456789yyy");
28 String sub = offset.substring(3, 13);
39 /* compare string with a nonzero offset, in left/right side */
45 Assert.assertFalse(offset.equals(sub));
46 Assert.assertFalse(sub.equals(offset));
/dalvik/vm/mterp/mips/
H A DOP_IPUT_QUICK.S4 # op vA, vB, offset /* CCCC */
7 FETCH(a1, 1) # a1 <- field byte offset
/dalvik/tools/dexdeps/src/com/android/dexdeps/
H A DOutput.java274 int offset = 0;
278 while (targetLen > 1 && descr.charAt(offset) == '[') {
279 offset++;
282 arrayDepth = offset;
285 descr = primitiveTypeLabel(descr.charAt(offset));
286 offset = 0;
290 if (targetLen >= 2 && descr.charAt(offset) == 'L' &&
291 descr.charAt(offset+targetLen-1) == ';')
294 offset++; /* skip the 'L' */
303 char ch = descr.charAt(offset
[all...]
/dalvik/vm/compiler/codegen/arm/
H A DArchUtility.cpp199 (int) baseAddr + lir->generic.offset + 4 +
207 ((((intptr_t) baseAddr + lir->generic.offset + 4) &
300 int offset = lir->generic.offset;
307 ALOGD("-------- end of chaining cells (0x%04x)", offset);
344 ALOGD("-------- entry offset: 0x%04x", dest);
347 ALOGD("-------- dalvik offset: 0x%04x @ %s", dest,
351 ALOGD("-------- exit offset: 0x%04x", dest);
354 ALOGD("%p (%04x): .align4", baseAddr + offset, offset);
[all...]

Completed in 681 milliseconds

123456789