Home
last modified time | relevance | path

Searched refs:offset (Results 1 – 25 of 1822) sorted by relevance

12345678910>>...73

/external/elfutils/tests/
Drun-show-abbrev.sh26 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 = 23
[all …]
Drun-show-die-info.sh30 CU offset : 11
40 CU offset : 104
47 CU offset : 127
54 CU offset : 11
64 CU offset : 104
71 CU offset : 127
78 CU offset : 11
88 CU offset : 104
95 CU offset : 132
100 CU offset : 149
[all …]
/external/proguard/src/proguard/classfile/instruction/
DInstruction.java684 public final void write(CodeAttribute codeAttribute, int offset) in write() argument
686 write(codeAttribute.code, offset); in write()
693 public void write(byte[] code, int offset) in write() argument
698 code[offset++] = InstructionConstants.OP_WIDE; in write()
702 code[offset++] = opcode; in write()
705 writeInfo(code, offset); in write()
722 protected abstract void readInfo(byte[] code, int offset); in readInfo() argument
728 protected abstract void writeInfo(byte[] code, int offset); in writeInfo() argument
734 public abstract int length(int offset); in length() argument
740 …public abstract void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, I… in accept() argument
[all …]
DLookUpSwitchInstruction.java83 protected void readInfo(byte[] code, int offset) in readInfo() argument
86 offset += -offset & 3; in readInfo()
89 defaultOffset = readInt(code, offset); offset += 4; in readInfo()
90 int jumpOffsetCount = readInt(code, offset); offset += 4; in readInfo()
98 cases[index] = readInt(code, offset); offset += 4; in readInfo()
99 jumpOffsets[index] = readInt(code, offset); offset += 4; in readInfo()
104 protected void writeInfo(byte[] code, int offset) in writeInfo() argument
107 while ((offset & 3) != 0) in writeInfo()
109 writeByte(code, offset++, 0); in writeInfo()
113 writeInt(code, offset, defaultOffset); offset += 4; in writeInfo()
[all …]
DTableSwitchInstruction.java87 protected void readInfo(byte[] code, int offset) in readInfo() argument
90 offset += -offset & 3; in readInfo()
93 defaultOffset = readInt(code, offset); offset += 4; in readInfo()
94 lowCase = readInt(code, offset); offset += 4; in readInfo()
95 highCase = readInt(code, offset); offset += 4; in readInfo()
102 jumpOffsets[index] = readInt(code, offset); offset += 4; in readInfo()
107 protected void writeInfo(byte[] code, int offset) in writeInfo() argument
110 while ((offset & 3) != 0) in writeInfo()
112 writeByte(code, offset++, 0); in writeInfo()
116 writeInt(code, offset, defaultOffset); offset += 4; in writeInfo()
[all …]
/external/proguard/src/proguard/optimize/peephole/
DBranchTargetFinder.java85 public boolean isInstruction(int offset) in isInstruction() argument
87 return (instructionMarks[offset] & INSTRUCTION) != 0; in isInstruction()
95 public boolean isTarget(int offset) in isTarget() argument
97 return offset == 0 || in isTarget()
98 (instructionMarks[offset] & (BRANCH_TARGET | in isTarget()
109 public boolean isBranchOrigin(int offset) in isBranchOrigin() argument
111 return (instructionMarks[offset] & BRANCH_ORIGIN) != 0; in isBranchOrigin()
119 public boolean isBranchTarget(int offset) in isBranchTarget() argument
121 return (instructionMarks[offset] & BRANCH_TARGET) != 0; in isBranchTarget()
130 public boolean isAfterBranch(int offset) in isAfterBranch() argument
[all …]
/external/proguard/src/proguard/optimize/evaluation/
DEvaluationShrinker.java165 for (int offset = 0; offset < codeLength; offset++) in visitCodeAttribute0()
167 if (partialEvaluator.isTraced(offset)) in visitCodeAttribute0()
170 offset); in visitCodeAttribute0()
172 instruction.accept(clazz, method, codeAttribute, offset, unusedParameterSimplifier); in visitCodeAttribute0()
192 for (int offset = 0; offset < codeLength; offset++) in visitCodeAttribute0()
194 if (partialEvaluator.isTraced(offset)) in visitCodeAttribute0()
197 offset); in visitCodeAttribute0()
204 markInstruction(offset); in visitCodeAttribute0()
211 offset, in visitCodeAttribute0()
214 markInstruction(offset); in visitCodeAttribute0()
[all …]
DEvaluationSimplifier.java141 for (int offset = 0; offset < codeLength; offset++) in visitCodeAttribute0()
143 if (partialEvaluator.isTraced(offset)) in visitCodeAttribute0()
146 offset); in visitCodeAttribute0()
148 instruction.accept(clazz, method, codeAttribute, offset, this); in visitCodeAttribute0()
159 …Instruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, SimpleInstruction… in visitSimpleInstruction() argument
185 replaceIntegerPushInstruction(clazz, offset, simpleInstruction); in visitSimpleInstruction()
204 replaceLongPushInstruction(clazz, offset, simpleInstruction); in visitSimpleInstruction()
217 replaceFloatPushInstruction(clazz, offset, simpleInstruction); in visitSimpleInstruction()
230 replaceDoublePushInstruction(clazz, offset, simpleInstruction); in visitSimpleInstruction()
234 replaceReferencePushInstruction(clazz, offset, simpleInstruction); in visitSimpleInstruction()
[all …]
DLivenessAnalyzer.java213 for (int offset = codeLength - 1; offset >= 0; offset--) in visitCodeAttribute()
215 if (partialEvaluator.isTraced(offset)) in visitCodeAttribute()
218 InstructionOffsetValue branchTargets = partialEvaluator.branchTargets(offset); in visitCodeAttribute()
226 alive |= isAliveAfter[offset]; in visitCodeAttribute()
229 isAliveAfter[offset] = alive; in visitCodeAttribute()
232 codeAttribute.instructionAccept(clazz, method, offset, this); in visitCodeAttribute()
235 alive |= isAliveBefore[offset]; in visitCodeAttribute()
238 if ((~isAliveBefore[offset] & alive) != 0L) in visitCodeAttribute()
240 isAliveBefore[offset] = alive; in visitCodeAttribute()
243 checkAgain |= offset < maxOffset(partialEvaluator.branchOrigins(offset)); in visitCodeAttribute()
[all …]
/external/qemu/distrib/libpng-1.2.19/
Dpngerror.c46 int offset; in png_error() local
47 for (offset=1; offset<15; offset++) in png_error()
48 if (*(error_message+offset) == ' ') in png_error()
53 for (i=0; i<offset-1; i++) in png_error()
59 error_message+=offset; in png_error()
90 int offset = 0; in png_warning() local
100 for (offset=1; offset<15; offset++) in png_warning()
101 if (*(warning_message+offset) == ' ') in png_warning()
106 (*(png_ptr->warning_fn))(png_ptr, warning_message+offset); in png_warning()
109 png_default_warning(png_ptr, warning_message+offset); in png_warning()
[all …]
/external/proguard/src/proguard/preverify/
DCodeSubroutineInliner.java115 int offset = 0; in visitCodeAttribute0() local
116 while (offset < codeAttribute.u4codeLength) in visitCodeAttribute0()
118 Instruction instruction = InstructionFactory.create(codeAttribute.code, offset); in visitCodeAttribute0()
119 int instructionLength = instruction.length(offset); in visitCodeAttribute0()
122 if (branchTargetFinder.isSubroutine(offset) && in visitCodeAttribute0()
123 branchTargetFinder.isSubroutineReturning(offset)) in visitCodeAttribute0()
128 … System.out.println(" Skipping original subroutine instruction "+instruction.toString(offset)); in visitCodeAttribute0()
132 codeAttributeComposer.appendLabel(offset); in visitCodeAttribute0()
137 instruction.accept(clazz, method, codeAttribute, offset, this); in visitCodeAttribute0()
140 offset += instructionLength; in visitCodeAttribute0()
[all …]
/external/icu4c/test/cintltst/
Dutf16tst.c149 uint16_t offset=0; in TestGetChar() local
150 for(offset=0; offset<sizeof(input)/U_SIZEOF_UCHAR; offset++) { in TestGetChar()
151 if(0<offset && offset<sizeof(input)/U_SIZEOF_UCHAR-1){ in TestGetChar()
152 UTF16_GET_CHAR_UNSAFE(input, offset, c); in TestGetChar()
154 …ERROR: UTF16_GET_CHAR_UNSAFE failed for offset=%ld. Expected:%lx Got:%lx\n", offset, result[i], c); in TestGetChar()
157 U16_GET_UNSAFE(input, offset, c); in TestGetChar()
159 …("ERROR: U16_GET_CHAR_UNSAFE failed for offset=%ld. Expected:%lx Got:%lx\n", offset, result[i], c); in TestGetChar()
163 UTF16_GET_CHAR_SAFE(input, 0, offset, sizeof(input)/U_SIZEOF_UCHAR, c, FALSE); in TestGetChar()
165 …ERROR: UTF16_GET_CHAR_SAFE failed for offset=%ld. Expected:%lx Got:%lx\n", offset, result[i+1], c); in TestGetChar()
168 U16_GET(input, 0, offset, sizeof(input)/U_SIZEOF_UCHAR, c); in TestGetChar()
[all …]
Dutf8tst.c189 uint32_t offset=0; in TestGetChar() local
191 for(offset=0; offset<sizeof(input); offset++) { in TestGetChar()
192 if (offset < sizeof(input) - 1) { in TestGetChar()
193 UTF8_GET_CHAR_UNSAFE(input, offset, c); in TestGetChar()
195 …"ERROR: UTF8_GET_CHAR_UNSAFE failed for offset=%ld. Expected:%lx Got:%lx\n", offset, result[i], c); in TestGetChar()
199 U8_GET_UNSAFE(input, offset, c); in TestGetChar()
201 …og_err("ERROR: U8_GET_UNSAFE failed for offset=%ld. Expected:%lx Got:%lx\n", offset, result[i], c); in TestGetChar()
206 U8_GET(input, 0, offset, sizeof(input), c); in TestGetChar()
208 …"ERROR: UTF8_GET_CHAR_SAFE failed for offset=%ld. Expected:%lx Got:%lx\n", offset, result[i+1], c); in TestGetChar()
211 UTF8_GET_CHAR_SAFE(input, 0, offset, sizeof(input), c, FALSE); in TestGetChar()
[all …]
/external/chromium/third_party/icu/source/test/cintltst/
Dutf16tst.c149 uint16_t offset=0; in TestGetChar() local
150 for(offset=0; offset<sizeof(input)/U_SIZEOF_UCHAR; offset++) { in TestGetChar()
151 if(0<offset && offset<sizeof(input)/U_SIZEOF_UCHAR-1){ in TestGetChar()
152 UTF16_GET_CHAR_UNSAFE(input, offset, c); in TestGetChar()
154 …ERROR: UTF16_GET_CHAR_UNSAFE failed for offset=%ld. Expected:%lx Got:%lx\n", offset, result[i], c); in TestGetChar()
157 U16_GET_UNSAFE(input, offset, c); in TestGetChar()
159 …("ERROR: U16_GET_CHAR_UNSAFE failed for offset=%ld. Expected:%lx Got:%lx\n", offset, result[i], c); in TestGetChar()
163 UTF16_GET_CHAR_SAFE(input, 0, offset, sizeof(input)/U_SIZEOF_UCHAR, c, FALSE); in TestGetChar()
165 …ERROR: UTF16_GET_CHAR_SAFE failed for offset=%ld. Expected:%lx Got:%lx\n", offset, result[i+1], c); in TestGetChar()
168 U16_GET(input, 0, offset, sizeof(input)/U_SIZEOF_UCHAR, c); in TestGetChar()
[all …]
Dutf8tst.c189 uint32_t offset=0; in TestGetChar() local
191 for(offset=0; offset<sizeof(input); offset++) { in TestGetChar()
192 if (offset < sizeof(input) - 1) { in TestGetChar()
193 UTF8_GET_CHAR_UNSAFE(input, offset, c); in TestGetChar()
195 …"ERROR: UTF8_GET_CHAR_UNSAFE failed for offset=%ld. Expected:%lx Got:%lx\n", offset, result[i], c); in TestGetChar()
199 U8_GET_UNSAFE(input, offset, c); in TestGetChar()
201 …og_err("ERROR: U8_GET_UNSAFE failed for offset=%ld. Expected:%lx Got:%lx\n", offset, result[i], c); in TestGetChar()
206 U8_GET(input, 0, offset, sizeof(input), c); in TestGetChar()
208 …"ERROR: UTF8_GET_CHAR_SAFE failed for offset=%ld. Expected:%lx Got:%lx\n", offset, result[i+1], c); in TestGetChar()
211 UTF8_GET_CHAR_SAFE(input, 0, offset, sizeof(input), c, FALSE); in TestGetChar()
[all …]
/external/webkit/JavaScriptCore/assembler/
DARMAssembler.cpp265 void ARMAssembler::dataTransfer32(bool isLoad, RegisterID srcDst, RegisterID base, int32_t offset) in dataTransfer32() argument
267 if (offset >= 0) { in dataTransfer32()
268 if (offset <= 0xfff) in dataTransfer32()
269 dtr_u(isLoad, srcDst, base, offset); in dataTransfer32()
270 else if (offset <= 0xfffff) { in dataTransfer32()
271 add_r(ARMRegisters::S0, base, OP2_IMM | (offset >> 12) | (10 << 8)); in dataTransfer32()
272 dtr_u(isLoad, srcDst, ARMRegisters::S0, offset & 0xfff); in dataTransfer32()
274 ARMWord reg = getImm(offset, ARMRegisters::S0); in dataTransfer32()
278 offset = -offset; in dataTransfer32()
279 if (offset <= 0xfff) in dataTransfer32()
[all …]
DCodeLocation.h58 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) in instructionAtOffset() argument
142 ASSERT_VALID_CODE_OFFSET(offset); in instructionAtOffset()
143 return CodeLocationInstruction(reinterpret_cast<char*>(dataLocation()) + offset); in instructionAtOffset()
[all …]
DX86Assembler.h231 JmpSrc(int offset) in JmpSrc() argument
232 : m_offset(offset) in JmpSrc()
252 JmpDst(int offset) in JmpDst() argument
253 : m_offset(offset) in JmpDst()
256 ASSERT(m_offset == offset); in JmpDst()
287 void push_m(int offset, RegisterID base) in push_m() argument
289 m_formatter.oneByteOp(OP_GROUP5_Ev, GROUP5_OP_PUSH, base, offset); in push_m()
292 void pop_m(int offset, RegisterID base) in pop_m() argument
294 m_formatter.oneByteOp(OP_GROUP1A_Ev, GROUP1A_OP_POP, base, offset); in pop_m()
317 void addl_mr(int offset, RegisterID base, RegisterID dst) in addl_mr() argument
[all …]
/external/libpng/
Dpngerror.c52 int offset; in png_error() local
53 for (offset = 1; offset<15; offset++) in png_error()
54 if (error_message[offset] == ' ') in png_error()
59 for (i = 0; i < offset - 1; i++) in png_error()
65 error_message += offset; in png_error()
113 int offset = 0; in png_warning() local
123 for (offset = 1; offset < 15; offset++) in png_warning()
124 if (warning_message[offset] == ' ') in png_warning()
130 (*(png_ptr->warning_fn))(png_ptr, warning_message + offset); in png_warning()
132 png_default_warning(png_ptr, warning_message + offset); in png_warning()
[all …]
/external/proguard/src/proguard/classfile/util/
DSimplifiedVisitor.java473 …Instruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, Instruction instr… in visitAnyInstruction() argument
479 …Instruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, SimpleInstruction… in visitSimpleInstruction() argument
481 visitAnyInstruction(clazz, method, codeAttribute, offset, simpleInstruction); in visitSimpleInstruction()
485 …Instruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VariableInstructi… in visitVariableInstruction() argument
487 visitAnyInstruction(clazz, method, codeAttribute, offset, variableInstruction); in visitVariableInstruction()
491 …Instruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstructi… in visitConstantInstruction() argument
493 visitAnyInstruction(clazz, method, codeAttribute, offset, constantInstruction); in visitConstantInstruction()
497 …Instruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, BranchInstruction… in visitBranchInstruction() argument
499 visitAnyInstruction(clazz, method, codeAttribute, offset, branchInstruction); in visitBranchInstruction()
506 …Instruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, SwitchInstruction… in visitAnySwitchInstruction() argument
[all …]
/external/chromium/net/disk_cache/
Dmem_entry_impl.cc25 inline int ToChildIndex(int64 offset) { in ToChildIndex() argument
26 return static_cast<int>(offset >> kMaxSparseEntryBits); in ToChildIndex()
30 inline int ToChildOffset(int64 offset) { in ToChildOffset() argument
31 return static_cast<int>(offset & (kMaxSparseEntrySize - 1)); in ToChildOffset()
99 int MemEntryImpl::ReadData(int index, int offset, net::IOBuffer* buf, in ReadData() argument
107 if (offset >= entry_size || offset < 0 || !buf_len) in ReadData()
113 if (offset + buf_len > entry_size) in ReadData()
114 buf_len = entry_size - offset; in ReadData()
118 memcpy(buf->data() , &(data_[index])[offset], buf_len); in ReadData()
122 int MemEntryImpl::WriteData(int index, int offset, net::IOBuffer* buf, in WriteData() argument
[all …]
/external/proguard/src/proguard/classfile/attribute/preverification/visitor/
DVerificationTypeVisitor.java36 …e( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, IntegerType … in visitIntegerType() argument
37 … Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, FloatType … in visitFloatType() argument
38 … Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, LongType … in visitLongType() argument
39 …( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, DoubleType … in visitDoubleType() argument
40 … Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, TopType … in visitTopType() argument
41 …( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ObjectType … in visitObjectType() argument
42 … Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, NullType … in visitNullType() argument
43 …zedType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, UninitializedType… in visitUninitializedType() argument
44 …zedThisType(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, UninitializedThis… in visitUninitializedThisType() argument
46 …e( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, Intege… in visitStackIntegerType() argument
[all …]
/external/tagsoup/src/org/ccil/cowan/tagsoup/
DPYXWriter.java37 public void adup(char[] buff, int offset, int length) throws SAXException { in adup() argument
42 public void aname(char[] buff, int offset, int length) throws SAXException { in aname() argument
44 theWriter.write(buff, offset, length); in aname()
46 attrName = new String(buff, offset, length); in aname()
49 public void aval(char[] buff, int offset, int length) throws SAXException { in aval() argument
50 theWriter.write(buff, offset, length); in aval()
55 public void cmnt(char [] buff, int offset, int length) throws SAXException { in cmnt() argument
61 public void entity(char[] buff, int offset, int length) throws SAXException { } in entity() argument
65 public void eof(char[] buff, int offset, int length) throws SAXException { in eof() argument
69 public void etag(char[] buff, int offset, int length) throws SAXException { in etag() argument
[all …]
/external/qemu/block/
Dqcow2-refcount.c31 int64_t offset, int64_t length,
169 int64_t offset, refcount_block_offset; in alloc_refcount_block() local
186 offset = alloc_clusters_noref(bs, s->cluster_size); in alloc_refcount_block()
188 ret = bdrv_pwrite(s->hd, offset, s->refcount_block_cache, s->cluster_size); in alloc_refcount_block()
191 s->refcount_table[refcount_table_index] = offset; in alloc_refcount_block()
192 data64 = cpu_to_be64(offset); in alloc_refcount_block()
199 refcount_block_offset = offset; in alloc_refcount_block()
200 s->refcount_block_cache_offset = offset; in alloc_refcount_block()
201 update_refcount(bs, offset, s->cluster_size, 1); in alloc_refcount_block()
235 int64_t offset, int64_t length, in update_refcount() argument
[all …]
/external/tcpdump/
Dprint-802_11.c156 parse_elements(struct mgmt_body_t *pbody, const u_char *p, int offset) in parse_elements() argument
169 if (!TTEST2(*(p + offset), 1)) in parse_elements()
171 switch (*(p + offset)) { in parse_elements()
175 if (!TTEST2(*(p + offset), 2)) in parse_elements()
177 memcpy(&pbody->ssid, p + offset, 2); in parse_elements()
178 offset += 2; in parse_elements()
183 if (!TTEST2(*(p + offset), pbody->ssid.length)) in parse_elements()
185 memcpy(&pbody->ssid.ssid, p + offset, in parse_elements()
187 offset += pbody->ssid.length; in parse_elements()
196 if (!TTEST2(*(p + offset), 2)) in parse_elements()
[all …]

12345678910>>...73