/optee_test/host/xtest/ |
A D | sock_server.c | 41 int fd = 0; in server_io_cb() local 43 fd = srvst->fds[idx].fd; in server_io_cb() 61 if (close(fd)) { in server_io_cb() 81 srvst->fds[n].fd = fd; in server_add_state() 99 srvst->fds[srvst->nfds].fd = fd; in server_add_state() 113 int fd = 0; in tcp_server_accept_cb() local 119 fd = accept(srvst->fds[idx].fd, sa, &len); in tcp_server_accept_cb() 120 if (fd == -1) { in tcp_server_accept_cb() 129 if (close(fd)) in tcp_server_accept_cb() 205 srvst.fds[n].fd != srvst.socks[n].serv->fd) { in sock_server() [all …]
|
A D | sdp_basic.c | 69 int fd = -1; in allocate_ion_buffer_old_api() local 77 return fd; in allocate_ion_buffer_old_api() 82 fd = fd_data.fd; in allocate_ion_buffer_old_api() 89 return fd; in allocate_ion_buffer_old_api() 98 int fd = -1; in allocate_ion_buffer() local 108 return fd; in allocate_ion_buffer() 147 fd = alloc_data.fd; in allocate_ion_buffer() 150 return fd; in allocate_ion_buffer() 408 close(fd); in get_random_bytes() 477 close(fd); in sdp_basic_test() [all …]
|
A D | sock_server.h | 14 int fd; member 31 bool (*accept)(void *ptr, int fd, short *events); 32 bool (*read)(void *ptr, int fd, short *events); 33 bool (*write)(void *ptr, int fd, short *events);
|
A D | regression_2000.c | 214 static bool test_200x_tcp_accept_cb(void *ptr, int fd, short *events) in test_200x_tcp_accept_cb() argument 217 (void)fd; in test_200x_tcp_accept_cb() 222 static bool test_200x_tcp_read_cb(void *ptr, int fd, short *events) in test_200x_tcp_read_cb() argument 230 r = read(fd, buf, sizeof(buf)); in test_200x_tcp_read_cb() 243 static bool test_200x_tcp_write_cb(void *ptr, int fd, short *events) in test_200x_tcp_write_cb() argument 253 r = write(fd, bytes, num_bytes); in test_200x_tcp_write_cb() 543 static bool test_2003_accept_cb(void *ptr, int fd, short *events) in test_2003_accept_cb() argument 551 if (setsockopt(fd, SOL_SOCKET, SO_RCVBUF, &val, sizeof(val))) in test_2003_accept_cb() 640 static bool test_200x_udp_accept_cb(void *ptr, int fd, short *events) in test_200x_udp_accept_cb() argument 653 r = recvfrom(fd, buf, sizeof(buf), 0, sa, &slen); in test_200x_udp_accept_cb() [all …]
|
A D | aes_perf.c | 232 static void register_shm(TEEC_SharedMemory *shm, int fd) in register_shm() argument 234 TEEC_Result res = TEEC_RegisterSharedMemoryFileDescriptor(&ctx, shm, fd); in register_shm()
|
/optee_test/host/openssl/include/openssl/ |
A D | bio.h | 520 # define BIO_set_fd(b,fd,c) BIO_int_ctrl(b,BIO_C_SET_FD,c,fd) argument 747 int BIO_socket_ioctl(int fd, long type, void *arg); 748 int BIO_socket_nbio(int fd, int mode); 758 BIO *BIO_new_dgram(int fd, int close_flag); 760 BIO *BIO_new_dgram_sctp(int fd, int close_flag); 771 BIO *BIO_new_fd(int fd, int close_flag);
|
A D | des.h | 207 int DES_enc_read(int fd, void *buf, int len, DES_key_schedule *sched, 209 int DES_enc_write(int fd, const void *buf, int len, DES_key_schedule *sched,
|
A D | des_old.h | 403 int _ossl_old_des_enc_read(int fd, char *buf, int len, 406 int _ossl_old_des_enc_write(int fd, char *buf, int len,
|
A D | ssl.h | 2156 int SSL_set_fd(SSL *s, int fd); 2157 int SSL_set_rfd(SSL *s, int fd); 2158 int SSL_set_wfd(SSL *s, int fd);
|
/optee_test/host/xtest/include/uapi/linux/ |
A D | ion_old.h | 59 int fd; member
|
A D | ion.h | 92 __u32 fd; member
|