Home
last modified time | relevance | path

Searched refs:getCursor (Results 1 – 25 of 40) sorted by relevance

12

/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/
DHeaderItem.java165 int startOffset = out.getCursor(); in makeAnnotator()
176 out.annotate(4, "file_size: %d", dexFile.readInt(out.getCursor())); in makeAnnotator()
178 headerSize = dexFile.readInt(out.getCursor()); in makeAnnotator()
181 int endianTag = dexFile.readInt(out.getCursor()); in makeAnnotator()
184 out.annotate(4, "link_size: %d", dexFile.readInt(out.getCursor())); in makeAnnotator()
185 out.annotate(4, "link_offset: 0x%x", dexFile.readInt(out.getCursor())); in makeAnnotator()
187 out.annotate(4, "map_off: 0x%x", dexFile.readInt(out.getCursor())); in makeAnnotator()
189 out.annotate(4, "string_ids_size: %d", dexFile.readInt(out.getCursor())); in makeAnnotator()
190 out.annotate(4, "string_ids_off: 0x%x", dexFile.readInt(out.getCursor())); in makeAnnotator()
192 out.annotate(4, "type_ids_size: %d", dexFile.readInt(out.getCursor())); in makeAnnotator()
[all …]
DAnnotationDirectoryItem.java59 int classAnnotationsOffset = dexFile.readSmallUint(out.getCursor()); in makeAnnotator()
63 int fieldsSize = dexFile.readSmallUint(out.getCursor()); in makeAnnotator()
66 int annotatedMethodsSize = dexFile.readSmallUint(out.getCursor()); in makeAnnotator()
69 int annotatedParameterSize = dexFile.readSmallUint(out.getCursor()); in makeAnnotator()
78 int fieldIndex = dexFile.readSmallUint(out.getCursor()); in makeAnnotator()
80 int annotationOffset = dexFile.readSmallUint(out.getCursor()); in makeAnnotator()
93 int methodIndex = dexFile.readSmallUint(out.getCursor()); in makeAnnotator()
95 int annotationOffset = dexFile.readSmallUint(out.getCursor()); in makeAnnotator()
108 int methodIndex = dexFile.readSmallUint(out.getCursor()); in makeAnnotator()
110 int annotationOffset = dexFile.readSmallUint(out.getCursor()); in makeAnnotator()
DClassDefItem.java71 int classIndex = dexFile.readSmallUint(out.getCursor()); in makeAnnotator()
74 int accessFlags = dexFile.readInt(out.getCursor()); in makeAnnotator()
78 int superclassIndex = dexFile.readOptionalUint(out.getCursor()); in makeAnnotator()
82 int interfacesOffset = dexFile.readSmallUint(out.getCursor()); in makeAnnotator()
85 int sourceFileIdx = dexFile.readOptionalUint(out.getCursor()); in makeAnnotator()
89 int annotationsOffset = dexFile.readSmallUint(out.getCursor()); in makeAnnotator()
96 int classDataOffset = dexFile.readSmallUint(out.getCursor()); in makeAnnotator()
104 int staticValuesOffset = dexFile.readSmallUint(out.getCursor()); in makeAnnotator()
DMapItem.java82 int itemType = dexFile.readUshort(out.getCursor()); in makeAnnotator()
87 int size = dexFile.readSmallUint(out.getCursor()); in makeAnnotator()
90 int offset = dexFile.readSmallUint(out.getCursor()); in makeAnnotator()
96 int mapItemCount = dexFile.readSmallUint(out.getCursor()); in makeAnnotator()
DMethodIdItem.java57 int classIndex = dexFile.readUshort(out.getCursor()); in makeAnnotator()
60 int protoIndex = dexFile.readUshort(out.getCursor()); in makeAnnotator()
63 int nameIndex = dexFile.readSmallUint(out.getCursor()); in makeAnnotator()
DFieldIdItem.java57 int classIndex = dexFile.readUshort(out.getCursor()); in makeAnnotator()
60 int typeIndex = dexFile.readUshort(out.getCursor()); in makeAnnotator()
63 int nameIndex = dexFile.readSmallUint(out.getCursor()); in makeAnnotator()
DProtoIdItem.java57 int shortyIndex = dexFile.readSmallUint(out.getCursor()); in makeAnnotator()
60 int returnTypeIndex = dexFile.readSmallUint(out.getCursor()); in makeAnnotator()
63 int parametersOffset = dexFile.readSmallUint(out.getCursor()); in makeAnnotator()
DAnnotationSetRefList.java54 int size = dexFile.readSmallUint(out.getCursor()); in makeAnnotator()
58 int annotationSetOffset = dexFile.readSmallUint(out.getCursor()); in makeAnnotator()
DAnnotationSetItem.java54 int size = dexFile.readSmallUint(out.getCursor()); in makeAnnotator()
58 int annotationOffset = dexFile.readSmallUint(out.getCursor()); in makeAnnotator()
DAnnotationItem.java55 int visibility = dexFile.readUbyte(out.getCursor()); in makeAnnotator()
58 DexReader reader = dexFile.readerAt(out.getCursor()); in makeAnnotator()
DEncodedValue.java125 out.getCursor()); in annotateEncodedValue()
130 assert out.getCursor() == reader.getOffset(); in annotateEncodedAnnotation()
153 assert out.getCursor() == reader.getOffset(); in annotateEncodedArray()
DTypeListItem.java54 int size = dexFile.readSmallUint(out.getCursor()); in makeAnnotator()
58 int typeIndex = dexFile.readUshort(out.getCursor()); in makeAnnotator()
DSectionAnnotator.java85 out.moveTo(AlignmentUtils.alignOffset(out.getCursor(), itemAlignment)); in annotateSectionInner()
87 String itemIdentity = getItemIdentity(out.getCursor()); in annotateSectionInner()
DCodeItem.java89 DexReader reader = dexFile.readerAt(out.getCursor()); in makeAnnotator()
116 out.setLimit(out.getCursor(), out.getCursor() + instructionSize * 2); in makeAnnotator()
153 assert reader.getOffset() == out.getCursor(); in makeAnnotator()
377 if (out.getCursor() % 2 != 0) { in makeAnnotator()
DEncodedArrayItem.java51 DexReader reader = dexFile.readerAt(out.getCursor()); in makeAnnotator()
DStringDataItem.java52 DexReader reader = dexFile.readerAt(out.getCursor()); in makeAnnotator()
DTypeIdItem.java53 int stringIndex = dexFile.readSmallUint(out.getCursor()); in makeAnnotator()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowCursorAdapterTest.java48 assertThat(adapter.getCursor()).isNotNull(); in testChangeCursor()
49 assertThat(adapter.getCursor()).isSameAs(curs); in testChangeCursor()
54 assertThat(adapter.getCursor()).isNull(); in testChangeCursor()
59 assertThat(adapter.getCursor()).isNotNull(); in testSwapCursor()
60 assertThat(adapter.getCursor()).isSameAs(curs); in testSwapCursor()
66 assertThat(adapter.getCursor()).isNull(); in testSwapCursor()
86 assertThat(adapter.getCursor()).isNotSameAs(curs); in shouldNotErrorOnCursorChangeWhenNoFlagsAreSet()
DShadowSimpleCursorAdapterTest.java34 assertThat(adapter.getCursor()).isSameAs(cursor); in testChangeCursor()
46 assertThat(adapter.getCursor()).isSameAs(cursor); in testSwapCursor()
59 assertThat(adapter.getCursor()).isNull(); in testSwapCursorToNull()
/external/clang/tools/libclang/
DCXIndexDataConsumer.cpp608 return handleDecl(D, D->getLocation(), getCursor(D), DInfo); in handleFunction()
614 return handleDecl(D, D->getLocation(), getCursor(D), DInfo); in handleVar()
620 return handleDecl(D, D->getLocation(), getCursor(D), DInfo); in handleField()
626 return handleDecl(D, D->getLocation(), getCursor(D), DInfo); in handleMSProperty()
632 return handleDecl(D, D->getLocation(), getCursor(D), DInfo); in handleEnumerator()
641 return handleDecl(D, D->getLocation(), getCursor(D), DInfo); in handleTagDecl()
647 return handleDecl(D, D->getLocation(), getCursor(D), DInfo); in handleTypedefName()
695 return handleObjCContainer(D, D->getLocation(), getCursor(D), InterInfo); in handleObjCInterface()
703 return handleObjCContainer(D, D->getLocation(), getCursor(D), ContDInfo); in handleObjCImplementation()
732 return handleObjCContainer(D, D->getLocation(), getCursor(D), ProtInfo); in handleObjCProtocol()
[all …]
/external/protobuf/js/binary/
Dreader.js77 this.fieldCursor_ = this.decoder_.getCursor();
176 jspb.BinaryReader.prototype.getCursor = function() { method in jspb.BinaryReader
177 return this.decoder_.getCursor();
279 this.fieldCursor_ = this.decoder_.getCursor();
543 var newEnd = this.decoder_.getCursor() + length;
592 var start = this.decoder_.getCursor();
920 var end = this.decoder_.getCursor() + length;
922 while (this.decoder_.getCursor() < end) {
/external/swiftshader/third_party/LLVM/lib/VMCore/
DGCOV.cpp137 uint32_t Size = Buff.getCursor() + LineTableLength*4; in read()
142 while (Buff.getCursor() != (Size - 4)) { in read()
144 if (Buff.getCursor() == (Size - 4)) break; in read()
/external/llvm/lib/IR/
DGCOV.cpp199 uint32_t EndPos = Buff.getCursor() + LineTableLength * 4; in readGCNO()
216 if (Buff.getCursor() != (EndPos - sizeof(uint32_t))) { in readGCNO()
227 while (Buff.getCursor() < (EndPos - 2 * sizeof(uint32_t))) { in readGCNO()
255 uint64_t EndPos = Buff.getCursor() + HeaderLength * sizeof(uint32_t); in readGCDA()
286 if (Buff.getCursor() < EndPos) { in readGCDA()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ProfileData/
DGCOV.cpp205 uint32_t EndPos = Buff.getCursor() + LineTableLength * 4; in readGCNO()
222 if (Buff.getCursor() != (EndPos - sizeof(uint32_t))) { in readGCNO()
233 while (Buff.getCursor() < (EndPos - 2 * sizeof(uint32_t))) { in readGCNO()
261 uint64_t EndPos = Buff.getCursor() + HeaderLength * sizeof(uint32_t); in readGCDA()
292 if (Buff.getCursor() < EndPos) { in readGCDA()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/
DSourcePrinter.java122 public Position getCursor() { in getCursor() method in SourcePrinter

12