Home
last modified time | relevance | path

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

/external/e2fsprogs/ext2ed/
Dfile_com.c68 long block_offset=1; in type_file___nextblock() local
75 block_offset*=atol (buffer); in type_file___nextblock()
78 if (file_info.block_num+block_offset >= file_info.blocks_count) { in type_file___nextblock()
83 file_info.block_num+=block_offset; in type_file___nextblock()
169 long block_offset=1; in type_file___prevblock() local
176 block_offset*=atol (buffer); in type_file___prevblock()
179 if (file_info.block_num-block_offset < 0) { in type_file___prevblock()
184 file_info.block_num-=block_offset; in type_file___prevblock()
197 long block_offset=1; in type_file___block() local
208 block_offset=atol (buffer); in type_file___block()
[all …]
Dwin.c171 int block_num,block_offset; in show_info() local
174 block_offset=device_offset%file_system_info.block_size; in show_info()
177 wprintw (show_win,"Offset %-3ld in block %ld. ",block_offset,block_num); in show_info()
/external/chromium/net/disk_cache/
Dsparse_control.cc599 int block_offset = child_offset_ & (kBlockSize - 1); in UpdateRange() local
600 if (block_offset && (child_data_.header.last_block != first_bit || in UpdateRange()
601 child_data_.header.last_block_len < block_offset)) { in UpdateRange()
607 block_offset = (child_offset_ + result) & (kBlockSize - 1); in UpdateRange()
616 if (block_offset && !child_map_.Get(last_bit)) { in UpdateRange()
619 child_data_.header.last_block_len = block_offset; in UpdateRange()
756 int block_offset = child_offset_ & (kBlockSize - 1); in DoGetAvailableRange() local
757 if (!bits_found && partial_start_bytes <= block_offset) in DoGetAvailableRange()
770 bytes_found -= block_offset; in DoGetAvailableRange()
778 result_ = std::min(partial_start_bytes - block_offset, child_len_); in DoGetAvailableRange()
/external/qemu/block/
Dbochs.c195 int64_t block_offset = seek_to_sector(bs, sector_num); in bochs_read() local
196 if (block_offset >= 0) { in bochs_read()
197 ret = bdrv_pread(bs->file, block_offset, buf, 512); in bochs_read()
Dvpc.c242 uint64_t bitmap_offset, block_offset; in get_sector_offset() local
252 block_offset = bitmap_offset + s->bitmap_size + (512 * pageentry_index); in get_sector_offset()
299 return block_offset; in get_sector_offset()
/external/chromium/crypto/
Dsymmetric_key_win.cc430 BYTE* block_offset = &generated_key[0]; in DeriveKeyFromPassword() local
445 block_offset)) in DeriveKeyFromPassword()
447 block_offset += hLen; in DeriveKeyFromPassword()
/external/libvpx/libvpx/vp8/encoder/
Dmcomp.c1251 const unsigned char *block_offset[4]; in vp8_diamond_search_sadx4() local
1254 block_offset[t] = ss[i+t].offset + best_address; in vp8_diamond_search_sadx4()
1256 fn_ptr->sdx4df(what, what_stride, block_offset, in_what_stride, sad_array); in vp8_diamond_search_sadx4()
1846 const unsigned char *block_offset[4]; in vp8_refining_search_sadx4() local
1847 block_offset[0] = best_address - in_what_stride; in vp8_refining_search_sadx4()
1848 block_offset[1] = best_address - 1; in vp8_refining_search_sadx4()
1849 block_offset[2] = best_address + 1; in vp8_refining_search_sadx4()
1850 block_offset[3] = best_address + in_what_stride; in vp8_refining_search_sadx4()
1852 fn_ptr->sdx4df(what, what_stride, block_offset, in_what_stride, sad_array); in vp8_refining_search_sadx4()