Home
last modified time | relevance | path

Searched refs:round_up (Results 1 - 17 of 17) sorted by relevance

/third_party/skia/third_party/externals/abseil-cpp/absl/base/internal/
H A 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/exfatprogs/mkfs/
H A 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(finf in exfat_build_mkfs_info()
[all...]
/third_party/mesa3d/src/gallium/drivers/vc4/kernel/
H A 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_widt in reloc_tex()
[all...]
/third_party/ffmpeg/libavcodec/
H A Dput_bits.h96 * @param round_up When set, the number of bits written so far will be
100 static inline int put_bytes_count(const PutBitContext *s, int round_up) in put_bytes_count() argument
102 return s->buf_ptr - s->buf + ((BUF_BITS - s->bit_left + (round_up ? 7 : 0)) >> 3); in put_bytes_count()
131 * @param round_up When set, the number of bits written will be
135 static inline int put_bytes_left(const PutBitContext *s, int round_up) in put_bytes_left() argument
137 return s->buf_end - s->buf_ptr - ((BUF_BITS - s->bit_left + (round_up ? 7 : 0)) >> 3); in put_bytes_left()
/third_party/mesa3d/src/gallium/drivers/vc4/
H A Dvc4_simulator_validate.h46 #define round_up(x, y) align(x, y) macro
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/str_format/
H A Dfloat_conversion.cc633 bool round_up = false; in FormatFNegativeExpSlow()
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/libdrm/omap/
H A 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/exfatprogs/include/
H A Dlibexfat.h20 #define round_up(x, y) ((((x)-1) | __round_mask(x, y))+1) macro
/third_party/python/Objects/
H A Dfloatobject.c1317 int half_eps, digit, round_up, negate=0; in float_fromhex() local
1501 round_up = 0; in float_fromhex()
1504 round_up = 1; in float_fromhex()
1508 round_up = 1; in float_fromhex()
1511 if (round_up) { in float_fromhex()
/third_party/f2fs-tools/include/
H A Df2fs_fs.h668 #define round_up(x, y) (((x) + (y) - 1) / (y)) macro
1639 round_up(usable_main_segs, get_sb(section_count)); in get_best_overprovision()
/third_party/astc-encoder/Source/UnitTest/
H A Dtest_simd.cpp40 static unsigned int round_up(unsigned 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/mesa3d/src/compiler/nir/
H A 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/f2fs-tools/fsck/
H A Dfsck.c3238 data_secs = round_up(sbi->total_valid_node_count, BLKS_PER_SEC(sbi)); in fsck_verify()
3239 node_secs = round_up(sbi->total_valid_block_count - in fsck_verify()
/third_party/mesa3d/src/amd/vulkan/
H A 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/
H A Df2fs_format.c490 round_up(f2fs_get_usable_segments(sb), get_sb(section_count)); in f2fs_prepare_super_block()
/third_party/astc-encoder/Source/
H A 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()
44012 DynIOBuffer::round_up(uint64_t min_incl, uint64_t max_incl) { round_up() function in DynIOBuffer
[all...]
/third_party/skia/third_party/externals/wuffs/release/c/
H A 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()
[all...]

Completed in 121 milliseconds