/system/bt/stack/gap/ |
gap_conn.c | 347 UINT16 copy_len; local 365 copy_len = (p_buf->len > max_len)?max_len:p_buf->len; 366 max_len -= copy_len; 367 *p_len += copy_len; 370 memcpy (p_data, (UINT8 *)(p_buf + 1) + p_buf->offset, copy_len); local 371 p_data += copy_len; 374 if (p_buf->len > copy_len) 376 p_buf->offset += copy_len; 377 p_buf->len -= copy_len; [all...] |
/external/pdfium/core/src/fxcodec/codec/ |
fx_codec.cpp | 408 FX_DWORD copy_len = m_Operator + 1; local 409 if (col_pos + copy_len >= m_dwLineBytes) { 410 copy_len = m_dwLineBytes - col_pos; 413 if (copy_len >= m_SrcSize - m_SrcOffset) { 414 copy_len = m_SrcSize - m_SrcOffset; 417 FXSYS_memcpy(m_pScanline + col_pos, m_pSrcBuf + m_SrcOffset, copy_len); 418 col_pos += copy_len; 419 UpdateOperator((uint8_t)copy_len);
|
/external/opencv/cxcore/src/ |
cxcopy.cpp | 72 int copy_len = 12*pix_size; local 77 while( dst + copy_len <= dst_limit ) 79 memcpy( dst, scalar, copy_len ); 80 dst += copy_len; [all...] |
/external/pdfium/core/src/fpdfapi/fpdf_parser/ |
fpdf_parser_decode.cpp | 193 FX_DWORD copy_len = src_buf[i] + 1; local 195 if (buf_left < copy_len) { 196 FX_DWORD delta = copy_len - buf_left; 197 copy_len = buf_left; 198 FXSYS_memset(dest_buf + dest_count + copy_len, '\0', delta); 200 FXSYS_memcpy(dest_buf + dest_count, src_buf + i + 1, copy_len);
|
fpdf_parser_encrypt.cpp | 47 FX_DWORD copy_len = keylen; local 48 if (copy_len > sizeof(digest)) { 49 copy_len = sizeof(digest); 53 CRYPT_MD5Generate(digest, copy_len, digest); 57 FXSYS_memcpy(key, digest, copy_len); 367 FX_DWORD copy_len = sizeof(perms_buf); local 368 if (copy_len > (FX_DWORD)perms.GetLength()) { 369 copy_len = perms.GetLength(); 371 FXSYS_memcpy(perms_buf, (const uint8_t*)perms, copy_len); 430 FX_DWORD copy_len = sizeof(test) local 483 FX_DWORD copy_len = key_len; local [all...] |
/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...] |
/external/wpa_supplicant_8/src/utils/ |
os_unix.c | 699 size_t copy_len; local 716 copy_len = a->len; 717 if (copy_len > size) 718 copy_len = size; 719 os_memcpy(n, a + 1, copy_len);
|
/external/libnfc-nci/halimpl/bcm2079x/adaptation/ |
userial_linux.c | 1146 UINT16 copy_len = 0; local [all...] |
/external/libvpx/libvpx/ |
vpxdec.c | 476 size_t copy_len; local 480 copy_len = strlen(p); 482 copy_len = next_pat - p; 484 if (copy_len >= q_len - 1) 487 memcpy(q, p, copy_len); 488 q[copy_len] = '\0'; 489 q += copy_len; 490 p += copy_len; 491 q_len -= copy_len; [all...] |
/external/pdfium/core/src/fxge/dib/ |
fx_dib_main.cpp | 183 int copy_len = (pNewBitmap->GetWidth() * pNewBitmap->GetBPP() + 7) / 8; local 184 if (m_Pitch < (FX_DWORD)copy_len) { 185 copy_len = m_Pitch; 190 FXSYS_memcpy(dest_scan, src_scan, copy_len); [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/ |
vpxdec.c | 432 size_t copy_len; local 436 copy_len = strlen(p); 438 copy_len = next_pat - p; 440 if (copy_len >= q_len - 1) 443 memcpy(q, p, copy_len); 444 q[copy_len] = '\0'; 445 q += copy_len; 446 p += copy_len; 447 q_len -= copy_len;
|
/external/minijail/ |
libminijail.c | 663 size_t copy_len = MIN(state->available, length); local 666 if (copy_len) { 667 memcpy(state->buf, src, copy_len); 668 state->buf += copy_len; 669 state->available -= copy_len; [all...] |
/frameworks/opt/net/wifi/service/jni/ |
com_android_server_wifi_WifiNative.cpp | 2069 size_t copy_len = report.frame_inf.frame_len; local [all...] |
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/ |
ndbdic.c | 494 NJ_UINT16 copy_len; local 507 copy_len = 0; 515 if (((copy_len + char_len + NJ_TERM_LEN) * sizeof(NJ_CHAR)) > size) { 519 NJ_CHAR_COPY(yomi + copy_len, ytbl); 520 copy_len++; 526 if (((copy_len + 1 + NJ_TERM_LEN) * sizeof(NJ_CHAR)) > size) { 530 *(yomi + copy_len) = (NJ_CHAR)(*ytbl); 531 copy_len++; 540 copy_len = yomi_size / sizeof(NJ_CHAR); 544 *(yomi + copy_len) = NJ_CHAR_NUL [all...] |