/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/fpdfapi/parser/ |
D | cpdf_security_handler.cpp | 58 uint32_t copy_len = keylen; in CalcEncryptKey() local 59 if (copy_len > sizeof(digest)) in CalcEncryptKey() 60 copy_len = sizeof(digest); in CalcEncryptKey() 63 CRYPT_MD5Generate(digest, copy_len, digest); in CalcEncryptKey() 66 memcpy(key, digest, copy_len); in CalcEncryptKey() 371 size_t copy_len = in AES256_CheckPassword() local 373 memcpy(perms_buf, perms.raw_str(), copy_len); in AES256_CheckPassword() 425 uint32_t copy_len = sizeof(test); in CheckUserPassword() local 426 if (copy_len > (uint32_t)ukey.GetLength()) { in CheckUserPassword() 427 copy_len = ukey.GetLength(); in CheckUserPassword() [all …]
|
D | fpdf_parser_decode.cpp | 233 uint32_t copy_len = src_buf[i] + 1; in RunLengthDecode() local 235 if (buf_left < copy_len) { in RunLengthDecode() 236 uint32_t delta = copy_len - buf_left; in RunLengthDecode() 237 copy_len = buf_left; in RunLengthDecode() 238 memset(*dest_buf + dest_count + copy_len, '\0', delta); in RunLengthDecode() 240 memcpy(*dest_buf + dest_count, src_buf + i + 1, copy_len); in RunLengthDecode()
|
/external/puffin/src/ |
D | puffin_stream.cc | 342 auto copy_len = in Write() local 345 TEST_AND_RETURN_FALSE(stream_->Write(bytes + bytes_wrote, copy_len)); in Write() 346 bytes_wrote += copy_len; in Write() 347 puff_pos_ += copy_len; in Write() 348 deflate_bit_pos_ += copy_len * 8; in Write() 366 auto copy_len = std::min(length - bytes_wrote, in Write() local 368 TEST_AND_RETURN_FALSE(puff_buffer_->size() >= skip_bytes_ + copy_len); in Write() 369 memcpy(puff_buffer_->data() + skip_bytes_, bytes + bytes_wrote, copy_len); in Write() 370 skip_bytes_ += copy_len; in Write() 371 bytes_wrote += copy_len; in Write()
|
/external/pdfium/core/fxcodec/codec/ |
D | fx_codec.cpp | 1673 uint32_t copy_len = m_Operator + 1; in v_GetNextLine() local 1674 if (col_pos + copy_len >= m_dwLineBytes) { in v_GetNextLine() 1675 copy_len = m_dwLineBytes - col_pos; in v_GetNextLine() 1678 if (copy_len >= m_SrcSize - m_SrcOffset) { in v_GetNextLine() 1679 copy_len = m_SrcSize - m_SrcOffset; in v_GetNextLine() 1682 memcpy(m_pScanline + col_pos, m_pSrcBuf + m_SrcOffset, copy_len); in v_GetNextLine() 1683 col_pos += copy_len; in v_GetNextLine() 1684 UpdateOperator((uint8_t)copy_len); in v_GetNextLine()
|
/external/libvpx/libvpx/ |
D | vpxdec.c | 436 size_t copy_len; in generate_filename() local 440 copy_len = strlen(p); in generate_filename() 442 copy_len = next_pat - p; in generate_filename() 444 if (copy_len >= q_len - 1) die("Output filename too long.\n"); in generate_filename() 446 memcpy(q, p, copy_len); in generate_filename() 447 q[copy_len] = '\0'; in generate_filename() 448 q += copy_len; in generate_filename() 449 p += copy_len; in generate_filename() 450 q_len -= copy_len; in generate_filename()
|
/external/wpa_supplicant_8/src/utils/ |
D | os_unix.c | 736 size_t copy_len; in os_realloc() local 753 copy_len = a->len; in os_realloc() 754 if (copy_len > size) in os_realloc() 755 copy_len = size; in os_realloc() 756 os_memcpy(n, a + 1, copy_len); in os_realloc()
|
/external/pdfium/core/fxge/dib/ |
D | cfx_dibsource.cpp | 638 int copy_len = (pNewBitmap->GetWidth() * pNewBitmap->GetBPP() + 7) / 8; in Clone() local 639 if (m_Pitch < static_cast<uint32_t>(copy_len)) in Clone() 640 copy_len = m_Pitch; in Clone() 645 memcpy(dest_scan, src_scan, copy_len); in Clone()
|
/external/minijail/ |
D | libminijail.c | 950 size_t copy_len = MIN(state->available, length); in marshal_append() local 953 if (copy_len) { in marshal_append() 954 memcpy(state->buf, src, copy_len); in marshal_append() 955 state->buf += copy_len; in marshal_append() 956 state->available -= copy_len; in marshal_append()
|
/external/syslinux/core/lwip/src/core/ |
D | dhcp.c | 1438 u16_t copy_len; in dhcp_parse_reply() local 1442 copy_len = LWIP_MIN(decode_len, 4); in dhcp_parse_reply() 1443 pbuf_copy_partial(q, &value, copy_len, val_offset); in dhcp_parse_reply()
|