/dports/www/firefox/firefox-99.0/third_party/wasm2c/wasm2c/ |
H A D | wasm-rt.h | 150 } wasm_rt_memory_t; typedef 173 wasm_rt_memory_t* heap_memory; 260 extern bool wasm_rt_allocate_memory(wasm_rt_memory_t*, 264 extern void wasm_rt_deallocate_memory(wasm_rt_memory_t*); 279 extern uint32_t wasm_rt_grow_memory(wasm_rt_memory_t*, uint32_t pages); 311 extern void wasm2c_shadow_memory_create(wasm_rt_memory_t* mem); 313 extern void wasm2c_shadow_memory_expand(wasm_rt_memory_t* mem); 315 extern void wasm2c_shadow_memory_destroy(wasm_rt_memory_t* mem); 325 extern void wasm2c_shadow_memory_dlfree(wasm_rt_memory_t* mem, uint32_t ptr); 330 WASM2C_FUNC_EXPORT extern void wasm2c_shadow_memory_print_allocations(wasm_rt_memory_t* mem); [all …]
|
H A D | wasm-rt-shadow.cpp | 64 void wasm2c_shadow_memory_create(wasm_rt_memory_t* mem) { in wasm2c_shadow_memory_create() 73 void wasm2c_shadow_memory_expand(wasm_rt_memory_t* mem) { in wasm2c_shadow_memory_expand() 85 void wasm2c_shadow_memory_destroy(wasm_rt_memory_t* mem) { in wasm2c_shadow_memory_destroy() 96 static inline void memory_state_iterate(wasm_rt_memory_t* mem, uint32_t ptr, uint32_t ptr_size, std… in memory_state_iterate() 111 void wasm2c_shadow_memory_reserve(wasm_rt_memory_t* mem, uint32_t ptr, uint32_t ptr_size) { in wasm2c_shadow_memory_reserve() 141 void wasm2c_shadow_memory_dlmalloc(wasm_rt_memory_t* mem, uint32_t ptr, uint32_t ptr_size) { in wasm2c_shadow_memory_dlmalloc() 164 void wasm2c_shadow_memory_dlfree(wasm_rt_memory_t* mem, uint32_t ptr) { in wasm2c_shadow_memory_dlfree() 193 void wasm2c_shadow_memory_mark_globals_heap_boundary(wasm_rt_memory_t* mem, uint32_t ptr) { in wasm2c_shadow_memory_mark_globals_heap_boundary() 198 static void check_heap_base_straddle(wasm_rt_memory_t* mem, const char* func_name, uint32_t ptr, ui… in check_heap_base_straddle() 337 WASM2C_FUNC_EXPORT void wasm2c_shadow_memory_print_allocations(wasm_rt_memory_t* mem) { in wasm2c_shadow_memory_print_allocations() [all …]
|
H A D | wasm-rt-impl.c | 235 bool wasm_rt_allocate_memory(wasm_rt_memory_t* memory, in wasm_rt_allocate_memory() 307 void wasm_rt_deallocate_memory(wasm_rt_memory_t* memory) { in wasm_rt_deallocate_memory() 320 uint32_t wasm_rt_grow_memory(wasm_rt_memory_t* memory, uint32_t delta) { in wasm_rt_grow_memory()
|
H A D | README.md | 259 `size` bytes of linear memory. The `size` field of `wasm_rt_memory_t` is the 269 } wasm_rt_memory_t; 296 extern void wasm_rt_allocate_memory(wasm_rt_memory_t*, uint32_t initial_pages, uint32_t max_pages); 297 extern uint32_t wasm_rt_grow_memory(wasm_rt_memory_t*, uint32_t pages);
|
H A D | wasm-rt-wasi.c | 91 static inline t3 name(wasm_rt_memory_t* mem, u64 addr) { \ 99 static inline void name(wasm_rt_memory_t* mem, u64 addr, t2 value) { \
|
/dports/sysutils/vector/vector-0.10.0/cargo-crates/wabt-sys-0.7.1/wabt/wasm2c/ |
H A D | wasm-rt.h | 81 } wasm_rt_memory_t; typedef 130 extern void wasm_rt_allocate_memory(wasm_rt_memory_t*, 147 extern uint32_t wasm_rt_grow_memory(wasm_rt_memory_t*, uint32_t pages);
|
H A D | wasm-rt-impl.c | 94 void wasm_rt_allocate_memory(wasm_rt_memory_t* memory, in wasm_rt_allocate_memory() 103 uint32_t wasm_rt_grow_memory(wasm_rt_memory_t* memory, uint32_t delta) { in wasm_rt_grow_memory()
|
H A D | README.md | 259 `size` bytes of linear memory. The `size` field of `wasm_rt_memory_t` is the 269 } wasm_rt_memory_t; 296 extern void wasm_rt_allocate_memory(wasm_rt_memory_t*, uint32_t initial_pages, uint32_t max_pages); 297 extern uint32_t wasm_rt_grow_memory(wasm_rt_memory_t*, uint32_t pages);
|
/dports/devel/binaryen/binaryen-version_98/third_party/wabt/wasm2c/ |
H A D | wasm-rt.h | 114 } wasm_rt_memory_t; typedef 163 extern void wasm_rt_allocate_memory(wasm_rt_memory_t*, 180 extern uint32_t wasm_rt_grow_memory(wasm_rt_memory_t*, uint32_t pages);
|
H A D | wasm-rt-impl.c | 111 void wasm_rt_allocate_memory(wasm_rt_memory_t* memory, in wasm_rt_allocate_memory() 148 uint32_t wasm_rt_grow_memory(wasm_rt_memory_t* memory, uint32_t delta) { in wasm_rt_grow_memory()
|
/dports/sysutils/vector/vector-0.10.0/cargo-crates/wabt-sys-0.7.1/wabt/wasm2c/examples/fac/ |
H A D | fac.h | 65 } wasm_rt_memory_t; typedef 75 extern void wasm_rt_allocate_memory(wasm_rt_memory_t*, uint32_t initial_pages, uint32_t max_pages); 76 extern uint32_t wasm_rt_grow_memory(wasm_rt_memory_t*, uint32_t pages);
|
H A D | fac.c | 30 static inline t3 name(wasm_rt_memory_t* mem, u64 addr) { \ 38 static inline void name(wasm_rt_memory_t* mem, u64 addr, t2 value) { \
|
/dports/sysutils/vector/vector-0.10.0/cargo-crates/wabt-sys-0.7.1/wabt/test/ |
H A D | spec-wasm2c-prefix.c | 203 static wasm_rt_memory_t spectest_memory; 215 wasm_rt_memory_t* Z_spectestZ_memory = &spectest_memory;
|
/dports/sysutils/vector/vector-0.10.0/cargo-crates/wabt-sys-0.7.1/wabt/src/ |
H A D | wasm2c.c.tmpl | 28 static inline t3 name(wasm_rt_memory_t* mem, u64 addr) { \ 36 static inline void name(wasm_rt_memory_t* mem, u64 addr, t2 value) { \
|
/dports/www/firefox/firefox-99.0/third_party/wasm2c/src/ |
H A D | wasm2c.c.tmpl | 124 static inline t3 name(wasm_rt_memory_t* mem, u64 addr, const char* func_name) { \ 133 static inline void name(wasm_rt_memory_t* mem, u64 addr, t2 value, const char* func_name) { \ 149 static inline t3 name(wasm_rt_memory_t* mem, u64 addr, const char* func_name) { \ 158 static inline void name(wasm_rt_memory_t* mem, u64 addr, t2 value, const char* func_name) { \
|
/dports/www/firefox/firefox-99.0/third_party/rlbox_wasm2c_sandbox/include/ |
H A D | rlbox_wasm2c_sandbox.hpp | 254 wasm_rt_memory_t* sandbox_memory_info = nullptr; 563 …sandbox_memory_info = (wasm_rt_memory_t*) sandbox_info.lookup_wasm2c_nonfunc_export(sandbox, "w2c_… in impl_create_sandbox()
|