Home
last modified time | relevance | path

Searched refs:num_clusters (Results 1 – 21 of 21) sorted by relevance

/third_party/node/deps/brotli/c/enc/
Dcluster_inc.h75 size_t num_clusters,
87 for (idx1 = 0; idx1 < num_clusters; ++idx1) {
89 for (idx2 = idx1 + 1; idx2 < num_clusters; ++idx2) {
96 while (num_clusters > min_cluster_size) {
116 for (i = 0; i < num_clusters; ++i) {
119 (num_clusters - i - 1) * sizeof(clusters[0]));
123 --num_clusters;
148 for (i = 0; i < num_clusters; ++i) {
153 return num_clusters;
173 size_t in_size, const uint32_t* clusters, size_t num_clusters,
[all …]
Dblock_splitter_inc.h204 size_t num_clusters = 0; in FN() local
273 histogram_symbols[i + j] = (uint32_t)num_clusters + remap[symbols[j]]; in FN()
275 num_clusters += num_new_clusters; in FN()
276 BROTLI_DCHECK(num_clusters == cluster_size_size); in FN()
277 BROTLI_DCHECK(num_clusters == all_histograms_size); in FN()
282 BROTLI_MIN(size_t, 64 * num_clusters, (num_clusters / 2) * num_clusters); in FN()
289 clusters = BROTLI_ALLOC(m, uint32_t, num_clusters); in FN()
291 for (i = 0; i < num_clusters; ++i) { in FN()
296 num_clusters, num_blocks, BROTLI_MAX_NUMBER_OF_BLOCK_TYPES, in FN()
301 new_index = BROTLI_ALLOC(m, uint32_t, num_clusters); in FN()
[all …]
Dbrotli_bit_stream.c683 size_t num_clusters, in EncodeContextMap() argument
695 StoreVarLenUint8(num_clusters - 1, storage_ix, storage); in EncodeContextMap()
697 if (num_clusters == 1) { in EncodeContextMap()
717 BuildAndStoreHuffmanTree(histogram, num_clusters + max_run_length_prefix, in EncodeContextMap()
718 num_clusters + max_run_length_prefix, in EncodeContextMap()
/third_party/skia/third_party/externals/brotli/c/enc/
Dcluster_inc.h75 size_t num_clusters,
87 for (idx1 = 0; idx1 < num_clusters; ++idx1) {
89 for (idx2 = idx1 + 1; idx2 < num_clusters; ++idx2) {
96 while (num_clusters > min_cluster_size) {
116 for (i = 0; i < num_clusters; ++i) {
119 (num_clusters - i - 1) * sizeof(clusters[0]));
123 --num_clusters;
148 for (i = 0; i < num_clusters; ++i) {
153 return num_clusters;
173 size_t in_size, const uint32_t* clusters, size_t num_clusters,
[all …]
Dblock_splitter_inc.h204 size_t num_clusters = 0; in FN() local
273 histogram_symbols[i + j] = (uint32_t)num_clusters + remap[symbols[j]]; in FN()
275 num_clusters += num_new_clusters; in FN()
276 BROTLI_DCHECK(num_clusters == cluster_size_size); in FN()
277 BROTLI_DCHECK(num_clusters == all_histograms_size); in FN()
282 BROTLI_MIN(size_t, 64 * num_clusters, (num_clusters / 2) * num_clusters); in FN()
289 clusters = BROTLI_ALLOC(m, uint32_t, num_clusters); in FN()
291 for (i = 0; i < num_clusters; ++i) { in FN()
296 num_clusters, num_blocks, BROTLI_MAX_NUMBER_OF_BLOCK_TYPES, in FN()
301 new_index = BROTLI_ALLOC(m, uint32_t, num_clusters); in FN()
[all …]
Dbrotli_bit_stream.c683 size_t num_clusters, in EncodeContextMap() argument
695 StoreVarLenUint8(num_clusters - 1, storage_ix, storage); in EncodeContextMap()
697 if (num_clusters == 1) { in EncodeContextMap()
717 BuildAndStoreHuffmanTree(histogram, num_clusters + max_run_length_prefix, in EncodeContextMap()
718 num_clusters + max_run_length_prefix, in EncodeContextMap()
/third_party/flutter/skia/third_party/externals/harfbuzz/util/
Dhelper-cairo.cc491 l->num_clusters = l->num_glyphs ? 1 : 0; in helper_cairo_line_from_buffer()
494 l->num_clusters++; in helper_cairo_line_from_buffer()
495 l->clusters = cairo_text_cluster_allocate (l->num_clusters); in helper_cairo_line_from_buffer()
500 (l->num_clusters && !l->clusters)) in helper_cairo_line_from_buffer()
522 if (l->num_clusters) { in helper_cairo_line_from_buffer()
523 memset ((void *) l->clusters, 0, l->num_clusters * sizeof (l->clusters[0])); in helper_cairo_line_from_buffer()
Dview-cairo.cc120 } else if (l.num_clusters) in render()
124 l.clusters, l.num_clusters, in render()
Dhelper-cairo.hh60 unsigned int num_clusters; member
/third_party/skia/third_party/externals/harfbuzz/util/
Dhelper-cairo.hh592 unsigned int num_clusters; member
628 l->num_clusters = l->num_glyphs ? 1 : 0; in helper_cairo_line_from_buffer()
631 l->num_clusters++; in helper_cairo_line_from_buffer()
632 l->clusters = cairo_text_cluster_allocate (l->num_clusters); in helper_cairo_line_from_buffer()
637 (l->num_clusters && !l->clusters)) in helper_cairo_line_from_buffer()
659 if (l->num_clusters) { in helper_cairo_line_from_buffer()
660 memset ((void *) l->clusters, 0, l->num_clusters * sizeof (l->clusters[0])); in helper_cairo_line_from_buffer()
Dview-cairo.hh191 } else if (l.num_clusters) in render()
195 l.clusters, l.num_clusters, in render()
/third_party/harfbuzz/util/
Dhelper-cairo.cc598 l->num_clusters = l->num_glyphs ? 1 : 0; in helper_cairo_line_from_buffer()
601 l->num_clusters++; in helper_cairo_line_from_buffer()
602 l->clusters = cairo_text_cluster_allocate (l->num_clusters); in helper_cairo_line_from_buffer()
607 (l->num_clusters && !l->clusters)) in helper_cairo_line_from_buffer()
629 if (l->num_clusters) { in helper_cairo_line_from_buffer()
630 memset ((void *) l->clusters, 0, l->num_clusters * sizeof (l->clusters[0])); in helper_cairo_line_from_buffer()
Dview-cairo.cc127 } else if (l.num_clusters) in render()
131 l.clusters, l.num_clusters, in render()
Dhelper-cairo.hh60 unsigned int num_clusters; member
/third_party/ntfs-3g/libntfs-3g/
Drunlist.c959 VCN num_clusters; in ntfs_mapping_pairs_decompress_i() local
961 num_clusters = ((sle64_to_cpu(attr->allocated_size) + in ntfs_mapping_pairs_decompress_i()
965 if (num_clusters > vcn) { in ntfs_mapping_pairs_decompress_i()
973 (long long)num_clusters); in ntfs_mapping_pairs_decompress_i()
975 vcn += rl[rlpos].length = num_clusters - vcn; in ntfs_mapping_pairs_decompress_i()
978 } else if (vcn > num_clusters) { in ntfs_mapping_pairs_decompress_i()
986 (long long)num_clusters); in ntfs_mapping_pairs_decompress_i()
/third_party/skia/third_party/externals/libwebp/src/enc/
Dhistogram_enc.c1112 int num_clusters, in OptimizeHistogramSymbols() argument
1120 for (i = 0; i < num_clusters; ++i) { in OptimizeHistogramSymbols()
1143 assert(symbols[i] < num_clusters); in OptimizeHistogramSymbols()
1211 const uint32_t num_clusters = num_used; in VP8LGetHistoImageSymbols() local
1219 OptimizeHistogramSymbols(image_histo, cluster_mappings, num_clusters, in VP8LGetHistoImageSymbols()
/third_party/flutter/skia/third_party/externals/libwebp/src/enc/
Dhistogram_enc.c1111 int num_clusters, in OptimizeHistogramSymbols() argument
1119 for (i = 0; i < num_clusters; ++i) { in OptimizeHistogramSymbols()
1142 assert(symbols[i] < num_clusters); in OptimizeHistogramSymbols()
1208 const uint32_t num_clusters = num_used; in VP8LGetHistoImageSymbols() local
1216 OptimizeHistogramSymbols(image_histo, cluster_mappings, num_clusters, in VP8LGetHistoImageSymbols()
/third_party/exfatprogs/include/
Dlibexfat.h65 unsigned int num_clusters; member
/third_party/exfatprogs/lib/
Dlibexfat.c200 bd->num_clusters = blk_dev_size / ui->cluster_size; in exfat_get_blk_dev_info()
209 bd->num_clusters); in exfat_get_blk_dev_info()
/third_party/exfatprogs/mkfs/
Dmkfs.c454 if (bd->num_clusters > UINT32_MAX / 4) { in exfat_build_mkfs_info()
458 finfo.fat_byte_len = round_up((bd->num_clusters * 4), ui->cluster_size); in exfat_build_mkfs_info()
/third_party/exfatprogs/fsck/
Dfsck.c733 bd->num_clusters); in read_boot_region()