/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);
|
/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...] |
/libcore/luni/src/main/java/org/apache/harmony/luni/platform/ |
PlatformAddress.java | 81 public PlatformAddress offsetBytes(int offset) { 82 return PlatformAddressFactory.on(osaddr + offset, size - offset); 110 public final void setAddress(int offset, PlatformAddress address) { 111 OSMemory.setAddress(osaddr + offset, address.osaddr); 114 public final PlatformAddress getAddress(int offset) { 115 int addr = getInt(offset); 119 public final void setByte(int offset, byte value) { 120 memorySpy.rangeCheck(this, offset, SIZEOF_JBYTE); 121 OSMemory.setByte(osaddr + offset, value) [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/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/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/chromium/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...] |
/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...] |
/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...] |
/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;
|
/libcore/luni/src/main/java/java/nio/charset/ |
Charsets.java | 48 public static native byte[] toAsciiBytes(char[] chars, int offset, int length); 54 public static native byte[] toIsoLatin1Bytes(char[] chars, int offset, int length); 60 public static native byte[] toUtf8Bytes(char[] chars, int offset, int length); 70 public static native void asciiBytesToChars(byte[] bytes, int offset, int length, char[] chars); 79 public static native void isoLatin1BytesToChars(byte[] bytes, int offset, int length, char[] chars);
|
/external/qemu/ |
device_tree.c | 79 int offset; local 81 offset = fdt_path_offset(fdt, node_path); 82 if (offset < 0) 83 return offset; 85 return fdt_setprop(fdt, offset, property, val_array, size); 91 int offset; local 93 offset = fdt_path_offset(fdt, node_path); 94 if (offset < 0) 95 return offset; 97 return fdt_setprop_cell(fdt, offset, property, val) 103 int offset; local [all...] |
/external/tagsoup/src/org/ccil/cowan/tagsoup/ |
ScanHandler.java | 29 public void adup(char[] buff, int offset, int length) throws SAXException; 35 public void aname(char[] buff, int offset, int length) throws SAXException; 41 public void aval(char[] buff, int offset, int length) throws SAXException; 46 public void cdsect(char[] buff, int offset, int length) throws SAXException; 52 public void decl(char[] buff, int offset, int length) throws SAXException; 58 public void entity(char[] buff, int offset, int length) throws SAXException; 64 public void eof(char[] buff, int offset, int length) throws SAXException; 70 public void etag(char[] buff, int offset, int length) throws SAXException; 76 public void gi(char[] buff, int offset, int length) throws SAXException; 82 public void pcdata(char[] buff, int offset, int length) throws SAXException [all...] |
/frameworks/base/libs/gui/ |
Sensor.cpp | 107 size_t write(void* buffer, size_t offset, const String8& value) { 108 memcpy(static_cast<char*>(buffer) + offset, value.string(), value.length()); 113 size_t write(void* buffer, size_t offset, float value) { 114 *reinterpret_cast<float*>(static_cast<char*>(buffer) + offset) = value; 119 size_t write(void* buffer, size_t offset, int32_t value) { 120 *reinterpret_cast<int32_t*>(static_cast<char*>(buffer) + offset) = value; 130 size_t offset = 0; 131 offset += write(buffer, offset, int32_t(mName.length())); 132 offset += write(buffer, offset, mName) 168 size_t offset = 0; local [all...] |