/third_party/exfatprogs/mkfs/ |
D | mkfs.c | 256 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/ |
D | low_level_alloc.cc | 215 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/ |
D | vc4_validate.c | 172 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/ |
D | vc4_simulator_validate.h | 46 #define round_up(x, y) align(x, y) macro
|
/third_party/libdrm/omap/ |
D | omap_drm.c | 46 #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/ |
D | float_conversion.cc | 633 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/ |
D | floatobject.c | 1281 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/ |
D | libexfat.h | 20 #define round_up(x, y) ((((x)-1) | __round_mask(x, y))+1) macro
|
/third_party/astc-encoder/Source/UnitTest/ |
D | test_simd.cpp | 40 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/ |
D | f2fs_fs.h | 664 #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/ |
D | nir_lower_int64.c | 735 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/ |
D | radv_shader.c | 1360 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/ |
D | f2fs_format.c | 489 round_up(f2fs_get_usable_segments(sb), get_sb(section_count)); in f2fs_prepare_super_block()
|
/third_party/astc-encoder/Source/ |
D | wuffs-v0.3.c | 10388 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/ |
D | wuffs-v0.3.c | 12741 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()
|