Home
last modified time | relevance | path

Searched refs:fd (Results 1 – 15 of 15) sorted by relevance

/mbedtls-latest/library/
Dnet_sockets.c56 #define read(fd, buf, len) recv(fd, (char *) (buf), (int) (len), 0) argument
57 #define write(fd, buf, len) send(fd, (char *) (buf), (int) (len), 0) argument
58 #define close(fd) closesocket(fd) argument
125 static int check_fd(int fd, int for_select) in check_fd() argument
127 if (fd < 0) { in check_fd()
139 if (for_select && fd >= FD_SETSIZE) { in check_fd()
152 ctx->fd = -1; in mbedtls_net_init()
181 ctx->fd = (int) socket(cur->ai_family, cur->ai_socktype, in mbedtls_net_connect()
183 if (ctx->fd < 0) { in mbedtls_net_connect()
188 if (connect(ctx->fd, cur->ai_addr, MSVC_INT_CAST cur->ai_addrlen) == 0) { in mbedtls_net_connect()
[all …]
/mbedtls-latest/programs/test/
Dudp_proxy.c854 nb_fds = client_fd.fd; in main()
855 if (nb_fds < server_fd.fd) { in main()
856 nb_fds = server_fd.fd; in main()
858 if (nb_fds < listen_fd.fd) { in main()
859 nb_fds = listen_fd.fd; in main()
912 FD_SET(server_fd.fd, &read_fds); in main()
913 FD_SET(client_fd.fd, &read_fds); in main()
914 FD_SET(listen_fd.fd, &read_fds); in main()
921 if (FD_ISSET(listen_fd.fd, &read_fds)) { in main()
925 if (FD_ISSET(client_fd.fd, &read_fds)) { in main()
[all …]
/mbedtls-latest/scripts/
Decp_comb_table.py160 fd, srcname = tempfile.mkstemp(prefix="mbedtls", suffix=".c")
161 srcfile = os.fdopen(fd, mode="w")
Dassemble_changelog.py406 with open(generated_output_file, 'r', encoding='utf-8') as fd:
407 generated_output = set(fd)
Dabi_check.py298 with open(full_path) as fd:
299 for line_number, line in enumerate(fd, 1):
/mbedtls-latest/tests/suites/
Dtest_suite_debug.data63fd 36 ee 82 65 2e\nMyFile(0999)\: 15 61 5e 89 bf b8 e8 45 90 db ee 88 16 52 d3 f1\nMyFile(0999)\:…
Dtest_suite_net.function41 ctx->fd = wanted_fd;
119 * If mbedtls_net_poll() does not proprely check that ctx.fd is in range,
Dtest_suite_bignum_core.generated.data1133 mpi_core_add_and_add_if:"000000fe":"000000ff":"000001fd":0
1137 mpi_core_add_and_add_if:"00000000000000fe":"00000000000000ff":"00000000000001fd":0
1165 mpi_core_add_and_add_if:"000000fe":"0000ffff":"000100fd":0
1169 mpi_core_add_and_add_if:"00000000000000fe":"000000000000ffff":"00000000000100fd":0
1189 mpi_core_add_and_add_if:"000000fe":"ffffffff":"000000fd":1
1193 mpi_core_add_and_add_if:"00000000000000fe":"00000000ffffffff":"00000001000000fd":0
1237 mpi_core_add_and_add_if:"00000000000000fe":"ffffffffffffffff":"00000000000000fd":1
1241 mpi_core_add_and_add_if:"00000000000000fe":"ffffffffffffffff":"00000000000000fd":1
1269 …e_add_and_add_if:"0000000000000000000000fe":"ffffffffffffffffffffffff":"0000000000000000000000fd":1
1273 …000000000000000000000000fe":"00000000ffffffffffffffffffffffff":"000000010000000000000000000000fd":0
[all …]
Dtest_suite_bignum_mod.misc.data130 mpi_mod_io_neg:"fe":"fd":0
Dtest_suite_bignum_core.misc.data399 mpi_core_get_mont_r2_unsafe:"fd":"ec":"24"
/mbedtls-latest/programs/ssl/
Dmini_client.c230 if ((server_fd.fd = socket(AF_INET, SOCK_STREAM, 0)) < 0) { in main()
235 if (connect(server_fd.fd, in main()
Dssl_test_lib.c396 int idle(mbedtls_net_context *fd, in idle() argument
399 int idle(mbedtls_net_context *fd, in idle()
429 ret = mbedtls_net_poll(fd, poll_type, 0); in idle()
Dssl_test_lib.h289 int idle(mbedtls_net_context *fd,
/mbedtls-latest/include/mbedtls/
Dnet_sockets.h90 int fd; member
/mbedtls-latest/
DChangeLog1480 X.509 parsing, and finally the field fd of mbedtls_net_context on