Searched refs:startCluster (Results 1 – 3 of 3) sorted by relevance
38 private long startCluster; field in ClusterChain50 public ClusterChain(Fat fat, long startCluster, boolean readOnly) { in ClusterChain() argument55 if (startCluster != 0) { in ClusterChain()56 this.fat.testCluster(startCluster); in ClusterChain()58 if (this.fat.isFreeCluster(startCluster)) in ClusterChain()60 "cluster " + startCluster + " is free"); in ClusterChain()65 this.startCluster = startCluster; in ClusterChain()88 return startCluster; in getStartCluster()161 if ((this.startCluster == 0) && (nrClusters == 0)) { in setChainLength()163 } else if ((this.startCluster == 0) && (nrClusters > 0)) { in setChainLength()[all …]
233 public long[] getChain(long startCluster) { in getChain() argument234 testCluster(startCluster); in getChain()237 long cluster = startCluster; in getChain()244 chain[0] = startCluster; in getChain()245 cluster = startCluster; in getChain()
359 void setStartCluster(long startCluster) { in setStartCluster() argument360 if ( startCluster > Integer.MAX_VALUE ) throw new AssertionError(); in setStartCluster()362 LittleEndian.setInt16(data, 0x1a, (int) startCluster); in setStartCluster()363 LittleEndian.setInt16(data, 0x14, (int)(startCluster >>> 16)); in setStartCluster()