Lines Matching refs:blockNumber
666 public long getBlockPos(int blockNumber) { in getBlockPos() argument
667 locateBlockByNumber(queriedBlockInfo, blockNumber); in getBlockPos()
680 public long getBlockSize(int blockNumber) { in getBlockSize() argument
681 locateBlockByNumber(queriedBlockInfo, blockNumber); in getBlockSize()
696 public long getBlockCompPos(int blockNumber) { in getBlockCompPos() argument
697 locateBlockByNumber(queriedBlockInfo, blockNumber); in getBlockCompPos()
712 public long getBlockCompSize(int blockNumber) { in getBlockCompSize() argument
713 locateBlockByNumber(queriedBlockInfo, blockNumber); in getBlockCompSize()
728 public int getBlockCheckType(int blockNumber) { in getBlockCheckType() argument
729 locateBlockByNumber(queriedBlockInfo, blockNumber); in getBlockCheckType()
745 return queriedBlockInfo.blockNumber; in getBlockNumber()
984 public void seekToBlock(int blockNumber) throws IOException { in seekToBlock() argument
988 if (blockNumber < 0 || blockNumber >= blockCount) in seekToBlock()
989 throw new XZIOException("Invalid XZ Block number: " + blockNumber); in seekToBlock()
994 seekPos = getBlockPos(blockNumber); in seekToBlock()
1102 private void locateBlockByNumber(BlockInfo info, int blockNumber) {
1104 if (blockNumber < 0 || blockNumber >= blockCount)
1106 "Invalid XZ Block number: " + blockNumber);
1109 if (info.blockNumber == blockNumber)
1116 if (index.hasRecord(blockNumber)) {
1117 index.setBlockInfo(info, blockNumber);