Home
last modified time | relevance | path

Searched refs:create (Results 1 – 25 of 144) sorted by relevance

123456

/wasmtime-44.0.1/crates/test-programs/src/bin/
H A Dp3_sockets_tcp_bind.rs17 let sock = TcpSocket::create(ip.family()).unwrap(); in test_tcp_bind_ephemeral_port()
28 let sock = TcpSocket::create(ip.family()).unwrap(); in test_tcp_bind_specific_port()
42 let sock1 = TcpSocket::create(ip.family()).unwrap(); in test_tcp_bind_addrinuse()
48 let sock2 = TcpSocket::create(ip.family()).unwrap(); in test_tcp_bind_addrinuse()
57 let client = TcpSocket::create(ip.family()).unwrap(); in test_tcp_bind_reuseaddr()
60 let listener1 = TcpSocket::create(ip.family()).unwrap(); in test_tcp_bind_reuseaddr()
106 let listener2 = TcpSocket::create(ip.family()).unwrap(); in test_tcp_bind_reuseaddr()
115 let sock = TcpSocket::create(ip.family()).unwrap(); in test_tcp_bind_addrnotavail()
130 let sock = TcpSocket::create(family).unwrap(); in test_tcp_bind_wrong_family()
142 let sock_v4 = TcpSocket::create(IpAddressFamily::Ipv4).unwrap(); in test_tcp_bind_non_unicast()
[all …]
H A Dp3_sockets_tcp_connect.rs16 let sock = TcpSocket::create(family).unwrap(); in test_tcp_connect_unspec()
27 let sock = TcpSocket::create(family).unwrap(); in test_tcp_connect_port_0()
43 let sock = TcpSocket::create(family).unwrap(); in test_tcp_connect_wrong_family()
58 let sock_v4 = TcpSocket::create(IpAddressFamily::Ipv4).unwrap(); in test_tcp_connect_non_unicast()
59 let sock_v6 = TcpSocket::create(IpAddressFamily::Ipv6).unwrap(); in test_tcp_connect_non_unicast()
77 let v4_listener = TcpSocket::create(IpAddressFamily::Ipv4).unwrap(); in test_tcp_connect_dual_stack()
87 let v6_client = TcpSocket::create(IpAddressFamily::Ipv6).unwrap(); in test_tcp_connect_dual_stack()
109 let listener = TcpSocket::create(family).unwrap(); in test_tcp_connect_explicit_bind()
120 let client = TcpSocket::create(family).unwrap(); in test_tcp_connect_explicit_bind()
142 let listener = TcpSocket::create(family).unwrap(); in test_tcp_connect_local_address_change()
[all …]
H A Dp3_sockets_udp_bind.rs15 let sock = UdpSocket::create(ip.family()).unwrap(); in test_udp_bind_ephemeral_port()
26 let sock = UdpSocket::create(ip.family()).unwrap(); in test_udp_bind_specific_port()
40 let sock1 = UdpSocket::create(ip.family()).unwrap(); in test_udp_bind_addrinuse()
45 let sock2 = UdpSocket::create(ip.family()).unwrap(); in test_udp_bind_addrinuse()
56 let sock = UdpSocket::create(ip.family()).unwrap(); in test_udp_bind_addrnotavail()
71 let sock = UdpSocket::create(family).unwrap(); in test_udp_bind_wrong_family()
78 let sock = UdpSocket::create(IpAddressFamily::Ipv6).unwrap(); in test_udp_bind_dual_stack()
H A Dp3_sockets_udp_connect.rs21 let client = UdpSocket::create(family).unwrap(); in test_udp_connect_disconnect_reconnect()
58 let sock = UdpSocket::create(family).unwrap(); in test_udp_connect_unspec()
85 let client = UdpSocket::create(family).unwrap(); in test_udp_connect_local_address_change()
101 let sock = UdpSocket::create(family).unwrap(); in test_udp_connect_port_0()
117 let sock = UdpSocket::create(family).unwrap(); in test_udp_connect_wrong_family()
129 let sock = UdpSocket::create(family).unwrap(); in test_udp_connect_without_bind()
140 let sock = UdpSocket::create(family).unwrap(); in test_udp_connect_with_bind()
151 let v4_server = UdpSocket::create(IpAddressFamily::Ipv4).unwrap(); in test_udp_connect_dual_stack()
161 let v6_client = UdpSocket::create(IpAddressFamily::Ipv6).unwrap(); in test_udp_connect_dual_stack()
183 let client = UdpSocket::create(family).unwrap(); in test_udp_connect_and_send()
[all …]
H A Dp3_sockets_tcp_sockopts.rs14 let sock = TcpSocket::create(family).unwrap(); in test_tcp_sockopt_defaults()
28 let sock = TcpSocket::create(family).unwrap(); in test_tcp_sockopt_input_ranges()
87 let sock = TcpSocket::create(family).unwrap(); in test_tcp_sockopt_readback()
115 let listener = TcpSocket::create(family).unwrap(); in test_tcp_sockopt_inheritance()
135 let client = TcpSocket::create(family).unwrap(); in test_tcp_sockopt_inheritance()
179 let listener = TcpSocket::create(family).unwrap(); in test_tcp_sockopt_after_listen()
199 let client = TcpSocket::create(family).unwrap(); in test_tcp_sockopt_after_listen()
H A Dp3_sockets_udp_sockopts.rs8 let sock = UdpSocket::create(family).unwrap(); in test_udp_sockopt_defaults()
18 let sock = UdpSocket::create(family).unwrap(); in test_udp_sockopt_input_ranges()
42 let sock = UdpSocket::create(family).unwrap(); in test_udp_sockopt_readback()
H A Dp3_sockets_udp_sample_application.rs18 let server = UdpSocket::create(family).unwrap(); in test_udp_sample_application()
23 let client = UdpSocket::create(family).unwrap(); in test_udp_sample_application()
49 let client = UdpSocket::create(family).unwrap(); in test_udp_sample_application()
H A Dp3_sockets_tcp_states.rs12 let sock = TcpSocket::create(family).unwrap(); in test_tcp_unbound_state_invariants()
58 let sock = TcpSocket::create(family).unwrap(); in test_tcp_bound_state_invariants()
107 let sock = TcpSocket::create(family).unwrap(); in test_tcp_listening_state_invariants()
167 let sock_listener = TcpSocket::create(family).unwrap(); in test_tcp_connected_state_invariants()
171 let sock = TcpSocket::create(family).unwrap(); in test_tcp_connected_state_invariants()
H A Dp3_sockets_tcp_listen.rs12 let sock = TcpSocket::create(family).unwrap(); in test_tcp_listen_without_bind()
22 let sock = TcpSocket::create(family).unwrap(); in test_tcp_listen_with_bind()
H A Dp3_sockets_tcp_sample_application.rs17 let listener = TcpSocket::create(family).unwrap(); in test_tcp_sample_application()
27 let client = TcpSocket::create(family).unwrap(); in test_tcp_sample_application()
62 let client = TcpSocket::create(family).unwrap(); in test_tcp_sample_application()
H A Dp3_sockets_udp_states.rs11 let sock = UdpSocket::create(family).unwrap(); in test_udp_unbound_state_invariants()
40 let sock = UdpSocket::create(family).unwrap(); in test_udp_bound_state_invariants()
67 let sock = UdpSocket::create(family).unwrap(); in test_udp_connected_state_invariants()
H A Dp3_tls_sample_application.rs19 let sock = TcpSocket::create(ip.family()).unwrap(); in test_tls_sample_application()
59 let sock = TcpSocket::create(ip.family()).unwrap(); in test_tls_invalid_certificate()
/wasmtime-44.0.1/crates/c-api/tests/
H A Dgc.cc102 auto ty = StructType::create(engine, { in TEST()
106 auto pre = StructRefPre::create(cx, ty); in TEST()
139 auto ty = StructType::create(engine, { in TEST()
142 auto pre = StructRefPre::create(cx, ty); in TEST()
144 auto result = StructRef::create(cx, pre, {Val(int32_t(99))}); in TEST()
173 auto pre = ArrayRefPre::create(cx, ty); in TEST()
176 auto result = ArrayRef::create(cx, pre, Val(int32_t(7)), 5); in TEST()
209 auto pre = ArrayRefPre::create(cx, ty); in TEST()
211 auto result = ArrayRef::create(cx, pre, Val(int32_t(99)), 3); in TEST()
267 auto pre = StructRefPre::create(cx, ty); in TEST()
[all …]
H A Dinstance.cc9 Memory m = Memory::create(store, MemoryType(1)).unwrap(); in TEST()
10 Global g = Global::create(store, GlobalType(ValKind::I32, false), 1).unwrap(); in TEST()
11 Table t = Table::create(store, TableType(ValKind::FuncRef, 1), in TEST()
32 Instance::create(store, mod, {}).err(); in TEST()
33 Instance i = Instance::create(store, mod, {f, g, t, m}).unwrap(); in TEST()
H A Dglobal.cc11 Global::create(store, GlobalType(ValKind::I32, true), 3.0).err(); in TEST()
12 Global::create(store, GlobalType(ValKind::I32, true), 3).unwrap(); in TEST()
13 Global::create(store, GlobalType(ValKind::I32, false), 3).unwrap(); in TEST()
15 Global g = Global::create(store, GlobalType(ValKind::I32, true), 4).unwrap(); in TEST()
H A Dexception.cc22 auto tag = Tag::create(cx, tt).unwrap(); in TEST()
26 auto exn = Exn::create(cx, tag, fields).unwrap(); in TEST()
56 auto instance = Instance::create(cx, module, {}).unwrap(); in TEST()
74 auto tag = Tag::create(cx, tt).unwrap(); in TEST()
100 auto exn = Exn::create(cx2, tag, fields).unwrap(); in TEST()
105 auto instance = Instance::create(cx, module, imports).unwrap(); in TEST()
137 auto instance = Instance::create(cx, module, {}).unwrap(); in TEST()
169 auto instance2 = Instance::create(cx, module2, imports2).unwrap(); in TEST()
194 auto instance = Instance::create(cx, module, {}).unwrap(); in TEST()
H A Dtable.cc11 Table::create(store, TableType(ValKind::FuncRef, 1), 3.0).err(); in TEST()
14 Table t = Table::create(store, TableType(ValKind::FuncRef, 1), null).unwrap(); in TEST()
H A Dmemory.cc11 Memory m = Memory::create(store, MemoryType(1)).unwrap(); in TEST()
25 Memory mem = Memory::create(store, mem_ty).unwrap(); in TEST()
/wasmtime-44.0.1/crates/c-api/include/wasmtime/
H A Dgc.hh154 static StructType create(const Engine &engine, in create() function in wasmtime::StructType
186 static StructRefPre create(Store::Context cx, const StructType &ty) { in create() function in wasmtime::StructRefPre
240 static Result<StructRef> create(Store::Context cx, const StructRefPre &pre, in create() function in wasmtime::StructRef
309 static ArrayType create(const Engine &engine, const FieldType &field) { in create() function in wasmtime::ArrayType
338 static ArrayRefPre create(Store::Context cx, const ArrayType &ty) { in create() function in wasmtime::ArrayRefPre
390 static Result<ArrayRef> create(Store::Context cx, const ArrayRefPre &pre, in create() function in wasmtime::ArrayRef
/wasmtime-44.0.1/examples/
H A Dthreads.cc57 auto instance_res = Instance::create(store, module, {hello_func}); in run_worker()
83 Instance instance = Instance::create(store, module, {hello_func}).unwrap(); in run_worker()
H A Dmemory.cc25 Instance instance = Instance::create(store, module, {}).unwrap(); in main()
75 Memory memory2 = Memory::create(store, ty).unwrap(); in main()
/wasmtime-44.0.1/cranelift/fuzzgen/
H A DREADME.md3 This crate implements a generator to create random Cranelift modules.
/wasmtime-44.0.1/docs/
H A Dexamples-profiling-perf.md40 This will create a `perf.data` file as per usual, but it will *also* create a
88 This will create a `perf.data` file as per usual, but it will *also* create a
100 correct, and then create `perf.jit.data` which merges all the JIT information
101 together. This should also create a lot of `jitted-XXXX-N.so` files in the
/wasmtime-44.0.1/tests/misc_testsuite/memory64/
H A Dmore-than-4gb.wast4 ;; try to create as few 4gb memories as we can to reduce the memory consumption
5 ;; of this test, so create one up front here and use it below.
/wasmtime-44.0.1/.github/workflows/
H A Dpublish-artifacts.yml47 gh release create dev --prerelease dist/* ||
55 gh release create ${{ github.ref_name }} --notes-file relnotes.md dist/*

123456