Searched refs:offset (Results 1 - 25 of 2938) sorted by relevance

1234567891011>>

/external/llvm/unittests/Support/
H A DDataExtractorTest.cpp28 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
76 uint32_t offset = 0; local
93 uint32_t offset = 0; local
103 uint32_t offset = 0; local
[all...]
/external/proguard/src/proguard/classfile/instruction/
H A DInstruction.java682 * Writes the Instruction at the given offset in the given code attribute.
684 public final void write(CodeAttribute codeAttribute, int offset) argument
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) argument
698 code[offset++] = InstructionConstants.OP_WIDE;
702 code[offset++] = opcode;
705 writeInfo(code, offset);
722 protected abstract void readInfo(byte[] code, int offset); argument
728 protected abstract void writeInfo(byte[] code, int offset); argument
734 length(int offset) argument
740 accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, InstructionVisitor instructionVisitor) argument
746 toString(int offset) argument
793 readByte(byte[] code, int offset) argument
798 readShort(byte[] code, int offset) argument
804 readInt(byte[] code, int offset) argument
812 readValue(byte[] code, int offset, int valueSize) argument
824 readSignedByte(byte[] code, int offset) argument
829 readSignedShort(byte[] code, int offset) argument
835 readSignedValue(byte[] code, int offset, int valueSize) argument
847 writeByte(byte[] code, int offset, int value) argument
857 writeShort(byte[] code, int offset, int value) argument
868 writeInt(byte[] code, int offset, int value) argument
876 writeValue(byte[] code, int offset, int value, int valueSize) argument
888 writeSignedByte(byte[] code, int offset, int value) argument
898 writeSignedShort(byte[] code, int offset, int value) argument
909 writeSignedValue(byte[] code, int offset, int value, int valueSize) argument
[all...]
H A DLookUpSwitchInstruction.java83 protected void readInfo(byte[] code, int offset) argument
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
104 writeInfo(byte[] code, int offset) argument
125 length(int offset) argument
131 accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, InstructionVisitor instructionVisitor) argument
[all...]
H A DTableSwitchInstruction.java87 protected void readInfo(byte[] code, int offset) argument
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); offse
107 writeInfo(byte[] code, int offset) argument
129 length(int offset) argument
135 accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, InstructionVisitor instructionVisitor) argument
[all...]
/external/qemu-pc-bios/bochs/bios/
H A Dbiossums.c35 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
277 chksum_bios_set_value( byte* data, long offset, byte value ) argument
330 chksum__32__set_value( byte* data, long offset, byte value ) argument
384 chksum__mp__set_value( byte* data, long offset, byte value ) argument
444 chksum_pcmp_set_value( byte* data, long offset, byte value ) argument
499 chksum__pir_set_value( byte* data, long offset, byte value ) argument
[all...]
/external/elfutils/libdwfl/
H A Ddwfl_getmodules.c57 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
53 dwfl_getmodules(Dwfl *dwfl, int (*callback) (Dwfl_Module *, void **, const char *, Dwarf_Addr, void *), void *arg, ptrdiff_t offset) argument
[all...]
/external/elfutils/tests/
H A Drun-show-abbrev.sh33 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
[all...]
/external/elfutils/libelf/
H A Dgelf_offscn.c62 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);
H A Dgelf_getnote.c1 /* Get note information at the supplied offset.
61 gelf_getnote (data, offset, result, name_offset, desc_offset)
63 size_t offset;
85 offset is OK. */
86 if (unlikely (offset + sizeof (GElf_Nhdr) > data->d_size))
89 offset = 0;
93 const GElf_Nhdr *n = data->d_buf + offset;
94 offset += sizeof *n;
99 if (unlikely (data->d_size - offset < namesz))
100 offset
[all...]
/external/icu4c/common/
H A Dunifilt.cpp36 * 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;
39 matches(const Replaceable& text, int32_t& offset, int32_t limit, UBool incremental) argument
[all...]
/external/proguard/src/proguard/optimize/peephole/
H A DBranchTargetFinder.java82 * Returns whether there is an instruction at the given offset in the
85 public boolean isInstruction(int offset) argument
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) argument
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) argument
111 return (instructionMarks[offset]
119 isBranchTarget(int offset) argument
130 isAfterBranch(int offset) argument
140 isExceptionStart(int offset) argument
150 isExceptionEnd(int offset) argument
160 isExceptionHandler(int offset) argument
170 isSubroutineInvocation(int offset) argument
180 isSubroutineStart(int offset) argument
190 isSubroutine(int offset) argument
200 isSubroutineReturning(int offset) argument
210 subroutineStart(int offset) argument
220 subroutineEnd(int offset) argument
230 isNew(int offset) argument
241 initializationOffset(int offset) argument
273 isInitializer(int offset) argument
286 creationOffset(int offset) argument
449 visitSimpleInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, SimpleInstruction simpleInstruction) argument
474 visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction) argument
515 visitVariableInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VariableInstruction variableInstruction) argument
537 visitBranchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, BranchInstruction branchInstruction) argument
568 visitAnySwitchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, SwitchInstruction switchInstruction) argument
616 markBranchTargets(int offset, int[] jumpOffsets) argument
628 markBranchOrigin(int offset) argument
637 markBranchTarget(int offset, int jumpOffset) argument
677 checkSubroutine(int offset) argument
[all...]
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/
H A DWriteListener.java4 * The <class>WriteListener</class> is used to get the offset of
6 * later needs an offset.
9 public void beforeWrite(long offset); argument
/external/smali/dexlib/src/main/java/org/jf/dexlib/Util/
H A DAlignmentUtils.java32 public static int alignOffset(int offset, int alignment) { argument
35 return (offset + mask) & ~mask;
38 public static boolean isAligned(int offset, int alignment) { argument
39 return (offset % alignment) == 0;
/external/webkit/Source/WebCore/svg/
H A DElementTimeControl.idl31 void beginElementAt(in float offset);
33 void endElementAt(in float offset);
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/
H A DDESedeParameters.java26 * @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);
29 isWeakKey( byte[] key, int offset, int length) argument
51 isWeakKey( byte[] key, int offset) argument
/external/qemu/
H A Ddevice_tree.c78 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, propert
102 int offset; local
[all...]
/external/qemu-pc-bios/vgabios/
H A Dbiossums.c28 long chksum_bios_get_offset( byte* data, long offset );
29 byte chksum_bios_calc_value( byte* data, long offset );
30 byte chksum_bios_get_value( byte* data, long offset );
31 void chksum_bios_set_value( byte* data, long offset, byte value );
36 long chksum_pmid_get_offset( byte* data, long offset );
37 byte chksum_pmid_calc_value( byte* data, long offset );
38 byte chksum_pmid_get_value( byte* data, long offset );
39 void chksum_pmid_set_value( byte* data, long offset, byte value );
43 long chksum_pcir_get_offset( byte* data, long offset );
53 long offset, tmp_offse local
210 chksum_bios_set_value( byte* data, long offset, byte value ) argument
260 chksum_pmid_set_value( byte* data, long offset, byte value ) argument
[all...]
/external/tagsoup/src/org/ccil/cowan/tagsoup/
H A DScanHandler.java29 public void adup(char[] buff, int offset, int length) throws SAXException; argument
35 public void aname(char[] buff, int offset, int length) throws SAXException; argument
41 public void aval(char[] buff, int offset, int length) throws SAXException; argument
46 public void cdsect(char[] buff, int offset, int length) throws SAXException; argument
52 public void decl(char[] buff, int offset, int length) throws SAXException; argument
58 public void entity(char[] buff, int offset, int length) throws SAXException; argument
64 public void eof(char[] buff, int offset, int length) throws SAXException; argument
70 public void etag(char[] buff, int offset, int length) throws SAXException; argument
76 public void gi(char[] buff, int offset, int length) throws SAXException; argument
82 public void pcdata(char[] buff, int offset, in argument
88 pi(char[] buff, int offset, int length) argument
94 pitarget(char[] buff, int offset, int length) argument
100 stagc(char[] buff, int offset, int length) argument
106 stage(char[] buff, int offset, int length) argument
112 cmnt(char[] buff, int offset, int length) argument
[all...]
/external/valgrind/main/none/tests/s390x/
H A Dicm.c35 #define test(what, offset) do { \
36 icm(&a[0+offset], 0, what); cc = get_cc(); \
37 icm(&a[1+offset+cc], 1, what); cc = get_cc(); \
38 icm(&a[2+offset+cc], 2, what); cc = get_cc(); \
39 icm(&a[3+offset+cc], 3, what); cc = get_cc(); \
40 icm(&a[4+offset+cc], 4, what); cc = get_cc(); \
41 icm(&a[5+offset+cc], 5, what); cc = get_cc(); \
42 icm(&a[6+offset+cc], 6, what); cc = get_cc(); \
43 icm(&a[7+offset+cc], 7, what); cc = get_cc(); \
44 icm(&a[8+offset
[all...]
/external/libvpx/libmkv/
H A DEbmlBufferWriter.h6 unsigned long long offset; member in struct:__anon8743
13 unsigned int offset; member in struct:__anon8744
H A DEbmlBufferWriter.c14 src += glob->offset;
16 glob->offset += len;
26 memcpy(&(glob->buf[glob->offset]), q, 1);
27 glob->offset ++;
45 ebmlLoc->offset = glob->offset;
53 unsigned long long size = glob->offset - ebmlLoc->offset - 8;
54 unsigned long long curOffset = glob->offset;
55 glob->offset
[all...]
/external/clang/test/CodeGenCXX/
H A D2008-05-07-CrazyOffsetOf.cpp8 int offset = (char *) &(((struct bork *) 0x10)->query) - (char *) 0x10; variable
/external/elfutils/libdw/
H A Ddwarf_haspc.c67 ptrdiff_t offset = 0; local
68 while ((offset = INTUSE(dwarf_ranges) (die, offset, &base,
73 return offset;
/external/valgrind/main/coregrind/m_gdbserver/
H A Dregdef.h35 /* The offset (in bits) of the value of this register in the buffer. */
36 int offset; member in struct:reg
/external/webkit/Source/WebCore/rendering/style/
H A DStyleSurroundData.cpp35 , offset(o.offset)
44 return offset == o.offset && margin == o.margin && padding == o.padding && border == o.border;

Completed in 4594 milliseconds

1234567891011>>