Home
last modified time | relevance | path

Searched defs:listener (Results 1 – 19 of 19) sorted by relevance

/commonlibrary/rust/ylong_runtime/ylong_runtime/tests/
Duds_cargo_test.rs33 let listener = std::os::unix::net::UnixListener::bind(PATH).unwrap(); in sdv_uds_listener_baisc_test() localVariable
37 let listener = res.unwrap(); in sdv_uds_listener_baisc_test() localVariable
61 let listener = UnixListener::bind(PATH).unwrap(); in sdv_uds_listener_read_write_test() localVariable
112 let listener = UnixListener::bind(PATH).unwrap(); in sdv_uds_stream_test() localVariable
Dtcp_test.rs33 let listener = TcpListener::bind("[::1]:0").await.unwrap(); in sdv_tcp_ipv6_connect() localVariable
84 let listener = TcpListener::bind(ADDR).await.unwrap(); in sdv_tcp_stream_try() localVariable
119 let listener = TcpListener::bind(ADDR).await.unwrap(); in sdv_tcp_stream_basic() localVariable
166 let listener = TcpListener::bind(ADDR).await.unwrap(); in sdv_tcp_stream_peek() localVariable
194 let listener = TcpListener::bind(ADDR).await.expect("Bind Listener Failed"); in sdv_tcp_global_runtime() localVariable
294 let listener = TcpListener::bind(ADDR).await.unwrap(); in sdv_tcp_split_borrow_half() localVariable
364 let listener = TcpListener::bind(ADDR).await.unwrap(); in sdv_tcp_split_owned_half() localVariable
Djoin_set.rs99 let listener = TcpListener::bind(addr).await.unwrap(); in sdv_join_set_spawn_io() localVariable
/commonlibrary/rust/ylong_runtime/ylong_runtime/benches/bin/
Dylong_tokio_tcp_perf.rs114 let listener = TcpListener::bind(addr).await.unwrap(); in main() localVariable
158 let listener = tokioTcpListener::bind("127.0.0.1:9082").await.unwrap(); in main() localVariable
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/net/sys/tcp/
Dmod.rs14 mod listener; module
Dsplit.rs135 let listener = TcpListener::bind(ADDR).await.unwrap(); in ut_test_borrow_half() localVariable
181 let listener = TcpListener::bind(ADDR).await.unwrap(); in ut_test_owned_half() localVariable
228 let listener = TcpListener::bind(ADDR).await.unwrap(); in ut_test_borrow_half_vector() localVariable
278 let listener = TcpListener::bind(ADDR).await.unwrap(); in ut_test_owned_half_vector() localVariable
Dstream.rs685 let listener = TcpListener::bind(ADDR).await.unwrap(); in ut_tcp_stream_basic() localVariable
725 let listener = TcpListener::bind(ADDR).await.unwrap(); in ut_tcp_stream_peek() localVariable
758 let listener = TcpListener::bind(ADDR).await.unwrap(); in ut_tcp_stream_try() localVariable
/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/unix/tcp/
Dmod.rs16 mod listener; module
Dlistener.rs39 let listener = TcpListener { in bind() localVariable
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/net/sys/unix/
Dmod.rs17 mod listener; module
Dlistener.rs45 let listener = ylong_io::UnixListener::bind(path)?; in bind() localVariable
88 let listener = ylong_io::UnixListener::from_std(listener); in from_std() localVariable
/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/windows/tcp/
Dmod.rs14 mod listener; module
Dlistener.rs45 let listener = unsafe { TcpListener::from_raw_socket(socket.as_raw_socket() as _) }; in bind() localVariable
/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/unix/uds/
Dmod.rs16 mod listener; module
/commonlibrary/rust/ylong_http/ylong_http_client/tests/common/
Dmod.rs257 let listener = loop { localVariable
/commonlibrary/ets_utils/js_util_module/stream/src/
Dstream_js.ts138 private listener: EventEmitter | undefined; property in Readable
710 public listener: EventEmitter | undefined; property in Writable
/commonlibrary/ets_utils/js_concurrent_module/worker/
Dworker.cpp769 auto listener = new WorkerListener(env, callback, mode); in AddListener() local
1207 auto listener = new WorkerListener(env, callback, PERMANENT); in ParentPortAddEventListener() local
2255 std::string listener(type); in HandleEventListeners() local
2375 void Worker::AddListenerInner(napi_env env, const char* type, const WorkerListener* listener) in AddListenerInner()
2432 WorkerListener* listener = *item; in RemoveAllListenerInner() local
2534 … Worker::ParentPortAddListenerInner(napi_env env, const char* type, const WorkerListener* listener) in ParentPortAddListenerInner()
2558 WorkerListener* listener = *item; in ParentPortRemoveAllListenerInner() local
2591 std::string listener(type); in ParentPortHandleEventListeners() local
/commonlibrary/rust/ylong_http/ylong_http_client/tests/
Dsdv_async_certs_adapter.rs99 let listener = loop { in sdv_client_request_http2_verify_true() localVariable
/commonlibrary/ets_utils/js_concurrent_module/worker/test/
Dtest_worker.cpp788 auto listener = new Worker::WorkerListener(env, callback, Worker::ListenerMode::PERMANENT); in HandleEventListeners() local
889 auto listener = new Worker::WorkerListener(env, callback, Worker::ListenerMode::PERMANENT); in RemoveListenerInner() local
940 auto listener = new Worker::WorkerListener(env, callback, Worker::ListenerMode::PERMANENT); in ParentPortAddListenerInnerTest() local
959 auto listener = new Worker::WorkerListener(env, callback, Worker::ListenerMode::PERMANENT); in ParentPortRemoveListenerInnerTest() local
997 auto listener = new Worker::WorkerListener(env, callback, Worker::ListenerMode::ONCE); in ParentPortHandleEventListeners() local