Searched refs:old_size (Results 1 – 1 of 1) sorted by relevance
1501 let old_size = guard.metadata.size as usize; in resize() localVariable1506 match len.cmp(&old_size) { in resize()1513 let mut remain_size = len - old_size; in resize()1518 let mut offset = old_size; in resize()1543 let old_size = guard.metadata.size as usize; in truncate() localVariable1544 if len < old_size { in truncate()