/external/libese/libese/ |
D | ese_sg.c | 52 uint32_t copy_len = min_u32(remaining, buf->len - start_at); in ese_sg_to_buf() local 53 ese_memcpy(dst, buf->c_base + start_at, copy_len); in ese_sg_to_buf() 54 dst += copy_len; in ese_sg_to_buf() 55 remaining -= copy_len; in ese_sg_to_buf() 77 uint32_t copy_len = min_u32(remaining, buf->len - start_at); in ese_sg_from_buf() local 78 ese_memcpy(buf->base + start_at, src, copy_len); in ese_sg_from_buf() 79 src += copy_len; in ese_sg_from_buf() 80 remaining -= copy_len; in ese_sg_from_buf()
|
/external/pdfium/core/fxcodec/basic/ |
D | basicmodule.cpp | 127 uint32_t copy_len = m_Operator + 1; in v_GetNextLine() local 128 if (col_pos + copy_len >= m_dwLineBytes) { in v_GetNextLine() 129 copy_len = m_dwLineBytes - col_pos; in v_GetNextLine() 132 if (copy_len >= m_SrcBuf.size() - m_SrcOffset) { in v_GetNextLine() 133 copy_len = m_SrcBuf.size() - m_SrcOffset; in v_GetNextLine() 136 auto copy_span = m_SrcBuf.subspan(m_SrcOffset, copy_len); in v_GetNextLine() 138 col_pos += copy_len; in v_GetNextLine() 139 UpdateOperator((uint8_t)copy_len); in v_GetNextLine()
|
/external/arm-trusted-firmware/plat/intel/soc/common/drivers/qspi/ |
D | cadence_qspi.c | 683 uint32_t bank_count, bank_addr, bank_offset, copy_len; in cad_qspi_read() local 716 copy_len = LESS(size, CAD_QSPI_BANK_SIZE - bank_offset); in cad_qspi_read() 723 status = cad_qspi_read_bank(read_data, bank_offset, copy_len); in cad_qspi_read() 728 read_data += copy_len; in cad_qspi_read() 729 size -= copy_len; in cad_qspi_read() 731 copy_len = LESS(size, CAD_QSPI_BANK_SIZE); in cad_qspi_read() 759 uint32_t bank_count, bank_addr, bank_offset, copy_len; in cad_qspi_write() local 783 copy_len = LESS(size, CAD_QSPI_BANK_SIZE - bank_offset); in cad_qspi_write() 792 copy_len); in cad_qspi_write() 797 write_data += copy_len; in cad_qspi_write() [all …]
|
/external/puffin/src/ |
D | puffin_stream.cc | 339 auto copy_len = in Write() local 342 TEST_AND_RETURN_FALSE(stream_->Write(bytes + bytes_wrote, copy_len)); in Write() 343 bytes_wrote += copy_len; in Write() 344 puff_pos_ += copy_len; in Write() 345 deflate_bit_pos_ += copy_len * 8; in Write() 363 auto copy_len = std::min(length - bytes_wrote, in Write() local 365 TEST_AND_RETURN_FALSE(puff_buffer_->size() >= skip_bytes_ + copy_len); in Write() 366 memcpy(puff_buffer_->data() + skip_bytes_, bytes + bytes_wrote, copy_len); in Write() 367 skip_bytes_ += copy_len; in Write() 368 bytes_wrote += copy_len; in Write()
|
/external/libsrtp2/crypto/cipher/ |
D | aes_icm.c | 184 int base_key_len, copy_len; in srtp_aes_icm_context_init() local 200 copy_len = c->key_size - base_key_len; in srtp_aes_icm_context_init() 203 if (copy_len > SRTP_SALT_LEN) { in srtp_aes_icm_context_init() 204 copy_len = SRTP_SALT_LEN; in srtp_aes_icm_context_init() 207 memcpy(&c->counter, key + base_key_len, copy_len); in srtp_aes_icm_context_init() 208 memcpy(&c->offset, key + base_key_len, copy_len); in srtp_aes_icm_context_init()
|
/external/pdfium/core/fpdfapi/parser/ |
D | cpdf_security_handler.cpp | 64 size_t copy_len = std::min(keylen, sizeof(digest)); in CalcEncryptKey() local 67 CRYPT_MD5Generate({digest, copy_len}, digest); in CalcEncryptKey() 70 memcpy(key, digest, copy_len); in CalcEncryptKey() 376 size_t copy_len = in AES256_CheckPassword() local 378 memcpy(perms_buf, perms.raw_str(), copy_len); in AES256_CheckPassword() 454 uint32_t copy_len = std::min(sizeof(test), ukey.GetLength()); in CheckUserPassword() local 456 memcpy(test, ukey.c_str(), copy_len); in CheckUserPassword() 488 size_t copy_len = std::min(m_KeyLen, sizeof(digest)); in GetUserPassword() local 490 memcpy(enckey, digest, copy_len); in GetUserPassword()
|
D | fpdf_parser_decode.cpp | 271 uint32_t copy_len = src_span[i] + 1; in RunLengthDecode() local 273 if (buf_left < copy_len) { in RunLengthDecode() 274 uint32_t delta = copy_len - buf_left; in RunLengthDecode() 275 copy_len = buf_left; in RunLengthDecode() 276 memset(&dest_span[dest_count + copy_len], '\0', delta); in RunLengthDecode() 278 auto copy_span = src_span.subspan(i + 1, copy_len); in RunLengthDecode()
|
/external/libaom/libaom/apps/ |
D | aomdec.c | 376 size_t copy_len; in generate_filename() local 380 copy_len = strlen(p); in generate_filename() 382 copy_len = next_pat - p; in generate_filename() 384 if (copy_len >= q_len - 1) die("Output filename too long.\n"); in generate_filename() 386 memcpy(q, p, copy_len); in generate_filename() 387 q[copy_len] = '\0'; in generate_filename() 388 q += copy_len; in generate_filename() 389 p += copy_len; in generate_filename() 390 q_len -= copy_len; in generate_filename()
|
/external/libvpx/libvpx/ |
D | vpxdec.c | 458 size_t copy_len; in generate_filename() local 462 copy_len = strlen(p); in generate_filename() 464 copy_len = next_pat - p; in generate_filename() 466 if (copy_len >= q_len - 1) die("Output filename too long.\n"); in generate_filename() 468 memcpy(q, p, copy_len); in generate_filename() 469 q[copy_len] = '\0'; in generate_filename() 470 q += copy_len; in generate_filename() 471 p += copy_len; in generate_filename() 472 q_len -= copy_len; in generate_filename()
|
/external/wpa_supplicant_8/src/utils/ |
D | os_unix.c | 755 size_t copy_len; in os_realloc() local 772 copy_len = a->len; in os_realloc() 773 if (copy_len > size) in os_realloc() 774 copy_len = size; in os_realloc() 775 os_memcpy(n, a + 1, copy_len); in os_realloc()
|
/external/wpa_supplicant_8/src/eap_common/ |
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()
|
/external/pdfium/core/fxge/dib/ |
D | cfx_dibbase.cpp | 758 int copy_len = (pNewBitmap->GetWidth() * pNewBitmap->GetBPP() + 7) / 8; in Clone() local 759 if (m_Pitch < static_cast<uint32_t>(copy_len)) in Clone() 760 copy_len = m_Pitch; in Clone() 765 memcpy(dest_scan, src_scan, copy_len); in Clone()
|
/external/minijail/ |
D | libminijail.c | 1219 size_t copy_len = MIN(state->available, length); in marshal_append() local 1222 if (copy_len) { in marshal_append() 1223 memcpy(state->buf, src, copy_len); in marshal_append() 1224 state->buf += copy_len; in marshal_append() 1225 state->available -= copy_len; in marshal_append()
|