/external/grpc-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()
|
/external/linux-kselftest/tools/testing/selftests/bpf/ |
D | test_xdp_meta.c | 8 #define round_up(x, y) ((((x) - 1) | __round_mask(x, y)) + 1) macro 22 data_meta + round_up(ETH_ALEN, 4) > data) in ing_cls() 37 ret = bpf_xdp_adjust_meta(ctx, -round_up(ETH_ALEN, 4)); in ing_xdp() 46 data_meta + round_up(ETH_ALEN, 4) > data) in ing_xdp()
|
D | test_btf.c | 2683 rounded_value_size = round_up(sizeof(struct pprint_mapv), 8); in do_test_pprint()
|
/external/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()
|
/external/avb/examples/uefi/ |
D | uefi_avb_boot.c | 109 static size_t round_up(size_t value, size_t size) { in round_up() function 203 offset += round_up(header->kernel_size, header->page_size); in uefi_avb_boot_kernel() 205 offset += round_up(header->ramdisk_size, header->page_size); in uefi_avb_boot_kernel()
|
/external/libkmsxx/kms++/src/omap/ |
D | omapframebuffer.cpp | 21 #define round_up(x, y) ((((x)-1) | __round_mask(x, y))+1) macro 110 stride = round_up(width() * pi.bitspp / 8, PAGE_SIZE); in Create()
|
/external/mesa3d/src/gallium/drivers/vc4/ |
D | vc4_simulator_validate.h | 46 #define round_up(x, y) align(x, y) macro
|
/external/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()
|
/external/autotest/client/tests/fsx/ |
D | 0001-Minor-fixes-to-PAGE_SIZE-handling.patch | 39 static void *round_up(void *ptr, unsigned long align, unsigned long offset)
|
/external/python/cpython3/Objects/ |
D | floatobject.c | 1282 int half_eps, digit, round_up, negate=0; in float_fromhex() local 1466 round_up = 0; in float_fromhex() 1469 round_up = 1; in float_fromhex() 1473 round_up = 1; in float_fromhex() 1476 if (round_up) { in float_fromhex()
|
/external/python/cpython2/Objects/ |
D | floatobject.c | 1456 int half_eps, digit, round_up, sign=1; in float_fromhex() local 1648 round_up = 0; in float_fromhex() 1651 round_up = 1; in float_fromhex() 1655 round_up = 1; in float_fromhex() 1658 if (round_up == 1) { in float_fromhex()
|
D | intobject.c | 1008 int round_up; in int_float() local 1034 round_up = (abs_ival & lsb) && (abs_ival & (3*lsb-1)); in int_float() 1036 if (round_up) in int_float()
|
/external/u-boot/include/linux/ |
D | kernel.h | 55 #define round_up(x, y) ((((x)-1) | __round_mask(x, y))+1) macro
|
/external/tensorflow/tensorflow/core/kernels/ |
D | eigen_spatial_convolutions_test.cc | 1675 const auto round_up = [](const Index idx) { in PackLhsHelper() local 1690 Index row_offset = round_up(internal::random<Index>(0, max_row - 10)); in PackLhsHelper() 1691 Index col_offset = round_up(internal::random<Index>(0, max_col - 10)); in PackLhsHelper() 1697 Index packed_offset = round_up( in PackLhsHelper()
|
/external/u-boot/cmd/ |
D | nand.c | 683 endoff = round_up(endoff, mtd->erasesize); in do_nand()
|
/external/u-boot/drivers/mtd/nand/ |
D | mxs_nand.c | 183 geo->ecc_strength = round_up(ecc_strength, 2); in mxs_nand_calc_ecc_layout_by_info()
|