/dports/multimedia/libxine/xine-lib-1.2.11/contrib/nosefart/ |
H A D | memguard.c | 88 orig = (((uint8 *) data) - guard_size); in mem_checkguardblock() 98 for (i = sizeof(uint32); i < guard_size; i++) in mem_checkguardblock() 111 for (i = 0; i < guard_size; i++) in mem_checkguardblock() 126 static void mem_freeguardblock(void *data, int guard_size) in mem_freeguardblock() argument 128 uint8 *orig = (((uint8 *) data) - guard_size); in mem_freeguardblock() 134 static void *mem_guardblock(int alloc_size, int guard_size) in mem_guardblock() argument 141 orig = calloc(alloc_size + (guard_size * 2), 1); in mem_guardblock() 155 for (i = sizeof(uint32); i < guard_size; i++) in mem_guardblock() 164 blk = guard_size + (uint8 *) orig + alloc_size; in mem_guardblock() 165 for (i = 0; i < guard_size; i++) in mem_guardblock() [all …]
|
/dports/audio/nosefart/nosefart-1.92f-mls/src/ |
H A D | memguard.c | 74 orig = (((uint8 *) data) - guard_size); in mem_checkguardblock() 84 for (i = sizeof(uint32); i < guard_size; i++) in mem_checkguardblock() 97 for (i = 0; i < guard_size; i++) in mem_checkguardblock() 112 static void mem_freeguardblock(void *data, int guard_size) in mem_freeguardblock() argument 114 uint8 *orig = (((uint8 *) data) - guard_size); in mem_freeguardblock() 120 static void *mem_guardblock(int alloc_size, int guard_size) in mem_guardblock() argument 127 orig = calloc(alloc_size + (guard_size * 2), 1); in mem_guardblock() 141 for (i = sizeof(uint32); i < guard_size; i++) in mem_guardblock() 150 blk = guard_size + (uint8 *) orig + alloc_size; in mem_guardblock() 151 for (i = 0; i < guard_size; i++) in mem_guardblock() [all …]
|
/dports/sysutils/vector/lucet-d4fc14a03bdb99ac83173d27fddf1aca48412a86/lucetc/src/ |
H A D | lib.rs | 92 fn guard_size(&mut self, guard_size: u64); in guard_size() method 93 fn with_guard_size(self, guard_size: u64) -> Self; in with_guard_size() 195 fn guard_size(&mut self, guard_size: u64) { in guard_size() method 196 self.as_lucetc().builder.heap_settings_mut().guard_size = guard_size; in guard_size() 199 fn with_guard_size(mut self, guard_size: u64) -> Self { in with_guard_size() 200 self.guard_size(guard_size); in with_guard_size()
|
H A D | heap.rs | 5 pub guard_size: u64, field 13 guard_size: 4 * 1024 * 1024, in default()
|
/dports/games/spring/spring_98.0/rts/System/Platform/Linux/ |
H A D | thread_backtrace.cpp | 39 size_t guard_size; //! in bytes in internal_pthread_backtrace() local 45 pthread_attr_getguardsize(&attr, &guard_size); in internal_pthread_backtrace() 50 guard_size = 0; //FIXME anyway to get that? in internal_pthread_backtrace() 55 pthread_attr_getguardsize(&attr, &guard_size); in internal_pthread_backtrace() 58 stack_size -= guard_size; in internal_pthread_backtrace()
|
/dports/sysutils/vector/lucet-d4fc14a03bdb99ac83173d27fddf1aca48412a86/wasmtime/tests/all/ |
H A D | memory_creator.rs | 31 let guard_size = page_size; in new() localVariable 32 let size = max_wasm_pages as usize * WASM_PAGE_SIZE as usize + guard_size; in new() 75 let guard_size = unsafe { sysconf(_SC_PAGESIZE) as usize }; in grow() localVariable 77 if new_size > self.size - guard_size { in grow() 115 guard_size: u64, in new_memory() 117 assert_eq!(guard_size, 0); in new_memory()
|
/dports/sysutils/vector/lucet-d4fc14a03bdb99ac83173d27fddf1aca48412a86/lucet-module/src/ |
H A D | linear_memory.rs | 59 pub guard_size: u64, field 80 guard_size: u64, in new() 86 guard_size, in new() 96 guard_size: 0, in empty()
|
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/rust/lucet-module-wasmsbx/src/ |
H A D | linear_memory.rs | 59 pub guard_size: u64, field 81 guard_size: u64, in new() 87 guard_size, in new() 97 guard_size: 0, in empty()
|
/dports/www/firefox-esr/firefox-91.8.0/third_party/rust/lucet-module-wasmsbx/src/ |
H A D | linear_memory.rs | 59 pub guard_size: u64, field 81 guard_size: u64, in new() 87 guard_size, in new() 97 guard_size: 0, in empty()
|
/dports/lang/spidermonkey78/firefox-78.9.0/third_party/rust/lucet-module/src/ |
H A D | linear_memory.rs | 59 pub guard_size: u64, field 81 guard_size: u64, in new() 87 guard_size, in new() 97 guard_size: 0, in empty()
|
/dports/databases/mariadb105-client/mariadb-10.5.15/mysys/ |
H A D | my_pthread.c | 416 size_t guard_size __attribute__((unused))= 0; in my_setstacksize() local 443 if (pthread_attr_getguardsize(attr, &guard_size)) in my_setstacksize() 444 guard_size = 0; /* if can't find it out, treat as 0 */ in my_setstacksize() 447 pthread_attr_setstacksize(attr, stacksize + guard_size); in my_setstacksize() 455 real_stack_size > guard_size) in my_setstacksize() 457 real_stack_size -= guard_size; in my_setstacksize()
|
/dports/databases/mariadb105-server/mariadb-10.5.15/mysys/ |
H A D | my_pthread.c | 416 size_t guard_size __attribute__((unused))= 0; in my_setstacksize() local 443 if (pthread_attr_getguardsize(attr, &guard_size)) in my_setstacksize() 444 guard_size = 0; /* if can't find it out, treat as 0 */ in my_setstacksize() 447 pthread_attr_setstacksize(attr, stacksize + guard_size); in my_setstacksize() 455 real_stack_size > guard_size) in my_setstacksize() 457 real_stack_size -= guard_size; in my_setstacksize()
|
/dports/sysutils/vector/lucet-d4fc14a03bdb99ac83173d27fddf1aca48412a86/wasmtime/crates/wasmtime/src/ |
H A D | runtime.rs | 539 pub fn static_memory_guard_size(&mut self, guard_size: u64) -> &mut Self { in static_memory_guard_size() 540 let guard_size = round_up_to_pages(guard_size); in static_memory_guard_size() localVariable 541 let guard_size = cmp::max(guard_size, self.tunables.dynamic_memory_offset_guard_size); in static_memory_guard_size() localVariable 542 self.tunables.static_memory_offset_guard_size = guard_size; in static_memory_guard_size() 568 pub fn dynamic_memory_guard_size(&mut self, guard_size: u64) -> &mut Self { in dynamic_memory_guard_size() 569 let guard_size = round_up_to_pages(guard_size); in dynamic_memory_guard_size() localVariable 570 self.tunables.dynamic_memory_offset_guard_size = guard_size; in dynamic_memory_guard_size() 572 cmp::max(guard_size, self.tunables.static_memory_offset_guard_size); in dynamic_memory_guard_size()
|
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/rust/lucet-runtime-internals-wasmsbx/src/alloc/ |
H A D | tests.rs | 36 guard_size: SPEC_HEAP_GUARD_SIZE, 46 guard_size: 0, 194 guard_size: SPEC_HEAP_GUARD_SIZE, 241 guard_size: SPEC_HEAP_GUARD_SIZE, 276 guard_size: SPEC_HEAP_GUARD_SIZE - 1, 297 guard_size: SPEC_HEAP_GUARD_SIZE + 1, 494 guard_size: 0, 544 guard_size: SPEC_HEAP_GUARD_SIZE, 557 guard_size: 0, 579 guard_size: 4096,
|
/dports/www/firefox-esr/firefox-91.8.0/third_party/rust/lucet-runtime-internals-wasmsbx/src/alloc/ |
H A D | tests.rs | 36 guard_size: SPEC_HEAP_GUARD_SIZE, 46 guard_size: 0, 194 guard_size: SPEC_HEAP_GUARD_SIZE, 241 guard_size: SPEC_HEAP_GUARD_SIZE, 276 guard_size: SPEC_HEAP_GUARD_SIZE - 1, 297 guard_size: SPEC_HEAP_GUARD_SIZE + 1, 494 guard_size: 0, 544 guard_size: SPEC_HEAP_GUARD_SIZE, 557 guard_size: 0, 579 guard_size: 4096,
|
/dports/lang/spidermonkey78/firefox-78.9.0/third_party/rust/lucet-runtime-internals/src/alloc/ |
H A D | tests.rs | 36 guard_size: SPEC_HEAP_GUARD_SIZE, 46 guard_size: 0, 194 guard_size: SPEC_HEAP_GUARD_SIZE, 241 guard_size: SPEC_HEAP_GUARD_SIZE, 276 guard_size: SPEC_HEAP_GUARD_SIZE - 1, 297 guard_size: SPEC_HEAP_GUARD_SIZE + 1, 494 guard_size: 0, 544 guard_size: SPEC_HEAP_GUARD_SIZE, 557 guard_size: 0, 579 guard_size: 4096,
|
/dports/sysutils/vector/lucet-d4fc14a03bdb99ac83173d27fddf1aca48412a86/lucetc/lucetc/ |
H A D | main.rs | 122 if let Some(guard_size) = opts.guard_size { in run() 123 c.guard_size(guard_size); in run()
|
H A D | options.rs | 114 pub guard_size: Option<u64>, field 177 let guard_size = if let Some(guard_str) = m.value_of("guard_size") { in from_args() localVariable 233 guard_size, in from_args() 403 humansized(HeapSettings::default().guard_size) in get()
|
/dports/devel/zpu-binutils/zpu-toolchain-1.0/toolchain/gdb/gdb/osf-share/ |
H A D | cma_attr.h | 250 _int_att_->guard_size = cma__roundup_chunksize(_setting_); \ 287 (*(_setting_)) = (_int_att_)->guard_size; \ 312 cma_t_natural guard_size; /* Size of guard (bytes) */ member
|
/dports/devel/avr-gdb/gdb-7.3.1/gdb/osf-share/ |
H A D | cma_attr.h | 252 _int_att_->guard_size = cma__roundup_chunksize(_setting_); \ 289 (*(_setting_)) = (_int_att_)->guard_size; \ 315 cma_t_natural guard_size; /* Size of guard (bytes) */ member
|
/dports/devel/zpu-gcc/zpu-toolchain-1.0/toolchain/gdb/gdb/osf-share/ |
H A D | cma_attr.h | 250 _int_att_->guard_size = cma__roundup_chunksize(_setting_); \ 287 (*(_setting_)) = (_int_att_)->guard_size; \ 312 cma_t_natural guard_size; /* Size of guard (bytes) */ member
|
/dports/lang/gnatdroid-sysroot/android-19-arm/usr/include/ |
H A D | pthread.h | 76 size_t guard_size; member 135 int pthread_attr_setguardsize(pthread_attr_t * attr, size_t guard_size); 136 int pthread_attr_getguardsize(pthread_attr_t const * attr, size_t * guard_size);
|
/dports/lang/gnatdroid-sysroot-x86/android-19-x86/usr/include/ |
H A D | pthread.h | 76 size_t guard_size; member 135 int pthread_attr_setguardsize(pthread_attr_t * attr, size_t guard_size); 136 int pthread_attr_getguardsize(pthread_attr_t const * attr, size_t * guard_size);
|
/dports/devel/grpc/grpc-1.42.0/third_party/upb/upb/ |
H A D | upb.h | 214 size_t guard_size = 32; in upb_arena_malloc() local 215 if (_upb_arenahas(a) >= guard_size) { in upb_arena_malloc() 216 h->ptr += guard_size; in upb_arena_malloc()
|
/dports/devel/pecl-grpc/grpc-1.42.0/third_party/upb/upb/ |
H A D | upb.h | 214 size_t guard_size = 32; in upb_arena_malloc() local 215 if (_upb_arenahas(a) >= guard_size) { in upb_arena_malloc() 216 h->ptr += guard_size; in upb_arena_malloc()
|