Searched refs:virtualFileId (Results 1 – 2 of 2) sorted by relevance
59 public boolean hasVirtualFileData(int virtualFileId) { in hasVirtualFileData() argument60 return getVirtualFileIndex(virtualFileId) != UNASSOCIATED_VALUE; in hasVirtualFileData()69 public boolean assignToVirtualFile(int virtualFileId) { in assignToVirtualFile() argument71 if (hasVirtualFileData(virtualFileId)) { in assignToVirtualFile()74 return updateVirtualFileData(virtualFileId); in assignToVirtualFile()85 private synchronized boolean updateVirtualFileData(int virtualFileId) { in updateVirtualFileData() argument87 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 …]
14 private final int virtualFileId; field in ObjectToOffsetMapping27 int virtualFileId, in ObjectToOffsetMapping() argument47 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 …]