Home
last modified time | relevance | path

Searched refs:roundup (Results 1 – 25 of 39) sorted by relevance

12

/external/ltp/testcases/kernel/mem/mmapstress/
Dmmapstress09.c77 #ifdef roundup
78 #undef roundup
80 #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) macro
219 mappages = roundup(mapsize, pagesize) / pagesize; in main()
Dmmapstress01.c94 #ifdef roundup
95 #undef roundup
97 #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) macro
507 mappages = roundup(mapsize, pagesize) / pagesize;
650 mappages = roundup(mapsize, pagesize) / pagesize;
Dmmapstress10.c105 #ifdef roundup
106 #undef roundup
108 #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) macro
583 mappages = roundup(mapsize_mapper, pagesize) / pagesize;
832 mappages = roundup(mapsize, pagesize) / pagesize;
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_simulator_validate.h45 #define roundup(x, y) align(x, y) macro
54 #define BITS_TO_LONGS(bits) (roundup(bits, BITMAP_WORDBITS) / \
/external/arm-optimized-routines/math/test/rtest/
Dsemi.c14 int roundup = (isfloor && sign) || (isceil && !sign); in test_rint() local
32 out[0] = sign | (roundup ? 0x3FF00000 : 0); in test_rint()
52 if (roundword && roundup) { in test_rint()
77 int roundup = (isfloor && sign) || (isceil && !sign); in test_rintf() local
94 *out = sign | (roundup ? 0x3F800000 : 0); in test_rintf()
111 if (roundword && roundup) { in test_rintf()
/external/llvm-project/libc/AOR_v20.02/math/test/rtest/
Dsemi.c15 int roundup = (isfloor && sign) || (isceil && !sign); in test_rint() local
33 out[0] = sign | (roundup ? 0x3FF00000 : 0); in test_rint()
53 if (roundword && roundup) { in test_rint()
78 int roundup = (isfloor && sign) || (isceil && !sign); in test_rintf() local
95 *out = sign | (roundup ? 0x3F800000 : 0); in test_rintf()
112 if (roundword && roundup) { in test_rintf()
/external/drrickorang/LoopbackApp/app/src/main/cpp/audio_utils/
Droundup.h25 unsigned roundup(unsigned v);
Droundup.c19 unsigned roundup(unsigned v) { in roundup() function
Dfifo.c34 fifo->mFrameCountP2 = roundup(frameCount); in audio_utils_fifo_init()
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
DPipe.java33 mMaxValues = Utilities.roundup(maxSamples); // round up to the nearest power of 2 in Pipe()
DUtilities.java43 public static int roundup(int size) in roundup() method in Utilities
/external/vboot_reference/futility/
Dvb1_helper.c90 static uint64_t roundup(uint64_t val, uint64_t alignment) in roundup() function
188 roundup(kernel32_size, CROS_ALIGN) + in PickApartVmlinuz()
645 g_bootloader_size = roundup(bootloader_size, CROS_ALIGN); in CreateKernelBlob()
648 roundup(g_kernel_size, CROS_ALIGN) + in CreateKernelBlob()
663 now += roundup(g_kernel_size, CROS_ALIGN); in CreateKernelBlob()
/external/mesa3d/src/gallium/drivers/vc4/kernel/
Dvc4_validate.c330 roundup(gl_shader_rec_size(exec->shader_state[i].addr), 16); in validate_gl_shader_state()
373 exec->tile_alloc_offset = roundup(tile_state_size, 4096); in validate_tile_binning_config()
391 tile_alloc_size = roundup(tile_alloc_size, 256); in validate_tile_binning_config()
779 BUG_ON(roundup(packet_size, 16) - packet_size > nr_relocs * 4); in validate_gl_shader_rec()
780 exec->shader_rec_v += roundup(packet_size, 16); in validate_gl_shader_rec()
Dvc4_gem.c40 uint32_t shader_rec_offset = roundup(bin_offset + args->bin_cl_size, in vc4_get_bcl()
/external/llvm-project/libclc/generic/lib/shared/
Dvstore.cl167 bool roundup = (grs > (1 << (shift - 1))) ||
169 return roundup ? __clc_rti(x) : __clc_rtz(x);
233 bool roundup = (grs > (1UL << (shift - 1UL))) ||
235 return roundup ? __clc_rti(x) : __clc_rtz(x);
/external/drrickorang/LoopbackApp/app/src/main/cpp/
DAndroid.bp19 "audio_utils/roundup.c",
DCMakeLists.txt28 audio_utils/roundup.c
/external/erofs-utils/lib/
Dcache.c82 const erofs_off_t alignedoffset = roundup(bb->buffers.off, alignsize); in __erofs_battach()
83 const int oob = cmpsgn(roundup(bb->buffers.off % EROFS_BLKSIZ, in __erofs_battach()
/external/fsverity-utils/common/
Dcommon_defs.h58 #define roundup(x, y) ({ \ macro
/external/openssh/
Ddefines.h492 #ifndef roundup
493 # define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) macro
/external/erofs-utils/include/erofs/
Ddefs.h100 #define roundup(x, y) ( \ macro
/external/erofs-utils/fuse/
Dmain.c50 stbuf->st_blocks = roundup(vi.i_size, EROFS_BLKSIZ) >> 9; in erofsfuse_getattr()
/external/fsverity-utils/lib/
Dcompute_digest.c58 const u32 padded_salt_size = roundup(salt_size, hash->alg->block_size); in compute_root_hash()
/external/openssh/regress/unittests/sshbuf/
Dtest_sshbuf.c202 sz = roundup(1223 + SSHBUF_SIZE_INC * 3, SSHBUF_SIZE_INC); in sshbuf_tests()
/external/python/cpython2/Modules/_ctypes/
Dlibffi.diff163 + * See roundup issue 10309

12