Home
last modified time | relevance | path

Searched refs:sourcePosition (Results 1 – 9 of 9) sorted by relevance

/external/v8/tools/turbolizer/src/
Dsource-resolver.ts19 export function sourcePositionToStringKey(sourcePosition): string {
20 if (!sourcePosition) return "undefined";
21 if (sourcePosition.inliningId && sourcePosition.scriptOffset)
22 return "SP:" + sourcePosition.inliningId + ":" + sourcePosition.scriptOffset;
23 if (sourcePosition.bytecodePosition)
24 return "BCP:" + sourcePosition.bytecodePosition;
160 for (const [nodeId, sourcePosition] of Object.entries<SourcePosition>(map)) { constant
161 if (sourcePosition == undefined) {
162 console.log("Warning: undefined source position ", sourcePosition, " for nodeId ", nodeId);
164 const inliningId = sourcePosition.inliningId;
[all …]
Dcode-view.ts51 for (var sourcePosition of sourcePositions) {
52 locations.push(sourcePosition);
53 sourceResolver.addInliningPositions(sourcePosition, locations);
80 addHtmlElementToSourcePosition(sourcePosition, element) {
81 const key = sourcePositionToStringKey(sourcePosition);
83 console.log("Warning: duplicate source position", sourcePosition);
88 getHtmlElementForSourcePosition(sourcePosition) {
89 const key = sourcePositionToStringKey(sourcePosition);
130 onSelectSourcePosition(sourcePosition, doClear) {
134 this.selectionHandler.select([sourcePosition], undefined);
[all …]
Ddisassembly-view.ts141 initializeCode(sourceText, sourcePosition) {
149 view.pos_lines[0] = sourcePosition;
151 let base = sourcePosition;
Dturbo-visualizer.ts234 startPosition: jsonObj.sourcePosition,
235 endPosition: jsonObj.sourcePosition + jsonObj.source.length,
Dgraph-view.ts100 if (node.sourcePosition) {
101 locations.push(node.sourcePosition);
303 n.sourcePosition = { scriptOffset: n.pos, inliningId: -1 };
/external/dexmaker/dexmaker/src/main/java/com/android/dx/
DCode.java205 private SourcePosition sourcePosition = SourcePosition.NO_INFO; field in Code
297 sourcePosition, local.spec(), RegisterSpecList.EMPTY, paramConstant)); in initializeLocals()
351 addInstruction(new PlainInsn(Rops.GOTO, sourcePosition, null, RegisterSpecList.EMPTY), in jump()
390 addInstruction(new ThrowingInsn(Rops.THROW, sourcePosition, in throwValue()
483 addInstruction(new PlainCstInsn(rop, sourcePosition, target.spec(), in loadConstant()
486 addInstruction(new ThrowingCstInsn(rop, sourcePosition, in loadConstant()
497 sourcePosition, target.spec(), source.spec())); in move()
506 addInstruction(new PlainInsn(op.rop(source.type), sourcePosition, in op()
521 addInstruction(new PlainInsn(rop, sourcePosition, target.spec(), sources)); in op()
523 addInstruction(new ThrowingInsn(rop, sourcePosition, sources, catches)); in op()
[all …]
/external/smali/smalidea/src/test/java/org/jf/smalidea/
DSmaliPositionManagerTest.java111 SourcePosition sourcePosition = positionManager.getSourcePosition( in testGetSourcePosition() local
113 …Assert.assertEquals(Opcode.CONST_4, ((SmaliInstruction)sourcePosition.getElementAt()).getOpcode()); in testGetSourcePosition()
114 Assert.assertEquals(0, ((SmaliInstruction)sourcePosition.getElementAt()).getOffset()); in testGetSourcePosition()
116sourcePosition = positionManager.getSourcePosition("my.pkg.blah", "getRandomParentType", "(I)I", 1… in testGetSourcePosition()
117 …Assert.assertEquals(Opcode.INVOKE_VIRTUAL, ((SmaliInstruction)sourcePosition.getElementAt()).getOp… in testGetSourcePosition()
118 Assert.assertEquals(20, ((SmaliInstruction)sourcePosition.getElementAt()).getOffset()); in testGetSourcePosition()
DSmaliMethodTest.java248 SourcePosition sourcePosition = smaliMethod.getSourcePositionForCodeOffset(codeOffset); in checkSourcePosition() local
249 Assert.assertNotNull(sourcePosition); in checkSourcePosition()
251 SmaliInstruction instruction = (SmaliInstruction)sourcePosition.getElementAt(); in checkSourcePosition()
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DCharsetMBCS.java1971 int sourcePosition, sourceLimit; in simpleMatchToU() local
1974 sourcePosition = source.position(); // relative to source.array() in simpleMatchToU()
1976 source.get(sourceArray).position(sourcePosition); in simpleMatchToU()
1977 sourcePosition = 0; // relative to sourceArray in simpleMatchToU()
1981 sourcePosition = source.position(); in simpleMatchToU()
1984 …match = matchToU((byte) -1, sourceArray, sourcePosition, sourceLimit, null, value, useFallback, tr… in simpleMatchToU()