Home
last modified time | relevance | path

Searched refs:observer (Results 1 – 8 of 8) sorted by relevance

/dalvik/dx/src/com/android/dx/cf/direct/
DStdAttributeFactory.java85 int offset, int length, ParseObserver observer) { in parse0() argument
89 return bootstrapMethods(cf, offset, length, observer); in parse0()
92 return deprecated(cf, offset, length, observer); in parse0()
95 return enclosingMethod(cf, offset, length, observer); in parse0()
98 return innerClasses(cf, offset, length, observer); in parse0()
102 observer); in parse0()
106 observer); in parse0()
109 return synthetic(cf, offset, length, observer); in parse0()
112 return signature(cf, offset, length, observer); in parse0()
115 return sourceDebugExtension(cf, offset, length, observer); in parse0()
[all …]
DAttributeListParser.java50 private ParseObserver observer; field in AttributeListParser
85 public void setObserver(ParseObserver observer) { in setObserver() argument
86 this.observer = observer; in setObserver()
128 if (observer != null) { in parse()
129 observer.parsed(bytes, offset, 2, in parse()
135 if (observer != null) { in parse()
136 observer.parsed(bytes, at, 0, in parse()
138 observer.changeIndent(1); in parse()
142 attributeFactory.parse(cf, context, at, observer); in parse()
147 if (observer != null) { in parse()
[all …]
DMemberListParser.java52 private ParseObserver observer; field in MemberListParser
99 public final void setObserver(ParseObserver observer) { in setObserver() argument
100 this.observer = observer; in setObserver()
180 if (observer != null) { in parse()
181 observer.parsed(bytes, offset, 2, in parse()
193 if (observer != null) { in parse()
194 observer.startParsingMember(bytes, at, name.getString(), in parse()
196 observer.parsed(bytes, at, 0, "\n" + humanName() + in parse()
198 observer.changeIndent(1); in parse()
199 observer.parsed(bytes, at, 2, in parse()
[all …]
DAnnotationParser.java61 private final ParseObserver observer; field in AnnotationParser
81 ParseObserver observer) { in AnnotationParser() argument
88 this.observer = observer; in AnnotationParser()
176 if (observer != null) { in parseAnnotationsList()
183 if (observer != null) { in parseAnnotationsList()
191 if (observer != null) { in parseAnnotationsList()
192 observer.changeIndent(-1); in parseAnnotationsList()
211 if (observer != null) { in parseAnnotations()
218 if (observer != null) { in parseAnnotations()
226 if (observer != null) { in parseAnnotations()
[all …]
DDirectClassFile.java153 private ParseObserver observer; field in DirectClassFile
218 public void setObserver(ParseObserver observer) { in setObserver() argument
219 this.observer = observer; in setObserver()
377 return new DcfTypeList(bytes, offset, size, pool, observer); in makeTypeList()
493 if (observer != null) { in parse0()
494 observer.parsed(bytes, 0, 0, "begin classfile"); in parse0()
495 observer.parsed(bytes, 0, 4, "magic: " + Hex.u4(getMagic0())); in parse0()
496 observer.parsed(bytes, 4, 2, in parse0()
498 observer.parsed(bytes, 6, 2, in parse0()
518 cpParser.setObserver(observer); in parse0()
[all …]
DAttributeFactory.java70 ParseObserver observer) { in parse() argument
89 if (observer != null) { in parse()
90 observer.parsed(bytes, offset, 2, in parse()
92 observer.parsed(bytes, offset + 2, 4, in parse()
97 observer); in parse()
123 ParseObserver observer) { in parse0() argument
128 if (observer != null) { in parse0()
129 observer.parsed(bytes, offset, length, "attribute data"); in parse0()
DCodeObserver.java43 private final ParseObserver observer; field in CodeObserver
51 public CodeObserver(ByteArray bytes, ParseObserver observer) { in CodeObserver() argument
56 if (observer == null) { in CodeObserver()
61 this.observer = observer; in CodeObserver()
67 observer.parsed(bytes, offset, length, header(offset)); in visitInvalid()
73 observer.parsed(bytes, offset, length, header(offset)); in visitNoArgs()
94 observer.parsed(bytes, offset, length, in visitLocal()
142 observer.parsed(bytes, offset, length, in visitConstant()
151 observer.parsed(bytes, offset, length, in visitBranch()
179 observer.parsed(bytes, offset, length, sb.toString()); in visitSwitch()
[all …]
/dalvik/dx/src/com/android/dx/cf/cst/
DConstantPoolParser.java76 private ParseObserver observer; field in ConstantPoolParser
97 public void setObserver(ParseObserver observer) { in setObserver() argument
98 this.observer = observer; in setObserver()
137 if (observer != null) { in parse()
138 observer.parsed(bytes, 8, 2, in parse()
140 observer.parsed(bytes, 10, 0, "\nconstant_pool:"); in parse()
141 observer.changeIndent(1); in parse()
157 if (observer != null) { in parse()
175 observer.parsed(bytes, offset, nextOffset - offset, human); in parse()
178 observer.changeIndent(-1); in parse()
[all …]