/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); 9 ILOGV("|packed-switch v%d +0x%04x", vsrc1, offset); 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); [all...] |
OP_SPARSE_SWITCH.cpp | 5 s4 offset; local 8 offset = FETCH(1) | (((s4) FETCH(2)) << 16); 9 ILOGV("|sparse-switch v%d +0x%04x", vsrc1, offset); 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); [all...] |
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/parsers/tasm/tests/ |
offset.asm | 2 mov ax,offset a 3 mov ax,offset[a]
|
label.asm | 2 mov ax,offset a
|
/external/llvm/unittests/Support/ |
DataExtractorTest.cpp | 28 uint32_t offset = 0; local 30 EXPECT_EQ(0x80U, DE.getU8(&offset)); 31 EXPECT_EQ(1U, offset); 32 offset = 0; 33 EXPECT_EQ(0x8090U, DE.getU16(&offset)); 34 EXPECT_EQ(2U, offset); 35 offset = 0; 36 EXPECT_EQ(0x8090FFFFU, DE.getU32(&offset)); 37 EXPECT_EQ(4U, offset); 38 offset = 0 76 uint32_t offset = 0; local 93 uint32_t offset = 0; local 103 uint32_t offset = 0; local [all...] |
/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...] |
/external/chromium_org/third_party/WebKit/Source/devtools/scripts/jsdoc-validator/src/org/chromium/devtools/jsdoc/ |
ScriptText.java | 11 public int getColumn(int offset) { 12 int lineStart = findLineStart(offset); 13 return lineStart == -1 ? -1 : offset - lineStart; 16 public String getLineTextAt(int offset) { 17 int lineStart = findLineStart(offset); 21 int lineEnd = text.indexOf('\n', offset); 28 private int findLineStart(int offset) { 29 if (offset > text.length()) { 32 return text.lastIndexOf('\n', offset) + 1;
|
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/ |
LittleEndian.java | 34 * the given offset. 36 * @param src the byte offset where to read the value from 37 * @param offset the byte array to extract the value from 40 public static int getUInt8(byte[] src, int offset) { 41 return src[offset] & 0xFF; 45 * Gets a 16-bit unsigned integer from the given byte array at the given offset. 48 * @param offset 50 public static int getUInt16(byte[] src, int offset) { 51 final int v0 = src[offset + 0] & 0xFF; 52 final int v1 = src[offset + 1] & 0xFF [all...] |
Sector.java | 32 private final long offset; field in class:Sector 41 protected Sector(BlockDevice device, long offset, int size) { 42 this.offset = offset; 59 device.read(offset, buffer); 85 device.write(offset, buffer); 89 protected int get16(int offset) { 90 return buffer.getShort(offset) & 0xffff; 93 protected long get32(int offset) { 94 return buffer.getInt(offset) & 0xffffffff [all...] |
/external/chromium_org/net/disk_cache/ |
mapped_file.cc | 12 size_t offset = block->offset() + view_size_; local 13 return Read(block->buffer(), block->size(), offset); 17 size_t offset = block->offset() + view_size_; local 18 return Write(block->buffer(), block->size(), offset); 24 size_t offset = block->offset() + view_size_; local 25 return Read(block->buffer(), block->size(), offset, callback, completed); 31 size_t offset = block->offset() + view_size_ 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...] |
/external/chromium_org/chrome/common/ |
spellcheck_marker.h | 16 return marker.offset < text_length_; 23 SpellCheckMarker() : hash(-1), offset(-1) {} 25 SpellCheckMarker(uint32 hash, size_t offset) : hash(hash), offset(offset) {} 28 size_t offset; member in class:SpellCheckMarker
|
/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/chromium_org/third_party/WebKit/Source/core/html/canvas/ |
CanvasGradient.idl | 29 [RaisesException] void addColorStop(float offset, DOMString color);
|
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
SVGStopElement.idl | 27 readonly attribute SVGAnimatedNumber offset;
|
/libcore/luni/src/main/java/java/nio/charset/ |
Charsets.java | 29 public static native byte[] toAsciiBytes(char[] chars, int offset, int length); 35 public static native byte[] toIsoLatin1Bytes(char[] chars, int offset, int length); 41 public static native byte[] toUtf8Bytes(char[] chars, int offset, int length); 47 public static byte[] toBigEndianUtf16Bytes(char[] chars, int offset, int length) { 49 int end = offset + length; 51 for (int i = offset; i < end; ++i) { 67 public static native void asciiBytesToChars(byte[] bytes, int offset, int length, char[] chars); 76 public static native void isoLatin1BytesToChars(byte[] bytes, int offset, int length, char[] chars);
|
/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/chromium_org/third_party/icu/source/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...] |