Home
last modified time | relevance | path

Searched defs:buf (Results 1 – 25 of 223) sorted by relevance

123456789

/components/net/lwip/lwip-2.0.3/src/api/
A Dnetbuf.c65 struct netbuf *buf; in netbuf_new() local
81 netbuf_delete(struct netbuf *buf) in netbuf_delete()
102 netbuf_alloc(struct netbuf *buf, u16_t size) in netbuf_alloc()
127 netbuf_free(struct netbuf *buf) in netbuf_free()
147 netbuf_ref(struct netbuf *buf, const void *dataptr, u16_t size) in netbuf_ref()
192 netbuf_data(struct netbuf *buf, void **dataptr, u16_t *len) in netbuf_data()
218 netbuf_next(struct netbuf *buf) in netbuf_next()
240 netbuf_first(struct netbuf *buf) in netbuf_first()
/components/net/lwip/lwip-2.1.2/src/api/
A Dnetbuf.c65 struct netbuf *buf; in netbuf_new() local
81 netbuf_delete(struct netbuf *buf) in netbuf_delete()
102 netbuf_alloc(struct netbuf *buf, u16_t size) in netbuf_alloc()
127 netbuf_free(struct netbuf *buf) in netbuf_free()
151 netbuf_ref(struct netbuf *buf, const void *dataptr, u16_t size) in netbuf_ref()
196 netbuf_data(struct netbuf *buf, void **dataptr, u16_t *len) in netbuf_data()
222 netbuf_next(struct netbuf *buf) in netbuf_next()
244 netbuf_first(struct netbuf *buf) in netbuf_first()
/components/net/lwip/lwip-1.4.1/src/api/
A Dnetbuf.c58 struct netbuf *buf; in netbuf_new() local
87 netbuf_delete(struct netbuf *buf) in netbuf_delete()
107 netbuf_alloc(struct netbuf *buf, u16_t size) in netbuf_alloc()
131 netbuf_free(struct netbuf *buf) in netbuf_free()
150 netbuf_ref(struct netbuf *buf, const void *dataptr, u16_t size) in netbuf_ref()
193 netbuf_data(struct netbuf *buf, void **dataptr, u16_t *len) in netbuf_data()
218 netbuf_next(struct netbuf *buf) in netbuf_next()
239 netbuf_first(struct netbuf *buf) in netbuf_first()
/components/net/lwip/lwip-2.0.3/src/include/lwip/
A Dnetbuf.h90 #define netbuf_copy_partial(buf, dataptr, len, offset) \ argument
92 #define netbuf_copy(buf,dataptr,len) netbuf_copy_partial(buf, dataptr, len, 0) argument
93 #define netbuf_take(buf, dataptr, len) pbuf_take((buf)->p, dataptr, len) argument
94 #define netbuf_len(buf) ((buf)->p->tot_len) argument
95 #define netbuf_fromaddr(buf) (&((buf)->addr)) argument
96 #define netbuf_set_fromaddr(buf, fromaddr) ip_addr_set(&((buf)->addr), fromaddr) argument
97 #define netbuf_fromport(buf) ((buf)->port) argument
99 #define netbuf_destaddr(buf) (&((buf)->toaddr)) argument
100 #define netbuf_set_destaddr(buf, destaddr) ip_addr_set(&((buf)->toaddr), destaddr) argument
104 #define netbuf_destport(buf) ((buf)->toport_chksum) argument
[all …]
/components/net/lwip/lwip-2.1.2/src/include/lwip/
A Dnetbuf.h88 #define netbuf_copy_partial(buf, dataptr, len, offset) \ argument
90 #define netbuf_copy(buf,dataptr,len) netbuf_copy_partial(buf, dataptr, len, 0) argument
91 #define netbuf_take(buf, dataptr, len) pbuf_take((buf)->p, dataptr, len) argument
92 #define netbuf_len(buf) ((buf)->p->tot_len) argument
93 #define netbuf_fromaddr(buf) (&((buf)->addr)) argument
94 #define netbuf_set_fromaddr(buf, fromaddr) ip_addr_set(&((buf)->addr), fromaddr) argument
95 #define netbuf_fromport(buf) ((buf)->port) argument
97 #define netbuf_destaddr(buf) (&((buf)->toaddr)) argument
98 #define netbuf_set_destaddr(buf, destaddr) ip_addr_set(&((buf)->toaddr), destaddr) argument
102 #define netbuf_destport(buf) ((buf)->toport_chksum) argument
[all …]
/components/net/lwip/lwip-1.4.1/src/include/lwip/
A Dnetbuf.h79 #define netbuf_copy_partial(buf, dataptr, len, offset) \ argument
81 #define netbuf_copy(buf,dataptr,len) netbuf_copy_partial(buf, dataptr, len, 0) argument
82 #define netbuf_take(buf, dataptr, len) pbuf_take((buf)->p, dataptr, len) argument
83 #define netbuf_len(buf) ((buf)->p->tot_len) argument
84 #define netbuf_fromaddr(buf) (&((buf)->addr)) argument
85 #define netbuf_set_fromaddr(buf, fromaddr) ip_addr_set((&(buf)->addr), fromaddr) argument
86 #define netbuf_fromport(buf) ((buf)->port) argument
88 #define netbuf_destaddr(buf) (&((buf)->toaddr)) argument
89 #define netbuf_set_destaddr(buf, destaddr) ip_addr_set((&(buf)->addr), destaddr) argument
90 #define netbuf_destport(buf) (((buf)->flags & NETBUF_FLAG_DESTADDR) ? (buf)->toport_chksum … argument
[all …]
/components/dfs/dfs_v1/filesystems/nfs/rpc/
A Dxdr.h257 #define IXDR_GET_U_INT32(buf) ((uint32_t)IXDR_GET_INT32(buf)) argument
258 #define IXDR_PUT_U_INT32(buf, v) IXDR_PUT_INT32(buf, (int32_t)(v)) argument
264 #define IXDR_GET_LONG(buf) ((long)IXDR_GET_U_INT32(buf)) argument
267 #define IXDR_PUT_U_LONG(buf, v) IXDR_PUT_LONG(buf, (long)(v)) argument
270 #define IXDR_GET_BOOL(buf) ((bool_t)IXDR_GET_LONG(buf)) argument
271 #define IXDR_GET_ENUM(buf, t) ((t)IXDR_GET_LONG(buf)) argument
272 #define IXDR_GET_SHORT(buf) ((short)IXDR_GET_LONG(buf)) argument
275 #define IXDR_PUT_BOOL(buf, v) IXDR_PUT_LONG(buf, (long)(v)) argument
276 #define IXDR_PUT_ENUM(buf, v) IXDR_PUT_LONG(buf, (long)(v)) argument
277 #define IXDR_PUT_SHORT(buf, v) IXDR_PUT_LONG(buf, (long)(v)) argument
[all …]
/components/utilities/ymodem/
A Dry_sy.c45 rt_uint8_t *buf, in _rym_recv_begin()
79 rt_uint8_t *buf, in _rym_recv_data()
101 rt_uint8_t *buf, in _rym_recv_end()
115 rt_uint8_t *buf, in _rym_send_begin()
155 rt_uint8_t *buf, in _rym_send_data()
185 rt_uint8_t *buf, in _rym_send_end()
/components/drivers/usb/cherryusb/platform/rtthread/
A Dusbh_lwip.c57 void usbh_lwip_eth_output_common(struct pbuf *p, uint8_t *buf) in usbh_lwip_eth_output_common()
69 void usbh_lwip_eth_input_common(struct netif *netif, uint8_t *buf, uint32_t len) in usbh_lwip_eth_input_common()
136 void usbh_cdc_ecm_eth_input(uint8_t *buf, uint32_t buflen) in usbh_cdc_ecm_eth_input()
225 void usbh_rndis_eth_input(uint8_t *buf, uint32_t buflen) in usbh_rndis_eth_input()
297 void usbh_cdc_ncm_eth_input(uint8_t *buf, uint32_t buflen) in usbh_cdc_ncm_eth_input()
366 void usbh_asix_eth_input(uint8_t *buf, uint32_t buflen) in usbh_asix_eth_input()
435 void usbh_rtl8152_eth_input(uint8_t *buf, uint32_t buflen) in usbh_rtl8152_eth_input()
/components/dfs/dfs_v1/src/
A Ddfs_posix.c200 _READ_WRITE_RETURN_TYPE read(int fd, void *buf, size_t len) /* some gcc tool chains will use differ… in read()
240 _READ_WRITE_RETURN_TYPE write(int fd, const void *buf, size_t len) /* some gcc tool chains will use… in write()
398 int stat(const char *file, struct stat *buf) in stat()
422 int fstat(int fildes, struct stat *buf) in fstat()
592 int statfs(const char *path, struct statfs *buf) in statfs()
617 int fstatfs(int fildes, struct statfs *buf) in fstatfs()
1010 void setcwd(char *buf) in setcwd()
1037 char *getcwd(char *buf, size_t size) in getcwd()
/components/fal/samples/porting/
A Dfal_flash_sfud_port.c63 static int read(long offset, rt_uint8_t *buf, rt_size_t size) in read()
72 static int write(long offset, const rt_uint8_t *buf, rt_size_t size) in write()
A Dfal_norflash_port.c47 static int read( long offset, uint8_t* buf, size_t size ) in read()
71 static int write_sector( long offset, const uint8_t* buf, size_t size ) in write_sector()
106 static int write( long offset, const uint8_t* buf, size_t size ) in write()
/components/dfs/dfs_v2/src/
A Ddfs_posix.c526 int stat(const char *file, struct stat *buf) in stat()
554 int fstat(int fildes, struct stat *buf) in fstat()
744 int statfs(const char *path, struct statfs *buf) in statfs()
775 int fstatfs(int fildes, struct statfs *buf) in fstatfs()
1306 void setcwd(char *buf) in setcwd()
1339 char *getcwd(char *buf, size_t size) in getcwd()
1385 ssize_t pread(int fd, void *buf, size_t len, off_t offset) in pread()
1432 ssize_t pwrite(int fd, const void *buf, size_t len, off_t offset) in pwrite()
/components/dfs/dfs_v2/filesystems/procfs/
A Dprocfs.c74 static ssize_t dfs_procfs_read(struct dfs_file *file, void *buf, size_t count, off_t *pos) in dfs_procfs_read()
89 static ssize_t dfs_procfs_write(struct dfs_file *file, const void *buf, size_t count, off_t *pos) in dfs_procfs_write()
252 static int dfs_procfs_readlink(struct dfs_dentry *dentry, char *buf, int len) in dfs_procfs_readlink()
317 static int dfs_procfs_statfs(struct dfs_mnt *mnt, struct statfs *buf) in dfs_procfs_statfs()
426 int proc_read_data(struct dfs_file *file, void *buf, size_t count, off_t *pos) in proc_read_data()
/components/net/lwip/lwip-2.0.3/src/apps/snmp/
A Dsnmp_netconn.c51 struct netbuf *buf; in snmp_netconn_thread() local
84 struct netbuf buf; in snmp_sendto() local
/components/net/lwip/lwip-2.1.2/src/apps/snmp/
A Dsnmp_netconn.c52 struct netbuf *buf; in snmp_netconn_thread() local
85 struct netbuf buf; in snmp_sendto() local
/components/net/lwip/lwip-2.1.2/test/unit/core/
A Dtest_def.c22 def_check_range_untouched(const char *buf, size_t len) in def_check_range_untouched()
33 char buf[TEST_BUFSIZE]; in test_def_itoa() local
/components/drivers/usb/cherryusb/port/pusb2/rt-thread/
A Dusb_dc_glue_phytium.c64 void *buf = rt_malloc(size); in usb_sys_mem_malloc() local
82 void *buf = rt_malloc_align(size, align); in usb_sys_malloc_align() local
A Dusb_hc_glue_phytium.c84 void *buf = rt_malloc(size); in usb_sys_mem_malloc() local
102 void *buf = rt_malloc_align(size, align); in usb_sys_malloc_align() local
/components/lwp/terminal/freebsd/
A Dtty_outq.c151 size_t ttyoutq_read(struct ttyoutq *to, void *buf, size_t len) in ttyoutq_read()
294 size_t ttyoutq_write(struct ttyoutq *to, const void *buf, size_t nbytes) in ttyoutq_write()
346 int ttyoutq_write_nofrag(struct ttyoutq *to, const void *buf, size_t nbytes) in ttyoutq_write_nofrag()
/components/net/lwip/lwip-2.1.2/src/netif/ppp/
A Deui64.c48 static char buf[20]; in eui64_ntoa() local
/components/net/lwip/lwip-2.0.3/src/netif/ppp/
A Deui64.c48 static char buf[20]; in eui64_ntoa() local
/components/net/sal/impl/
A Dproto_mbedtls.c79 int mbedtls_net_send_cb(void *ctx, const unsigned char *buf, size_t len) in mbedtls_net_send_cb()
116 int mbedtls_net_recv_cb( void *ctx, unsigned char *buf, size_t len) in mbedtls_net_recv_cb()
/components/net/sal/dfs_net/
A Ddfs_net.c50 static ssize_t dfs_net_read(struct dfs_file* file, void *buf, size_t count, off_t *pos) in dfs_net_read()
69 static ssize_t dfs_net_write(struct dfs_file *file, const void *buf, size_t count, off_t *pos) in dfs_net_write()
/components/legacy/fdt/libfdt/
A Dfdt_empty_tree.c58 int fdt_create_empty_tree(void *buf, int bufsize) in fdt_create_empty_tree()

Completed in 115 milliseconds

123456789