/external/libese/libese/ |
ese_sg.c | 52 uint32_t copy_len = min_u32(remaining, buf->len - start_at); local 53 ese_memcpy(dst, buf->c_base + start_at, copy_len); 54 dst += copy_len; 55 remaining -= copy_len; 77 uint32_t copy_len = min_u32(remaining, buf->len - start_at); local 78 ese_memcpy(buf->base + start_at, src, copy_len); 79 src += copy_len; 80 remaining -= copy_len;
|
/external/u-boot/drivers/mtd/spi/ |
fsl_espi_spl.c | 36 u32 offset, code_len, copy_len = 0; local 75 while (copy_len <= code_len) { 76 spi_flash_read(flash, offset + copy_len, 0x2000, 78 + copy_len)); 79 copy_len = copy_len + 0x2000;
|
/external/puffin/src/ |
puffin_stream.cc | 339 auto copy_len = local 342 TEST_AND_RETURN_FALSE(stream_->Write(bytes + bytes_wrote, copy_len)); 343 bytes_wrote += copy_len; 344 puff_pos_ += copy_len; 345 deflate_bit_pos_ += copy_len * 8; 363 auto copy_len = std::min(length - bytes_wrote, local 365 TEST_AND_RETURN_FALSE(puff_buffer_->size() >= skip_bytes_ + copy_len); 366 memcpy(puff_buffer_->data() + skip_bytes_, bytes + bytes_wrote, copy_len); 367 skip_bytes_ += copy_len; 368 bytes_wrote += copy_len; [all...] |
/external/pdfium/core/fxcodec/codec/ |
fx_codec.cpp | 1673 uint32_t copy_len = m_Operator + 1; local [all...] |
/external/pdfium/core/fpdfapi/parser/ |
cpdf_security_handler.cpp | 58 uint32_t copy_len = keylen; local 59 if (copy_len > sizeof(digest)) 60 copy_len = sizeof(digest); 63 CRYPT_MD5Generate(digest, copy_len, digest); 66 memcpy(key, digest, copy_len); 371 size_t copy_len = local 373 memcpy(perms_buf, perms.raw_str(), copy_len); 425 uint32_t copy_len = sizeof(test); local 426 if (copy_len > (uint32_t)ukey.GetLength()) { 427 copy_len = ukey.GetLength() 468 uint32_t copy_len = key_len; local [all...] |
fpdf_parser_decode.cpp | 233 uint32_t copy_len = src_buf[i] + 1; local 235 if (buf_left < copy_len) { 236 uint32_t delta = copy_len - buf_left; 237 copy_len = buf_left; 238 memset(*dest_buf + dest_count + copy_len, '\0', delta); 240 memcpy(*dest_buf + dest_count, src_buf + i + 1, copy_len);
|
/external/libaom/libaom/apps/ |
aomdec.c | 380 size_t copy_len; local 384 copy_len = strlen(p); 386 copy_len = next_pat - p; 388 if (copy_len >= q_len - 1) die("Output filename too long.\n"); 390 memcpy(q, p, copy_len); 391 q[copy_len] = '\0'; 392 q += copy_len; 393 p += copy_len; 394 q_len -= copy_len; [all...] |
/external/libvpx/libvpx/ |
vpxdec.c | 458 size_t copy_len; local 462 copy_len = strlen(p); 464 copy_len = next_pat - p; 466 if (copy_len >= q_len - 1) die("Output filename too long.\n"); 468 memcpy(q, p, copy_len); 469 q[copy_len] = '\0'; 470 q += copy_len; 471 p += copy_len; 472 q_len -= copy_len; [all...] |
/external/wpa_supplicant_8/src/utils/ |
os_unix.c | 744 size_t copy_len; local 761 copy_len = a->len; 762 if (copy_len > size) 763 copy_len = size; 764 os_memcpy(n, a + 1, copy_len);
|
/bionic/tests/ |
string_test.cpp | 689 size_t copy_len = random() % state.MAX_LEN; local 693 memcpy(state.ptr + state.MAX_LEN, state.ptr1, copy_len); 695 if (copy_len > ptr1_len) { 696 memset(state.ptr + state.MAX_LEN + ptr1_len, '\0', copy_len - ptr1_len); 699 expected_end = copy_len; 702 ASSERT_EQ(state.ptr2 + expected_end, stpncpy(state.ptr2, state.ptr1, copy_len)); 726 size_t copy_len = random() % state.MAX_LEN; local 730 memcpy(state.ptr + state.MAX_LEN, state.ptr1, copy_len); 732 if (copy_len > ptr1_len) { 733 memset(state.ptr + state.MAX_LEN + ptr1_len, '\0', copy_len - ptr1_len) [all...] |
/device/linaro/bootloader/edk2/OptionRomPkg/UndiRuntimeDxe/ |
Decode.c | 558 UINT16 copy_len;
local 711 copy_len = (UINT16) (AdapterInfo->mcast_list.list_len * PXE_MAC_LENGTH);
713 if (copy_len > CdbPtr->DBsize) {
714 copy_len = CdbPtr->DBsize;
719 for (Index = 0; Index < copy_len; Index++) {
[all...] |
/external/pdfium/core/fxge/dib/ |
cfx_dibsource.cpp | 638 int copy_len = (pNewBitmap->GetWidth() * pNewBitmap->GetBPP() + 7) / 8; local 639 if (m_Pitch < static_cast<uint32_t>(copy_len)) 640 copy_len = m_Pitch; 645 memcpy(dest_scan, src_scan, copy_len); [all...] |
/external/minijail/ |
libminijail.c | 1069 size_t copy_len = MIN(state->available, length); local 1072 if (copy_len) { 1073 memcpy(state->buf, src, copy_len); 1074 state->buf += copy_len; 1075 state->available -= copy_len; [all...] |