| /components/net/lwip/lwip-2.1.2/src/netif/ppp/ |
| A D | magic.c | 162 void magic_random_bytes(unsigned char *buf, u32_t buf_len) { in magic_random_bytes() argument 167 while (buf_len > 0) { in magic_random_bytes() 175 n = LWIP_MIN(buf_len, MD5_HASH_SIZE); in magic_random_bytes() 178 buf_len -= n; in magic_random_bytes() 274 void magic_random_bytes(unsigned char *buf, u32_t buf_len) { in magic_random_bytes() argument 277 while (buf_len > 0) { in magic_random_bytes() 279 n = LWIP_MIN(buf_len, sizeof(new_rand)); in magic_random_bytes() 282 buf_len -= n; in magic_random_bytes()
|
| /components/net/lwip/lwip-2.0.3/src/netif/ppp/ |
| A D | magic.c | 162 void magic_random_bytes(unsigned char *buf, u32_t buf_len) { in magic_random_bytes() argument 167 while (buf_len > 0) { in magic_random_bytes() 175 n = LWIP_MIN(buf_len, MD5_HASH_SIZE); in magic_random_bytes() 178 buf_len -= n; in magic_random_bytes() 274 void magic_random_bytes(unsigned char *buf, u32_t buf_len) { in magic_random_bytes() argument 277 while (buf_len > 0) { in magic_random_bytes() 279 n = LWIP_MIN(buf_len, sizeof(new_rand)); in magic_random_bytes() 282 buf_len -= n; in magic_random_bytes()
|
| /components/dfs/dfs_v1/filesystems/nfs/ |
| A D | nfs_auth.c | 67 int buf_len = 0, str_len = 0; in authnone_create() local 78 buf_len = ((str_len) + (sizeof(rt_uint32_t)) - 1) & ~((sizeof(rt_uint32_t)) - 1); in authnone_create() 79 buf_len += sizeof(struct nfs_credentia); in authnone_create() 82 buf_len += sizeof(rt_uint32_t) * _credentia.auxi_count; in authnone_create() 84 auth_buf = auth_base = rt_malloc(buf_len); in authnone_create() 89 memset(auth_buf, 0, buf_len); in authnone_create()
|
| /components/net/lwip/lwip-2.0.3/src/apps/snmp/ |
| A D | snmp_pbuf_stream.c | 80 snmp_pbuf_stream_writebuf(struct snmp_pbuf_stream* pbuf_stream, const void* buf, u16_t buf_len) in snmp_pbuf_stream_writebuf() argument 82 if (pbuf_stream->length < buf_len) { in snmp_pbuf_stream_writebuf() 86 if (pbuf_take_at(pbuf_stream->pbuf, buf, buf_len, pbuf_stream->offset) != ERR_OK) { in snmp_pbuf_stream_writebuf() 90 pbuf_stream->offset += buf_len; in snmp_pbuf_stream_writebuf() 91 pbuf_stream->length -= buf_len; in snmp_pbuf_stream_writebuf()
|
| A D | snmp_core.c | 1210 snmp_decode_bits(const u8_t *buf, u32_t buf_len, u32_t *bit_value) in snmp_decode_bits() argument 1216 while (buf_len > 0) { in snmp_decode_bits() 1237 buf_len--; in snmp_decode_bits() 1284 snmp_encode_bits(u8_t *buf, u32_t buf_len, u32_t bit_value, u8_t bit_count) in snmp_encode_bits() argument 1289 while ((buf_len > 0) && (bit_value != 0x00)) { in snmp_encode_bits() 1306 buf_len--; in snmp_encode_bits() 1312 buf_len -= len; in snmp_encode_bits() 1314 while ((len < min_bytes) && (buf_len > 0)) { in snmp_encode_bits() 1317 buf_len--; in snmp_encode_bits()
|
| A D | snmp_pbuf_stream.h | 62 …_t snmp_pbuf_stream_writebuf(struct snmp_pbuf_stream* pbuf_stream, const void* buf, u16_t buf_len);
|
| A D | snmp_asn1.h | 87 err_t snmp_asn1_dec_raw(struct snmp_pbuf_stream *pbuf_stream, u16_t len, u8_t *buf, u16_t* buf_len,…
|
| A D | snmp_asn1.c | 732 snmp_asn1_dec_raw(struct snmp_pbuf_stream *pbuf_stream, u16_t len, u8_t *buf, u16_t* buf_len, u16_t… in snmp_asn1_dec_raw() argument 738 *buf_len = len; in snmp_asn1_dec_raw()
|
| /components/net/lwip/lwip-2.1.2/src/apps/snmp/ |
| A D | snmp_pbuf_stream.c | 80 snmp_pbuf_stream_writebuf(struct snmp_pbuf_stream *pbuf_stream, const void *buf, u16_t buf_len) in snmp_pbuf_stream_writebuf() argument 82 if (pbuf_stream->length < buf_len) { in snmp_pbuf_stream_writebuf() 86 if (pbuf_take_at(pbuf_stream->pbuf, buf, buf_len, pbuf_stream->offset) != ERR_OK) { in snmp_pbuf_stream_writebuf() 90 pbuf_stream->offset += buf_len; in snmp_pbuf_stream_writebuf() 91 pbuf_stream->length -= buf_len; in snmp_pbuf_stream_writebuf()
|
| A D | snmp_core.c | 1215 snmp_decode_bits(const u8_t *buf, u32_t buf_len, u32_t *bit_value) in snmp_decode_bits() argument 1221 while (buf_len > 0) { in snmp_decode_bits() 1241 buf_len--; in snmp_decode_bits() 1288 snmp_encode_bits(u8_t *buf, u32_t buf_len, u32_t bit_value, u8_t bit_count) in snmp_encode_bits() argument 1293 while ((buf_len > 0) && (bit_value != 0x00)) { in snmp_encode_bits() 1310 buf_len--; in snmp_encode_bits() 1316 buf_len -= len; in snmp_encode_bits() 1318 while ((len < min_bytes) && (buf_len > 0)) { in snmp_encode_bits() 1321 buf_len--; in snmp_encode_bits()
|
| A D | snmp_pbuf_stream.h | 61 …_t snmp_pbuf_stream_writebuf(struct snmp_pbuf_stream *pbuf_stream, const void *buf, u16_t buf_len);
|
| A D | snmp_asn1.h | 88 err_t snmp_asn1_dec_raw(struct snmp_pbuf_stream *pbuf_stream, u16_t len, u8_t *buf, u16_t *buf_len,…
|
| A D | snmp_asn1.c | 589 snmp_asn1_dec_raw(struct snmp_pbuf_stream *pbuf_stream, u16_t len, u8_t *buf, u16_t *buf_len, u16_t… in snmp_asn1_dec_raw() argument 595 *buf_len = len; in snmp_asn1_dec_raw()
|
| /components/net/lwip/lwip-2.0.3/src/include/netif/ppp/ |
| A D | magic.h | 113 void magic_random_bytes(unsigned char *buf, u32_t buf_len);
|
| /components/net/lwip/lwip-2.1.2/src/include/netif/ppp/ |
| A D | magic.h | 117 void magic_random_bytes(unsigned char *buf, u32_t buf_len);
|
| /components/drivers/include/drivers/ |
| A D | dma.h | 105 rt_ubase_t dma_buf_addr, rt_size_t buf_len, rt_size_t period_len, 109 rt_ubase_t dma_buf_addr, rt_size_t buf_len,
|
| /components/net/lwip/lwip-2.0.3/src/include/lwip/apps/ |
| A D | snmp_core.h | 320 err_t snmp_decode_bits(const u8_t *buf, u32_t buf_len, u32_t *bit_value); 322 u8_t snmp_encode_bits(u8_t *buf, u32_t buf_len, u32_t bit_value, u8_t bit_count);
|
| /components/net/at/src/ |
| A D | at_client.c | 322 resp->buf_len = 0; in at_obj_exec_cmd() 400 resp->buf_len = 0; in at_obj_exec_cmd_format() 863 if (resp->buf_len + client->recv_line_len < resp->buf_size) in client_parser() 866 … rt_memcpy(resp->buf + resp->buf_len, client->recv_line_buf, client->recv_line_len); in client_parser() 869 resp->buf_len += client->recv_line_len; in client_parser()
|
| /components/net/lwip/lwip-2.1.2/src/include/lwip/apps/ |
| A D | snmp_core.h | 325 err_t snmp_decode_bits(const u8_t *buf, u32_t buf_len, u32_t *bit_value); 327 u8_t snmp_encode_bits(u8_t *buf, u32_t buf_len, u32_t bit_value, u8_t bit_count);
|
| /components/net/at/include/ |
| A D | at.h | 121 rt_size_t buf_len; member
|
| /components/drivers/usb/cherryusb/class/vendor/wifi/ |
| A D | usbh_bl616.c | 58 static int parse_get_mac_rsp_msg(struct usbh_bl616 *bl616_class, void *buf, int buf_len) in parse_get_mac_rsp_msg() argument 63 if (buf_len != sizeof(usb_data_t) + sizeof(rnm_mac_addr_ind_msg_t)) { in parse_get_mac_rsp_msg()
|
| /components/net/lwip/lwip-2.0.3/src/apps/httpd/ |
| A D | httpd.c | 245 int buf_len; /* Size of file read buffer, buf. */ member 1089 count = LWIP_MIN(hs->buf_len, bytes_left); 1106 hs->buf_len = count;
|
| /components/net/lwip/lwip-2.1.2/src/apps/http/ |
| A D | httpd.c | 256 int buf_len; /* Size of file read buffer, buf. */ member 1120 count = LWIP_MIN(hs->buf_len, bytes_left); 1137 hs->buf_len = count;
|