/dports/lang/mono/mono-5.10.1.57/external/corert/src/Native/jitinterface/ |
H A D | CodeHeap.cpp | 54 size = ALIGN_UP(size, s_pageSize); in Init() 72 size_t curr = ALIGN_UP(m_curr, alignment); in AllocMemory() 102 size = ALIGN_UP(size, s_pageSize); in AllocPData() 118 size = ALIGN_UP(size, s_pageSize); in AllocEHInfoRaw() 131 size_t hdrAlloc = ALIGN_UP(m_curr, sizeof(void*)); in AllocMemoryWithCodeHeader_NoThrow() 135 size_t codeAlloc = ALIGN_UP(hdrAlloc + hdrSize, alignment); in AllocMemoryWithCodeHeader_NoThrow() 151 assert(ALIGN_UP(result, alignment) == result); in AllocMemoryWithCodeHeader_NoThrow() 154 assert(ALIGN_UP(header, sizeof(void*)) == header); in AllocMemoryWithCodeHeader_NoThrow() 167 size = ALIGN_UP(size, s_pageSize); in CommitPages() 225 BYTE *tryAddr = (BYTE *)ALIGN_UP((BYTE *)pMinAddr, VIRTUAL_ALLOC_RESERVE_GRANULARITY); in ClrVirtualAllocWithinRange()
|
H A D | common.h | 51 inline size_t ALIGN_UP(size_t val, size_t alignment) in ALIGN_UP() function 59 inline void* ALIGN_UP(void* val, size_t alignment) in ALIGN_UP() function 61 return (void*)ALIGN_UP((size_t)val, alignment); in ALIGN_UP() 101 inline DWORD ALIGN_UP(DWORD val, int alignment) in ALIGN_UP() function
|
/dports/emulators/qemu-powernv/qemu-powernv-3.0.50/roms/skiboot/libflash/ |
H A D | ecc.h | 40 #ifndef ALIGN_UP 41 #define ALIGN_UP(_v, _a) (((_v) + (_a) - 1) & ~((_a) - 1)) macro 48 return ALIGN_UP(len, BYTES_PER_ECC) >> 3; in ecc_size() 53 return ALIGN_UP(len, BYTES_PER_ECC) + ecc_size(len); in ecc_buffer_size()
|
/dports/emulators/qemu42/qemu-4.2.1/roms/skiboot/libflash/ |
H A D | ecc.h | 44 #ifndef ALIGN_UP 45 #define ALIGN_UP(_v, _a) (((_v) + (_a) - 1) & ~((_a) - 1)) macro 52 return ALIGN_UP(len, BYTES_PER_ECC) >> 3; in ecc_size() 57 return ALIGN_UP(len, BYTES_PER_ECC) + ecc_size(len); in ecc_buffer_size()
|
/dports/emulators/qemu5/qemu-5.2.0/roms/skiboot/libflash/ |
H A D | ecc.h | 44 #ifndef ALIGN_UP 45 #define ALIGN_UP(_v, _a) (((_v) + (_a) - 1) & ~((_a) - 1)) macro 52 return ALIGN_UP(len, BYTES_PER_ECC) >> 3; in ecc_size() 57 return ALIGN_UP(len, BYTES_PER_ECC) + ecc_size(len); in ecc_buffer_size()
|
/dports/emulators/qemu-utils/qemu-4.2.1/roms/skiboot/libflash/ |
H A D | ecc.h | 44 #ifndef ALIGN_UP 45 #define ALIGN_UP(_v, _a) (((_v) + (_a) - 1) & ~((_a) - 1)) macro 52 return ALIGN_UP(len, BYTES_PER_ECC) >> 3; in ecc_size() 57 return ALIGN_UP(len, BYTES_PER_ECC) + ecc_size(len); in ecc_buffer_size()
|
/dports/emulators/qemu-guest-agent/qemu-5.0.1/roms/skiboot/libflash/ |
H A D | ecc.h | 44 #ifndef ALIGN_UP 45 #define ALIGN_UP(_v, _a) (((_v) + (_a) - 1) & ~((_a) - 1)) macro 52 return ALIGN_UP(len, BYTES_PER_ECC) >> 3; in ecc_size() 57 return ALIGN_UP(len, BYTES_PER_ECC) + ecc_size(len); in ecc_buffer_size()
|
/dports/emulators/qemu/qemu-6.2.0/roms/skiboot/libflash/ |
H A D | ecc.h | 33 #ifndef ALIGN_UP 34 #define ALIGN_UP(_v, _a) (((_v) + (_a) - 1) & ~((_a) - 1)) macro 41 return ALIGN_UP(len, BYTES_PER_ECC) >> 3; in ecc_size() 46 return ALIGN_UP(len, BYTES_PER_ECC) + ecc_size(len); in ecc_buffer_size()
|
/dports/emulators/qemu60/qemu-6.0.0/roms/skiboot/libflash/ |
H A D | ecc.h | 44 #ifndef ALIGN_UP 45 #define ALIGN_UP(_v, _a) (((_v) + (_a) - 1) & ~((_a) - 1)) macro 52 return ALIGN_UP(len, BYTES_PER_ECC) >> 3; in ecc_size() 57 return ALIGN_UP(len, BYTES_PER_ECC) + ecc_size(len); in ecc_buffer_size()
|
/dports/devel/tokei/tokei-12.1.2/cargo-crates/libz-sys-1.1.0/src/zlib-ng/arch/s390/ |
H A D | dfltcc_common.c | 34 …struct dfltcc_state *dfltcc_state = (struct dfltcc_state *)((char *)strm->state + ALIGN_UP(size, 8… in dfltcc_reset() 57 …return ZALLOC(strm, ALIGN_UP(items * size, 8) + sizeof(struct dfltcc_state), sizeof(unsigned char)… in dfltcc_alloc_state() 61 memcpy(dst, src, ALIGN_UP(size, 8) + sizeof(struct dfltcc_state)); in dfltcc_copy_state() 76 w = ALIGN_UP((char *)p + sizeof(void *), PAGE_ALIGN); in dfltcc_alloc_window()
|
/dports/devel/gitui/gitui-0.10.1/cargo-crates/libz-sys-1.1.0/src/zlib-ng/arch/s390/ |
H A D | dfltcc_common.c | 34 …struct dfltcc_state *dfltcc_state = (struct dfltcc_state *)((char *)strm->state + ALIGN_UP(size, 8… 57 …return ZALLOC(strm, ALIGN_UP(items * size, 8) + sizeof(struct dfltcc_state), sizeof(unsigned char)… 61 memcpy(dst, src, ALIGN_UP(size, 8) + sizeof(struct dfltcc_state)); 76 w = ALIGN_UP((char *)p + sizeof(void *), PAGE_ALIGN);
|
/dports/misc/broot/broot-1.7.0/cargo-crates/libz-sys-1.1.3/src/zlib-ng/arch/s390/ |
H A D | dfltcc_common.c | 39 …struct dfltcc_state *dfltcc_state = (struct dfltcc_state *)((char *)strm->state + ALIGN_UP(size, 8… in dfltcc_reset() 62 …return ZALLOC(strm, ALIGN_UP(items * size, 8) + sizeof(struct dfltcc_state), sizeof(unsigned char)… in dfltcc_alloc_state() 66 memcpy(dst, src, ALIGN_UP(size, 8) + sizeof(struct dfltcc_state)); in dfltcc_copy_state() 81 w = ALIGN_UP((char *)p + sizeof(void *), PAGE_ALIGN); in dfltcc_alloc_window()
|
/dports/devel/cargo-c/cargo-c-0.9.6+cargo-0.58/cargo-crates/libz-sys-1.1.3/src/zlib-ng/arch/s390/ |
H A D | dfltcc_common.c | 39 …struct dfltcc_state *dfltcc_state = (struct dfltcc_state *)((char *)strm->state + ALIGN_UP(size, 8… in dfltcc_reset() 62 …return ZALLOC(strm, ALIGN_UP(items * size, 8) + sizeof(struct dfltcc_state), sizeof(unsigned char)… in dfltcc_alloc_state() 66 memcpy(dst, src, ALIGN_UP(size, 8) + sizeof(struct dfltcc_state)); in dfltcc_copy_state() 81 w = ALIGN_UP((char *)p + sizeof(void *), PAGE_ALIGN); in dfltcc_alloc_window()
|
/dports/devel/git-absorb/git-absorb-0.6.6/cargo-crates/libz-sys-1.1.2/src/zlib-ng/arch/s390/ |
H A D | dfltcc_common.c | 39 …struct dfltcc_state *dfltcc_state = (struct dfltcc_state *)((char *)strm->state + ALIGN_UP(size, 8… in dfltcc_reset() 62 …return ZALLOC(strm, ALIGN_UP(items * size, 8) + sizeof(struct dfltcc_state), sizeof(unsigned char)… in dfltcc_alloc_state() 66 memcpy(dst, src, ALIGN_UP(size, 8) + sizeof(struct dfltcc_state)); in dfltcc_copy_state() 81 w = ALIGN_UP((char *)p + sizeof(void *), PAGE_ALIGN); in dfltcc_alloc_window()
|
/dports/archivers/c-blosc2/c-blosc2-2.0.4/internal-complibs/zlib-ng-2.0.5/arch/s390/ |
H A D | dfltcc_common.c | 39 …struct dfltcc_state *dfltcc_state = (struct dfltcc_state *)((char *)strm->state + ALIGN_UP(size, 8… in dfltcc_reset() 62 …return ZALLOC(strm, ALIGN_UP(items * size, 8) + sizeof(struct dfltcc_state), sizeof(unsigned char)… in dfltcc_alloc_state() 66 memcpy(dst, src, ALIGN_UP(size, 8) + sizeof(struct dfltcc_state)); in dfltcc_copy_state() 81 w = ALIGN_UP((char *)p + sizeof(void *), PAGE_ALIGN); in dfltcc_alloc_window()
|
/dports/devel/git-delta/delta-0.9.2/cargo-crates/libz-sys-1.1.2/src/zlib-ng/arch/s390/ |
H A D | dfltcc_common.c | 39 …struct dfltcc_state *dfltcc_state = (struct dfltcc_state *)((char *)strm->state + ALIGN_UP(size, 8… in dfltcc_reset() 62 …return ZALLOC(strm, ALIGN_UP(items * size, 8) + sizeof(struct dfltcc_state), sizeof(unsigned char)… in dfltcc_alloc_state() 66 memcpy(dst, src, ALIGN_UP(size, 8) + sizeof(struct dfltcc_state)); in dfltcc_copy_state() 81 w = ALIGN_UP((char *)p + sizeof(void *), PAGE_ALIGN); in dfltcc_alloc_window()
|
/dports/security/cargo-audit/rustsec-cargo-audit-v0.15.2/cargo-audit/cargo-crates/libz-sys-1.1.3/src/zlib-ng/arch/s390/ |
H A D | dfltcc_common.c | 39 …struct dfltcc_state *dfltcc_state = (struct dfltcc_state *)((char *)strm->state + ALIGN_UP(size, 8… in dfltcc_reset() 62 …return ZALLOC(strm, ALIGN_UP(items * size, 8) + sizeof(struct dfltcc_state), sizeof(unsigned char)… in dfltcc_alloc_state() 66 memcpy(dst, src, ALIGN_UP(size, 8) + sizeof(struct dfltcc_state)); in dfltcc_copy_state() 81 w = ALIGN_UP((char *)p + sizeof(void *), PAGE_ALIGN); in dfltcc_alloc_window()
|
/dports/security/cargo-audit/rustsec-cargo-audit-v0.15.2/cargo-audit/cargo-crates/libz-sys-1.1.2/src/zlib-ng/arch/s390/ |
H A D | dfltcc_common.c | 39 …struct dfltcc_state *dfltcc_state = (struct dfltcc_state *)((char *)strm->state + ALIGN_UP(size, 8… in dfltcc_reset() 62 …return ZALLOC(strm, ALIGN_UP(items * size, 8) + sizeof(struct dfltcc_state), sizeof(unsigned char)… in dfltcc_alloc_state() 66 memcpy(dst, src, ALIGN_UP(size, 8) + sizeof(struct dfltcc_state)); in dfltcc_copy_state() 81 w = ALIGN_UP((char *)p + sizeof(void *), PAGE_ALIGN); in dfltcc_alloc_window()
|
/dports/devel/grcov/grcov-0.8.2/cargo-crates/libz-sys-1.1.3/src/zlib-ng/arch/s390/ |
H A D | dfltcc_common.c | 39 …struct dfltcc_state *dfltcc_state = (struct dfltcc_state *)((char *)strm->state + ALIGN_UP(size, 8… in dfltcc_reset() 62 …return ZALLOC(strm, ALIGN_UP(items * size, 8) + sizeof(struct dfltcc_state), sizeof(unsigned char)… in dfltcc_alloc_state() 66 memcpy(dst, src, ALIGN_UP(size, 8) + sizeof(struct dfltcc_state)); in dfltcc_copy_state() 81 w = ALIGN_UP((char *)p + sizeof(void *), PAGE_ALIGN); in dfltcc_alloc_window()
|
/dports/devel/cargo-generate/cargo-generate-0.9.0/cargo-crates/libz-sys-1.1.2/src/zlib-ng/arch/s390/ |
H A D | dfltcc_common.c | 39 …struct dfltcc_state *dfltcc_state = (struct dfltcc_state *)((char *)strm->state + ALIGN_UP(size, 8… in dfltcc_reset() 62 …return ZALLOC(strm, ALIGN_UP(items * size, 8) + sizeof(struct dfltcc_state), sizeof(unsigned char)… in dfltcc_alloc_state() 66 memcpy(dst, src, ALIGN_UP(size, 8) + sizeof(struct dfltcc_state)); in dfltcc_copy_state() 81 w = ALIGN_UP((char *)p + sizeof(void *), PAGE_ALIGN); in dfltcc_alloc_window()
|
/dports/sysutils/onefetch/onefetch-2.10.2/cargo-crates/libz-sys-1.1.3/src/zlib-ng/arch/s390/ |
H A D | dfltcc_common.c | 39 …struct dfltcc_state *dfltcc_state = (struct dfltcc_state *)((char *)strm->state + ALIGN_UP(size, 8… in dfltcc_reset() 62 …return ZALLOC(strm, ALIGN_UP(items * size, 8) + sizeof(struct dfltcc_state), sizeof(unsigned char)… in dfltcc_alloc_state() 66 memcpy(dst, src, ALIGN_UP(size, 8) + sizeof(struct dfltcc_state)); in dfltcc_copy_state() 81 w = ALIGN_UP((char *)p + sizeof(void *), PAGE_ALIGN); in dfltcc_alloc_window()
|
/dports/textproc/mdbook-linkcheck/mdbook-linkcheck-0.7.6/cargo-crates/libz-sys-1.1.3/src/zlib-ng/arch/s390/ |
H A D | dfltcc_common.c | 39 …struct dfltcc_state *dfltcc_state = (struct dfltcc_state *)((char *)strm->state + ALIGN_UP(size, 8… in dfltcc_reset() 62 …return ZALLOC(strm, ALIGN_UP(items * size, 8) + sizeof(struct dfltcc_state), sizeof(unsigned char)… in dfltcc_alloc_state() 66 memcpy(dst, src, ALIGN_UP(size, 8) + sizeof(struct dfltcc_state)); in dfltcc_copy_state() 81 w = ALIGN_UP((char *)p + sizeof(void *), PAGE_ALIGN); in dfltcc_alloc_window()
|
/dports/devel/pijul/pijul-1.0.0.a55/cargo-crates/libz-sys-1.1.3/src/zlib-ng/arch/s390/ |
H A D | dfltcc_common.c | 39 …struct dfltcc_state *dfltcc_state = (struct dfltcc_state *)((char *)strm->state + ALIGN_UP(size, 8… in dfltcc_reset() 62 …return ZALLOC(strm, ALIGN_UP(items * size, 8) + sizeof(struct dfltcc_state), sizeof(unsigned char)… in dfltcc_alloc_state() 66 memcpy(dst, src, ALIGN_UP(size, 8) + sizeof(struct dfltcc_state)); in dfltcc_copy_state() 81 w = ALIGN_UP((char *)p + sizeof(void *), PAGE_ALIGN); in dfltcc_alloc_window()
|
/dports/lang/rust/rustc-1.58.1-src/vendor/libz-sys/src/zlib-ng/arch/s390/ |
H A D | dfltcc_common.c | 39 …struct dfltcc_state *dfltcc_state = (struct dfltcc_state *)((char *)strm->state + ALIGN_UP(size, 8… in dfltcc_reset() 62 …return ZALLOC(strm, ALIGN_UP(items * size, 8) + sizeof(struct dfltcc_state), sizeof(unsigned char)… in dfltcc_alloc_state() 66 memcpy(dst, src, ALIGN_UP(size, 8) + sizeof(struct dfltcc_state)); in dfltcc_copy_state() 81 w = ALIGN_UP((char *)p + sizeof(void *), PAGE_ALIGN); in dfltcc_alloc_window()
|
/dports/sysutils/exa/exa-0.10.1/cargo-crates/libz-sys-1.1.2/src/zlib-ng/arch/s390/ |
H A D | dfltcc_common.c | 39 …struct dfltcc_state *dfltcc_state = (struct dfltcc_state *)((char *)strm->state + ALIGN_UP(size, 8… 62 …return ZALLOC(strm, ALIGN_UP(items * size, 8) + sizeof(struct dfltcc_state), sizeof(unsigned char)… 66 memcpy(dst, src, ALIGN_UP(size, 8) + sizeof(struct dfltcc_state)); 81 w = ALIGN_UP((char *)p + sizeof(void *), PAGE_ALIGN);
|