Home
last modified time | relevance | path

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

/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/
A Dnet_sockets.c79 #define close(fd) closesocket(fd) argument
147 if( fd < 0 ) in check_fd()
170 ctx->fd = -1; in mbedtls_net_init()
371 ret = client_ctx->fd = (int) accept( bind_ctx->fd, in mbedtls_net_accept()
410 client_ctx->fd = bind_ctx->fd; in mbedtls_net_accept()
494 int fd = ctx->fd; in mbedtls_net_poll() local
575 int fd = ((mbedtls_net_context *) ctx)->fd; in mbedtls_net_recv() local
615 int fd = ((mbedtls_net_context *) ctx)->fd; in mbedtls_net_recv_timeout() local
657 int fd = ((mbedtls_net_context *) ctx)->fd; in mbedtls_net_send() local
698 ctx->fd = -1; in mbedtls_net_close()
[all …]
/optee_os-3.20.0/core/include/tee/
A Dtee_fs_rpc.h28 const struct tee_fs_dirfile_fileh *dfh, int *fd);
31 int *fd);
32 TEE_Result tee_fs_rpc_close(uint32_t id, int fd);
35 uint32_t id, int fd, tee_fs_off_t offset,
41 uint32_t id, int fd, tee_fs_off_t offset,
46 TEE_Result tee_fs_rpc_truncate(uint32_t id, int fd, size_t len);
A Dtadb.h32 TEE_Result (*open)(uint32_t file_number, int *fd);
33 TEE_Result (*create)(uint32_t file_number, int *fd);
34 void (*close)(int fd);
37 TEE_Result (*read_init)(struct tee_fs_rpc_operation *op, int fd,
42 TEE_Result (*write_init)(struct tee_fs_rpc_operation *op, int fd,
/optee_os-3.20.0/lib/libutils/isoc/
A Dfwrite.c12 int fd = 0; in fwrite() local
15 fd = 1; in fwrite()
17 fd = 2; in fwrite()
21 return write(fd, ptr, size * nmemb); in fwrite()
A Dwrite.c10 ssize_t write(int fd, const void *buf, size_t count) in write() argument
12 if (fd != 1 && fd != 2) in write()
/optee_os-3.20.0/core/tee/
A Dtee_fs_rpc.c54 int *fd) in operation_open_dfh() argument
80 *fd = op.params[2].u.value.a; in operation_open_dfh()
88 const struct tee_fs_dirfile_fileh *dfh, int *fd) in tee_fs_rpc_open_dfh() argument
90 return operation_open_dfh(id, OPTEE_RPC_FS_OPEN, dfh, fd); in tee_fs_rpc_open_dfh()
95 int *fd) in tee_fs_rpc_create_dfh() argument
100 TEE_Result tee_fs_rpc_close(uint32_t id, int fd) in tee_fs_rpc_close() argument
104 [0] = THREAD_PARAM_VALUE(IN, OPTEE_RPC_FS_CLOSE, fd, 0), in tee_fs_rpc_close()
112 uint32_t id, int fd, tee_fs_off_t offset, in tee_fs_rpc_read_init() argument
129 [0] = THREAD_PARAM_VALUE(IN, OPTEE_RPC_FS_READ, fd, in tee_fs_rpc_read_init()
151 uint32_t id, int fd, tee_fs_off_t offset, in tee_fs_rpc_write_init() argument
[all …]
A Dtadb.c60 int fd; member
68 int fd; member
97 int *fd) in ta_operation_open() argument
118 *fd = params[2].u.value.a; in ta_operation_open()
424 &ta->fd); in tee_tadb_ta_create()
458 res = tee_fs_rpc_write_init(&op, OPTEE_RPC_CMD_FS, ta->fd, in tee_tadb_ta_write()
484 tee_fs_rpc_close(OPTEE_RPC_CMD_FS, ta->fd); in tee_tadb_ta_close_and_delete()
557 tee_fs_rpc_close(OPTEE_RPC_CMD_FS, ta->fd); in tee_tadb_ta_close_and_commit()
657 &ta->fd); in tee_tadb_ta_open()
711 params[0] = THREAD_PARAM_VALUE(IN, OPTEE_RPC_FS_READ, ta->fd, 0); in ta_load()
[all …]
A Dtee_ree_fs.c35 int fd; member
229 return tee_fs_rpc_read_init(op, OPTEE_RPC_CMD_FS, fdp->fd, in ree_fs_rpc_read_init()
247 return tee_fs_rpc_write_init(op, OPTEE_RPC_CMD_FS, fdp->fd, in ree_fs_rpc_write_init()
286 res = tee_fs_rpc_truncate(OPTEE_RPC_CMD_FS, fdp->fd, in ree_fs_ftruncate_internal()
405 fdp->fd = -1; in ree_fs_open_primitive()
410 dfh, &fdp->fd); in ree_fs_open_primitive()
412 res = tee_fs_rpc_open_dfh(OPTEE_RPC_CMD_FS, dfh, &fdp->fd); in ree_fs_open_primitive()
429 if (fdp->fd != -1) in ree_fs_open_primitive()
430 tee_fs_rpc_close(OPTEE_RPC_CMD_FS, fdp->fd); in ree_fs_open_primitive()
445 tee_fs_rpc_close(OPTEE_RPC_CMD_FS, fdp->fd); in ree_fs_close_primitive()
/optee_os-3.20.0/core/lib/zlib/
A Dzutil.h148 # define fdopen(fd,mode) NULL /* No fdopen() */ argument
175 # define fdopen(fd,mode) NULL /* No fdopen() */ argument
180 # define fdopen(fd,mode) NULL /* No fdopen() */ argument
182 # define fdopen(fd,type) _fdopen(fd,type) argument
A Dgzguts.h179 int fd; /* file descriptor */ member
A Dzlib.h1343 ZEXTERN gzFile ZEXPORT gzdopen OF((int fd, const char *mode));
/optee_os-3.20.0/lib/libutils/isoc/include/
A Dunistd.h15 ssize_t write(int fd, const void *buf, size_t count);
/optee_os-3.20.0/lib/libmbedtls/mbedtls/include/mbedtls/
A Dnet_sockets.h100 int fd; /**< The underlying file descriptor */ member
/optee_os-3.20.0/scripts/
A Dsymbolize.py550 fd = sys.stdin.fileno()
551 isatty = os.isatty(fd)
553 old = termios.tcgetattr(fd)
554 new = termios.tcgetattr(fd)
558 termios.tcsetattr(fd, termios.TCSADRAIN, new)
564 termios.tcsetattr(fd, termios.TCSADRAIN, old)

Completed in 18 milliseconds