Home
last modified time | relevance | path

Searched refs:bind_ctx (Results 1 – 3 of 3) sorted by relevance

/third_party/mbedtls/library/
Dnet_sockets.c339 int mbedtls_net_accept( mbedtls_net_context *bind_ctx, in mbedtls_net_accept() argument
359 if( getsockopt( bind_ctx->fd, SOL_SOCKET, SO_TYPE, in mbedtls_net_accept()
369 ret = client_ctx->fd = (int) accept( bind_ctx->fd, in mbedtls_net_accept()
377 ret = (int) recvfrom( bind_ctx->fd, buf, sizeof( buf ), MSG_PEEK, in mbedtls_net_accept()
392 if( net_would_block( bind_ctx ) != 0 ) in mbedtls_net_accept()
405 if( connect( bind_ctx->fd, (struct sockaddr *) &client_addr, n ) != 0 ) in mbedtls_net_accept()
408 client_ctx->fd = bind_ctx->fd; in mbedtls_net_accept()
409 bind_ctx->fd = -1; /* In case we exit early */ in mbedtls_net_accept()
414 ( bind_ctx->fd = (int) socket( local_addr.ss_family, in mbedtls_net_accept()
416 setsockopt( bind_ctx->fd, SOL_SOCKET, SO_REUSEADDR, in mbedtls_net_accept()
[all …]
/third_party/mbedtls/include/mbedtls/
Dnet_sockets.h170 int mbedtls_net_accept( mbedtls_net_context *bind_ctx,
/third_party/ffmpeg/libavdevice/
Ddshow.c238 IBindCtx *bind_ctx = NULL; in dshow_cycle_devices() local
246 r = CreateBindCtx(0, &bind_ctx); in dshow_cycle_devices()
250 r = IMoniker_GetDisplayName(m, bind_ctx, NULL, &olestr); in dshow_cycle_devices()
292 if (bind_ctx) in dshow_cycle_devices()
293 IBindCtx_Release(bind_ctx); in dshow_cycle_devices()