Home
last modified time | relevance | path

Searched refs:round_up (Results 1 – 15 of 15) sorted by relevance

/third_party/exfatprogs/mkfs/
Dmkfs.c256 count = clu + round_up(length, ui->cluster_size) / ui->cluster_size; in write_fat_entries()
317 bitmap = calloc(round_up(finfo.bitmap_byte_len, sizeof(bitmap_t)), in exfat_create_bitmap()
413 bitmap_clu_len = round_up(bitmap_byte_len, ui->cluster_size), in exfat_pack_bitmap()
423 bitmap_byte_len = round_up(total_clu_cnt, 8) / 8; in exfat_pack_bitmap()
424 new_bitmap_clu_len = round_up(bitmap_byte_len, ui->cluster_size); in exfat_pack_bitmap()
452 finfo.fat_byte_off = round_up(bd->offset + 24 * bd->sector_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()
460 finfo.clu_byte_off = round_up(bd->offset + finfo.fat_byte_off + in exfat_build_mkfs_info()
474 finfo.bitmap_byte_len = round_up(finfo.total_clu_cnt, 8) / 8; in exfat_build_mkfs_info()
477 clu_len = round_up(finfo.bitmap_byte_len, ui->cluster_size); in exfat_build_mkfs_info()
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/base/internal/
Dlow_level_alloc.cc215 const size_t round_up; member
341 size_t round_up = 16; in RoundedUpBlockSize() local
342 while (round_up < sizeof(AllocList::Header)) { in RoundedUpBlockSize()
343 round_up += round_up; in RoundedUpBlockSize()
345 return round_up; in RoundedUpBlockSize()
355 round_up(RoundedUpBlockSize()), in Arena()
356 min_size(2 * round_up), in Arena()
531 arena->round_up); in DoAllocWithArena()
/third_party/mesa3d/src/gallium/drivers/vc4/kernel/
Dvc4_validate.c172 aligned_width = round_up(width, utile_w); in vc4_check_tex_size()
176 aligned_width = round_up(width, utile_w * 8); in vc4_check_tex_size()
177 aligned_height = round_up(height, utile_h * 8); in vc4_check_tex_size()
180 aligned_width = round_up(width, utile_w); in vc4_check_tex_size()
181 aligned_height = round_up(height, utile_h); in vc4_check_tex_size()
693 aligned_width = round_up(level_width, utile_w * 8); in reloc_tex()
694 aligned_height = round_up(level_height, utile_h * 8); in reloc_tex()
697 aligned_width = round_up(level_width, utile_w); in reloc_tex()
698 aligned_height = round_up(level_height, utile_h); in reloc_tex()
701 aligned_width = round_up(level_width, utile_w); in reloc_tex()
/third_party/mesa3d/src/gallium/drivers/vc4/
Dvc4_simulator_validate.h46 #define round_up(x, y) align(x, y) macro
/third_party/libdrm/omap/
Domap_drm.c46 #define round_up(x, y) ((((x)-1) | __round_mask(x, y))+1) macro
212 bo->size = round_up(size.tiled.width, PAGE_SIZE) * size.tiled.height; in omap_bo_new_impl()
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/str_format/
Dfloat_conversion.cc633 bool round_up = false; in FormatFNegativeExpSlow() local
636 round_up = true; in FormatFNegativeExpSlow()
640 round_up = true; in FormatFNegativeExpSlow()
643 round_up = in FormatFNegativeExpSlow()
648 if (round_up) { in FormatFNegativeExpSlow()
/third_party/python/Objects/
Dfloatobject.c1281 int half_eps, digit, round_up, negate=0; in float_fromhex() local
1465 round_up = 0; in float_fromhex()
1468 round_up = 1; in float_fromhex()
1472 round_up = 1; in float_fromhex()
1475 if (round_up) { in float_fromhex()
/third_party/exfatprogs/include/
Dlibexfat.h20 #define round_up(x, y) ((((x)-1) | __round_mask(x, y))+1) macro
/third_party/astc-encoder/Source/UnitTest/
Dtest_simd.cpp40 static int round_up(int x) in round_up() function
75 EXPECT_EQ(round_up_to_simd_multiple_vla(3), round_up(3)); in TEST()
76 EXPECT_EQ(round_up_to_simd_multiple_vla(5), round_up(5)); in TEST()
77 EXPECT_EQ(round_up_to_simd_multiple_vla(7), round_up(7)); in TEST()
78 EXPECT_EQ(round_up_to_simd_multiple_vla(231), round_up(231)); in TEST()
/third_party/f2fs-tools/include/
Df2fs_fs.h664 #define round_up(x, y) (((x) + (y) - 1) / (y)) macro
1590 round_up(usable_main_segs, get_sb(section_count)); in get_best_overprovision()
/third_party/mesa3d/src/compiler/nir/
Dnir_lower_int64.c735 nir_ssa_def *round_up = nir_ior(b, COND_LOWER_CMP(b, ilt, half, rem), in lower_2f() local
737 significand = nir_iadd(b, significand, nir_b2i32(b, round_up)); in lower_2f()
/third_party/mesa3d/src/amd/vulkan/
Dradv_shader.c1360 get_size_class(unsigned size, bool round_up) in get_size_class() argument
1362 size = round_up ? util_logbase2_ceil(size) : util_logbase2(size); in get_size_class()
/third_party/f2fs-tools/mkfs/
Df2fs_format.c489 round_up(f2fs_get_usable_segments(sb), get_sb(section_count)); in f2fs_prepare_super_block()
/third_party/astc-encoder/Source/
Dwuffs-v0.3.c10388 static uint64_t round_up(uint64_t min_incl, uint64_t max_incl);
13637 bool round_up = false; in wuffs_base__private_implementation__high_prec_dec__rounded_integer() local
13639 round_up = h->digits[dp] >= 5; in wuffs_base__private_implementation__high_prec_dec__rounded_integer()
13643 round_up = h->truncated || // in wuffs_base__private_implementation__high_prec_dec__rounded_integer()
13647 if (round_up) { in wuffs_base__private_implementation__high_prec_dec__rounded_integer()
43975 uint64_t n = round_up(min_incl, m_max_incl); in grow()
44002 DynIOBuffer::round_up(uint64_t min_incl, uint64_t max_incl) { in round_up() function
/third_party/skia/third_party/externals/wuffs/release/c/
Dwuffs-v0.3.c12741 bool round_up = false; in wuffs_base__private_implementation__high_prec_dec__rounded_integer() local
12743 round_up = h->digits[dp] >= 5; in wuffs_base__private_implementation__high_prec_dec__rounded_integer()
12747 round_up = h->truncated || // in wuffs_base__private_implementation__high_prec_dec__rounded_integer()
12751 if (round_up) { in wuffs_base__private_implementation__high_prec_dec__rounded_integer()