Home
last modified time | relevance | path

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

123

/third_party/skia/third_party/externals/brotli/c/enc/
Dcluster_inc.h15 const HistogramType* out, const uint32_t* cluster_size, uint32_t idx1,
32 p.cost_diff = 0.5 * ClusterCostDiff(cluster_size[idx1], cluster_size[idx2]);
71 uint32_t* cluster_size,
90 FN(BrotliCompareAndPushToQueue)(out, cluster_size, clusters[idx1],
110 cluster_size[best_idx1] += cluster_size[best_idx2];
149 FN(BrotliCompareAndPushToQueue)(out, cluster_size, best_idx1, clusters[i],
253 uint32_t* cluster_size = BROTLI_ALLOC(m, uint32_t, in_size);
262 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(cluster_size) ||
268 cluster_size[i] = 1;
286 FN(BrotliHistogramCombine)(out, cluster_size,
[all …]
Dblock_splitter_inc.h203 uint32_t* cluster_size = BROTLI_ALLOC(m, uint32_t, cluster_size_capacity); in FN() local
224 BROTLI_IS_NULL(cluster_size) || BROTLI_IS_NULL(histograms) || in FN()
264 BROTLI_ENSURE_CAPACITY(m, uint32_t, cluster_size, in FN()
269 cluster_size[cluster_size_size++] = sizes[new_clusters[j]]; in FN()
295 all_histograms, cluster_size, histogram_symbols, clusters, pairs, in FN()
299 BROTLI_FREE(m, cluster_size); in FN()
/third_party/node/deps/brotli/c/enc/
Dcluster_inc.h15 const HistogramType* out, const uint32_t* cluster_size, uint32_t idx1,
32 p.cost_diff = 0.5 * ClusterCostDiff(cluster_size[idx1], cluster_size[idx2]);
71 uint32_t* cluster_size,
90 FN(BrotliCompareAndPushToQueue)(out, cluster_size, clusters[idx1],
110 cluster_size[best_idx1] += cluster_size[best_idx2];
149 FN(BrotliCompareAndPushToQueue)(out, cluster_size, best_idx1, clusters[i],
253 uint32_t* cluster_size = BROTLI_ALLOC(m, uint32_t, in_size);
262 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(cluster_size) ||
268 cluster_size[i] = 1;
286 FN(BrotliHistogramCombine)(out, cluster_size,
[all …]
Dblock_splitter_inc.h203 uint32_t* cluster_size = BROTLI_ALLOC(m, uint32_t, cluster_size_capacity); in FN() local
224 BROTLI_IS_NULL(cluster_size) || BROTLI_IS_NULL(histograms) || in FN()
264 BROTLI_ENSURE_CAPACITY(m, uint32_t, cluster_size, in FN()
269 cluster_size[cluster_size_size++] = sizes[new_clusters[j]]; in FN()
295 all_histograms, cluster_size, histogram_symbols, clusters, pairs, in FN()
299 BROTLI_FREE(m, cluster_size); in FN()
/third_party/exfatprogs/mkfs/
Dmkfs.c69 for (i = ui->cluster_size / bd->sector_size; i > 1; i /= 2) in exfat_setup_boot_sector()
256 count = clu + round_up(length, ui->cluster_size) / ui->cluster_size; in write_fat_entries()
413 bitmap_clu_len = round_up(bitmap_byte_len, ui->cluster_size), in exfat_pack_bitmap()
417 bitmap_clu_cnt = bitmap_clu_len / ui->cluster_size; in exfat_pack_bitmap()
424 new_bitmap_clu_len = round_up(bitmap_byte_len, ui->cluster_size); in exfat_pack_bitmap()
442 if (ui->cluster_size < bd->sector_size) { in exfat_build_mkfs_info()
444 ui->cluster_size, bd->sector_size); in exfat_build_mkfs_info()
456 exfat_err("cluster size (%u bytes) is too small\n", ui->cluster_size); in exfat_build_mkfs_info()
459 finfo.fat_byte_len = round_up((bd->num_clusters * 4), ui->cluster_size); in exfat_build_mkfs_info()
466 total_clu_cnt = (bd->size - finfo.clu_byte_off) / ui->cluster_size; in exfat_build_mkfs_info()
[all …]
/third_party/ntfs-3g/libntfs-3g/
Dbootsect.c252 vol->cluster_size = sectors_per_cluster * vol->sector_size; in ntfs_boot_sector_parse()
253 if (vol->cluster_size & (vol->cluster_size - 1)) { in ntfs_boot_sector_parse()
255 vol->cluster_size); in ntfs_boot_sector_parse()
258 vol->cluster_size_bits = ffs(vol->cluster_size) - 1; in ntfs_boot_sector_parse()
265 ntfs_log_debug("ClusterSize = 0x%x\n", (unsigned)vol->cluster_size); in ntfs_boot_sector_parse()
304 if (vol->cluster_size <= 4 * vol->mft_record_size) in ntfs_boot_sector_parse()
307 vol->mftmirr_size = vol->cluster_size / vol->mft_record_size; in ntfs_boot_sector_parse()
/third_party/spirv-tools/source/val/
Dvalidate_non_uniform.cpp100 uint64_t cluster_size; in ValidateGroupNonUniformRotateKHR() local
101 if (!_.GetConstantValUint64(cluster_size_op_id, &cluster_size)) { in ValidateGroupNonUniformRotateKHR()
106 if ((cluster_size == 0) || ((cluster_size & (cluster_size - 1)) != 0)) { in ValidateGroupNonUniformRotateKHR()
/third_party/ntfs-3g/ntfsprogs/
Dmkntfs.c226 long cluster_size; /* -c, format with this cluster-size */ member
582 opts2->cluster_size = -1; in mkntfs_init_options()
651 &opts2->cluster_size)) in mkntfs_parse_options()
908 length = rl[i].length * g_vol->cluster_size; in ntfs_rlwrite()
927 if (dev->d_ops->seek(dev, rl[i].lcn * g_vol->cluster_size, in ntfs_rlwrite()
1514 if (highest_vcn * g_vol->cluster_size < val_len) { in insert_positioned_attr_in_mft_record()
1561 a->allocated_size = cpu_to_sle64(highest_vcn * g_vol->cluster_size); in insert_positioned_attr_in_mft_record()
1679 g_vol->cluster_size - 1) / g_vol->cluster_size); in insert_non_resident_attr_in_mft_record()
1756 a->allocated_size = cpu_to_sle64((val_len + (g_vol->cluster_size - 1)) & in insert_non_resident_attr_in_mft_record()
1757 ~(g_vol->cluster_size - 1)); in insert_non_resident_attr_in_mft_record()
[all …]
Dntfswipe.c495 buffer = malloc(vol->cluster_size); in wipe_unused()
500 memset(buffer, byte, vol->cluster_size); in wipe_unused()
511 result = ntfs_pwrite(vol->dev, vol->cluster_size * i, vol->cluster_size, buffer); in wipe_unused()
512 if (result != vol->cluster_size) { in wipe_unused()
518 total += vol->cluster_size; in wipe_unused()
560 big_buffer = (u8*)malloc(vol->cluster_size*64); in wipe_unused_fast()
576 unused += (blksize - result) * vol->cluster_size; in wipe_unused_fast()
585 if (ntfs_pread(vol->dev, vol->cluster_size * i, in wipe_unused_fast()
586 vol->cluster_size * blksize, big_buffer) in wipe_unused_fast()
587 != vol->cluster_size * blksize) { in wipe_unused_fast()
[all …]
Dntfscp.c517 bufpos = pos & ((alctx->vol->cluster_size << 3) - 1); in examine_buf()
716 br = vol->cluster_size; in find_best_runs()
719 && (br == vol->cluster_size) in find_best_runs()
722 (pos >> 3) & -vol->cluster_size, in find_best_runs()
723 vol->cluster_size, alctx->buf); in find_best_runs()
726 pos = (pos | ((vol->cluster_size << 3) - 1)) + 1; in find_best_runs()
731 br = vol->cluster_size; in find_best_runs()
734 && (br == vol->cluster_size) in find_best_runs()
737 (pos >> 3) & -vol->cluster_size, in find_best_runs()
738 vol->cluster_size, alctx->buf); in find_best_runs()
[all …]
Dntfsclone.c254 le32 cluster_size; member
649 s64 s = (s64)16384 - rl->vcn * vol->cluster_size;
651 s = rounded_up_division(s, vol->cluster_size);
762 s32 csize = le32_to_cpu(image_hdr.cluster_size);
771 csize = vol->cluster_size;
883 pos = (off_t)(lcn * vol->cluster_size);
943 u32 csize = vol->cluster_size;
1022 s32 csize = le32_to_cpu(image_hdr.cluster_size);
1360 vcn = offset / image->ni->vol->cluster_size;
1522 csize = image->ni->vol->cluster_size;
[all …]
Dntfsmove.c560 buffer = malloc(vol->cluster_size); in data_copy()
568 res = ntfs_pread(vol->dev, (from->lcn+i) * vol->cluster_size, in data_copy()
569 vol->cluster_size, buffer); in data_copy()
570 if (res != vol->cluster_size) { in data_copy()
577 res = ntfs_pwrite(vol->dev, (to->lcn+i) * vol->cluster_size, in data_copy()
578 vol->cluster_size, buffer); in data_copy()
579 if (res != vol->cluster_size) { in data_copy()
Dntfsfallocate.c502 buf = (char*)malloc(vol->cluster_size); in ntfs_inner_zero()
504 memset(buf, 0, vol->cluster_size); in ntfs_inner_zero()
514 vol->cluster_size, buf); in ntfs_inner_zero()
515 if (zeroed != vol->cluster_size) { in ntfs_inner_zero()
522 pos += vol->cluster_size; in ntfs_inner_zero()
608 end_vcn = (alloc_offs + alloc_len + vol->cluster_size - 1) in ntfs_inner_allocation()
Dntfsresize.c621 old_b = vol->nr_clusters * vol->cluster_size; in print_advise()
635 new_b = supp_lcn * vol->cluster_size; in print_advise()
637 freed_b = (vol->nr_clusters - supp_lcn + 1) * vol->cluster_size; in print_advise()
1886 pos = (off_t)(lcn * vol->cluster_size); in lseek_to_cluster()
1898 buff = (char*)ntfs_malloc(vol->cluster_size); in copy_clusters()
1906 if (read_all(vol->dev, buff, vol->cluster_size) == -1) { in copy_clusters()
1915 if (write_all(vol->dev, buff, vol->cluster_size) == -1) { in copy_clusters()
2343 runs_b = llcn.lcn * vol->cluster_size; in print_hint()
2519 nr_bm_clusters = rounded_up_division(bm_bsize, vol->cluster_size); in truncate_bitmap_data_attr()
2540 a->allocated_size = cpu_to_sle64(nr_bm_clusters * vol->cluster_size); in truncate_bitmap_data_attr()
[all …]
Dntfsck.c374 mft_bitmap_length = vcn * rawvol->cluster_size; in mft_bitmap_load()
375 mft_bitmap_records = 8 * mft_bitmap_length * rawvol->cluster_size / in mft_bitmap_load()
731 mft_offset = rawvol->mft_lcn * rawvol->cluster_size; in verify_mft_preliminary()
732 mftmirr_offset = rawvol->mftmirr_lcn * rawvol->cluster_size; in verify_mft_preliminary()
Dntfsfix.c896 && (sle64_to_cpu(a->data_size) < vol->cluster_size) in attrlist_selfloc_condition()
899 vol->cluster_size, attrlist) == vol->cluster_size)) { in attrlist_selfloc_condition()
1126 if (ntfs_pwrite(vol->dev, offs, vol->cluster_size, in fix_selfloc_conditions()
1127 selfloc->attrlist) != vol->cluster_size) in fix_selfloc_conditions()
1192 selfloc.attrlist = (ATTR_LIST_ENTRY*)malloc(vol->cluster_size); in fix_self_located_mft()
/third_party/f2fs-tools/fsck/
Dcompress.c46 memset(cc->rbuf, 0, cc->cluster_size * F2FS_BLKSIZE); in reset_cc()
47 memset(cc->cbuf->cdata, 0, cc->cluster_size * F2FS_BLKSIZE in reset_cc()
55 size_t size = cc->cluster_size * F2FS_BLKSIZE; in lzo_compress_init()
76 size_t size = cc->cluster_size * F2FS_BLKSIZE; in lz4_compress_init()
Dmain.c753 c.compress.cc.cluster_size = 1 in f2fs_parse_options()
758 c.compress.cc.cluster_size) { in f2fs_parse_options()
763 c.compress.cc.cluster_size - 1); in f2fs_parse_options()
1038 c.compress.cc.rlen = c.compress.cc.cluster_size * F2FS_BLKSIZE; in init_compr()
/third_party/mesa3d/src/amd/compiler/
Daco_reduce_assign.cpp125 unsigned cluster_size = instr->reduction().cluster_size; in setup_reduce_temp() local
133 if (program->gfx_level >= GFX10 && cluster_size == 64) in setup_reduce_temp()
140 need_vtmp |= cluster_size == 32; in setup_reduce_temp()
/third_party/spirv-tools/test/val/
Dval_extension_spv_khr_subgroup_rotate_test.cpp35 std::string cluster_size; member
49 out << c.cluster_size + " "; in operator <<()
118 ss << " " + c.cluster_size; in AssemblyForCase()
/third_party/exfatprogs/lib/
Dlibexfat.c124 ui->cluster_size = 4 * KB; in exfat_set_default_cluster_size()
126 ui->cluster_size = 32 * KB; in exfat_set_default_cluster_size()
128 ui->cluster_size = 128 * KB; in exfat_set_default_cluster_size()
183 if (!ui->cluster_size) in exfat_get_blk_dev_info()
193 bd->num_clusters = blk_dev_size / ui->cluster_size; in exfat_get_blk_dev_info()
354 unsigned int cluster_size, sector_size; in exfat_get_root_entry_offset() local
377 cluster_size = (1 << bs->bsx.sect_per_clus_bits) * sector_size; in exfat_get_root_entry_offset()
380 cluster_size; in exfat_get_root_entry_offset()
692 (clu - EXFAT_RESERVED_CLUSTERS) * bd->cluster_size; in exfat_clus_to_blk_dev_off()
/third_party/mesa3d/src/intel/compiler/
Dbrw_fs_builder.h507 unsigned cluster_size, brw_conditional_mod mod) const in emit_scan() argument
519 ubld.emit_scan(opcode, left, cluster_size, mod); in emit_scan()
520 ubld.emit_scan(opcode, right, cluster_size, mod); in emit_scan()
521 if (cluster_size > half_width) { in emit_scan()
528 if (cluster_size > 1) { in emit_scan()
533 if (cluster_size > 2) { in emit_scan()
553 i < MIN2(cluster_size, dispatch_width()); in emit_scan()
/third_party/exfatprogs/dump/
Ddump.c137 bd->cluster_size = in exfat_show_ondisk_all_info()
201 exfat_info("Cluster size: \t\t\t\t%u\n", bd->cluster_size); in exfat_show_ondisk_all_info()
/third_party/exfatprogs/include/
Dlibexfat.h73 unsigned int cluster_size; member
79 unsigned int cluster_size; member
/third_party/mesa3d/src/compiler/spirv/
Dvtn_subgroup.c470 unsigned cluster_size = 0; in vtn_handle_subgroup() local
484 cluster_size = vtn_constant_uint(b, w[6]); in vtn_handle_subgroup()
492 reduction_op, cluster_size)); in vtn_handle_subgroup()

123