Home
last modified time | relevance | path

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

/third_party/lwip/src/apps/netbiosns/
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()
/third_party/mbedtls/library/
Dcipher.c590 size_t copy_len = 0; in mbedtls_cipher_update() local
612 copy_len = block_size - ctx->unprocessed_len; in mbedtls_cipher_update()
615 copy_len); in mbedtls_cipher_update()
627 input += copy_len; in mbedtls_cipher_update()
628 ilen -= copy_len; in mbedtls_cipher_update()
639 copy_len = ilen % block_size; in mbedtls_cipher_update()
640 if (copy_len == 0 && in mbedtls_cipher_update()
643 copy_len = block_size; in mbedtls_cipher_update()
646 memcpy(ctx->unprocessed_data, &(input[ilen - copy_len]), in mbedtls_cipher_update()
647 copy_len); in mbedtls_cipher_update()
[all …]
/third_party/lwip/src/core/
Dpbuf.c988 pbuf_copy_partial_pbuf(struct pbuf *p_to, const struct pbuf *p_from, u16_t copy_len, u16_t offset) in pbuf_copy_partial_pbuf() argument
994 (const void *)p_to, (const void *)p_from, copy_len, offset)); in pbuf_copy_partial_pbuf()
998 (p_from->tot_len >= copy_len)), return ERR_ARG;); in pbuf_copy_partial_pbuf()
1001 (p_to->tot_len >= (offset + copy_len))), return ERR_ARG;); in pbuf_copy_partial_pbuf()
1013 len = (u16_t)LWIP_MIN(copy_len, len_calc); in pbuf_copy_partial_pbuf()
1017 copy_len -= len; in pbuf_copy_partial_pbuf()
1024 LWIP_ERROR("p_from != NULL", (p_from != NULL) || (copy_len == 0), return ERR_ARG;); in pbuf_copy_partial_pbuf()
1030 LWIP_ERROR("p_to != NULL", (p_to != NULL) || (copy_len == 0), return ERR_ARG;); in pbuf_copy_partial_pbuf()
1043 } while (copy_len); in pbuf_copy_partial_pbuf()
Ddns.c788 u16_t query_idx, copy_len; in dns_send() local
872 copy_len = (u16_t)(hostname - hostname_part); in dns_send()
878 pbuf_take_at(p, hostname_part, copy_len, (u16_t)(query_idx + 1)); in dns_send()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/
Dos_unix.c718 size_t copy_len; in os_realloc() local
735 copy_len = a->len; in os_realloc()
736 if (copy_len > size) in os_realloc()
737 copy_len = size; in os_realloc()
738 os_memcpy(n, a + 1, copy_len); in os_realloc()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/
Dos_unix.c729 size_t copy_len; in os_realloc() local
746 copy_len = a->len; in os_realloc()
747 if (copy_len > size) in os_realloc()
748 copy_len = size; in os_realloc()
749 os_memcpy(n, a + 1, copy_len); in os_realloc()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_common/
Deap_teap_common.c198 size_t copy_len = msk_len; in eap_teap_derive_imck() local
201 if (copy_len > 32) in eap_teap_derive_imck()
202 copy_len = 32; in eap_teap_derive_imck()
203 os_memcpy(imsk, msk, copy_len); in eap_teap_derive_imck()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_common/
Deap_teap_common.c207 size_t copy_len = msk_len; in eap_teap_derive_imck() local
210 if (copy_len > 32) in eap_teap_derive_imck()
211 copy_len = 32; in eap_teap_derive_imck()
212 os_memcpy(imsk, msk, copy_len); in eap_teap_derive_imck()
/third_party/node/deps/openssl/openssl/providers/implementations/kdfs/
Dhkdf.c536 size_t copy_len; in HKDF_Expand() local
557 copy_len = (dig_len > okm_len - done_len) ? in HKDF_Expand()
561 memcpy(okm + done_len, prev, copy_len); in HKDF_Expand()
563 done_len += copy_len; in HKDF_Expand()
/third_party/openssl/providers/implementations/kdfs/
Dhkdf.c536 size_t copy_len; in HKDF_Expand() local
557 copy_len = (dig_len > okm_len - done_len) ? in HKDF_Expand()
561 memcpy(okm + done_len, prev, copy_len); in HKDF_Expand()
563 done_len += copy_len; in HKDF_Expand()
/third_party/lwip/src/apps/http/
Dhttpd.c2212 size_t copy_len = LWIP_MIN(sizeof(http_uri_buf) - 1, uri_len - 1); local
2213 if (copy_len > 0) {
2214 MEMCPY(http_uri_buf, uri, copy_len);
2215 http_uri_buf[copy_len] = 0;
2225 if (copy_len > 0) {
2226 size_t len_left = sizeof(http_uri_buf) - copy_len - 1;
2230 MEMCPY(&http_uri_buf[copy_len], httpd_default_filenames[loop].name, name_copy_len);
2231 http_uri_buf[copy_len + name_copy_len] = 0;
/third_party/lwip/src/apps/altcp_tls/
Daltcp_tls_mbedtls.c456 u16_t copy_len; in altcp_mbedtls_bio_recv() local
482 copy_len = (u16_t)LWIP_MIN(len, p->len); in altcp_mbedtls_bio_recv()
484 ret = pbuf_copy_partial(p, buf, copy_len, 0); in altcp_mbedtls_bio_recv()
485 LWIP_ASSERT("ret == copy_len", ret == copy_len); in altcp_mbedtls_bio_recv()
/third_party/lwip/src/include/lwip/
Dpbuf.h299 err_t pbuf_copy_partial_pbuf(struct pbuf *p_to, const struct pbuf *p_from, u16_t copy_len, u16_t of…
/third_party/lwip/src/core/ipv4/
Ddhcp.c1723 u16_t copy_len; local
1727 copy_len = LWIP_MIN(decode_len, 4);
1728 if (pbuf_copy_partial(q, &value, copy_len, val_offset) != copy_len) {
/third_party/ffmpeg/libavfilter/
Dvf_paletteuse.c914 const int copy_len = cur_src->width - 1 - x_end; in set_processing_window() local
918 copy_len); in set_processing_window()
/third_party/lwip/
D0023-refactor-event-and-checksum-offload-support.patch253 len = (u16_t)LWIP_MIN(copy_len, len_calc);
/third_party/libbpf/.github/actions/build-selftests/
Dvmlinux.h84184 u_int32_t copy_len; member