/dports/devel/jna/jna-5.7.0/native/libffi/src/ |
H A D | closures.c | 63 size_t rounded_size; in ffi_closure_alloc() local 85 codeseg = mremap(dataseg, rounded_size, NULL, rounded_size, MAP_REMAPDUP); in ffi_closure_alloc() 87 munmap(dataseg, rounded_size); in ffi_closure_alloc() 90 if (mprotect(codeseg, rounded_size, PROT_READ | PROT_EXEC) == -1) { in ffi_closure_alloc() 91 munmap(codeseg, rounded_size); in ffi_closure_alloc() 92 munmap(dataseg, rounded_size); in ffi_closure_alloc() 97 memcpy(dataseg, &rounded_size, sizeof(rounded_size)); in ffi_closure_alloc() 107 size_t rounded_size; in ffi_closure_free() local 110 memcpy(&rounded_size, dataseg, sizeof(rounded_size)); in ffi_closure_free() 112 munmap(dataseg, rounded_size); in ffi_closure_free() [all …]
|
/dports/lang/gcc12-devel/gcc-12-20211205/libffi/src/ |
H A D | closures.c | 64 size_t rounded_size; in ffi_closure_alloc() local 86 codeseg = mremap(dataseg, rounded_size, NULL, rounded_size, MAP_REMAPDUP); in ffi_closure_alloc() 88 munmap(dataseg, rounded_size); in ffi_closure_alloc() 91 if (mprotect(codeseg, rounded_size, PROT_READ | PROT_EXEC) == -1) { in ffi_closure_alloc() 92 munmap(codeseg, rounded_size); in ffi_closure_alloc() 93 munmap(dataseg, rounded_size); in ffi_closure_alloc() 98 memcpy(dataseg, &rounded_size, sizeof(rounded_size)); in ffi_closure_alloc() 108 size_t rounded_size; in ffi_closure_free() local 111 memcpy(&rounded_size, dataseg, sizeof(rounded_size)); in ffi_closure_free() 113 munmap(dataseg, rounded_size); in ffi_closure_free() [all …]
|
/dports/www/firefox-esr/firefox-91.8.0/js/src/ctypes/libffi/src/ |
H A D | closures.c | 60 size_t rounded_size; in ffi_closure_alloc() local 82 codeseg = mremap(dataseg, rounded_size, NULL, rounded_size, MAP_REMAPDUP); in ffi_closure_alloc() 84 munmap(dataseg, rounded_size); in ffi_closure_alloc() 87 if (mprotect(codeseg, rounded_size, PROT_READ | PROT_EXEC) == -1) { in ffi_closure_alloc() 88 munmap(codeseg, rounded_size); in ffi_closure_alloc() 89 munmap(dataseg, rounded_size); in ffi_closure_alloc() 94 memcpy(dataseg, &rounded_size, sizeof(rounded_size)); in ffi_closure_alloc() 104 size_t rounded_size; in ffi_closure_free() local 107 memcpy(&rounded_size, dataseg, sizeof(rounded_size)); in ffi_closure_free() 109 munmap(dataseg, rounded_size); in ffi_closure_free() [all …]
|
/dports/math/reduce/Reduce-svn5758-src/libraries/libffi-for-mac/libffi-3.3/src/ |
H A D | closures.c | 60 size_t rounded_size; in ffi_closure_alloc() local 82 codeseg = mremap(dataseg, rounded_size, NULL, rounded_size, MAP_REMAPDUP); in ffi_closure_alloc() 84 munmap(dataseg, rounded_size); in ffi_closure_alloc() 87 if (mprotect(codeseg, rounded_size, PROT_READ | PROT_EXEC) == -1) { in ffi_closure_alloc() 88 munmap(codeseg, rounded_size); in ffi_closure_alloc() 89 munmap(dataseg, rounded_size); in ffi_closure_alloc() 94 memcpy(dataseg, &rounded_size, sizeof(rounded_size)); in ffi_closure_alloc() 104 size_t rounded_size; in ffi_closure_free() local 107 memcpy(&rounded_size, dataseg, sizeof(rounded_size)); in ffi_closure_free() 109 munmap(dataseg, rounded_size); in ffi_closure_free() [all …]
|
/dports/math/reduce/Reduce-svn5758-src/libraries/libffi/src/ |
H A D | closures.c | 59 size_t rounded_size; in ffi_closure_alloc() local 81 codeseg = mremap(dataseg, rounded_size, NULL, rounded_size, MAP_REMAPDUP); in ffi_closure_alloc() 83 munmap(dataseg, rounded_size); in ffi_closure_alloc() 86 if (mprotect(codeseg, rounded_size, PROT_READ | PROT_EXEC) == -1) { in ffi_closure_alloc() 87 munmap(codeseg, rounded_size); in ffi_closure_alloc() 88 munmap(dataseg, rounded_size); in ffi_closure_alloc() 93 memcpy(dataseg, &rounded_size, sizeof(rounded_size)); in ffi_closure_alloc() 103 size_t rounded_size; in ffi_closure_free() local 106 memcpy(&rounded_size, dataseg, sizeof(rounded_size)); in ffi_closure_free() 108 munmap(dataseg, rounded_size); in ffi_closure_free() [all …]
|
/dports/math/reduce/Reduce-svn5758-src/libraries/libffi-for-mac/libffi-3.3-x86_64/src/ |
H A D | closures.c | 60 size_t rounded_size; in ffi_closure_alloc() local 82 codeseg = mremap(dataseg, rounded_size, NULL, rounded_size, MAP_REMAPDUP); in ffi_closure_alloc() 84 munmap(dataseg, rounded_size); in ffi_closure_alloc() 87 if (mprotect(codeseg, rounded_size, PROT_READ | PROT_EXEC) == -1) { in ffi_closure_alloc() 88 munmap(codeseg, rounded_size); in ffi_closure_alloc() 89 munmap(dataseg, rounded_size); in ffi_closure_alloc() 94 memcpy(dataseg, &rounded_size, sizeof(rounded_size)); in ffi_closure_alloc() 104 size_t rounded_size; in ffi_closure_free() local 107 memcpy(&rounded_size, dataseg, sizeof(rounded_size)); in ffi_closure_free() 109 munmap(dataseg, rounded_size); in ffi_closure_free() [all …]
|
/dports/math/reduce/Reduce-svn5758-src/libraries/libffi-for-mac/libffi-3.3-arm64/src/ |
H A D | closures.c | 60 size_t rounded_size; in ffi_closure_alloc() local 82 codeseg = mremap(dataseg, rounded_size, NULL, rounded_size, MAP_REMAPDUP); in ffi_closure_alloc() 84 munmap(dataseg, rounded_size); in ffi_closure_alloc() 87 if (mprotect(codeseg, rounded_size, PROT_READ | PROT_EXEC) == -1) { in ffi_closure_alloc() 88 munmap(codeseg, rounded_size); in ffi_closure_alloc() 89 munmap(dataseg, rounded_size); in ffi_closure_alloc() 94 memcpy(dataseg, &rounded_size, sizeof(rounded_size)); in ffi_closure_alloc() 104 size_t rounded_size; in ffi_closure_free() local 107 memcpy(&rounded_size, dataseg, sizeof(rounded_size)); in ffi_closure_free() 109 munmap(dataseg, rounded_size); in ffi_closure_free() [all …]
|
/dports/www/firefox/firefox-99.0/js/src/ctypes/libffi/src/ |
H A D | closures.c | 60 size_t rounded_size; in ffi_closure_alloc() local 82 codeseg = mremap(dataseg, rounded_size, NULL, rounded_size, MAP_REMAPDUP); in ffi_closure_alloc() 84 munmap(dataseg, rounded_size); in ffi_closure_alloc() 87 if (mprotect(codeseg, rounded_size, PROT_READ | PROT_EXEC) == -1) { in ffi_closure_alloc() 88 munmap(codeseg, rounded_size); in ffi_closure_alloc() 89 munmap(dataseg, rounded_size); in ffi_closure_alloc() 94 memcpy(dataseg, &rounded_size, sizeof(rounded_size)); in ffi_closure_alloc() 104 size_t rounded_size; in ffi_closure_free() local 107 memcpy(&rounded_size, dataseg, sizeof(rounded_size)); in ffi_closure_free() 109 munmap(dataseg, rounded_size); in ffi_closure_free() [all …]
|
/dports/devel/libffi/libffi-3.3/src/ |
H A D | closures.c | 60 size_t rounded_size; in ffi_closure_alloc() local 82 codeseg = mremap(dataseg, rounded_size, NULL, rounded_size, MAP_REMAPDUP); in ffi_closure_alloc() 84 munmap(dataseg, rounded_size); in ffi_closure_alloc() 87 if (mprotect(codeseg, rounded_size, PROT_READ | PROT_EXEC) == -1) { in ffi_closure_alloc() 88 munmap(codeseg, rounded_size); in ffi_closure_alloc() 89 munmap(dataseg, rounded_size); in ffi_closure_alloc() 94 memcpy(dataseg, &rounded_size, sizeof(rounded_size)); in ffi_closure_alloc() 104 size_t rounded_size; in ffi_closure_free() local 107 memcpy(&rounded_size, dataseg, sizeof(rounded_size)); in ffi_closure_free() 109 munmap(dataseg, rounded_size); in ffi_closure_free() [all …]
|
/dports/lang/racket-minimal/racket-8.3/src/bc/foreign/libffi/src/ |
H A D | closures.c | 60 size_t rounded_size; in ffi_closure_alloc() local 82 codeseg = mremap(dataseg, rounded_size, NULL, rounded_size, MAP_REMAPDUP); in ffi_closure_alloc() 84 munmap(dataseg, rounded_size); in ffi_closure_alloc() 87 if (mprotect(codeseg, rounded_size, PROT_READ | PROT_EXEC) == -1) { in ffi_closure_alloc() 88 munmap(codeseg, rounded_size); in ffi_closure_alloc() 89 munmap(dataseg, rounded_size); in ffi_closure_alloc() 94 memcpy(dataseg, &rounded_size, sizeof(rounded_size)); in ffi_closure_alloc() 104 size_t rounded_size; in ffi_closure_free() local 107 memcpy(&rounded_size, dataseg, sizeof(rounded_size)); in ffi_closure_free() 109 munmap(dataseg, rounded_size); in ffi_closure_free() [all …]
|
/dports/lang/racket/racket-8.3/src/bc/foreign/libffi/src/ |
H A D | closures.c | 60 size_t rounded_size; in ffi_closure_alloc() local 82 codeseg = mremap(dataseg, rounded_size, NULL, rounded_size, MAP_REMAPDUP); in ffi_closure_alloc() 84 munmap(dataseg, rounded_size); in ffi_closure_alloc() 87 if (mprotect(codeseg, rounded_size, PROT_READ | PROT_EXEC) == -1) { in ffi_closure_alloc() 88 munmap(codeseg, rounded_size); in ffi_closure_alloc() 89 munmap(dataseg, rounded_size); in ffi_closure_alloc() 94 memcpy(dataseg, &rounded_size, sizeof(rounded_size)); in ffi_closure_alloc() 104 size_t rounded_size; in ffi_closure_free() local 107 memcpy(&rounded_size, dataseg, sizeof(rounded_size)); in ffi_closure_free() 109 munmap(dataseg, rounded_size); in ffi_closure_free() [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/js/src/ctypes/libffi/src/ |
H A D | closures.c | 60 size_t rounded_size; in ffi_closure_alloc() local 82 codeseg = mremap(dataseg, rounded_size, NULL, rounded_size, MAP_REMAPDUP); in ffi_closure_alloc() 84 munmap(dataseg, rounded_size); in ffi_closure_alloc() 87 if (mprotect(codeseg, rounded_size, PROT_READ | PROT_EXEC) == -1) { in ffi_closure_alloc() 88 munmap(codeseg, rounded_size); in ffi_closure_alloc() 89 munmap(dataseg, rounded_size); in ffi_closure_alloc() 94 memcpy(dataseg, &rounded_size, sizeof(rounded_size)); in ffi_closure_alloc() 104 size_t rounded_size; in ffi_closure_free() local 107 memcpy(&rounded_size, dataseg, sizeof(rounded_size)); in ffi_closure_free() 109 munmap(dataseg, rounded_size); in ffi_closure_free() [all …]
|
/dports/devel/dtool/dtool-0.11.0/cargo-crates/secp256k1-sys-0.4.1/depend/secp256k1/src/ |
H A D | scratch_impl.h | 50 size_t rounded_size; in rustsecp256k1_v0_4_1_scratch_alloc() local 52 rounded_size = ROUND_TO_ALIGN(size); in rustsecp256k1_v0_4_1_scratch_alloc() 54 if (rounded_size < size) { in rustsecp256k1_v0_4_1_scratch_alloc() 57 size = rounded_size; in rustsecp256k1_v0_4_1_scratch_alloc()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/platform/wtf/ |
H A D | pod_arena.h | 126 size_t rounded_size = sizeof(T); in AllocateBase() local 128 ptr = current_->Allocate(rounded_size); in AllocateBase() 131 if (rounded_size > current_chunk_size_) in AllocateBase() 132 current_chunk_size_ = rounded_size; in AllocateBase() 136 ptr = current_->Allocate(rounded_size); in AllocateBase()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/platform/wtf/ |
H A D | pod_arena.h | 126 size_t rounded_size = sizeof(T); in AllocateBase() local 128 ptr = current_->Allocate(rounded_size); in AllocateBase() 131 if (rounded_size > current_chunk_size_) in AllocateBase() 132 current_chunk_size_ = rounded_size; in AllocateBase() 136 ptr = current_->Allocate(rounded_size); in AllocateBase()
|
/dports/net-p2p/bitcoin-utils/bitcoin-22.0/src/secp256k1/src/ |
H A D | scratch_impl.h | 75 size_t rounded_size; in secp256k1_scratch_alloc() local 77 rounded_size = ROUND_TO_ALIGN(size); in secp256k1_scratch_alloc() 79 if (rounded_size < size) { in secp256k1_scratch_alloc() 82 size = rounded_size; in secp256k1_scratch_alloc()
|
/dports/net-p2p/bitcoin/bitcoin-22.0/src/secp256k1/src/ |
H A D | scratch_impl.h | 75 size_t rounded_size; in secp256k1_scratch_alloc() local 77 rounded_size = ROUND_TO_ALIGN(size); in secp256k1_scratch_alloc() 79 if (rounded_size < size) { in secp256k1_scratch_alloc() 82 size = rounded_size; in secp256k1_scratch_alloc()
|
/dports/net-p2p/bitcoin-daemon/bitcoin-22.0/src/secp256k1/src/ |
H A D | scratch_impl.h | 75 size_t rounded_size; in secp256k1_scratch_alloc() local 77 rounded_size = ROUND_TO_ALIGN(size); in secp256k1_scratch_alloc() 79 if (rounded_size < size) { in secp256k1_scratch_alloc() 82 size = rounded_size; in secp256k1_scratch_alloc()
|
/dports/net-p2p/namecoin-daemon/namecoin-core-nc0.21.0.1/src/secp256k1/src/ |
H A D | scratch_impl.h | 75 size_t rounded_size; in secp256k1_scratch_alloc() local 77 rounded_size = ROUND_TO_ALIGN(size); in secp256k1_scratch_alloc() 79 if (rounded_size < size) { in secp256k1_scratch_alloc() 82 size = rounded_size; in secp256k1_scratch_alloc()
|
/dports/net-p2p/namecoin/namecoin-core-nc0.21.0.1/src/secp256k1/src/ |
H A D | scratch_impl.h | 75 size_t rounded_size; in secp256k1_scratch_alloc() local 77 rounded_size = ROUND_TO_ALIGN(size); in secp256k1_scratch_alloc() 79 if (rounded_size < size) { in secp256k1_scratch_alloc() 82 size = rounded_size; in secp256k1_scratch_alloc()
|
/dports/security/py-coincurve/coincurve-16.0.0/libsecp256k1/src/ |
H A D | scratch_impl.h | 75 size_t rounded_size; in secp256k1_scratch_alloc() local 77 rounded_size = ROUND_TO_ALIGN(size); in secp256k1_scratch_alloc() 79 if (rounded_size < size) { in secp256k1_scratch_alloc() 82 size = rounded_size; in secp256k1_scratch_alloc()
|
/dports/net-p2p/namecoin-utils/namecoin-core-nc0.21.0.1/src/secp256k1/src/ |
H A D | scratch_impl.h | 75 size_t rounded_size; in secp256k1_scratch_alloc() local 77 rounded_size = ROUND_TO_ALIGN(size); in secp256k1_scratch_alloc() 79 if (rounded_size < size) { in secp256k1_scratch_alloc() 82 size = rounded_size; in secp256k1_scratch_alloc()
|
/dports/net-p2p/c-lightning/lightning-0.10.2/external/libwally-core/src/secp256k1/src/ |
H A D | scratch_impl.h | 75 size_t rounded_size; in secp256k1_scratch_alloc() local 77 rounded_size = ROUND_TO_ALIGN(size); in secp256k1_scratch_alloc() 79 if (rounded_size < size) { in secp256k1_scratch_alloc() 82 size = rounded_size; in secp256k1_scratch_alloc()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/base/memory/ |
H A D | platform_shared_memory_region_win.cc | 86 size_t rounded_size, in CreateFileMappingWithReducedPermissions() argument 89 static_cast<DWORD>(rounded_size), name); in CreateFileMappingWithReducedPermissions() 230 size_t rounded_size = bits::Align(size, kSectionSize); in Create() local 231 if (rounded_size < size || in Create() 232 rounded_size > static_cast<size_t>(std::numeric_limits<int>::max())) { in Create() 269 &sa, rounded_size, name.empty() ? nullptr : as_wcstr(name)); in Create()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/base/memory/ |
H A D | platform_shared_memory_region_win.cc | 85 size_t rounded_size, in CreateFileMappingWithReducedPermissions() argument 88 static_cast<DWORD>(rounded_size), name); in CreateFileMappingWithReducedPermissions() 229 size_t rounded_size = bits::Align(size, kSectionSize); in Create() local 230 if (rounded_size < size || in Create() 231 rounded_size > static_cast<size_t>(std::numeric_limits<int>::max())) { in Create() 268 &sa, rounded_size, name.empty() ? nullptr : as_wcstr(name)); in Create()
|