Home
last modified time | relevance | path

Searched refs:virtualFileId (Results 1 – 2 of 2) sorted by relevance

/external/r8/src/main/java/com/android/tools/r8/graph/
DIndexedDexItem.java59 public boolean hasVirtualFileData(int virtualFileId) { in hasVirtualFileData() argument
60 return getVirtualFileIndex(virtualFileId) != UNASSOCIATED_VALUE; in hasVirtualFileData()
69 public boolean assignToVirtualFile(int virtualFileId) { in assignToVirtualFile() argument
71 if (hasVirtualFileData(virtualFileId)) { in assignToVirtualFile()
74 return updateVirtualFileData(virtualFileId); in assignToVirtualFile()
85 private synchronized boolean updateVirtualFileData(int virtualFileId) { in updateVirtualFileData() argument
87 int[] fileIndices = new int[virtualFileId + 1]; in updateVirtualFileData()
93 if (virtualFileId >= virtualFileIndexes.length) { in updateVirtualFileData()
95 int[] fileIndices = Arrays.copyOf(virtualFileIndexes, virtualFileId + 1); in updateVirtualFileData()
96 Arrays.fill(fileIndices, oldLength, virtualFileId + 1, UNASSOCIATED_VALUE); in updateVirtualFileData()
[all …]
DObjectToOffsetMapping.java14 private final int virtualFileId; field in ObjectToOffsetMapping
27 int virtualFileId, in ObjectToOffsetMapping() argument
47 this.virtualFileId = virtualFileId; in ObjectToOffsetMapping()
91 item.assignVirtualFileIndex(virtualFileId, index); in setIndexes()
144 return item.getVirtualFileIndex(virtualFileId) != IndexedDexItem.UNASSOCIATED_VALUE; in isContainedInMapping()
149 return proto.getVirtualFileIndex(virtualFileId); in getOffsetFor()
154 return field.getVirtualFileIndex(virtualFileId); in getOffsetFor()
159 return method.getVirtualFileIndex(virtualFileId); in getOffsetFor()
164 return string.getVirtualFileIndex(virtualFileId); in getOffsetFor()
169 return type.getVirtualFileIndex(virtualFileId); in getOffsetFor()
[all …]