Home
last modified time | relevance | path

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

/external/v8/src/
Delements.cc159 int copy_size = raw_copy_size; in CopyObjectToObjectElements() local
163 copy_size = Min(from_base->length() - from_start, in CopyObjectToObjectElements()
166 int start = to_start + copy_size; in CopyObjectToObjectElements()
175 DCHECK((copy_size + static_cast<int>(to_start)) <= to_base->length() && in CopyObjectToObjectElements()
176 (copy_size + static_cast<int>(from_start)) <= from_base->length()); in CopyObjectToObjectElements()
177 if (copy_size == 0) return; in CopyObjectToObjectElements()
186 static_cast<size_t>(copy_size)); in CopyObjectToObjectElements()
193 copy_size); in CopyObjectToObjectElements()
205 int copy_size = raw_copy_size; in CopyDictionaryToObjectElements() local
210 copy_size = from->max_number_key() + 1 - from_start; in CopyDictionaryToObjectElements()
[all …]
Delements.h147 int copy_size) = 0;
158 int copy_size) = 0;
/external/jemalloc/include/jemalloc/internal/
Dvalgrind.h57 size_t copy_size = (old_usize < usize) \
59 size_t tail_size = usize - copy_size; \
62 if (copy_size > 0) { \
64 copy_size); \
69 copy_size), tail_size); \
/external/lzma/xz-embedded/
Dxz_dec_lzma2.c377 size_t copy_size; in dict_uncompressed() local
381 copy_size = min(b->in_size - b->in_pos, in dict_uncompressed()
383 if (copy_size > dict->end - dict->pos) in dict_uncompressed()
384 copy_size = dict->end - dict->pos; in dict_uncompressed()
385 if (copy_size > *left) in dict_uncompressed()
386 copy_size = *left; in dict_uncompressed()
388 *left -= copy_size; in dict_uncompressed()
390 memcpy(dict->buf + dict->pos, b->in + b->in_pos, copy_size); in dict_uncompressed()
391 dict->pos += copy_size; in dict_uncompressed()
401 copy_size); in dict_uncompressed()
[all …]
Dxz_dec_stream.c170 size_t copy_size = min_t(size_t, in fill_temp() local
173 memcpy(s->temp.buf + s->temp.pos, b->in + b->in_pos, copy_size); in fill_temp()
174 b->in_pos += copy_size; in fill_temp()
175 s->temp.pos += copy_size; in fill_temp()
/external/toybox/toys/pending/
Dxzcat.c818 size_t copy_size; in bcj_flush() local
820 copy_size = min_t(size_t, s->temp.filtered, b->out_size - b->out_pos); in bcj_flush()
821 memcpy(b->out + b->out_pos, s->temp.buf, copy_size); in bcj_flush()
822 b->out_pos += copy_size; in bcj_flush()
824 s->temp.filtered -= copy_size; in bcj_flush()
825 s->temp.size -= copy_size; in bcj_flush()
826 memmove(s->temp.buf, s->temp.buf + copy_size, s->temp.size); in bcj_flush()
1530 size_t copy_size; in dict_uncompressed() local
1534 copy_size = min(b->in_size - b->in_pos, in dict_uncompressed()
1536 if (copy_size > dict->end - dict->pos) in dict_uncompressed()
[all …]
/external/mesa3d/src/gallium/auxiliary/translate/
Dtranslate_generic.c74 int copy_size; member
623 int copy_size; in generic_run_one() local
641 copy_size = tg->attrib[attr].copy_size; in generic_run_one()
642 if(likely(copy_size >= 0)) in generic_run_one()
643 memcpy(dst, src, copy_size); in generic_run_one()
660 if(likely(tg->attrib[attr].copy_size >= 0)) in generic_run_one()
837 tg->attrib[i].copy_size = -1; in translate_generic_create()
842 tg->attrib[i].copy_size = 4; in translate_generic_create()
850 tg->attrib[i].copy_size = format_desc->block.bits >> 3; in translate_generic_create()
853 if(tg->attrib[i].copy_size < 0) in translate_generic_create()
/external/compiler-rt/lib/msan/
Dmsan_interceptors.cc307 SIZE_T copy_size = REAL(strnlen)(src, n); in INTERCEPTOR() local
308 if (copy_size < n) in INTERCEPTOR()
309 copy_size++; // trailing \0 in INTERCEPTOR()
311 CopyShadowAndOrigin(dest, src, copy_size, &stack); in INTERCEPTOR()
312 __msan_unpoison(dest + copy_size, n - copy_size); in INTERCEPTOR()
358 SIZE_T copy_size = REAL(strnlen)(src, n); in INTERCEPTOR() local
360 CopyShadowAndOrigin(res, src, copy_size, &stack); in INTERCEPTOR()
361 __msan_unpoison(res + copy_size, 1); // \0 in INTERCEPTOR()
369 SIZE_T copy_size = REAL(strnlen)(src, n); in INTERCEPTOR() local
371 CopyShadowAndOrigin(res, src, copy_size, &stack); in INTERCEPTOR()
[all …]
/external/pdfium/core/src/fpdfapi/fpdf_parser/
Dfpdf_parser_encrypt.cpp798 FX_DWORD copy_size = 16 - pContext->m_BlockOffset; in CryptStream() local
799 if (copy_size > src_left) { in CryptStream()
800 copy_size = src_left; in CryptStream()
802 FXSYS_memcpy32(pContext->m_Block + pContext->m_BlockOffset, src_buf + src_off, copy_size); in CryptStream()
803 src_off += copy_size; in CryptStream()
804 src_left -= copy_size; in CryptStream()
805 pContext->m_BlockOffset += copy_size; in CryptStream()
/external/vixl/src/vixl/
Dinvalset.h406 size_t copy_size = sizeof(*element) * (end - element - 1); in EraseInternal() local
407 memmove(element, element + 1, copy_size); in EraseInternal()