Home
last modified time | relevance | path

Searched refs:new_conn (Results 1 – 19 of 19) sorted by relevance

/third_party/boost/doc/html/boost_asio/example/cpp03/serialization/
Dserver.cpp58 connection_ptr new_conn(new connection(acceptor_.get_executor())); in server() local
59 acceptor_.async_accept(new_conn->socket(), in server()
61 boost::asio::placeholders::error, new_conn)); in server()
78 connection_ptr new_conn(new connection(acceptor_.get_executor())); in handle_accept() local
79 acceptor_.async_accept(new_conn->socket(), in handle_accept()
81 boost::asio::placeholders::error, new_conn)); in handle_accept()
/third_party/boost/libs/asio/example/cpp03/serialization/
Dserver.cpp58 connection_ptr new_conn(new connection(acceptor_.get_executor())); in server() local
59 acceptor_.async_accept(new_conn->socket(), in server()
61 boost::asio::placeholders::error, new_conn)); in server()
78 connection_ptr new_conn(new connection(acceptor_.get_executor())); in handle_accept() local
79 acceptor_.async_accept(new_conn->socket(), in handle_accept()
81 boost::asio::placeholders::error, new_conn)); in handle_accept()
/third_party/lwip/src/apps/lwiperf/
Dlwiperf.c388 … void *report_arg, lwiperf_state_base_t *related_master_state, lwiperf_state_tcp_t **new_conn) in lwiperf_tx_start_impl() argument
397 LWIP_ASSERT("new_conn != NULL", new_conn != NULL); in lwiperf_tx_start_impl()
398 *new_conn = NULL; in lwiperf_tx_start_impl()
434 *new_conn = client_conn; in lwiperf_tx_start_impl()
442 lwiperf_state_tcp_t *new_conn = NULL; in lwiperf_tx_start_passive() local
446 conn->base.related_master_state, &new_conn); in lwiperf_tx_start_passive()
448 LWIP_ASSERT("new_conn != NULL", new_conn != NULL); in lwiperf_tx_start_passive()
449 new_conn->settings.flags = 0; /* prevent the remote side starting back as client again */ in lwiperf_tx_start_passive()
/third_party/glib/gio/tests/
Dgdbus-threading.c589 GDBusConnection *new_conn; in test_threaded_singleton() local
615 new_conn = g_thread_join (thread); in test_threaded_singleton()
620 if (new_conn == c) in test_threaded_singleton()
630 c = new_conn; in test_threaded_singleton()
/third_party/lwip/src/core/
Daltcp_tcp.c79 struct altcp_pcb *new_conn = altcp_alloc(); in altcp_tcp_accept() local
80 if (new_conn == NULL) { in altcp_tcp_accept()
83 altcp_tcp_setup(new_conn, new_tpcb); in altcp_tcp_accept()
84 return listen_conn->accept(listen_conn->arg, new_conn, err); in altcp_tcp_accept()
/third_party/curl/docs/examples/
Dghiper.c292 static void new_conn(char *url, GlobalInfo *g) in new_conn() function
343 new_conn(buf, (GlobalInfo*)data); in fifo_cb()
367 new_conn(all, (GlobalInfo*)data); in fifo_cb()
Dhiperfifo.c329 static void new_conn(char *url, GlobalInfo *g) in new_conn() function
384 new_conn(s, arg); /* if we read a URL, go get it! */ in fifo_cb()
Devhiperfifo.c333 static void new_conn(char *url, GlobalInfo *g) in new_conn() function
382 new_conn(s, g); /* if we read a URL, go get it! */ in fifo_cb()
Dephiperfifo.c355 static void new_conn(char *url, GlobalInfo *g) in new_conn() function
403 new_conn(s, g); /* if we read a URL, go get it! */ in fifo_cb()
/third_party/libwebsockets/include/libwebsockets/
Dlws-dbus.h92 DBusError *err, DBusNewConnectionFunction new_conn);
/third_party/lwip/src/api/
Dapi_lib.c471 netconn_accept(struct netconn *conn, struct netconn **new_conn) in netconn_accept() argument
481 …LWIP_ERROR("netconn_accept: invalid pointer", (new_conn != NULL), return ERR_A… in netconn_accept()
482 *new_conn = NULL; in netconn_accept()
552 *new_conn = newconn; in netconn_accept()
557 LWIP_UNUSED_ARG(new_conn); in netconn_accept()
/third_party/lwip/src/apps/altcp_tls/
Daltcp_tls_mbedtls.c145 struct altcp_pcb *new_conn = altcp_alloc(); in altcp_mbedtls_lower_accept() local
146 if (new_conn == NULL) { in altcp_mbedtls_lower_accept()
149 setup_err = altcp_mbedtls_setup(listen_state->conf, new_conn, accepted_conn); in altcp_mbedtls_lower_accept()
151 altcp_free(new_conn); in altcp_mbedtls_lower_accept()
154 return listen_conn->accept(listen_conn->arg, new_conn, err); in altcp_mbedtls_lower_accept()
/third_party/libwebsockets/minimal-examples/dbus-server/minimal-dbus-server/
Dmain.c276 new_conn(DBusServer *server, DBusConnection *conn, void *data) in new_conn() function
321 if (!lws_dbus_server_listen(&ctx_listener, ads, &e, new_conn)) { in create_dbus_listener()
/third_party/libwebsockets/lib/roles/dbus/
Ddbus.c427 DBusNewConnectionFunction new_conn) in lws_dbus_server_listen() argument
437 dbus_server_set_new_connection_function(ctx->dbs, new_conn, ctx, NULL); in lws_dbus_server_listen()
/third_party/python/Lib/test/
Dtest_telnetlib.py153 def new_conn(*ignored): function
157 socket.create_connection = new_conn
D_test_multiprocessing.py3474 new_conn = l.accept()
3475 conn.send(new_conn)
3476 new_conn.close()
3481 new_conn, addr = l.accept()
3482 conn.send(new_conn)
3483 new_conn.close()
3522 new_conn = lconn.recv()
3523 self.assertEqual(new_conn.recv(), msg.upper())
3530 new_conn = lconn.recv()
3533 s = new_conn.recv(100)
[all …]
/third_party/lwip/src/include/lwip/
Daltcp.h59 typedef err_t (*altcp_accept_fn)(void *arg, struct altcp_pcb *new_conn, err_t err);
Dapi.h333 err_t netconn_accept(struct netconn *conn, struct netconn **new_conn);
/third_party/libwebsockets/minimal-examples/dbus-server/minimal-dbus-ws-proxy/
Dprotocol_lws_minimal_dbus_ws_proxy.c473 new_conn(DBusServer *server, DBusConnection *conn, void *d) in new_conn() function
589 &e, new_conn)) { in create_dbus_listener()