/dalvik/vm/mterp/c/ |
OP_GOTO_16.c | 3 s4 offset = (s2) FETCH(1); /* sign-extend next code unit */ local 5 if (offset < 0) 6 ILOGV("|goto/16 -0x%04x", -offset); 8 ILOGV("|goto/16 +0x%04x", offset); 10 if (offset < 0) 11 PERIODIC_CHECKS(kInterpEntryInstr, offset); 12 FINISH(offset);
|
OP_GOTO_32.c | 3 s4 offset = FETCH(1); /* low-order 16 bits */ local 4 offset |= ((s4) FETCH(2)) << 16; /* high-order 16 bits */ 6 if (offset < 0) 7 ILOGV("|goto/32 -0x%08x", -offset); 9 ILOGV("|goto/32 +0x%08x", offset); 11 if (offset <= 0) /* allowed to branch to self */ 12 PERIODIC_CHECKS(kInterpEntryInstr, offset); 13 FINISH(offset);
|
OP_PACKED_SWITCH.c | 5 s4 offset; local 8 offset = FETCH(1) | (((s4) FETCH(2)) << 16); 10 switchData = pc + offset; // offset in 16-bit units 23 offset = dvmInterpHandlePackedSwitch(switchData, testVal); 24 ILOGV("> branch taken (0x%04x)\n", offset); 25 if (offset <= 0) /* uncommon */ 26 PERIODIC_CHECKS(kInterpEntryInstr, offset); 27 FINISH(offset);
|
OP_SPARSE_SWITCH.c | 5 s4 offset; local 8 offset = FETCH(1) | (((s4) FETCH(2)) << 16); 10 switchData = pc + offset; // offset in 16-bit units 23 offset = dvmInterpHandleSparseSwitch(switchData, testVal); 24 ILOGV("> branch taken (0x%04x)\n", offset); 25 if (offset <= 0) /* uncommon */ 26 PERIODIC_CHECKS(kInterpEntryInstr, offset); 27 FINISH(offset);
|
/frameworks/base/awt/javax/imageio/stream/ |
IIOByteBuffer.java | 30 * The IIOByteBuffer class represents a byte array with offset and length that 43 * The offset. 45 private int offset; field in class:IIOByteBuffer 57 * @param offset 58 * the offset in the array. 62 public IIOByteBuffer(byte[] data, int offset, int length) { 64 this.offset = offset; 87 * Gets the offset of this IIOByteBuffer. 89 * @return the offset of this IIOByteBuffer [all...] |
/external/proguard/src/proguard/classfile/instruction/ |
Instruction.java | 682 * Writes the Instruction at the given offset in the given code attribute. 684 public final void write(CodeAttribute codeAttribute, int offset) 686 write(codeAttribute.code, offset); 691 * Writes the Instruction at the given offset in the given code array. 693 public void write(byte[] code, int offset) 698 code[offset++] = InstructionConstants.OP_WIDE; 702 code[offset++] = opcode; 705 writeInfo(code, offset); 722 protected abstract void readInfo(byte[] code, int offset); 728 protected abstract void writeInfo(byte[] code, int offset); [all...] |
LookUpSwitchInstruction.java | 83 protected void readInfo(byte[] code, int offset) 86 offset += -offset & 3; 89 defaultOffset = readInt(code, offset); offset += 4; 90 int jumpOffsetCount = readInt(code, offset); offset += 4; 92 // Read the matches-offset pairs. 98 cases[index] = readInt(code, offset); offset += 4 [all...] |
TableSwitchInstruction.java | 87 protected void readInfo(byte[] code, int offset) 90 offset += -offset & 3; 93 defaultOffset = readInt(code, offset); offset += 4; 94 lowCase = readInt(code, offset); offset += 4; 95 highCase = readInt(code, offset); offset += 4; 102 jumpOffsets[index] = readInt(code, offset); offset += 4 [all...] |
/sdk/ddms/libs/ddmlib/src/com/android/ddmlib/utils/ |
ArrayHelper.java | 28 * @param offset the offset in the array where to put the swapped value. 29 * Array length must be at least offset + 4 31 public static void swap32bitsToArray(int value, byte[] dest, int offset) { 32 dest[offset] = (byte)(value & 0x000000FF); 33 dest[offset + 1] = (byte)((value & 0x0000FF00) >> 8); 34 dest[offset + 2] = (byte)((value & 0x00FF0000) >> 16); 35 dest[offset + 3] = (byte)((value & 0xFF000000) >> 24); 41 * @param offset the offset in the array at which the int start [all...] |
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/platform/ |
PlatformAddress.java | 80 public PlatformAddress offsetBytes(int offset) { 81 return PlatformAddressFactory.on(osaddr + offset, size - offset); 85 // public PlatformAddress offsetBytes(long offset) { 86 // return PlatformAddressFactory.on(osaddr + offset, size - offset); 115 public final void setAddress(int offset, PlatformAddress address) { 116 osMemory.setAddress(osaddr + offset, address.osaddr); 119 public final PlatformAddress getAddress(int offset) { 120 int addr = getInt(offset); [all...] |
/external/elfutils/tests/ |
run-show-abbrev.sh | 26 abbrev[0]: attr[0]: code = 16, form = 6, offset = 0 27 abbrev[0]: attr[1]: code = 18, form = 1, offset = 2 28 abbrev[0]: attr[2]: code = 17, form = 1, offset = 4 29 abbrev[0]: attr[3]: code = 3, form = 8, offset = 6 30 abbrev[0]: attr[4]: code = 27, form = 8, offset = 8 31 abbrev[0]: attr[5]: code = 37, form = 8, offset = 10 32 abbrev[0]: attr[6]: code = 19, form = 11, offset = 12 34 abbrev[19]: attr[0]: code = 1, form = 19, offset = 19 35 abbrev[19]: attr[1]: code = 63, form = 12, offset = 21 36 abbrev[19]: attr[2]: code = 3, form = 8, offset = 2 [all...] |
/dalvik/libcore/xml/src/test/java/tests/api/org/xml/sax/support/ |
BrokenInputStream.java | 31 private int offset; field in class:BrokenInputStream 33 public BrokenInputStream(InputStream stream, int offset) { 37 this.offset = offset; 42 if (offset == 0) { 46 offset--;
|
/frameworks/base/awt/java/awt/image/ |
LookupTable.java | 30 * the number of components and offset value. ByteLookupTable and 39 * The offset. 41 private int offset; field in class:LookupTable 49 * Instantiates a new LookupTable with the specified offset value and number 52 * @param offset 53 * the offset value. 57 protected LookupTable(int offset, int numComponents) { 58 if (offset < 0) { 59 // awt.232=Offset should be not less than zero 67 this.offset = offset [all...] |
/bionic/libc/bionic/ |
clearenv.c | 34 int offset; local 36 for (P = &environ[offset]; *P; ++P)
|
/external/webkit/WebCore/svg/ |
ElementTimeControl.h | 40 virtual void beginElementAt(float offset) = 0; 42 virtual void endElementAt(float offset) = 0;
|
ElementTimeControl.idl | 31 void beginElementAt(in float offset); 33 void endElementAt(in float offset);
|
/external/icu4c/common/ |
unifilt.cpp | 36 * filters. Matches a single code point at offset (either one or 40 int32_t& offset, 44 if (offset < limit && 45 contains(c = text.char32At(offset))) { 46 offset += UTF_CHAR_LENGTH(c); 49 if (offset > limit && 50 contains(c = text.char32At(offset))) { 51 // Backup offset by 1, unless the preceding character is a 52 // surrogate pair -- then backup by 2 (keep offset pointing at 54 --offset; [all...] |
/dalvik/libcore/nio/src/main/java/org/apache/harmony/nio/ |
Util.java | 43 * Check array bounds method for methods like doSomething(Object[], offset, 46 * offset+length > array.length 48 public static void assertArrayIndex(Object[] array, int offset, int length) { 49 if (offset < 0 || length < 0) { 53 if ((long) offset + (long) length > array.length) { 59 public static void assertArrayIndex(boolean[] array, int offset, int length) { 60 if (offset < 0 || length < 0) { 64 if ((long) offset + (long) length > array.length) { 70 public static void assertArrayIndex(byte[] array, int offset, int length) { 71 if (offset < 0 || length < 0) [all...] |
/external/proguard/src/proguard/optimize/peephole/ |
BranchTargetFinder.java | 82 * Returns whether there is an instruction at the given offset in the 85 public boolean isInstruction(int offset) 87 return (instructionMarks[offset] & INSTRUCTION) != 0; 92 * Returns whether the instruction at the given offset is the target of 95 public boolean isTarget(int offset) 97 return offset == 0 || 98 (instructionMarks[offset] & (BRANCH_TARGET | 106 * Returns whether the instruction at the given offset is the origin of a 109 public boolean isBranchOrigin(int offset) 111 return (instructionMarks[offset] & BRANCH_ORIGIN) != 0 [all...] |
/external/webkit/JavaScriptCore/assembler/ |
CodeLocation.h | 51 // at an offset from one you already know. When patching code to optimize it 58 CodeLocationInstruction instructionAtOffset(int offset); 59 CodeLocationLabel labelAtOffset(int offset); 60 CodeLocationJump jumpAtOffset(int offset); 61 CodeLocationCall callAtOffset(int offset); 62 CodeLocationNearCall nearCallAtOffset(int offset); 63 CodeLocationDataLabelPtr dataLabelPtrAtOffset(int offset); 64 CodeLocationDataLabel32 dataLabel32AtOffset(int offset); 140 inline CodeLocationInstruction CodeLocationCommon::instructionAtOffset(int offset) 142 ASSERT_VALID_CODE_OFFSET(offset); [all...] |
/dalvik/libcore/x-net/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
SSLEngineDataStream.java | 34 private int offset; field in class:SSLEngineDataStream 42 protected void setSourceBuffers(ByteBuffer[] srcs, int offset, int length) { 44 this.offset = offset; 45 this.limit = offset+length; 48 for (int i=offset; i<limit; i++) { 75 for (; offset<limit; offset++) { 76 while (srcs[offset].hasRemaining()) { 77 res[pos++] = srcs[offset].get() [all...] |
/dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/params/ |
DESedeParameters.java | 26 * @param offset offset into the byte array the key starts at 31 int offset, 34 for (int i = offset; i < length; i += DES_KEY_LENGTH) 49 * @param offset offset into the byte array the key starts at 53 int offset) 55 return isWeakKey(key, offset, key.length - offset);
|
/external/elfutils/libelf/ |
elf_rand.c | 29 elf_rand (elf, offset) 31 size_t offset; 37 /* Save the old offset and set the offset. */ 38 elf->state.ar.offset = elf->start_offset + offset; 48 return offset;
|
/frameworks/base/libs/binder/ |
MemoryBase.cpp | 29 ssize_t offset, size_t size) 30 : mSize(size), mOffset(offset), mHeap(heap) 34 sp<IMemoryHeap> MemoryBase::getMemory(ssize_t* offset, size_t* size) const 36 if (offset) *offset = mOffset;
|
/external/qemu/ |
device_tree.c | 78 int offset; local 80 offset = fdt_path_offset(fdt, node_path); 81 if (offset < 0) 82 return offset; 84 return fdt_setprop(fdt, offset, property, val_array, size); 90 int offset; local 92 offset = fdt_path_offset(fdt, node_path); 93 if (offset < 0) 94 return offset; 96 return fdt_setprop_cell(fdt, offset, property, val) 102 int offset; local [all...] |