/third_party/lwip/src/apps/netbiosns/ |
H A D | netbiosns.c | 504 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/lwip/src/core/ |
H A D | pbuf.c | 979 * @param copy_len number of bytes to copy 982 * @return ERR_OK if copy_len bytes were copied 983 * ERR_ARG if one of the pbufs is NULL or p_from is shorter than copy_len 984 * or p_to is not big enough to hold copy_len at offset 988 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() 996 /* is the copy_len in range? */ in pbuf_copy_partial_pbuf() 997 LWIP_ERROR("pbuf_copy_partial_pbuf: copy_len bigger than source", ((p_from != NULL) && 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))), retur in pbuf_copy_partial_pbuf() [all...] |
H A D | dns.c | 788 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/mbedtls/library/ |
H A D | cipher.c | 651 size_t copy_len = 0; in mbedtls_cipher_update() local 673 copy_len = block_size - ctx->unprocessed_len; in mbedtls_cipher_update() 676 copy_len); in mbedtls_cipher_update() 691 input += copy_len; in mbedtls_cipher_update() 692 ilen -= copy_len; in mbedtls_cipher_update() 703 copy_len = ilen % block_size; in mbedtls_cipher_update() 704 if (copy_len == 0 && in mbedtls_cipher_update() 707 copy_len = block_size; in mbedtls_cipher_update() 710 memcpy(ctx->unprocessed_data, &(input[ilen - copy_len]), in mbedtls_cipher_update() 711 copy_len); in mbedtls_cipher_update() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/ |
H A D | os_unix.c | 718 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/ |
H A D | os_unix.c | 729 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/vulkan-loader/tests/framework/shim/ |
H A D | unix_shim.cpp | 326 CFIndex copy_len = (CFIndex)platform_shim.bundle_contents.size(); in my_CFURLGetFileSystemRepresentation() local 327 if (copy_len > maxBufLen) { in my_CFURLGetFileSystemRepresentation() 328 copy_len = maxBufLen; in my_CFURLGetFileSystemRepresentation() 330 strncpy(reinterpret_cast<char*>(buffer), platform_shim.bundle_contents.c_str(), copy_len); in my_CFURLGetFileSystemRepresentation() local
|
/third_party/node/deps/openssl/openssl/providers/implementations/kdfs/ |
H A D | hkdf.c | 536 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/ |
H A D | hkdf.c | 536 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/wpa_supplicant/wpa_supplicant-2.9/src/eap_common/ |
H A D | eap_teap_common.c | 198 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/ |
H A D | eap_teap_common.c | 207 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/lwip/src/apps/http/ |
H A D | httpd.c | 2212 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/ |
H A D | altcp_tls_mbedtls.c | 456 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/ |
H A D | pbuf.h | 299 err_t pbuf_copy_partial_pbuf(struct pbuf *p_to, const struct pbuf *p_from, u16_t copy_len, u16_t offset);
|
/third_party/lwip/src/core/ipv4/ |
H A D | dhcp.c | 1723 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/ |
H A D | vf_paletteuse.c | 914 const int copy_len = cur_src->width - 1 - x_end; in set_processing_window() local 918 copy_len); in set_processing_window()
|