Home
last modified time | relevance | path

Searched refs:getCursor (Results 1 – 25 of 47) 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()
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()
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()
DAnnotationSetItem.java54 int size = dexFile.readSmallUint(out.getCursor()); in makeAnnotator()
58 int annotationOffset = 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()
DMethodHandleItem.java57 int methodHandleType = dexFile.readUshort(out.getCursor()); in makeAnnotator()
61 int fieldOrMethodId = dexFile.readUshort(out.getCursor()); in makeAnnotator()
DAnnotationItem.java55 int visibility = dexFile.readUbyte(out.getCursor()); in makeAnnotator()
58 DexReader reader = dexFile.readerAt(out.getCursor()); in makeAnnotator()
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()
DEncodedValue.java92 assert out.getCursor() == reader.getOffset(); in annotateEncodedAnnotation()
115 assert out.getCursor() == reader.getOffset(); in annotateEncodedArray()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowCursorAdapterTest.java48 assertThat(adapter.getCursor()).isNotNull(); in testChangeCursor()
49 assertThat(adapter.getCursor()).isSameInstanceAs(curs); in testChangeCursor()
54 assertThat(adapter.getCursor()).isNull(); in testChangeCursor()
59 assertThat(adapter.getCursor()).isNotNull(); in testSwapCursor()
60 assertThat(adapter.getCursor()).isSameInstanceAs(curs); in testSwapCursor()
66 assertThat(adapter.getCursor()).isNull(); in testSwapCursor()
86 assertThat(adapter.getCursor()).isNotSameInstanceAs(curs); in shouldNotErrorOnCursorChangeWhenNoFlagsAreSet()
DShadowSimpleCursorAdapterTest.java34 assertThat(adapter.getCursor()).isSameInstanceAs(cursor); in testChangeCursor()
46 assertThat(adapter.getCursor()).isSameInstanceAs(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/llvm-project/clang/tools/libclang/
DCXIndexDataConsumer.cpp620 return handleDecl(D, D->getLocation(), getCursor(D), DInfo); in handleFunction()
626 return handleDecl(D, D->getLocation(), getCursor(D), DInfo); in handleVar()
632 return handleDecl(D, D->getLocation(), getCursor(D), DInfo); in handleField()
638 return handleDecl(D, D->getLocation(), getCursor(D), DInfo); in handleEnumerator()
647 return handleDecl(D, D->getLocation(), getCursor(D), DInfo); in handleTagDecl()
653 return handleDecl(D, D->getLocation(), getCursor(D), DInfo); in handleTypedefName()
701 return handleObjCContainer(D, D->getLocation(), getCursor(D), InterInfo); in handleObjCInterface()
709 return handleObjCContainer(D, D->getLocation(), getCursor(D), ContDInfo); in handleObjCImplementation()
738 return handleObjCContainer(D, D->getLocation(), getCursor(D), ProtInfo); in handleObjCProtocol()
770 return handleObjCContainer(D, CategoryLoc, getCursor(D), CatDInfo); in handleObjCCategory()
[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();
542 var newEnd = this.decoder_.getCursor() + length;
591 var start = this.decoder_.getCursor();
981 var end = this.decoder_.getCursor() + length;
983 while (this.decoder_.getCursor() < end) {
/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/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/upstream/cache/
DCacheFileMetadataIndex.java146 try (Cursor cursor = getCursor()) { in getAll()
231 private Cursor getCursor() { in getCursor() method in CacheFileMetadataIndex
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/offline/
DDefaultDownloadIndex.java171 try (Cursor cursor = getCursor(WHERE_ID_EQUALS, new String[] {id})) { in getDownload()
185 Cursor cursor = getCursor(getStateQuery(states), /* selectionArgs= */ null); in getDownloads()
310 private Cursor getCursor(String selection, @Nullable String[] selectionArgs) in getCursor() method in DefaultDownloadIndex

12