Home
last modified time | relevance | path

Searched refs:copy_len (Results 1 – 10 of 10) sorted by relevance

/external/chromium-trace/catapult/third_party/Paste/paste/
Dcascade.py98 copy_len = length
99 while copy_len > 0:
100 chunk = environ['wsgi.input'].read(min(copy_len, 4096))
104 copy_len -= len(chunk)
/external/pdfium/core/src/fxcodec/codec/
Dfx_codec.cpp408 FX_DWORD copy_len = m_Operator + 1; in v_GetNextLine() local
409 if (col_pos + copy_len >= m_dwLineBytes) { in v_GetNextLine()
410 copy_len = m_dwLineBytes - col_pos; in v_GetNextLine()
413 if (copy_len >= m_SrcSize - m_SrcOffset) { in v_GetNextLine()
414 copy_len = m_SrcSize - m_SrcOffset; in v_GetNextLine()
417 FXSYS_memcpy(m_pScanline + col_pos, m_pSrcBuf + m_SrcOffset, copy_len); in v_GetNextLine()
418 col_pos += copy_len; in v_GetNextLine()
419 UpdateOperator((uint8_t)copy_len); in v_GetNextLine()
/external/pdfium/core/src/fpdfapi/fpdf_parser/
Dfpdf_parser_encrypt.cpp47 FX_DWORD copy_len = keylen; in CalcEncryptKey() local
48 if (copy_len > sizeof(digest)) { in CalcEncryptKey()
49 copy_len = sizeof(digest); in CalcEncryptKey()
53 CRYPT_MD5Generate(digest, copy_len, digest); in CalcEncryptKey()
57 FXSYS_memcpy(key, digest, copy_len); in CalcEncryptKey()
367 FX_DWORD copy_len = sizeof(perms_buf); in AES256_CheckPassword() local
368 if (copy_len > (FX_DWORD)perms.GetLength()) { in AES256_CheckPassword()
369 copy_len = perms.GetLength(); in AES256_CheckPassword()
371 FXSYS_memcpy(perms_buf, (const uint8_t*)perms, copy_len); in AES256_CheckPassword()
430 FX_DWORD copy_len = sizeof(test); in CheckUserPassword() local
[all …]
Dfpdf_parser_decode.cpp193 FX_DWORD copy_len = src_buf[i] + 1; in RunLengthDecode() local
195 if (buf_left < copy_len) { in RunLengthDecode()
196 FX_DWORD delta = copy_len - buf_left; in RunLengthDecode()
197 copy_len = buf_left; in RunLengthDecode()
198 FXSYS_memset(dest_buf + dest_count + copy_len, '\0', delta); in RunLengthDecode()
200 FXSYS_memcpy(dest_buf + dest_count, src_buf + i + 1, copy_len); in RunLengthDecode()
/external/libvpx/libvpx/
Dvpxdec.c476 size_t copy_len; in generate_filename() local
480 copy_len = strlen(p); in generate_filename()
482 copy_len = next_pat - p; in generate_filename()
484 if (copy_len >= q_len - 1) in generate_filename()
487 memcpy(q, p, copy_len); in generate_filename()
488 q[copy_len] = '\0'; in generate_filename()
489 q += copy_len; in generate_filename()
490 p += copy_len; in generate_filename()
491 q_len -= copy_len; in generate_filename()
/external/wpa_supplicant_8/src/utils/
Dos_unix.c699 size_t copy_len; in os_realloc() local
716 copy_len = a->len; in os_realloc()
717 if (copy_len > size) in os_realloc()
718 copy_len = size; in os_realloc()
719 os_memcpy(n, a + 1, copy_len); in os_realloc()
/external/libnfc-nci/halimpl/bcm2079x/adaptation/
Duserial_linux.c1146 UINT16 copy_len = 0; in USERIAL_Read() local
1159 copy_len = pbuf_USERIAL_Read->len; in USERIAL_Read()
1161 copy_len = (len - total_len); in USERIAL_Read()
1163 memcpy((p_data + total_len), current_packet, copy_len); in USERIAL_Read()
1165 total_len += copy_len; in USERIAL_Read()
1167 pbuf_USERIAL_Read->offset += copy_len; in USERIAL_Read()
1168 pbuf_USERIAL_Read->len -= copy_len; in USERIAL_Read()
/external/opencv/cxcore/src/
Dcxcopy.cpp72 int copy_len = 12*pix_size; in icvSet_8u_C1R() local
77 while( dst + copy_len <= dst_limit ) in icvSet_8u_C1R()
79 memcpy( dst, scalar, copy_len ); in icvSet_8u_C1R()
80 dst += copy_len; in icvSet_8u_C1R()
/external/minijail/
Dlibminijail.c663 size_t copy_len = MIN(state->available, length); in marshal_append() local
666 if (copy_len) { in marshal_append()
667 memcpy(state->buf, src, copy_len); in marshal_append()
668 state->buf += copy_len; in marshal_append()
669 state->available -= copy_len; in marshal_append()
/external/pdfium/core/src/fxge/dib/
Dfx_dib_main.cpp183 int copy_len = (pNewBitmap->GetWidth() * pNewBitmap->GetBPP() + 7) / 8; in Clone() local
184 if (m_Pitch < (FX_DWORD)copy_len) { in Clone()
185 copy_len = m_Pitch; in Clone()
190 FXSYS_memcpy(dest_scan, src_scan, copy_len); in Clone()