/dalvik/vm/mterp/c/ |
OP_GOTO_32.cpp | 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(offset); 13 FINISH(offset);
|
OP_GOTO_16.cpp | 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(offset); 12 FINISH(offset);
|
OP_PACKED_SWITCH.cpp | 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)", offset); 25 if (offset <= 0) /* uncommon */ 26 PERIODIC_CHECKS(offset); 27 FINISH(offset);
|
OP_SPARSE_SWITCH.cpp | 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)", offset); 25 if (offset <= 0) /* uncommon */ 26 PERIODIC_CHECKS(offset); 27 FINISH(offset);
|
/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...] |
/external/qemu-pc-bios/bochs/bios/ |
biossums.c | 35 long chksum_bios_get_offset( byte* data, long offset ); 36 byte chksum_bios_calc_value( byte* data, long offset ); 37 byte chksum_bios_get_value( byte* data, long offset ); 38 void chksum_bios_set_value( byte* data, long offset, byte value ); 46 long chksum__32__get_offset( byte* data, long offset ); 47 byte chksum__32__calc_value( byte* data, long offset ); 48 byte chksum__32__get_value( byte* data, long offset ); 49 void chksum__32__set_value( byte* data, long offset, byte value ); 57 long chksum__mp__get_offset( byte* data, long offset ); 58 byte chksum__mp__calc_value( byte* data, long offset ); 94 long offset, tmp_offset; local [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...] |
/external/llvm/unittests/Support/ |
DataExtractorTest.cpp | 27 uint32_t offset = 0; local 29 EXPECT_EQ(0x80U, DE.getU8(&offset)); 30 EXPECT_EQ(1U, offset); 31 offset = 0; 32 EXPECT_EQ(0x8090U, DE.getU16(&offset)); 33 EXPECT_EQ(2U, offset); 34 offset = 0; 35 EXPECT_EQ(0x8090FFFFU, DE.getU32(&offset)); 36 EXPECT_EQ(4U, offset); 37 offset = 0 75 uint32_t offset = 0; local 92 uint32_t offset = 0; local 102 uint32_t offset = 0; local [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...] |
/libcore/luni/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--;
|
/external/webkit/Source/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);
|
/libcore/luni/src/main/java/libcore/io/ |
Memory.java | 45 public static int peekInt(byte[] src, int offset, ByteOrder order) { 47 return (((src[offset++] & 0xff) << 24) | 48 ((src[offset++] & 0xff) << 16) | 49 ((src[offset++] & 0xff) << 8) | 50 ((src[offset ] & 0xff) << 0)); 52 return (((src[offset++] & 0xff) << 0) | 53 ((src[offset++] & 0xff) << 8) | 54 ((src[offset++] & 0xff) << 16) | 55 ((src[offset ] & 0xff) << 24)); 59 public static long peekLong(byte[] src, int offset, ByteOrder order) [all...] |
/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...] |
/packages/apps/Camera/src/com/android/camera/ |
Exif.java | 29 int offset = 0; local 33 while (offset + 3 < jpeg.length && (jpeg[offset++] & 0xFF) == 0xFF) { 34 int marker = jpeg[offset] & 0xFF; 40 offset++; 52 length = pack(jpeg, offset, 2, false); 53 if (length < 2 || offset + length > jpeg.length) { 60 pack(jpeg, offset + 2, 4, false) == 0x45786966 && 61 pack(jpeg, offset + 6, 2, false) == 0) { 62 offset += 8 [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...] |
/hardware/ti/omap4xxx/camera/inc/ |
VideoMetadata.h | 20 /* This structure is used to pass buffer offset from Camera-Hal to Encoder component 28 int offset; member in struct:__anon16786
|
/external/webkit/Source/JavaScriptCore/assembler/ |
CodeLocation.h | 49 // at an offset from one you already know. When patching code to optimize it 56 CodeLocationInstruction instructionAtOffset(int offset); 57 CodeLocationLabel labelAtOffset(int offset); 58 CodeLocationJump jumpAtOffset(int offset); 59 CodeLocationCall callAtOffset(int offset); 60 CodeLocationNearCall nearCallAtOffset(int offset); 61 CodeLocationDataLabelPtr dataLabelPtrAtOffset(int offset); 62 CodeLocationDataLabel32 dataLabel32AtOffset(int offset); 138 inline CodeLocationInstruction CodeLocationCommon::instructionAtOffset(int offset) 140 ASSERT_VALID_CODE_OFFSET(offset); [all...] |
/libcore/luni/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...] |
/external/bouncycastle/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...] |