Home
last modified time | relevance | path

Searched refs:startCluster (Results 1 – 3 of 3) sorted by relevance

/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/
DClusterChain.java38 private long startCluster; field in ClusterChain
50 public ClusterChain(Fat fat, long startCluster, boolean readOnly) { in ClusterChain() argument
55 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 …]
DFat.java233 public long[] getChain(long startCluster) { in getChain() argument
234 testCluster(startCluster); in getChain()
237 long cluster = startCluster; in getChain()
244 chain[0] = startCluster; in getChain()
245 cluster = startCluster; in getChain()
DFatDirectoryEntry.java359 void setStartCluster(long startCluster) { in setStartCluster() argument
360 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()