Home
last modified time | relevance | path

Searched refs:handle (Results 1 – 25 of 47) sorted by relevance

12

/components/drivers/usb/cherryusb/port/hpmicro/
A Dusb_dc_hpm.c40 usb_device_handle_t *handle; member
122 usb_device_handle_t *handle = g_hpm_udc[busid].handle; in usbd_set_address() local
169 usb_device_handle_t *handle = g_hpm_udc[busid].handle; in usbd_ep_open() local
193 usb_device_handle_t *handle = g_hpm_udc[busid].handle; in usbd_ep_close() local
202 usb_device_edpt_close(handle, ep); in usbd_ep_close()
209 usb_device_handle_t *handle = g_hpm_udc[busid].handle; in usbd_ep_set_stall() local
217 usb_device_handle_t *handle = g_hpm_udc[busid].handle; in usbd_ep_clear_stall() local
225 usb_device_handle_t *handle = g_hpm_udc[busid].handle; in usbd_ep_is_stalled() local
234 usb_device_handle_t *handle = g_hpm_udc[busid].handle; in usbd_ep_start_write() local
255 usb_device_handle_t *handle = g_hpm_udc[busid].handle; in usbd_ep_start_read() local
[all …]
/components/dfs/dfs_v1/filesystems/nfs/
A Ddfs_nfs.c39 nfs_fh3 handle; member
195 return handle; in get_handle()
263 return handle; in get_dir_handle()
297 nfs_fh3 *handle; in nfs_is_directory() local
329 rt_free(handle); in nfs_is_directory()
339 nfs_fh3 *handle; in nfs_create() local
381 rt_free(handle); in nfs_create()
391 nfs_fh3 *handle; in nfs_mkdir() local
429 rt_free(handle); in nfs_mkdir()
822 copy_handle(&fp->handle, handle); in nfs_open()
[all …]
/components/libc/compilers/dlib/
A Dsyscall_close.c26 int __close(int handle) in __close() argument
28 if (handle == _LLIO_STDOUT || in __close()
29 handle == _LLIO_STDERR || in __close()
30 handle == _LLIO_STDIN) in __close()
33 return close(handle); in __close()
A Dsyscall_lseek.c35 long __lseek(int handle, long offset, int whence) in __lseek() argument
37 if (handle == _LLIO_STDOUT || in __lseek()
38 handle == _LLIO_STDERR || in __lseek()
39 handle == _LLIO_STDIN) in __lseek()
42 return lseek(handle, offset, whence); in __lseek()
A Dsyscall_read.c35 size_t __read(int handle, unsigned char *buf, size_t len) in __read() argument
40 if (handle == _LLIO_STDIN) in __read()
54 else if ((handle == _LLIO_STDOUT) || (handle == _LLIO_STDERR)) in __read()
59 size = read(handle, buf, len); in __read()
A Dsyscall_write.c35 size_t __write(int handle, const unsigned char *buf, size_t len) in __write() argument
41 if ((handle == _LLIO_STDOUT) || (handle == _LLIO_STDERR)) in __write()
57 else if (handle == _LLIO_STDIN) in __write()
64 size = write(handle, buf, len); in __write()
A Dsyscall_open.c29 int handle; in __open() local
73 handle = open(filename, open_mode, 0); in __open()
74 if (handle < 0) in __open()
78 return handle; in __open()
/components/net/lwip/lwip-2.0.3/src/apps/tftp/
A Dtftp_server.c81 void *handle; member
110 if (tftp_state.handle) { in close_handle()
111 tftp_state.ctx->close(tftp_state.handle); in close_handle()
112 tftp_state.handle = NULL; in close_handle()
234 if(tftp_state.handle != NULL) { in recv()
260 if (!tftp_state.handle) { in recv()
288 if (tftp_state.handle == NULL) { in recv()
301 ret = tftp_state.ctx->write(tftp_state.handle, p); in recv()
320 if (tftp_state.handle == NULL) { in recv()
367 if (tftp_state.handle == NULL) { in tftp_tmr()
[all …]
A Dtftp_port.c43 static int tftp_write(void* handle, struct pbuf* p) in tftp_write() argument
45 int fd = (int) handle; in tftp_write()
/components/net/lwip/lwip-2.1.2/src/apps/tftp/
A Dtftp_server.c81 void *handle; member
110 if (tftp_state.handle) { in close_handle()
111 tftp_state.ctx->close(tftp_state.handle); in close_handle()
112 tftp_state.handle = NULL; in close_handle()
233 if (tftp_state.handle != NULL) { in recv()
259 if (!tftp_state.handle) { in recv()
286 if (tftp_state.handle == NULL) { in recv()
300 ret = tftp_state.ctx->write(tftp_state.handle, p); in recv()
326 if (tftp_state.handle == NULL) { in recv()
373 if (tftp_state.handle == NULL) { in tftp_tmr()
[all …]
A Dtftp_port.c43 static int tftp_write(void* handle, struct pbuf* p) in tftp_write() argument
45 int fd = (int) handle; in tftp_write()
/components/libc/posix/libdl/
A Ddlclose.c25 int dlclose(void *handle) in dlclose() argument
29 RT_ASSERT(handle != RT_NULL); in dlclose()
31 module = (struct rt_dlmodule *)handle; in dlclose()
A Ddlsym.c27 void* dlsym(void *handle, const char* symbol) in dlsym() argument
32 RT_ASSERT(handle != RT_NULL); in dlsym()
34 module = (struct rt_dlmodule *)handle; in dlsym()
A Ddlfcn.h25 void *dlsym(void *handle, const char *symbol);
26 int dlclose (void *handle);
/components/net/lwip/lwip-2.0.3/src/include/lwip/apps/
A Dtftp_server.h68 void (*close)(void* handle);
76 int (*read)(void* handle, void* buf, int bytes);
85 int (*write)(void* handle, struct pbuf* p);
/components/net/lwip/lwip-2.1.2/src/include/lwip/apps/
A Dtftp_server.h68 void (*close)(void* handle);
76 int (*read)(void* handle, void* buf, int bytes);
85 int (*write)(void* handle, struct pbuf* p);
/components/net/lwip/lwip-2.0.3/src/apps/snmp/
A Dsnmp_raw.c56 snmp_sendto(void *handle, struct pbuf *p, const ip_addr_t *dst, u16_t port) in snmp_sendto() argument
58 return udp_sendto((struct udp_pcb*)handle, p, dst, port); in snmp_sendto()
62 snmp_get_local_ip_for_dst(void* handle, const ip_addr_t *dst, ip_addr_t *result) in snmp_get_local_ip_for_dst() argument
64 struct udp_pcb* udp_pcb = (struct udp_pcb*)handle; in snmp_get_local_ip_for_dst()
A Dsnmp_netconn.c81 snmp_sendto(void *handle, struct pbuf *p, const ip_addr_t *dst, u16_t port) in snmp_sendto() argument
88 result = netconn_sendto((struct netconn*)handle, &buf, dst, port); in snmp_sendto()
94 snmp_get_local_ip_for_dst(void* handle, const ip_addr_t *dst, ip_addr_t *result) in snmp_get_local_ip_for_dst() argument
96 struct netconn* conn = (struct netconn*)handle; in snmp_get_local_ip_for_dst()
A Dsnmp_msg.h95 void *handle; member
182 void snmp_receive(void *handle, struct pbuf *p, const ip_addr_t *source_ip, u16_t port);
183 err_t snmp_sendto(void *handle, struct pbuf *p, const ip_addr_t *dst, u16_t port);
184 u8_t snmp_get_local_ip_for_dst(void* handle, const ip_addr_t *dst, ip_addr_t *result);
/components/net/lwip/lwip-2.1.2/src/apps/snmp/
A Dsnmp_raw.c57 snmp_sendto(void *handle, struct pbuf *p, const ip_addr_t *dst, u16_t port) in snmp_sendto() argument
59 return udp_sendto((struct udp_pcb *)handle, p, dst, port); in snmp_sendto()
63 snmp_get_local_ip_for_dst(void *handle, const ip_addr_t *dst, ip_addr_t *result) in snmp_get_local_ip_for_dst() argument
65 struct udp_pcb *udp_pcb = (struct udp_pcb *)handle; in snmp_get_local_ip_for_dst()
A Dsnmp_netconn.c82 snmp_sendto(void *handle, struct pbuf *p, const ip_addr_t *dst, u16_t port) in snmp_sendto() argument
89 result = netconn_sendto((struct netconn *)handle, &buf, dst, port); in snmp_sendto()
95 snmp_get_local_ip_for_dst(void *handle, const ip_addr_t *dst, ip_addr_t *result) in snmp_get_local_ip_for_dst() argument
97 struct netconn *conn = (struct netconn *)handle; in snmp_get_local_ip_for_dst()
A Dsnmp_msg.h82 void *handle; member
173 void snmp_receive(void *handle, struct pbuf *p, const ip_addr_t *source_ip, u16_t port);
174 err_t snmp_sendto(void *handle, struct pbuf *p, const ip_addr_t *dst, u16_t port);
175 u8_t snmp_get_local_ip_for_dst(void *handle, const ip_addr_t *dst, ip_addr_t *result);
/components/net/lwip/lwip-2.0.3/src/apps/httpd/
A Dhttpd.c235 struct fs_file *handle; member
466 if(hs->handle) { in http_state_eof()
471 ms_needed, hs->handle->len, ((((u32_t)hs->handle->len) * 10) / needed))); in http_state_eof()
473 fs_close(hs->handle); in http_state_eof()
474 hs->handle = NULL; in http_state_eof()
789 , (hs->handle ? hs->handle->state : NULL)
935 if ((hs->handle == NULL) ||
942 hs->handle->len);
1073 if (hs->handle == NULL) {
2248 hs->handle = file;
[all …]
/components/net/lwip/lwip-2.1.2/src/apps/http/
A Dhttpd.c246 struct fs_file *handle; member
480 if (hs->handle) { in http_state_eof()
487 fs_close(hs->handle); in http_state_eof()
488 hs->handle = NULL; in http_state_eof()
803 , (hs->handle ? hs->handle->state : NULL)
959 if ((hs->handle != NULL) && (hs->handle->flags & FS_FILE_FLAGS_HEADER_PERSISTENT)) {
1104 if (hs->handle == NULL) {
2333 hs->handle = file;
2387 hs->handle = NULL;
2498 if (hs->handle) {
[all …]
/components/legacy/fdt/examples/
A Dfdt_test.c79 bt_pins = dtb_node_get_dtb_node_by_phandle_DFS(dtb_node_list, bt_pins->handle); in dtb_test()
80 bt_pins = dtb_node_get_dtb_node_by_phandle_BFS(dtb_node_list, bt_pins->handle); in dtb_test()
106 rt_kprintf("\n\nphandle = <0x%x>\n", bt_pins->handle); in dtb_test()

Completed in 33 milliseconds

12