/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/elfutils/libelf/ |
gelf_offscn.c | 62 gelf_offscn (elf, offset) 64 GElf_Off offset; 68 if ((Elf32_Off) offset != offset) 74 return INTUSE(elf32_offscn) (elf, (Elf32_Off) offset); 77 return INTUSE(elf64_offscn) (elf, 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/libdwfl/ |
dwfl_getmodules.c | 57 ptrdiff_t offset) 63 But continuing from an offset is slow that way. So when 67 choose the style of place-holder when we return an offset, 72 if ((offset & 3) == 1) 74 offset >>= 2; 75 for (ptrdiff_t pos = 0; pos < offset; ++pos) 81 else if (((offset & 3) == 2) && likely (dwfl->lookup_module != NULL)) 83 offset >>= 2; 85 if ((size_t) offset - 1 == dwfl->lookup_elts) 88 if (unlikely ((size_t) offset - 1 > dwfl->lookup_elts) [all...] |
/external/elfutils/tests/ |
run-show-abbrev.sh | 33 abbrev[0]: attr[0]: code = 16, form = 6, offset = 0 34 abbrev[0]: attr[1]: code = 18, form = 1, offset = 2 35 abbrev[0]: attr[2]: code = 17, form = 1, offset = 4 36 abbrev[0]: attr[3]: code = 3, form = 8, offset = 6 37 abbrev[0]: attr[4]: code = 27, form = 8, offset = 8 38 abbrev[0]: attr[5]: code = 37, form = 8, offset = 10 39 abbrev[0]: attr[6]: code = 19, form = 11, offset = 12 41 abbrev[19]: attr[0]: code = 1, form = 19, offset = 19 42 abbrev[19]: attr[1]: code = 63, form = 12, offset = 21 43 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 | 30 int offset = 0; local 34 while (offset + 3 < jpeg.length && (jpeg[offset++] & 0xFF) == 0xFF) { 35 int marker = jpeg[offset] & 0xFF; 41 offset++; 53 length = pack(jpeg, offset, 2, false); 54 if (length < 2 || offset + length > jpeg.length) { 61 pack(jpeg, offset + 2, 4, false) == 0x45786966 && 62 pack(jpeg, offset + 6, 2, false) == 0) { 63 offset += 8 [all...] |
/packages/apps/LegacyCamera/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...] |
/external/smali/dexlib/src/main/java/org/jf/dexlib/Util/ |
AlignmentUtils.java | 32 public static int alignOffset(int offset, int alignment) { 35 return (offset + mask) & ~mask; 38 public static boolean isAligned(int offset, int alignment) { 39 return (offset % alignment) == 0;
|
/frameworks/base/drm/java/android/drm/ |
DrmConvertedStatus.java | 21 * offset for appending the header and body signature to the converted data. 25 * An valid offset value is provided only from a success call to 56 * Offset value for the body and header signature. 58 public final int offset; field in class:DrmConvertedStatus 66 * @param offset Offset value for appending the header and body signature. 68 public DrmConvertedStatus(int statusCode, byte[] convertedData, int offset) { 75 this.offset = offset;
|
/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:__anon18374
|
/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...] |