Searched refs:fd (Results 1 – 15 of 15) sorted by relevance
/mbedtls-latest/library/ |
D | net_sockets.c | 56 #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/ |
D | udp_proxy.c | 854 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/ |
D | ecp_comb_table.py | 160 fd, srcname = tempfile.mkstemp(prefix="mbedtls", suffix=".c") 161 srcfile = os.fdopen(fd, mode="w")
|
D | assemble_changelog.py | 406 with open(generated_output_file, 'r', encoding='utf-8') as fd: 407 generated_output = set(fd)
|
D | abi_check.py | 298 with open(full_path) as fd: 299 for line_number, line in enumerate(fd, 1):
|
/mbedtls-latest/tests/suites/ |
D | test_suite_debug.data | 63 …fd 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)\:…
|
D | test_suite_net.function | 41 ctx->fd = wanted_fd; 119 * If mbedtls_net_poll() does not proprely check that ctx.fd is in range,
|
D | test_suite_bignum_core.generated.data | 1133 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 …]
|
D | test_suite_bignum_mod.misc.data | 130 mpi_mod_io_neg:"fe":"fd":0
|
D | test_suite_bignum_core.misc.data | 399 mpi_core_get_mont_r2_unsafe:"fd":"ec":"24"
|
/mbedtls-latest/programs/ssl/ |
D | mini_client.c | 230 if ((server_fd.fd = socket(AF_INET, SOCK_STREAM, 0)) < 0) { in main() 235 if (connect(server_fd.fd, in main()
|
D | ssl_test_lib.c | 396 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()
|
D | ssl_test_lib.h | 289 int idle(mbedtls_net_context *fd,
|
/mbedtls-latest/include/mbedtls/ |
D | net_sockets.h | 90 int fd; member
|
/mbedtls-latest/ |
D | ChangeLog | 1480 X.509 parsing, and finally the field fd of mbedtls_net_context on
|