Home
last modified time | relevance | path

Searched refs:ROUND_UP (Results 51 – 75 of 2194) sorted by relevance

12345678910>>...88

/dports/games/retroarch/RetroArch-1.9.7/gfx/include/userland/interface/mmal/core/
H A Dmmal_buffer.c33 #define ROUND_UP(s,align) ((((unsigned long)(s)) & ~((align)-1)) + (align)) macro
116 header_size = ROUND_UP(sizeof(*header), ALIGN); in mmal_buffer_header_size()
117 header_size += ROUND_UP(sizeof(*header->type), ALIGN); in mmal_buffer_header_size()
118 header_size += ROUND_UP(DEFAULT_COMMAND_SIZE, ALIGN); in mmal_buffer_header_size()
119 header_size += ROUND_UP(sizeof(*header->priv), ALIGN); in mmal_buffer_header_size()
H A Dmmal_pool.c52 #define ROUND_UP(s,align) ((((unsigned long)(s)) & ~((align)-1)) + (align)) macro
77 …header = (MMAL_BUFFER_HEADER_T *)((uint8_t *)pool->header + ROUND_UP(sizeof(void *)*headers,ALIGN)… in mmal_pool_initialise_buffer_headers()
145 pool_size = ROUND_UP(sizeof(MMAL_POOL_PRIVATE_T),ALIGN); in mmal_pool_create_with_allocator()
146 headers_array_size = ROUND_UP(sizeof(void *)*headers,ALIGN); in mmal_pool_create_with_allocator()
147 header_size = ROUND_UP(mmal_buffer_header_size(0),ALIGN); in mmal_pool_create_with_allocator()
248 vcos_calloc(private->header_size * headers + ROUND_UP(sizeof(void *)*headers,ALIGN), in mmal_pool_resize()
296 … (MMAL_BUFFER_HEADER_T*)((uint8_t*)pool->header + ROUND_UP(sizeof(void*)*pool->headers_num,ALIGN)); in mmal_pool_pre_release_callback_set()
/dports/devel/ispc/ispc-1.16.1/tests/
H A Dconst-fold-4.ispc3 #define ROUND_UP(x, p) ((x + (p-1)) & ~(p-1))
7 uniform float x[ROUND_UP(N(3), 16)];
9 for (i = 0; i < ROUND_UP(N(3), 16); ++i)
H A Dcfor-const-fold-4.ispc3 #define ROUND_UP(x, p) ((x + (p-1)) & ~(p-1))
7 uniform float x[ROUND_UP(N(3), 16)];
10 cfor (i = 0; i < ROUND_UP(N(3), 16); ++i)
/dports/misc/mnn/MNN-1.2.0/source/backend/opencl/execution/image/
H A DRasterExecution.cpp135 unit.globalWorkSize = {ROUND_UP(gws[0], std::max((uint32_t)1, lws[0])), in onResize()
136 ROUND_UP(gws[1], std::max((uint32_t)1, lws[1])), in onResize()
203 unit.globalWorkSize = {ROUND_UP(gws[0], std::max((uint32_t)1, lws[0])), in onResize()
204 ROUND_UP(gws[1], std::max((uint32_t)1, lws[1]))}; in onResize()
248 unit.globalWorkSize = {ROUND_UP(gws[0], std::max((uint32_t)1, lws[0])), in onResize()
249 ROUND_UP(gws[1], std::max((uint32_t)1, lws[1]))}; in onResize()
292 unit.globalWorkSize = {ROUND_UP(gws[0], std::max((uint32_t)1, lws[0])), in onResize()
293 ROUND_UP(gws[1], std::max((uint32_t)1, lws[1])), in onResize()
294 ROUND_UP(gws[2], std::max((uint32_t)1, lws[2]))}; in onResize()
335 unit.globalWorkSize = {ROUND_UP(gws[0], std::max((uint32_t)1, lws[0])), in onResize()
[all …]
/dports/multimedia/mjpg-streamer/mjpg-streamer-310b29f4a94c46652b20c4b7b6e5cf24e532af39/mjpg-streamer-experimental/plugins/input_raspicam/mmal/core/
H A Dmmal_pool.c52 #define ROUND_UP(s,align) ((((unsigned long)(s)) & ~((align)-1)) + (align)) macro
77 …header = (MMAL_BUFFER_HEADER_T *)((uint8_t *)pool->header + ROUND_UP(sizeof(void *)*headers,ALIGN)… in mmal_pool_initialise_buffer_headers()
145 pool_size = ROUND_UP(sizeof(MMAL_POOL_PRIVATE_T),ALIGN); in mmal_pool_create_with_allocator()
146 headers_array_size = ROUND_UP(sizeof(void *)*headers,ALIGN); in mmal_pool_create_with_allocator()
147 header_size = ROUND_UP(mmal_buffer_header_size(0),ALIGN); in mmal_pool_create_with_allocator()
248 vcos_calloc(private->header_size * headers + ROUND_UP(sizeof(void *)*headers,ALIGN), in mmal_pool_resize()
296 … (MMAL_BUFFER_HEADER_T*)((uint8_t*)pool->header + ROUND_UP(sizeof(void*)*pool->headers_num,ALIGN)); in mmal_pool_pre_release_callback_set()
/dports/sysutils/exfat-utils/exfat-1.3.0/mkfs/
H A Dmkexfat.c37 position = ROUND_UP(position, (*pp)->get_alignment()); in check_size()
93 position = ROUND_UP(position, (*pp)->get_alignment()); in erase()
114 position = ROUND_UP(position, (*pp)->get_alignment()); in create()
156 position = ROUND_UP(position, (*pp)->get_alignment()); in get_position()
/dports/sysutils/fusefs-exfat/exfat-1.3.0/mkfs/
H A Dmkexfat.c37 position = ROUND_UP(position, (*pp)->get_alignment()); in check_size()
93 position = ROUND_UP(position, (*pp)->get_alignment()); in erase()
114 position = ROUND_UP(position, (*pp)->get_alignment()); in create()
156 position = ROUND_UP(position, (*pp)->get_alignment()); in get_position()
/dports/devel/zpu-gcc/zpu-toolchain-1.0/toolchain/gcc/libjava/java/math/
H A DBigDecimal.java54 public final static int ROUND_UP = 0; field in BigDecimal
299 roundingMode = (sign > 0) ? ROUND_UP : ROUND_DOWN; in divide()
301 roundingMode = (sign < 0) ? ROUND_UP : ROUND_DOWN; in divide()
315 roundingMode = (half < 0) ? ROUND_DOWN : ROUND_UP; in divide()
318 roundingMode = (half > 0) ? ROUND_UP : ROUND_DOWN; in divide()
324 roundingMode = ROUND_UP; in divide()
326 roundingMode = ROUND_UP; in divide()
333 if (roundingMode == ROUND_UP) in divide()
/dports/devel/zpu-binutils/zpu-toolchain-1.0/toolchain/gcc/libjava/java/math/
H A DBigDecimal.java54 public final static int ROUND_UP = 0; field in BigDecimal
299 roundingMode = (sign > 0) ? ROUND_UP : ROUND_DOWN; in divide()
301 roundingMode = (sign < 0) ? ROUND_UP : ROUND_DOWN; in divide()
315 roundingMode = (half < 0) ? ROUND_DOWN : ROUND_UP; in divide()
318 roundingMode = (half > 0) ? ROUND_UP : ROUND_DOWN; in divide()
324 roundingMode = ROUND_UP; in divide()
326 roundingMode = ROUND_UP; in divide()
333 if (roundingMode == ROUND_UP) in divide()
/dports/java/sablevm-classpath/sablevm-classpath-1.13/java/math/
H A DBigDecimal.java67 public static final int ROUND_UP = 0; field in BigDecimal
311 roundingMode = (sign > 0) ? ROUND_UP : ROUND_DOWN; in divide()
313 roundingMode = (sign < 0) ? ROUND_UP : ROUND_DOWN; in divide()
327 roundingMode = (half < 0) ? ROUND_DOWN : ROUND_UP; in divide()
330 roundingMode = (half > 0) ? ROUND_UP : ROUND_DOWN; in divide()
336 roundingMode = ROUND_UP; in divide()
338 roundingMode = ROUND_UP; in divide()
345 if (roundingMode == ROUND_UP) in divide()
/dports/lang/ghc/ghc-8.10.7/rts/linker/
H A DM32Alloc.c138 #define ROUND_UP(x,size) ((x + size - 1) & ~(size - 1)) macro
394 return size >= getPageSize() - ROUND_UP(sizeof(struct m32_page_t), alignment); in m32_is_large_object()
410 size_t alsize = ROUND_UP(sizeof(struct m32_page_t), alignment); in m32_alloc()
437 size_t alsize = ROUND_UP(alloc->pages[i]->current_size, alignment); in m32_alloc()
467 size+ROUND_UP(sizeof(struct m32_page_t),alignment); in m32_alloc()
468 return (char*)page + ROUND_UP(sizeof(struct m32_page_t),alignment); in m32_alloc()
/dports/emulators/qemu/qemu-6.2.0/contrib/elf2dmp/
H A Dqemu_elf.c14 #ifndef ROUND_UP
15 #define ROUND_UP(n, d) (((n) + (d) - 1) & -(0 ? (n) : (d))) macro
34 return (char *)nhdr + ROUND_UP(sizeof(*nhdr), 4); in nhdr_get_name()
39 return nhdr_get_name(nhdr) + ROUND_UP(nhdr->n_namesz, 4); in nhdr_get_desc()
/dports/emulators/qemu42/qemu-4.2.1/contrib/elf2dmp/
H A Dqemu_elf.c14 #ifndef ROUND_UP
15 #define ROUND_UP(n, d) (((n) + (d) - 1) & -(0 ? (n) : (d))) macro
34 return (char *)nhdr + ROUND_UP(sizeof(*nhdr), 4); in nhdr_get_name()
39 return nhdr_get_name(nhdr) + ROUND_UP(nhdr->n_namesz, 4); in nhdr_get_desc()
/dports/emulators/qemu60/qemu-6.0.0/contrib/elf2dmp/
H A Dqemu_elf.c14 #ifndef ROUND_UP
15 #define ROUND_UP(n, d) (((n) + (d) - 1) & -(0 ? (n) : (d))) macro
34 return (char *)nhdr + ROUND_UP(sizeof(*nhdr), 4); in nhdr_get_name()
39 return nhdr_get_name(nhdr) + ROUND_UP(nhdr->n_namesz, 4); in nhdr_get_desc()
/dports/emulators/qemu-utils/qemu-4.2.1/contrib/elf2dmp/
H A Dqemu_elf.c14 #ifndef ROUND_UP
15 #define ROUND_UP(n, d) (((n) + (d) - 1) & -(0 ? (n) : (d))) macro
34 return (char *)nhdr + ROUND_UP(sizeof(*nhdr), 4); in nhdr_get_name()
39 return nhdr_get_name(nhdr) + ROUND_UP(nhdr->n_namesz, 4); in nhdr_get_desc()
/dports/emulators/qemu5/qemu-5.2.0/contrib/elf2dmp/
H A Dqemu_elf.c14 #ifndef ROUND_UP
15 #define ROUND_UP(n, d) (((n) + (d) - 1) & -(0 ? (n) : (d))) macro
34 return (char *)nhdr + ROUND_UP(sizeof(*nhdr), 4); in nhdr_get_name()
39 return nhdr_get_name(nhdr) + ROUND_UP(nhdr->n_namesz, 4); in nhdr_get_desc()
/dports/emulators/qemu-cheri/qemu-0a323821042c36e21ea80e58b9545dfc3b0cb8ef/contrib/elf2dmp/
H A Dqemu_elf.c14 #ifndef ROUND_UP
15 #define ROUND_UP(n, d) (((n) + (d) - 1) & -(0 ? (n) : (d))) macro
34 return (char *)nhdr + ROUND_UP(sizeof(*nhdr), 4); in nhdr_get_name()
39 return nhdr_get_name(nhdr) + ROUND_UP(nhdr->n_namesz, 4); in nhdr_get_desc()
/dports/emulators/qemu-guest-agent/qemu-5.0.1/contrib/elf2dmp/
H A Dqemu_elf.c14 #ifndef ROUND_UP
15 #define ROUND_UP(n, d) (((n) + (d) - 1) & -(0 ? (n) : (d))) macro
34 return (char *)nhdr + ROUND_UP(sizeof(*nhdr), 4); in nhdr_get_name()
39 return nhdr_get_name(nhdr) + ROUND_UP(nhdr->n_namesz, 4); in nhdr_get_desc()
/dports/emulators/qemu-devel/qemu-de8ed1055c2ce18c95f597eb10df360dcb534f99/contrib/elf2dmp/
H A Dqemu_elf.c14 #ifndef ROUND_UP
15 #define ROUND_UP(n, d) (((n) + (d) - 1) & -(0 ? (n) : (d))) macro
34 return (char *)nhdr + ROUND_UP(sizeof(*nhdr), 4); in nhdr_get_name()
39 return nhdr_get_name(nhdr) + ROUND_UP(nhdr->n_namesz, 4); in nhdr_get_desc()
/dports/emulators/qemu-powernv/qemu-powernv-3.0.50/contrib/elf2dmp/
H A Dqemu_elf.c14 #ifndef ROUND_UP
15 #define ROUND_UP(n, d) (((n) + (d) - 1) & -(0 ? (n) : (d))) macro
34 return (char *)nhdr + ROUND_UP(sizeof(*nhdr), 4); in nhdr_get_name()
39 return nhdr_get_name(nhdr) + ROUND_UP(nhdr->n_namesz, 4); in nhdr_get_desc()
/dports/math/apache-commons-math/commons-math3-3.6.1-src/src/test/java/org/apache/commons/math3/util/
H A DPrecisionTest.java373 Assert.assertEquals(1.24, Precision.round(x, 2, BigDecimal.ROUND_UP), 0.0); in testRoundDouble()
374 Assert.assertEquals(1.235, Precision.round(x, 3, BigDecimal.ROUND_UP), 0.0); in testRoundDouble()
375 Assert.assertEquals(1.2346, Precision.round(x, 4, BigDecimal.ROUND_UP), 0.0); in testRoundDouble()
376 Assert.assertEquals(-1.24, Precision.round(-x, 2, BigDecimal.ROUND_UP), 0.0); in testRoundDouble()
377 Assert.assertEquals(-1.235, Precision.round(-x, 3, BigDecimal.ROUND_UP), 0.0); in testRoundDouble()
378 Assert.assertEquals(-1.2346, Precision.round(-x, 4, BigDecimal.ROUND_UP), 0.0); in testRoundDouble()
476 Assert.assertEquals(1.24f, Precision.round(x, 2, BigDecimal.ROUND_UP), 0.0); in testRoundFloat()
477 Assert.assertEquals(1.235f, Precision.round(x, 3, BigDecimal.ROUND_UP), 0.0); in testRoundFloat()
478 Assert.assertEquals(1.2346f, Precision.round(x, 4, BigDecimal.ROUND_UP), 0.0); in testRoundFloat()
479 Assert.assertEquals(-1.24f, Precision.round(-x, 2, BigDecimal.ROUND_UP), 0.0); in testRoundFloat()
[all …]
/dports/editors/emacs-devel/emacs-4d1968b/nt/
H A Dpreprep.c304 #define ROUND_UP(p, align) \ macro
380 + ROUND_UP (DST_TO_OFFSET (), (align)); \ in copy_executable_and_move_sections()
439 ROUND_UP (dst_section->Misc.VirtualSize, in copy_executable_and_move_sections()
462 ROUND_UP (dst_section->SizeOfRawData, in copy_executable_and_move_sections()
475 ROUND_UP (import_section->Misc.VirtualSize, in copy_executable_and_move_sections()
480 + ROUND_UP (dst_section[-1].Misc.VirtualSize, in copy_executable_and_move_sections()
496 ROUND_UP (reloc_section->Misc.VirtualSize, in copy_executable_and_move_sections()
501 + ROUND_UP (dst_section[-1].Misc.VirtualSize, in copy_executable_and_move_sections()
518 offset = ROUND_UP (section->PointerToRawData + section->SizeOfRawData, in copy_executable_and_move_sections()
553 ROUND_UP (dst_section[i].Misc.VirtualSize, dst_nt_header->OptionalHeader.FileAlignment); in copy_executable_and_move_sections()
[all …]
/dports/editors/emacs/emacs-27.2/nt/
H A Dpreprep.c301 #define ROUND_UP(p, align) \ macro
377 + ROUND_UP (DST_TO_OFFSET (), (align)); \ in copy_executable_and_move_sections()
436 ROUND_UP (dst_section->Misc.VirtualSize, in copy_executable_and_move_sections()
459 ROUND_UP (dst_section->SizeOfRawData, in copy_executable_and_move_sections()
472 ROUND_UP (import_section->Misc.VirtualSize, in copy_executable_and_move_sections()
477 + ROUND_UP (dst_section[-1].Misc.VirtualSize, in copy_executable_and_move_sections()
493 ROUND_UP (reloc_section->Misc.VirtualSize, in copy_executable_and_move_sections()
498 + ROUND_UP (dst_section[-1].Misc.VirtualSize, in copy_executable_and_move_sections()
515 offset = ROUND_UP (section->PointerToRawData + section->SizeOfRawData, in copy_executable_and_move_sections()
550 ROUND_UP (dst_section[i].Misc.VirtualSize, dst_nt_header->OptionalHeader.FileAlignment); in copy_executable_and_move_sections()
[all …]
/dports/devel/binutils/binutils-2.37/gas/testsuite/gas/mmix/
H A Droundr-op.d8 4: 058702e9 fix \$135,ROUND_UP,\$233
11 10: 17ad02e9 fint \$173,ROUND_UP,\$233

12345678910>>...88