/external/e2fsprogs/lib/ext2fs/ |
i_block.c | 30 blk64_t num_blocks) 37 num_blocks *= fs->blocksize / 512; 39 b += num_blocks; 52 blk64_t num_blocks) 59 num_blocks *= fs->blocksize / 512; 61 if (num_blocks > b) 64 b -= num_blocks;
|
alloc_sb.c | 48 int j, old_desc_blocks, num_blocks; local 50 num_blocks = ext2fs_super_and_bgd_loc(fs, group, &super_blk, 73 return num_blocks;
|
inode.c | 273 blk_t *num_blocks) 308 *num_blocks = 1; 320 if ((blk + *num_blocks) > bb->list[scan->bad_block_ptr]) 321 *num_blocks = (int) (bb->list[scan->bad_block_ptr] - blk); 332 blk_t num_blocks; local 340 num_blocks = scan->inode_buffer_blocks; 341 if (num_blocks > scan->blocks_left) 342 num_blocks = scan->blocks_left; 358 retval = check_for_inode_bad_blocks(scan, &num_blocks); 366 (size_t) num_blocks * scan->fs->blocksize) [all...] |
mkjournal.c | 199 int num_blocks; member in struct:mkjournal_struct 229 es->num_blocks--; 264 if (es->num_blocks == 0) 295 es.num_blocks = size;
|
/external/genext2fs/ |
mkbootimg_ext2.sh | 94 num_blocks=`du -sk $TMPDIR | tail -n1 | awk '{print $1;}'` 97 extra=`expr $num_blocks / 100` 101 num_blocks=`expr $num_blocks + $extra` 104 $GENEXT2FS -d $TMPDIR -b $num_blocks -N $num_inodes -m 0 $OUTPUT
|
/sdk/emulator/qtools/ |
bb2sym.cpp | 20 MyStaticRec **assign_inner_blocks(int num_blocks, MyStaticRec *blocks); 104 MyStaticRec **assign_inner_blocks(int num_blocks, MyStaticRec *blocks) 110 MyStaticRec **sorted = new MyStaticRec*[num_blocks]; 111 for (ii = 0; ii < num_blocks; ++ii) { 116 qsort(sorted, num_blocks, sizeof(MyStaticRec*), cmp_inc_addr); 120 for (ii = 0; ii < num_blocks - 1; ++ii) {
|
bbprof.cpp | 18 MyStaticRec **assign_inner_blocks(int num_blocks, MyStaticRec *blocks); 186 MyStaticRec **assign_inner_blocks(int num_blocks, MyStaticRec *blocks) 192 MyStaticRec **sorted = new MyStaticRec*[num_blocks]; 193 for (ii = 0; ii < num_blocks; ++ii) { 198 qsort(sorted, num_blocks, sizeof(MyStaticRec*), cmp_inc_addr); 202 for (ii = 0; ii < num_blocks - 1; ++ii) {
|
/external/chromium/net/disk_cache/ |
addr_unittest.cc | 22 EXPECT_EQ(3, addr2.num_blocks()); 31 EXPECT_EQ(4, addr3.num_blocks());
|
addr.cc | 16 int Addr::num_blocks() const { function in class:disk_cache::Addr
|
storage_block-inl.h | 20 if (address.num_blocks() > 1) 38 return address_.num_blocks() * sizeof(*data_); 53 if (address.num_blocks() > 1) 141 void* buffer = new char[address_.num_blocks() * sizeof(*data_)];
|
addr.h | 90 int num_blocks() const;
|
/external/e2fsprogs/debugfs/ |
lsdel.c | 29 e2_blkcnt_t num_blocks; member in struct:deleted_info 35 e2_blkcnt_t num_blocks; member in struct:lsdel_struct 59 lsd->num_blocks++; 139 lsd.num_blocks = 0; 172 delarray[num_delarray].num_blocks = lsd.num_blocks; 199 delarray[i].free_blocks, delarray[i].num_blocks,
|
icheck.c | 29 e2_blkcnt_t num_blocks; member in struct:block_walk_struct 43 for (i=0; i < bw->num_blocks; i++) { 92 bw.num_blocks = bw.blocks_left = argc-1; 154 for (i=0, binfo = bw.barray; i < bw.num_blocks; i++, binfo++) {
|
/external/e2fsprogs/e2fsck/ |
dx_dirinfo.c | 16 void e2fsck_add_dx_dir(e2fsck_t ctx, ext2_ino_t ino, int num_blocks) 69 dir->numblocks = num_blocks; 71 dir->dx_block = e2fsck_allocate_memory(ctx, num_blocks
|
/external/wpa_supplicant/ |
eap_pax_common.c | 45 size_t num_blocks, left; local 47 num_blocks = (output_len + EAP_PAX_MAC_LEN - 1) / EAP_PAX_MAC_LEN; 48 if (identifier == NULL || num_blocks >= 255) 64 for (counter = 1; counter <= (u8) num_blocks; counter++) {
|
/external/wpa_supplicant_6/wpa_supplicant/src/eap_common/ |
eap_pax_common.c | 45 size_t num_blocks, left; local 47 num_blocks = (output_len + EAP_PAX_MAC_LEN - 1) / EAP_PAX_MAC_LEN; 48 if (identifier == NULL || num_blocks >= 255) 64 for (counter = 1; counter <= (u8) num_blocks; counter++) {
|
/external/wpa_supplicant_8/src/eap_common/ |
eap_pax_common.c | 45 size_t num_blocks, left; local 47 num_blocks = (output_len + EAP_PAX_MAC_LEN - 1) / EAP_PAX_MAC_LEN; 48 if (identifier == NULL || num_blocks >= 255) 64 for (counter = 1; counter <= (u8) num_blocks; counter++) {
|
/external/libpng/ |
pngmem.c | 175 int num_blocks; local 188 num_blocks = (int)(1 << (png_ptr->zlib_window_bits - 14)); 190 num_blocks = 1; 192 num_blocks += (int)(1 << (png_ptr->zlib_mem_level - 7)); 194 num_blocks++; 196 total_size = ((png_uint_32)65536L) * (png_uint_32)num_blocks+16; 225 png_ptr->offset_table_ptr = farmalloc(num_blocks * 245 for (i = 0; i < num_blocks; i++) 251 png_ptr->offset_table_number = num_blocks;
|
/external/qemu/distrib/libpng-1.2.19/ |
pngmem.c | 162 int num_blocks; local 175 num_blocks = (int)(1 << (png_ptr->zlib_window_bits - 14)); 177 num_blocks = 1; 179 num_blocks += (int)(1 << (png_ptr->zlib_mem_level - 7)); 181 num_blocks++; 183 total_size = ((png_uint_32)65536L) * (png_uint_32)num_blocks+16; 212 png_ptr->offset_table_ptr = farmalloc(num_blocks * 232 for (i = 0; i < num_blocks; i++) 238 png_ptr->offset_table_number = num_blocks;
|
/external/jpeg/ |
jutils.c | 152 JDIMENSION num_blocks) 156 FMEMCOPY(output_row, input_row, num_blocks * (DCTSIZE2 * SIZEOF(JCOEF))); 163 for (count = (long) num_blocks * DCTSIZE2; count > 0; count--) {
|
jcdctmgr.c | 183 JDIMENSION num_blocks) 195 for (bi = 0; bi < num_blocks; bi++, start_col += DCTSIZE) { 273 JDIMENSION num_blocks) 285 for (bi = 0; bi < num_blocks; bi++, start_col += DCTSIZE) {
|
/external/bluetooth/glib/tests/ |
base64-test.c | 12 #define NUM_BLOCKS 32
|
/external/webp/src/dec/ |
io_sse2.c | 134 const int num_blocks = (uv_len - 1) >> 4; \ 135 const int leftover = uv_len - num_blocks * 16; \ 136 const int last_pos = 1 + 32 * num_blocks; \ 154 for (b = 0; b < num_blocks; ++b) { \
|
/external/e2fsprogs/misc/ |
badblocks.c | 106 static blk_t num_blocks = 0; variable 204 (unsigned long) num_blocks), 217 if (!num_blocks) 477 num_blocks = last_block - 1; 531 num_blocks = 0; 586 num_blocks = last_block - 1; 624 num_blocks = 0; 631 num_blocks = last_block; 671 num_blocks = 0; 777 num_blocks = last_block - 1 [all...] |
/system/extras/ext4_utils/ |
ext4fixup.c | 621 unsigned int num_blocks; local 643 num_blocks = dirsize / info.block_size; 645 block_list = malloc((num_blocks + 1) * sizeof(*block_list)); 662 if (num_blocks > (info.block_size / 4 + EXT4_NDIR_BLOCKS)) { 669 for (i = 0; i < num_blocks; i++) { 766 for (i = 0; i < num_blocks; i++) {
|