/third_party/grpc/src/core/lib/transport/ |
D | timeout_encoding.cc | 28 static int64_t round_up(int64_t x, int64_t divisor) { in round_up() function 35 if (x < 10000) return round_up(x, 10); in round_up_to_three_sig_figs() 36 if (x < 100000) return round_up(x, 100); in round_up_to_three_sig_figs() 37 if (x < 1000000) return round_up(x, 1000); in round_up_to_three_sig_figs() 38 if (x < 10000000) return round_up(x, 10000); in round_up_to_three_sig_figs() 39 if (x < 100000000) return round_up(x, 100000); in round_up_to_three_sig_figs() 40 if (x < 1000000000) return round_up(x, 1000000); in round_up_to_three_sig_figs() 41 return round_up(x, 10000000); in round_up_to_three_sig_figs()
|
/third_party/exfatprogs/mkfs/ |
D | mkfs.c | 256 count = clu + round_up(length, ui->cluster_size) / ui->cluster_size; in write_fat_entries() 412 bitmap_clu_len = round_up(bitmap_byte_len, ui->cluster_size), in exfat_pack_bitmap() 422 bitmap_byte_len = round_up(total_clu_cnt, 8) / 8; in exfat_pack_bitmap() 423 new_bitmap_clu_len = round_up(bitmap_byte_len, ui->cluster_size); in exfat_pack_bitmap() 451 finfo.fat_byte_off = round_up(bd->offset + 24 * bd->sector_size, in exfat_build_mkfs_info() 458 finfo.fat_byte_len = round_up((bd->num_clusters * 4), ui->cluster_size); in exfat_build_mkfs_info() 459 finfo.clu_byte_off = round_up(bd->offset + finfo.fat_byte_off + in exfat_build_mkfs_info() 473 finfo.bitmap_byte_len = round_up(finfo.total_clu_cnt, 8) / 8; in exfat_build_mkfs_info() 476 clu_len = round_up(finfo.bitmap_byte_len, ui->cluster_size); in exfat_build_mkfs_info() 481 clu_len = round_up(finfo.ut_byte_len, ui->cluster_size); in exfat_build_mkfs_info()
|
/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/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/boost/libs/chrono/example/ |
D | xtime.cpp | 40 round_up(duration<Rep, Period> d) in round_up() function 73 xt.usec = static_cast<unsigned long>(round_up<microseconds>(d - seconds(xt.sec)).count()); in to_xtime_round_up()
|
D | time2_demo.cpp | 1249 round_up(duration<Rep, Period> d) in round_up() function 1283 xt.usec = static_cast<unsigned long>(round_up<microseconds>(d - seconds(xt.sec)).count()); in to_xtime_round_up()
|
/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 215 bo->size = round_up(size.tiled.width, PAGE_SIZE) * size.tiled.height; in omap_bo_new_impl()
|
/third_party/abseil-cpp/absl/strings/internal/str_format/ |
D | float_conversion.cc | 614 bool round_up = false; in FormatFNegativeExpSlow() local 617 round_up = true; in FormatFNegativeExpSlow() 621 round_up = true; in FormatFNegativeExpSlow() 624 round_up = in FormatFNegativeExpSlow() 629 if (round_up) { in FormatFNegativeExpSlow()
|
/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/exfatprogs/include/ |
D | libexfat.h | 18 #define round_up(x, y) ((((x)-1) | __round_mask(x, y))+1) macro
|
/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/pixman/pixman/ |
D | rounding.txt | 25 round_up(x) = ceil(x - o) + o
|
/third_party/f2fs-tools/include/ |
D | f2fs_fs.h | 542 #define round_up(x, y) (((x) + (y) - 1) / (y)) macro 1403 round_up(usable_main_segs, get_sb(section_count)); in get_best_overprovision()
|
/third_party/boost/boost/multiprecision/ |
D | mpfr.hpp | 294 bool round_up = false; in str() local 299 round_up = true; in str() 304 if (round_up) in str() 588 bool round_up = false; in str() local 593 round_up = true; in str() 597 if (round_up) in str()
|
D | gmp.hpp | 324 bool round_up = false; in str() local 329 round_up = true; in str() 334 if (round_up) in str()
|
/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 | 1031 get_size_class(unsigned size, bool round_up) in get_size_class() argument 1033 size = round_up ? util_logbase2_ceil(size) : util_logbase2(size); in get_size_class()
|
/third_party/f2fs-tools/mkfs/ |
D | f2fs_format.c | 445 round_up(f2fs_get_usable_segments(sb), get_sb(section_count)); in f2fs_prepare_super_block()
|
/third_party/boost/libs/chrono/doc/ |
D | chrono.qbk | 799 round_up(boost::chrono::__duration<Rep, Period> d) 809 ms d = round_up<ms>(end - start); 1706 Example round_up utility: converts d to To, rounding up for inexact conversions 1716 round_up(boost::chrono::duration<Rep, Period> d) 1749 …xt.usec = static_cast<unsigned long>(round_up<boost::chrono::__microseconds>(d - boost::chrono::__…
|
/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()
|