Home
last modified time | relevance | path

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

/build/make/tools/
Dfat16copy.py488 def get_chain_size(self, head_cluster): argument
493 if head_cluster == 0:
497 f.seek(FAT_TABLE_START + head_cluster * 2)
501 while head_cluster <= MAX_CLUSTER_ID:
503 head_cluster = read_le_short(f)
504 f.seek(FAT_TABLE_START + head_cluster * 2)
574 def read_file(self, head_cluster, start_byte, size): argument
597 cluster_bytes_from_root = (head_cluster - 2) * \
614 f.seek(FAT_TABLE_START + head_cluster * 2)
615 assert head_cluster <= MAX_CLUSTER_ID, "Out-of-bounds read"
[all …]