/third_party/uboot/u-boot-2020.01/drivers/mtd/spi/ |
D | fsl_espi_spl.c | 37 u32 offset, code_len, copy_len = 0; in fsl_spi_boot() local 76 while (copy_len <= code_len) { in fsl_spi_boot() 77 spi_flash_read(flash, offset + copy_len, 0x2000, in fsl_spi_boot() 79 + copy_len)); in fsl_spi_boot() 80 copy_len = copy_len + 0x2000; in fsl_spi_boot()
|
/third_party/lwip/src/apps/netbiosns/ |
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/mbedtls/library/ |
D | cipher.c | 437 size_t copy_len = 0; in mbedtls_cipher_update() local 461 copy_len = block_size - ctx->unprocessed_len; in mbedtls_cipher_update() 464 copy_len ); in mbedtls_cipher_update() 477 input += copy_len; in mbedtls_cipher_update() 478 ilen -= copy_len; in mbedtls_cipher_update() 490 copy_len = ilen % block_size; in mbedtls_cipher_update() 491 if( copy_len == 0 && in mbedtls_cipher_update() 495 copy_len = block_size; in mbedtls_cipher_update() 498 memcpy( ctx->unprocessed_data, &( input[ilen - copy_len] ), in mbedtls_cipher_update() 499 copy_len ); in mbedtls_cipher_update() [all …]
|
/third_party/libsoup/libsoup/ |
D | soup-headers.c | 42 gsize copy_len; in soup_headers_parse() local 65 copy_len = len - (headers_start - str); in soup_headers_parse() 66 headers_copy = g_malloc (copy_len + 1); in soup_headers_parse() 67 memcpy (headers_copy, headers_start, copy_len); in soup_headers_parse() 68 headers_copy[copy_len] = '\0'; in soup_headers_parse() 74 while ((p = memchr (headers_copy, '\0', copy_len))) { in soup_headers_parse() 75 memmove (p, p + 1, copy_len - (p - headers_copy)); in soup_headers_parse() 76 copy_len--; in soup_headers_parse()
|
/third_party/openssl/crypto/kdf/ |
D | hkdf.c | 318 size_t copy_len; in HKDF_Expand() local 338 copy_len = (done_len + dig_len > okm_len) ? in HKDF_Expand() 342 memcpy(okm + done_len, prev, copy_len); in HKDF_Expand() 344 done_len += copy_len; in HKDF_Expand()
|
/third_party/lwip/src/core/ |
D | pbuf.c | 1032 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 1037 (const void *)p_to, (const void *)p_from, copy_len, offset)); in pbuf_copy_partial_pbuf() 1041 (p_from->tot_len >= copy_len)), return ERR_ARG;); in pbuf_copy_partial_pbuf() 1044 (p_to->tot_len >= (offset + copy_len))), return ERR_ARG;); in pbuf_copy_partial_pbuf() 1056 len = LWIP_MIN(copy_len, len); in pbuf_copy_partial_pbuf() 1060 copy_len -= len; in pbuf_copy_partial_pbuf() 1067 LWIP_ERROR("p_from != NULL", (p_from != NULL) || (copy_len == 0), return ERR_ARG;); in pbuf_copy_partial_pbuf() 1073 LWIP_ERROR("p_to != NULL", (p_to != NULL) || (copy_len == 0), return ERR_ARG;); in pbuf_copy_partial_pbuf() 1086 } while (copy_len); in pbuf_copy_partial_pbuf()
|
D | dns.c | 763 u16_t query_idx, copy_len; in dns_send() local 847 copy_len = (u16_t)(hostname - hostname_part); in dns_send() 853 pbuf_take_at(p, hostname_part, copy_len, (u16_t)(query_idx + 1)); in dns_send()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/ |
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/src/utils/ |
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/src/eap_common/ |
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/ |
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/lwip/src/apps/http/ |
D | httpd.c | 2196 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;
|
/third_party/lwip/src/apps/altcp_tls/ |
D | altcp_tls_mbedtls.c | 444 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()
|
/third_party/lwip/src/include/lwip/ |
D | pbuf.h | 296 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/ |
D | dhcp.c | 1654 u16_t copy_len; in dhcp_parse_reply() local 1658 copy_len = LWIP_MIN(decode_len, 4); in dhcp_parse_reply() 1659 if (pbuf_copy_partial(q, &value, copy_len, val_offset) != copy_len) { in dhcp_parse_reply()
|
/third_party/glib/glib/ |
D | giochannel.c | 1628 gint copy_len = lastchar - channel->read_buf->str; in g_io_channel_fill_buffer() local 1631 copy_len); in g_io_channel_fill_buffer() 1632 g_string_erase (channel->read_buf, 0, copy_len); in g_io_channel_fill_buffer()
|
/third_party/ffmpeg/libavfilter/ |
D | vf_paletteuse.c | 884 const int copy_len = cur_src->width - 1 - x_end; in set_processing_window() local 888 copy_len); in set_processing_window()
|