Home
last modified time | relevance | path

Searched refs:copy_len (Results 1 – 13 of 13) sorted by relevance

/components/utilities/ulog/backend/
A Dfile_be.c129 rt_size_t copy_len = 0, free_len = 0; in ulog_file_backend_output_with_buf() local
139 copy_len = free_len; in ulog_file_backend_output_with_buf()
143 copy_len = len; in ulog_file_backend_output_with_buf()
145 rt_memcpy(be->buf_ptr_now, log, copy_len); in ulog_file_backend_output_with_buf()
147 be->buf_ptr_now += copy_len; in ulog_file_backend_output_with_buf()
148 len -= copy_len; in ulog_file_backend_output_with_buf()
149 log += copy_len; in ulog_file_backend_output_with_buf()
/components/net/lwip/lwip-2.0.3/src/apps/netbiosns/
A Dnetbiosns.c345 size_t copy_len = strlen(hostname); in netbiosns_set_name() local
346 LWIP_ASSERT("NetBIOS name is too long!", copy_len < NETBIOS_NAME_LEN); in netbiosns_set_name()
347 if (copy_len >= NETBIOS_NAME_LEN) { in netbiosns_set_name()
348 copy_len = NETBIOS_NAME_LEN - 1; in netbiosns_set_name()
350 MEMCPY(netbiosns_local_name, hostname, copy_len + 1); in netbiosns_set_name()
/components/net/lwip/lwip-2.1.2/src/apps/netbiosns/
A Dnetbiosns.c504 size_t copy_len = strlen(hostname); in netbiosns_set_name() local
506 LWIP_ASSERT("NetBIOS name is too long!", copy_len < NETBIOS_NAME_LEN); in netbiosns_set_name()
507 if (copy_len >= NETBIOS_NAME_LEN) { in netbiosns_set_name()
508 copy_len = NETBIOS_NAME_LEN - 1; in netbiosns_set_name()
512 for (i = 0; i < copy_len; i++ ) { in netbiosns_set_name()
515 netbiosns_local_name[copy_len] = '\0'; in netbiosns_set_name()
/components/lwp/
A Dlwp_user_mm.c847 size_t copy_len = 0; in lwp_data_get() local
892 copy_len += bytes_to_copy; in lwp_data_get()
897 return copy_len; in lwp_data_get()
903 size_t copy_len = 0; in lwp_data_put() local
951 copy_len += bytes_to_put; in lwp_data_put()
956 return copy_len; in lwp_data_put()
962 size_t copy_len = 0; in lwp_data_set() local
999 copy_len += bytes_to_put; in lwp_data_set()
1005 return copy_len; in lwp_data_set()
A Dlwp_syscall.c4468 size_t copy_len; in sys_stat() local
4490 if (copy_len == 0) in sys_stat()
4495 copy_path[copy_len] = '\0'; in sys_stat()
4537 size_t copy_len; in sys_lstat() local
4559 if (copy_len == 0) in sys_lstat()
4564 copy_path[copy_len] = '\0'; in sys_lstat()
8492 size_t len, copy_len; in sys_readlink() local
9536 size_t copy_len; in sys_statfs() local
9558 if (copy_len == 0) in sys_statfs()
9606 size_t copy_len; in sys_statfs64() local
[all …]
/components/net/lwip/lwip-2.1.2/src/apps/http/
A Dhttpd.c2196 size_t copy_len = LWIP_MIN(sizeof(http_uri_buf) - 1, uri_len - 1); local
2197 if (copy_len > 0) {
2198 MEMCPY(http_uri_buf, uri, copy_len);
2199 http_uri_buf[copy_len] = 0;
2209 if (copy_len > 0) {
2210 size_t len_left = sizeof(http_uri_buf) - copy_len - 1;
2214 MEMCPY(&http_uri_buf[copy_len], httpd_default_filenames[loop].name, name_copy_len);
2215 http_uri_buf[copy_len + name_copy_len] = 0;
/components/net/lwip/lwip-2.1.2/src/apps/altcp_tls/
A Daltcp_tls_mbedtls.c444 u16_t copy_len; in altcp_mbedtls_bio_recv() local
469 copy_len = (u16_t)LWIP_MIN(len, p->len); in altcp_mbedtls_bio_recv()
471 ret = pbuf_copy_partial(p, buf, copy_len, 0); in altcp_mbedtls_bio_recv()
472 LWIP_ASSERT("ret == copy_len", ret == copy_len); in altcp_mbedtls_bio_recv()
/components/net/lwip/lwip-2.0.3/src/apps/httpd/
A Dhttpd.c2102 size_t copy_len = LWIP_MIN(sizeof(http_uri_buf) - 1, uri_len - 1); local
2103 if (copy_len > 0) {
2104 MEMCPY(http_uri_buf, uri, copy_len);
2105 http_uri_buf[copy_len] = 0;
2115 if (copy_len > 0) {
2116 size_t len_left = sizeof(http_uri_buf) - copy_len - 1;
2120 MEMCPY(&http_uri_buf[copy_len], g_psDefaultFilenames[loop].name, name_copy_len);
/components/net/lwip/lwip-2.0.3/src/core/
A Ddns.c755 u16_t query_idx, copy_len; in dns_send() local
800 copy_len = (u16_t)(hostname - hostname_part); in dns_send()
802 pbuf_take_at(p, hostname_part, copy_len, query_idx + 1); in dns_send()
/components/net/lwip/lwip-2.1.2/src/core/
A Ddns.c782 u16_t query_idx, copy_len; in dns_send() local
835 copy_len = (u16_t)(hostname - hostname_part); in dns_send()
841 pbuf_take_at(p, hostname_part, copy_len, (u16_t)(query_idx + 1)); in dns_send()
/components/net/lwip/lwip-2.0.3/src/core/ipv4/
A Ddhcp.c1588 u16_t copy_len; in dhcp_parse_reply() local
1592 copy_len = LWIP_MIN(decode_len, 4); in dhcp_parse_reply()
1593 if (pbuf_copy_partial(q, &value, copy_len, val_offset) != copy_len) { in dhcp_parse_reply()
/components/net/lwip/lwip-2.1.2/src/core/ipv4/
A Ddhcp.c1663 u16_t copy_len; in dhcp_parse_reply() local
1667 copy_len = LWIP_MIN(decode_len, 4); in dhcp_parse_reply()
1668 if (pbuf_copy_partial(q, &value, copy_len, val_offset) != copy_len) { in dhcp_parse_reply()
/components/net/lwip/lwip-1.4.1/src/core/
A Ddhcp.c1451 u16_t copy_len; in dhcp_parse_reply() local
1455 copy_len = LWIP_MIN(decode_len, 4); in dhcp_parse_reply()
1456 pbuf_copy_partial(q, &value, copy_len, val_offset); in dhcp_parse_reply()

Completed in 55 milliseconds