Lines Matching refs:ptr
57 PoolAllocationConfig() : ptr(wasmtime_pooling_allocation_config_new()) {} in PoolAllocationConfig()
64 wasmtime_pooling_allocation_config_max_unused_warm_slots_set(ptr.get(), in max_unused_warm_slots()
72 wasmtime_pooling_allocation_config_decommit_batch_size_set(ptr.get(), in decommit_batch_size()
82 wasmtime_pooling_allocation_config_async_stack_keep_resident_set(ptr.get(), in async_stack_keep_resident()
93 ptr.get(), size); in linear_memory_keep_resident()
101 wasmtime_pooling_allocation_config_table_keep_resident_set(ptr.get(), size); in table_keep_resident()
109 wasmtime_pooling_allocation_config_total_component_instances_set(ptr.get(), in total_component_instances()
119 ptr.get(), size); in max_component_instance_size()
128 ptr.get(), count); in max_core_instances_per_component()
136 wasmtime_pooling_allocation_config_max_memories_per_component_set(ptr.get(), in max_memories_per_component()
145 wasmtime_pooling_allocation_config_max_tables_per_component_set(ptr.get(), in max_tables_per_component()
154 wasmtime_pooling_allocation_config_total_memories_set(ptr.get(), count); in total_memories()
162 wasmtime_pooling_allocation_config_total_tables_set(ptr.get(), count); in total_tables()
171 wasmtime_pooling_allocation_config_total_stacks_set(ptr.get(), count); in total_stacks()
180 wasmtime_pooling_allocation_config_total_core_instances_set(ptr.get(), in total_core_instances()
189 wasmtime_pooling_allocation_config_max_core_instance_size_set(ptr.get(), in max_core_instance_size()
198 wasmtime_pooling_allocation_config_max_tables_per_module_set(ptr.get(), in max_tables_per_module()
207 wasmtime_pooling_allocation_config_table_elements_set(ptr.get(), elements); in table_elements()
215 wasmtime_pooling_allocation_config_max_memories_per_module_set(ptr.get(), in max_memories_per_module()
224 wasmtime_pooling_allocation_config_max_memory_size_set(ptr.get(), bytes); in max_memory_size()
232 wasmtime_pooling_allocation_config_total_gc_heaps_set(ptr.get(), count); in total_gc_heaps()
250 Config() : ptr(wasm_config_new()) {} in Config()
257 wasmtime_config_debug_info_set(ptr.get(), enable); in debug_info()
265 wasmtime_config_epoch_interruption_set(ptr.get(), enable); in epoch_interruption()
273 wasmtime_config_consume_fuel_set(ptr.get(), enable); in consume_fuel()
280 wasmtime_config_max_wasm_stack_set(ptr.get(), stack); in max_wasm_stack()
288 wasmtime_config_wasm_threads_set(ptr.get(), enable); in wasm_threads()
296 wasmtime_config_shared_memory_set(ptr.get(), enable); in shared_memory()
303 wasmtime_config_wasm_tail_call_set(ptr.get(), enable); in wasm_tail_call()
311 wasmtime_config_wasm_reference_types_set(ptr.get(), enable); in wasm_reference_types()
318 wasmtime_config_wasm_simd_set(ptr.get(), enable); in wasm_simd()
325 wasmtime_config_wasm_relaxed_simd_set(ptr.get(), enable); in wasm_relaxed_simd()
333 wasmtime_config_wasm_relaxed_simd_deterministic_set(ptr.get(), enable); in wasm_relaxed_simd_deterministic()
340 wasmtime_config_wasm_bulk_memory_set(ptr.get(), enable); in wasm_bulk_memory()
347 wasmtime_config_wasm_multi_value_set(ptr.get(), enable); in wasm_multi_value()
354 wasmtime_config_wasm_multi_memory_set(ptr.get(), enable); in wasm_multi_memory()
361 wasmtime_config_wasm_memory64_set(ptr.get(), enable); in wasm_memory64()
368 void wasm_gc(bool enable) { wasmtime_config_wasm_gc_set(ptr.get(), enable); } in wasm_gc()
375 wasmtime_config_wasm_function_references_set(ptr.get(), enable); in wasm_function_references()
383 wasmtime_config_wasm_wide_arithmetic_set(ptr.get(), enable); in wasm_wide_arithmetic()
391 wasmtime_config_wasm_exceptions_set(ptr.get(), enable); in wasm_exceptions()
399 wasmtime_config_wasm_custom_page_sizes_set(ptr.get(), enable); in wasm_custom_page_sizes()
408 wasmtime_config_wasm_component_model_set(ptr.get(), enable); in wasm_component_model()
416 wasmtime_config_wasm_component_model_map_set(ptr.get(), enable); in wasm_component_model_map()
426 wasmtime_config_parallel_compilation_set(ptr.get(), enable); in parallel_compilation()
435 wasmtime_config_strategy_set(ptr.get(), in strategy()
443 wasmtime_config_cranelift_debug_verifier_set(ptr.get(), enable); in cranelift_debug_verifier()
450 wasmtime_config_cranelift_nan_canonicalization_set(ptr.get(), enable); in cranelift_nan_canonicalization()
458 ptr.get(), static_cast<wasmtime_opt_level_t>(level)); in cranelift_opt_level()
465 wasmtime_config_cranelift_flag_enable(ptr.get(), flag.c_str()); in cranelift_flag_enable()
472 wasmtime_config_cranelift_flag_set(ptr.get(), flag.c_str(), value.c_str()); in cranelift_flag_set()
481 ptr.get(), static_cast<wasmtime_profiling_strategy_t>(profiler)); in profiler()
488 wasmtime_config_memory_reservation_set(ptr.get(), size); in memory_reservation()
496 wasmtime_config_memory_reservation_for_growth_set(ptr.get(), size); in memory_reservation_for_growth()
503 wasmtime_config_memory_guard_size_set(ptr.get(), size); in memory_guard_size()
511 wasmtime_config_memory_may_move_set(ptr.get(), enable); in memory_may_move()
518 wasmtime_config_memory_init_cow_set(ptr.get(), enable); in memory_init_cow()
525 wasmtime_config_native_unwind_info_set(ptr.get(), enable); in native_unwind_info()
532 wasmtime_config_macos_use_mach_ports_set(ptr.get(), enable); in macos_use_mach_ports()
538 wasmtime_config_signals_based_traps_set(ptr.get(), enable); in signals_based_traps()
546 auto *error = wasmtime_config_cache_config_load(ptr.get(), nullptr); in cache_load_default()
557 auto *error = wasmtime_config_cache_config_load(ptr.get(), path.c_str()); in cache_load()
567 std::unique_ptr<T> ptr(reinterpret_cast<T *>(env)); in raw_finalize() local
619 wasmtime_config_host_memory_creator_set(ptr.get(), &config); in host_memory_creator()
627 wasmtime_pooling_allocation_strategy_set(ptr.get(), config.capi()); in pooling_allocation_strategy()
639 wasmtime_config_concurrency_support_set(ptr.get(), enable); in concurrency_support()