/external/vulkan-validation-layers/layers/ |
D | vk_layer_extension_utils.cpp | 32 uint32_t copy_size; in util_GetExtensionProperties() local 39 copy_size = *pCount < count ? *pCount : count; in util_GetExtensionProperties() 40 memcpy(pProperties, layer_extensions, copy_size * sizeof(VkExtensionProperties)); in util_GetExtensionProperties() 41 *pCount = copy_size; in util_GetExtensionProperties() 42 if (copy_size < count) { in util_GetExtensionProperties() 51 uint32_t copy_size; in util_GetLayerProperties() local 58 copy_size = *pCount < count ? *pCount : count; in util_GetLayerProperties() 59 memcpy(pProperties, layer_properties, copy_size * sizeof(VkLayerProperties)); in util_GetLayerProperties() 60 *pCount = copy_size; in util_GetLayerProperties() 61 if (copy_size < count) { in util_GetLayerProperties()
|
/external/ltp/utils/benchmark/ebizzy-0.3/ |
D | ebizzy.c | 374 size_t copy_size = chunk_size; in search_mem() local 386 copy_size = (rand_num(chunk_size / record_size, &state) in search_mem() 388 copy = alloc_mem(copy_size); in search_mem() 391 touch_mem((char *)copy, copy_size); in search_mem() 395 my_memcpy(copy, src, copy_size); in search_mem() 397 memcpy(copy, src, copy_size); in search_mem() 399 key = rand_num(copy_size / record_size, &state); in search_mem() 403 copy_size); in search_mem() 405 found = linear_search(key, copy, copy_size); in search_mem() 408 bsearch(&key, copy, copy_size / record_size, in search_mem() [all …]
|
/external/jemalloc/include/jemalloc/internal/ |
D | valgrind.h | 73 size_t copy_size = (old_usize < usize) \ 75 size_t tail_size = usize - copy_size; \ 78 if (copy_size > 0) { \ 80 copy_size); \ 85 copy_size), tail_size); \
|
/external/v8/src/ |
D | elements.cc | 122 int copy_size = raw_copy_size; in CopyObjectToObjectElements() local 126 copy_size = Min(from_base->length() - from_start, in CopyObjectToObjectElements() 129 int start = to_start + copy_size; in CopyObjectToObjectElements() 138 DCHECK((copy_size + static_cast<int>(to_start)) <= to_base->length() && in CopyObjectToObjectElements() 139 (copy_size + static_cast<int>(from_start)) <= from_base->length()); in CopyObjectToObjectElements() 140 if (copy_size == 0) return; in CopyObjectToObjectElements() 150 for (int i = 0; i < copy_size; i++) { in CopyObjectToObjectElements() 162 int copy_size = raw_copy_size; in CopyDictionaryToObjectElements() local 166 copy_size = from->max_number_key() + 1 - from_start; in CopyDictionaryToObjectElements() 168 int start = to_start + copy_size; in CopyDictionaryToObjectElements() [all …]
|
D | elements.h | 203 uint32_t destination_start, int copy_size) = 0;
|
/external/libcap/contrib/bug400591/ |
D | bug.c | 14 ssize_t size, copy_size; in main() local 29 copy_size = cap_copy_ext (buffer, caps, size); in main() 30 assert (copy_size == size); in main()
|
/external/pdfium/core/fpdfapi/parser/ |
D | cpdf_crypto_handler.cpp | 161 uint32_t copy_size = 16 - pContext->m_BlockOffset; in CryptStream() local 162 if (copy_size > src_left) { in CryptStream() 163 copy_size = src_left; in CryptStream() 166 copy_size); in CryptStream() 167 src_off += copy_size; in CryptStream() 168 src_left -= copy_size; in CryptStream() 169 pContext->m_BlockOffset += copy_size; in CryptStream()
|
/external/xz-embedded/linux/lib/xz/ |
D | xz_dec_lzma2.c | 377 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 …]
|
D | xz_dec_bcj.c | 401 size_t copy_size; in bcj_flush() local 403 copy_size = min_t(size_t, s->temp.filtered, b->out_size - b->out_pos); in bcj_flush() 404 memcpy(b->out + b->out_pos, s->temp.buf, copy_size); in bcj_flush() 405 b->out_pos += copy_size; in bcj_flush() 407 s->temp.filtered -= copy_size; in bcj_flush() 408 s->temp.size -= copy_size; in bcj_flush() 409 memmove(s->temp.buf, s->temp.buf + copy_size, s->temp.size); in bcj_flush()
|
D | xz_dec_stream.c | 170 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/ |
D | xzcat.c | 812 size_t copy_size; in bcj_flush() local 814 copy_size = minof(s->temp.filtered, b->out_size - b->out_pos); in bcj_flush() 815 memcpy(b->out + b->out_pos, s->temp.buf, copy_size); in bcj_flush() 816 b->out_pos += copy_size; in bcj_flush() 818 s->temp.filtered -= copy_size; in bcj_flush() 819 s->temp.size -= copy_size; in bcj_flush() 820 memmove(s->temp.buf, s->temp.buf + copy_size, s->temp.size); in bcj_flush() 1524 size_t copy_size; in dict_uncompressed() local 1528 copy_size = minof(b->in_size - b->in_pos, in dict_uncompressed() 1530 if (copy_size > dict->end - dict->pos) in dict_uncompressed() [all …]
|
/external/mesa3d/src/gallium/auxiliary/translate/ |
D | translate_generic.c | 74 int copy_size; member 600 int copy_size; in generic_run_one() local 619 copy_size = tg->attrib[attr].copy_size; in generic_run_one() 620 if(likely(copy_size >= 0)) in generic_run_one() 621 memcpy(dst, src, copy_size); in generic_run_one() 638 if(likely(tg->attrib[attr].copy_size >= 0)) in generic_run_one() 823 tg->attrib[i].copy_size = -1; in translate_generic_create() 828 tg->attrib[i].copy_size = 4; in translate_generic_create() 836 tg->attrib[i].copy_size = format_desc->block.bits >> 3; in translate_generic_create() 839 if(tg->attrib[i].copy_size < 0) in translate_generic_create()
|
/external/vulkan-validation-layers/loader/ |
D | trampoline.c | 125 uint32_t copy_size; in vkEnumerateInstanceExtensionProperties() local 210 copy_size = *pPropertyCount < global_ext_list->count in vkEnumerateInstanceExtensionProperties() 213 for (uint32_t i = 0; i < copy_size; i++) { in vkEnumerateInstanceExtensionProperties() 217 *pPropertyCount = copy_size; in vkEnumerateInstanceExtensionProperties() 219 if (copy_size < global_ext_list->count) { in vkEnumerateInstanceExtensionProperties() 239 uint32_t copy_size; in vkEnumerateInstanceLayerProperties() local 251 copy_size = (*pPropertyCount < instance_layer_list.count) in vkEnumerateInstanceLayerProperties() 254 for (uint32_t i = 0; i < copy_size; i++) { in vkEnumerateInstanceLayerProperties() 259 *pPropertyCount = copy_size; in vkEnumerateInstanceLayerProperties() 261 if (copy_size < instance_layer_list.count) { in vkEnumerateInstanceLayerProperties() [all …]
|
/external/mesa3d/src/intel/vulkan/ |
D | anv_blorp.c | 620 uint64_t copy_size = pRegions[r].size; in anv_CmdCopyBuffer() local 632 while (copy_size >= max_copy_size) { in anv_CmdCopyBuffer() 636 copy_size -= max_copy_size; in anv_CmdCopyBuffer() 642 uint64_t height = copy_size / (MAX_SURFACE_DIM * bs); in anv_CmdCopyBuffer() 649 copy_size -= rect_copy_size; in anv_CmdCopyBuffer() 655 if (copy_size != 0) { in anv_CmdCopyBuffer() 658 copy_size / bs, 1, bs); in anv_CmdCopyBuffer() 687 const uint32_t copy_size = MIN2(dataSize, max_update_size); in anv_CmdUpdateBuffer() local 690 anv_cmd_buffer_alloc_dynamic_state(cmd_buffer, copy_size, 64); in anv_CmdUpdateBuffer() 692 memcpy(tmp_data.map, pData, copy_size); in anv_CmdUpdateBuffer() [all …]
|
/external/compiler-rt/lib/msan/ |
D | msan_interceptors.cc | 299 SIZE_T copy_size = REAL(strnlen)(src, n); in INTERCEPTOR() local 300 if (copy_size < n) in INTERCEPTOR() 301 copy_size++; // trailing \0 in INTERCEPTOR() 303 CopyShadowAndOrigin(dest, src, copy_size, &stack); in INTERCEPTOR() 304 __msan_unpoison(dest + copy_size, n - copy_size); in INTERCEPTOR() 350 SIZE_T copy_size = REAL(strnlen)(src, n); in INTERCEPTOR() local 352 CopyShadowAndOrigin(res, src, copy_size, &stack); in INTERCEPTOR() 353 __msan_unpoison(res + copy_size, 1); // \0 in INTERCEPTOR() 361 SIZE_T copy_size = REAL(strnlen)(src, n); in INTERCEPTOR() local 363 CopyShadowAndOrigin(res, src, copy_size, &stack); in INTERCEPTOR() [all …]
|
/external/compiler-rt/lib/asan/ |
D | asan_malloc_linux.cc | 80 uptr copy_size = Min(size, kDlsymAllocPoolSize - offset); in INTERCEPTOR() local 82 internal_memcpy(new_ptr, ptr, copy_size); in INTERCEPTOR()
|
/external/mesa3d/src/amd/vulkan/ |
D | radv_meta_buffer.c | 502 uint64_t copy_size = pRegions[r].size; in radv_CmdCopyBuffer() local 505 src_offset, dest_offset, copy_size); in radv_CmdCopyBuffer()
|
/external/vixl/src/ |
D | invalset-vixl.h | 477 size_t copy_size = sizeof(*element) * (end - element - 1); in EraseInternal() local 478 memmove(element, element + 1, copy_size); in EraseInternal()
|
/external/e2fsprogs/resize/ |
D | resize2fs.c | 290 int copy_size; in resize_group_descriptors() local 327 copy_size = EXT2_DESC_SIZE(rfs->old_fs->super); in resize_group_descriptors() 329 copy_size = EXT2_DESC_SIZE(rfs->new_fs->super); in resize_group_descriptors() 331 memcpy(n, o, copy_size); in resize_group_descriptors()
|