/external/qemu/block/ |
qcow2-refcount.c | 40 size_t size = s->cluster_size; 64 s->refcount_block_cache = g_malloc(s->cluster_size); 104 s->cluster_size); 236 int64_t new_block = alloc_clusters_noref(bs, s->cluster_size); 249 memset(s->refcount_block_cache, 0, s->cluster_size); 259 ret = update_refcount(bs, new_block, s->cluster_size, 1); 266 memset(s->refcount_block_cache, 0, s->cluster_size); 273 s->cluster_size); 336 s->cluster_size; 337 uint64_t table_offset = meta_offset + blocks_clusters * s->cluster_size; [all...] |
qcow2.c | 89 if (offset > s->cluster_size) 173 s->cluster_size = 1 << s->cluster_bits; 208 s->cluster_cache = g_malloc(s->cluster_size); 210 s->cluster_data = g_malloc(QCOW_MAX_CRYPT_CLUSTERS * s->cluster_size 223 ext_end = s->cluster_size; 610 s->cluster_size); 709 if (header_size > s->cluster_size) { 847 int flags, size_t cluster_size, int prealloc) 886 s->cluster_bits = get_bits_from_size(cluster_size); 896 s->cluster_size = 1 << s->cluster_bits 1049 size_t cluster_size = 65536; local [all...] |
qcow2.h | 84 int cluster_size; member in struct:BDRVQcowState 123 int cluster_size; member in struct:QCowCreateState 150 return (size + (s->cluster_size - 1)) >> s->cluster_bits;
|
qcow2-cluster.c | 293 static int count_contiguous_clusters(uint64_t nb_clusters, int cluster_size, 303 if (offset + (uint64_t) i * cluster_size != (be64_to_cpu(l2_table[i]) & ~mask)) 504 c = count_contiguous_clusters(nb_clusters, s->cluster_size, 680 start_sect = (m->offset & ~(s->cluster_size - 1)) >> 9; 774 nb_clusters = count_contiguous_clusters(nb_clusters, s->cluster_size, 792 i += count_contiguous_clusters(nb_clusters - i, s->cluster_size, 820 uint64_t end_offset = offset + nb_clusters * s->cluster_size; 823 old_alloc->nb_clusters * s->cluster_size; 853 cluster_offset = qcow2_alloc_clusters(bs, nb_clusters * s->cluster_size); 916 if (decompress_buffer(s->cluster_cache, s->cluster_size, [all...] |
/external/chromium_org/third_party/brotli/src/brotli/enc/ |
cluster.h | 64 const int* cluster_size, 80 p.cost_diff = 0.5 * ClusterCostDiff(cluster_size[idx1], cluster_size[idx2]); 110 int* cluster_size, 129 CompareAndPushToHeap(out, cluster_size, clusters[idx1], clusters[idx2], 145 cluster_size[best_idx1] += cluster_size[best_idx2]; 172 CompareAndPushToHeap(out, cluster_size, best_idx1, clusters[i], &pairs); 256 std::vector<int> cluster_size(in_size, 1); 268 HistogramCombine(&(*out)[0], &cluster_size[0] [all...] |
/external/e2fsprogs/lib/ext2fs/ |
qcow2.c | 122 size = read(fd, *l2_table, img->cluster_size); 123 if (size != img->cluster_size) 173 img.cluster_size = 1 << img.cluster_bits; 180 ret = ext2fs_get_memzero(img.cluster_size, &l2_table); 230 off_out, copy_buf, img.cluster_size);
|
qcow2.h | 95 __u32 cluster_size; member in struct:ext2_qcow2_image
|
/external/e2fsprogs/misc/ |
e2image.c | 850 img->cluster_size, &ref->refcount_table); 855 ret = ext2fs_get_arrayzero(1, img->cluster_size, &ref->refcount_block); 877 image->cluster_size = fs->blocksize; 888 offset = align_offset(header_size, image->cluster_size); 900 offset += align_offset(l1_size * sizeof(blk64_t), image->cluster_size); 911 offset += image->cluster_size; 917 offset += image->cluster_size; 969 memset(table->data, 0, img->cluster_size); 996 generic_write(fd, (char *)table->data, image->cluster_size, 999 seek += image->cluster_size; [all...] |
mke2fs.c | 1280 int cluster_size = 0; local [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libwebm/ |
mkvparser.cpp | 1075 long long cluster_size = -1; //size of cluster payload
local 1210 cluster_size = size;
1277 if (cluster_size >= 0)
1278 pos += cluster_size;
1302 if (cluster_size < 0)
1305 pos += cluster_size;
1336 if (cluster_size >= 0)
1338 pos += cluster_size;
3634 long long cluster_size = -1; local [all...] |
/external/chromium_org/third_party/libvpx/source/libvpx/third_party/libwebm/ |
mkvparser.cpp | 951 long long cluster_size = -1; // size of cluster payload local 1073 cluster_size = size; 1137 if (cluster_size >= 0) 1138 pos += cluster_size; 1160 if (cluster_size < 0) 1163 pos += cluster_size; 1190 if (cluster_size >= 0) { 1191 pos += cluster_size; 1211 if (cluster_size < 0) { //unknown size 1320 cluster_size = pos - payload_pos 3284 long long cluster_size = -1; local [all...] |
mkvmuxer.cpp | 2725 const uint64 cluster_size = last_cluster->payload_size(); local [all...] |
/external/libvpx/libvpx/third_party/libwebm/ |
mkvparser.cpp | 1105 long long cluster_size = -1; //size of cluster payload local 1240 cluster_size = size; 1307 if (cluster_size >= 0) 1308 pos += cluster_size; 1332 if (cluster_size < 0) 1335 pos += cluster_size; 1366 if (cluster_size >= 0) 1368 pos += cluster_size; 1388 if (cluster_size < 0) //unknown size 3652 long long cluster_size = -1; local [all...] |
mkvmuxer.cpp | 2885 const uint64 cluster_size = last_cluster->payload_size(); local [all...] |
/external/libvpx/libwebm/ |
mkvparser.cpp | 953 long long cluster_size = -1; // size of cluster payload local 1075 cluster_size = size; 1139 if (cluster_size >= 0) 1140 pos += cluster_size; 1162 if (cluster_size < 0) 1165 pos += cluster_size; 1192 if (cluster_size >= 0) { 1193 pos += cluster_size; 1213 if (cluster_size < 0) { //unknown size 1322 cluster_size = pos - payload_pos 3286 long long cluster_size = -1; local [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/libwebm/ |
mkvparser.cpp | 1105 long long cluster_size = -1; //size of cluster payload local 1240 cluster_size = size; 1307 if (cluster_size >= 0) 1308 pos += cluster_size; 1332 if (cluster_size < 0) 1335 pos += cluster_size; 1366 if (cluster_size >= 0) 1368 pos += cluster_size; 1388 if (cluster_size < 0) //unknown size 3652 long long cluster_size = -1; local [all...] |
mkvmuxer.cpp | 2885 const uint64 cluster_size = last_cluster->payload_size(); local [all...] |
/external/opencv/ml/src/ |
mlem.cpp | 548 int cluster_size = right - left; local 551 if( cluster_size <= 0 ) 558 CV_CALL( cvCalcCovarMatrix( vec, cluster_size, covs[i], 560 weights->data.db[i] = (double)cluster_size/(double)nsamples; [all...] |
/external/qemu/include/block/ |
block.h | 14 int cluster_size; member in struct:BlockDriverInfo
|
/external/qemu/qapi-auto-generated/ |
qapi-types.h | 2012 int64_t cluster_size; member in struct:ImageInfo [all...] |
qapi-visit.c | 752 visit_type_int(m, obj ? &(*obj)->cluster_size : NULL, "cluster-size", &err); [all...] |