Lines Matching refs:to_native
117 let chunk = match chunk_header.chunk_type.to_native() { in parse_chunk()
121 chunk_header.total_sz.to_native() as i64 - chunk_hdr_size as i64, in parse_chunk()
132 let fill_size = chunk_header.total_sz.to_native() as u64 - chunk_hdr_size as u64; in parse_chunk()
148 let expanded_size = chunk_header.chunk_sz.to_native() as u64 * blk_sz; in parse_chunk()
165 sparse_header.magic.to_native() in from_file()
171 sparse_header.major_version.to_native(), in from_file()
173 } else if (sparse_header.chunk_hdr_size.to_native() as usize) in from_file()
178 sparse_header.chunk_hdr_size.to_native(), in from_file()
182 let header_size = sparse_header.chunk_hdr_size.to_native() as u64; in from_file()
183 let block_size = sparse_header.blk_sz.to_native() as u64; in from_file()
184 let chunks = (0..sparse_header.total_chunks.to_native()) in from_file()
188 sparse_header.total_blks.to_native() as u64 * sparse_header.blk_sz.to_native() as u64; in from_file()