| /lib/lwip/lwip/contrib/ports/unix/port/netif/ |
| A D | sio.c | 121 int fd; in sio_init() local 127 if ( fd < 0 ) in sio_init() 187 tcflush( fd, TCIOFLUSH ); in sio_init() 189 return fd; in sio_init() 202 if ( fd < 0 ) in sio_speed() 221 tcflush( fd, TCIOFLUSH ); in sio_speed() 396 if (siostate->fd < 0) { in sio_open() 409 siostate->fd, ptsname(siostate->fd))); in sio_open() 420 ptsname(siostate->fd), in sio_open() 428 siostate->fd, childpid, ptsname(siostate->fd))); in sio_open() [all …]
|
| A D | tapif.c | 103 int fd; member 139 tapif->fd = open(DEVTAP, O_RDWR); in low_level_init() 140 LWIP_DEBUGF(TAPIF_DEBUG, ("tapif_init: fd %d\n", tapif->fd)); in low_level_init() 141 if (tapif->fd == -1) { in low_level_init() 163 if (ioctl(tapif->fd, TUNSETIFF, (void *) &ifr) < 0) { in low_level_init() 242 written = write(tapif->fd, buf, p->tot_len); in low_level_output() 272 readlen = read(tapif->fd, buf, sizeof(buf)); in low_level_input() 394 FD_SET(tapif->fd, &fdset); in tapif_select() 396 ret = select(tapif->fd + 1, &fdset, NULL, NULL, &tv); in tapif_select() 418 FD_SET(tapif->fd, &fdset); in tapif_thread() [all …]
|
| A D | fifo.c | 77 void fifoPut(fifo_t * fifo, int fd) in fifoPut() argument 88 cnt = read( fd, &fifo->data[fifo->emptyslot], fifo->dataslot - fifo->emptyslot ); in fifoPut() 92 cnt = read( fd, &fifo->data[fifo->emptyslot], FIFOSIZE-fifo->emptyslot ); in fifoPut() 113 fifoPut( fifo, fd ); in fifoPut()
|
| /lib/mbedtls/external/mbedtls/library/ |
| A D | net_sockets.c | 58 #define close(fd) closesocket(fd) argument 127 if (fd < 0) { in check_fd() 152 ctx->fd = -1; in mbedtls_net_init() 345 ret = client_ctx->fd = (int) accept(bind_ctx->fd, in mbedtls_net_accept() 381 client_ctx->fd = bind_ctx->fd; in mbedtls_net_accept() 461 int fd = ctx->fd; in mbedtls_net_poll() local 543 int fd = ((mbedtls_net_context *) ctx)->fd; in mbedtls_net_recv() local 587 int fd = ((mbedtls_net_context *) ctx)->fd; in mbedtls_net_recv_timeout() local 632 int fd = ((mbedtls_net_context *) ctx)->fd; in mbedtls_net_send() local 678 ctx->fd = -1; in mbedtls_net_close() [all …]
|
| /lib/ |
| A D | semihosting.c | 64 long fd; in smh_open() local 78 fd = smh_trap(SYSOPEN, &open); in smh_open() 79 if (fd == -1) in smh_open() 81 return fd; in smh_open() 91 long fd; member 103 read.fd = fd; in smh_read() 120 write.fd = fd; in smh_write() 131 long smh_close(long fd) in smh_close() argument 143 long smh_flen(long fd) in smh_flen() argument 159 long fd; in smh_seek() member [all …]
|
| A D | fdtdec_test.c | 63 int fd; in make_fdt() local 93 fd = os_open("/tmp/fdtdec-text.dtb", OS_O_CREAT | OS_O_WRONLY); in make_fdt() 94 if (fd == -1) { in make_fdt() 98 os_write(fd, fdt, size); in make_fdt() 99 os_close(fd); in make_fdt() 238 int fd; in make_fdt_carveout() local 259 fd = os_open(filename, OS_O_CREAT | OS_O_WRONLY); in make_fdt_carveout() 260 if (fd < 0) { in make_fdt_carveout() 265 os_write(fd, fdt, size); in make_fdt_carveout() 266 os_close(fd); in make_fdt_carveout()
|
| /lib/lwip/lwip/contrib/ports/win32/ |
| A D | sio.c | 92 sio_setup(HANDLE fd) in sio_setup() argument 100 if (!GetCommState(fd, &dcb)) { in sio_setup() 118 if (!SetCommState(fd, &dcb)) { in sio_setup() 123 if(!GetCommTimeouts(fd, &cto)) in sio_setup() 131 if(!SetCommTimeouts(fd, &cto)) { in sio_setup() 203 void sio_send(u8_t c, sio_fd_t fd) in sio_send() argument 218 u8_t sio_recv(sio_fd_t fd) in sio_recv() argument 239 u32_t sio_read(sio_fd_t fd, u8_t* data, u32_t len) in sio_read() argument 259 u32_t sio_tryread(sio_fd_t fd, u8_t* data, u32_t len) in sio_tryread() argument 298 void sio_read_abort(sio_fd_t fd) in sio_read_abort() argument [all …]
|
| /lib/lwip/lwip/src/include/lwip/ |
| A D | sio.h | 73 void sio_send(u8_t c, sio_fd_t fd); 84 u8_t sio_recv(sio_fd_t fd); 99 u32_t sio_read(sio_fd_t fd, u8_t *data, u32_t len); 112 u32_t sio_tryread(sio_fd_t fd, u8_t *data, u32_t len); 126 u32_t sio_write(sio_fd_t fd, const u8_t *data, u32_t len); 135 void sio_read_abort(sio_fd_t fd);
|
| /lib/lwip/lwip/src/netif/ppp/ |
| A D | utils.c | 799 int fd, pid, n; 842 if (fd < 0) { 849 n = read(fd, lock_buffer, 11); 853 close(fd); 854 fd = -1; 879 if (fd < 0) { 887 write (fd, lock_buffer, 11); 891 close(fd); 915 int fd; 921 if (fd < 0) { [all …]
|
| A D | eap.c | 1227 int fd, err; local 1231 fd = open(path, modebits, S_IRUSR | S_IWUSR); 1235 return (fd); 1259 int dsize, fd, olen = len; local 1293 if (fd < 0) { 1297 len = write(fd, inp + 1, *inp); 1298 if (close(fd) != -1 && len == *inp) { 1325 int fd; in eap_request() local 1370 if ((fd = open_pn_file(O_RDONLY)) >= 0) { in eap_request() 1372 len = read(fd, rhostname + SRP_PSEUDO_LEN, in eap_request() [all …]
|
| /lib/mbedtls/external/mbedtls/programs/test/ |
| A 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 …]
|
| /lib/lwip/lwip/contrib/examples/snmp/snmp_private_mib/ |
| A D | lwip_prvmib.c | 182 int fd; in lwip_privmib_init() local 193 fd = open(SENSORS_DIR, O_RDONLY); in lwip_privmib_init() 194 if (fd > -1) in lwip_privmib_init() 196 fstat(fd, &sb); in lwip_privmib_init() 209 nbytes = getdirentries(fd, buf, bufsize, &base); in lwip_privmib_init() 233 close(fd); in lwip_privmib_init()
|
| /lib/libfdt/ |
| A D | test_libfdt.py | 11 with open('b/sandbox_spl/u-boot.dtb') as fd: 12 fdt = fd.read()
|
| /lib/mbedtls/external/mbedtls/scripts/ |
| A D | ecp_comb_table.py | 160 fd, srcname = tempfile.mkstemp(prefix="mbedtls", suffix=".c") 161 srcfile = os.fdopen(fd, mode="w")
|
| /lib/mbedtls/external/mbedtls/programs/ssl/ |
| A 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()
|
| A 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()
|
| /lib/lwip/lwip/test/sockets/ |
| A D | sockets_stresstest.c | 224 pfd.fd = s; in sockets_stresstest_wait_readable_poll() 405 struct sockets_stresstest_fullduplex *fd = (struct sockets_stresstest_fullduplex *)arg; in sockets_stresstest_conn_client_r() local 406 int s = fd->s; in sockets_stresstest_conn_client_r() 412 if (fd->closed) { in sockets_stresstest_conn_client_r() 416 if (fd->closed) { in sockets_stresstest_conn_client_r()
|
| /lib/lwip/lwip/src/api/ |
| A D | sockets.c | 450 tryget_socket_unconn_nouse(int fd) in tryget_socket_unconn_nouse() argument 452 int s = fd - LWIP_SOCKET_OFFSET; in tryget_socket_unconn_nouse() 461 lwip_socket_dbg_get_socket(int fd) in lwip_socket_dbg_get_socket() argument 463 return tryget_socket_unconn_nouse(fd); in lwip_socket_dbg_get_socket() 468 tryget_socket_unconn(int fd) in tryget_socket_unconn() argument 481 tryget_socket_unconn_locked(int fd) in tryget_socket_unconn_locked() argument 499 tryget_socket(int fd) in tryget_socket() argument 518 get_socket(int fd) in get_socket() argument 522 if ((fd < LWIP_SOCKET_OFFSET) || (fd >= (LWIP_SOCKET_OFFSET + NUM_SOCKETS))) { in get_socket() 2337 tryget_socket_unconn(fds[fdi].fd); in lwip_poll_inc_sockets_used() [all …]
|
| /lib/mbedtls/external/mbedtls/tests/suites/ |
| A 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)\:…
|
| /lib/lwip/lwip/contrib/ports/unix/port/include/netif/ |
| A D | fifo.h | 45 void fifoPut(fifo_t * fifo, int fd);
|
| A D | sio.h | 10 int fd; member
|
| /lib/mbedtls/external/mbedtls/tests/data_files/ |
| A D | dh.optlen.pem | 9 43:57:e1:c4:ea:07:a7:ce:1e:38:1a:2f:ca:fd:ff: 13 31:84:13:44:3c:d2:44:21:5c:d7:fd:4c:be:79:6e:
|
| A D | dh.998.pem | 8 fd:84:05:b0:df:36:15:29:4e:3e:23:3b:c3:ae:6b:
|
| /lib/mbedtls/external/mbedtls/include/mbedtls/ |
| A D | net_sockets.h | 90 int fd; member
|
| /lib/lwip/lwip/src/include/lwip/priv/ |
| A D | sockets_priv.h | 134 struct lwip_sock* lwip_socket_dbg_get_socket(int fd);
|