Home
last modified time | relevance | path

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

/external/e2fsprogs/lib/ext2fs/
Dqcow2.c122 size = read(fd, *l2_table, img->cluster_size); in qcow2_read_l2_table()
123 if (size != img->cluster_size) in qcow2_read_l2_table()
173 img.cluster_size = 1 << img.cluster_bits; in qcow2_write_raw_image()
180 ret = ext2fs_get_memzero(img.cluster_size, &l2_table); in qcow2_write_raw_image()
230 off_out, copy_buf, img.cluster_size); in qcow2_write_raw_image()
Dqcow2.h95 __u32 cluster_size; member
/external/e2fsprogs/misc/
De2image.c850 img->cluster_size, &ref->refcount_table); in init_refcount()
855 ret = ext2fs_get_arrayzero(1, img->cluster_size, &ref->refcount_block); in init_refcount()
877 image->cluster_size = fs->blocksize; in initialize_qcow2_image()
888 offset = align_offset(header_size, image->cluster_size); in initialize_qcow2_image()
900 offset += align_offset(l1_size * sizeof(blk64_t), image->cluster_size); in initialize_qcow2_image()
911 offset += image->cluster_size; in initialize_qcow2_image()
917 offset += image->cluster_size; in initialize_qcow2_image()
969 memset(table->data, 0, img->cluster_size); in put_used_table()
996 generic_write(fd, (char *)table->data, image->cluster_size, in flush_l2_cache()
999 seek += image->cluster_size; in flush_l2_cache()
[all …]
Dmke2fs.c1280 int cluster_size = 0; in PRS() local
1424 cluster_size = parse_num_blocks2(optarg, -1); in PRS()
1425 if (cluster_size <= EXT2_MIN_CLUSTER_SIZE || in PRS()
1426 cluster_size > EXT2_MAX_CLUSTER_SIZE) { in PRS()
1920 if (!cluster_size) in PRS()
1921 cluster_size = get_int_from_profile(fs_types, in PRS()
1925 int_log2(cluster_size >> EXT2_MIN_CLUSTER_LOG_SIZE); in PRS()
1933 } else if (cluster_size) { in PRS()
/external/libvpx/libvpx/third_party/libwebm/
Dmkvparser.cpp1051 long long cluster_size = -1; // size of cluster payload in DoLoadCluster() local
1168 cluster_size = size; in DoLoadCluster()
1237 if (cluster_size >= 0) in DoLoadCluster()
1238 pos += cluster_size; in DoLoadCluster()
1261 if (cluster_size >= 0) in DoLoadCluster()
1262 pos += cluster_size; in DoLoadCluster()
1289 if (cluster_size >= 0) { in DoLoadCluster()
1290 pos += cluster_size; in DoLoadCluster()
2849 long long cluster_size = -1; in DoParseNext() local
2971 cluster_size = size; in DoParseNext()
[all …]
Dmkvmuxer.cpp2935 const uint64 cluster_size = last_cluster->payload_size(); in TestFrame() local
2937 if (max_cluster_size_ > 0 && cluster_size >= max_cluster_size_) in TestFrame()
/external/libvpx/libwebm/mkvparser/
Dmkvparser.cc1050 long long cluster_size = -1; // size of cluster payload in DoLoadCluster() local
1167 cluster_size = size; in DoLoadCluster()
1236 if (cluster_size >= 0) in DoLoadCluster()
1237 pos += cluster_size; in DoLoadCluster()
1260 if (cluster_size >= 0) in DoLoadCluster()
1261 pos += cluster_size; in DoLoadCluster()
1288 if (cluster_size >= 0) { in DoLoadCluster()
1289 pos += cluster_size; in DoLoadCluster()
2848 long long cluster_size = -1; in DoParseNext() local
2970 cluster_size = size; in DoParseNext()
[all …]
/external/opencv/ml/src/
Dmlem.cpp548 int cluster_size = right - left; in init_auto() local
551 if( cluster_size <= 0 ) in init_auto()
558 CV_CALL( cvCalcCovarMatrix( vec, cluster_size, covs[i], in init_auto()
560 weights->data.db[i] = (double)cluster_size/(double)nsamples; in init_auto()