Searched refs:copy_len (Results 1 – 9 of 9) sorted by relevance
/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 | 60 uint32_t copy_len = keylen; in CalcEncryptKey() local 61 if (copy_len > sizeof(digest)) { in CalcEncryptKey() 62 copy_len = sizeof(digest); in CalcEncryptKey() 66 CRYPT_MD5Generate(digest, copy_len, digest); in CalcEncryptKey() 70 FXSYS_memcpy(key, digest, copy_len); in CalcEncryptKey() 378 size_t copy_len = in AES256_CheckPassword() local 380 FXSYS_memcpy(perms_buf, perms.raw_str(), copy_len); in AES256_CheckPassword() 432 uint32_t copy_len = sizeof(test); in CheckUserPassword() local 433 if (copy_len > (uint32_t)ukey.GetLength()) { in CheckUserPassword() 434 copy_len = ukey.GetLength(); in CheckUserPassword() [all …]
|
D | fpdf_parser_decode.cpp | 224 uint32_t copy_len = src_buf[i] + 1; in RunLengthDecode() local 226 if (buf_left < copy_len) { in RunLengthDecode() 227 uint32_t delta = copy_len - buf_left; in RunLengthDecode() 228 copy_len = buf_left; in RunLengthDecode() 229 FXSYS_memset(dest_buf + dest_count + copy_len, '\0', delta); in RunLengthDecode() 231 FXSYS_memcpy(dest_buf + dest_count, src_buf + i + 1, copy_len); in RunLengthDecode()
|
/external/pdfium/core/fxcodec/codec/ |
D | fx_codec.cpp | 383 uint32_t copy_len = m_Operator + 1; in v_GetNextLine() local 384 if (col_pos + copy_len >= m_dwLineBytes) { in v_GetNextLine() 385 copy_len = m_dwLineBytes - col_pos; in v_GetNextLine() 388 if (copy_len >= m_SrcSize - m_SrcOffset) { in v_GetNextLine() 389 copy_len = m_SrcSize - m_SrcOffset; in v_GetNextLine() 392 FXSYS_memcpy(m_pScanline + col_pos, m_pSrcBuf + m_SrcOffset, copy_len); in v_GetNextLine() 393 col_pos += copy_len; in v_GetNextLine() 394 UpdateOperator((uint8_t)copy_len); in v_GetNextLine()
|
/external/libvpx/libvpx/ |
D | vpxdec.c | 428 size_t copy_len; in generate_filename() local 432 copy_len = strlen(p); in generate_filename() 434 copy_len = next_pat - p; in generate_filename() 436 if (copy_len >= q_len - 1) die("Output filename too long.\n"); in generate_filename() 438 memcpy(q, p, copy_len); in generate_filename() 439 q[copy_len] = '\0'; in generate_filename() 440 q += copy_len; in generate_filename() 441 p += copy_len; in generate_filename() 442 q_len -= copy_len; in generate_filename()
|
/external/wpa_supplicant_8/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()
|
/external/minijail/ |
D | libminijail.c | 890 size_t copy_len = MIN(state->available, length); in marshal_append() local 893 if (copy_len) { in marshal_append() 894 memcpy(state->buf, src, copy_len); in marshal_append() 895 state->buf += copy_len; in marshal_append() 896 state->available -= copy_len; in marshal_append()
|
/external/pdfium/core/fxge/dib/ |
D | fx_dib_main.cpp | 204 int copy_len = (pNewBitmap->GetWidth() * pNewBitmap->GetBPP() + 7) / 8; in Clone() local 205 if (m_Pitch < (uint32_t)copy_len) in Clone() 206 copy_len = m_Pitch; in Clone() 211 FXSYS_memcpy(dest_scan, src_scan, copy_len); in Clone()
|
/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()
|