/third_party/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 …]
|
/third_party/mesa3d/src/compiler/nir/ |
D | nir_lower_memcpy.c | 121 unsigned copy_size = 1u << MIN2(util_last_bit64(remaining) - 1, 4); in lower_memcpy_impl() local 123 copy_type_for_byte_size(copy_size); in lower_memcpy_impl() 127 copy_type, copy_size); in lower_memcpy_impl() 130 copy_type, copy_size); in lower_memcpy_impl() 132 uint64_t index = offset / copy_size; in lower_memcpy_impl() 136 offset += copy_size; in lower_memcpy_impl()
|
/third_party/jerryscript/jerry-ext/handler/ |
D | handler-assert.c | 65 const jerry_length_t copy_size = (jerry_length_t) (sizeof (string_buffer) - 1); in jerryx_handler_assert_fatal() local 76 current_size + copy_size, in jerryx_handler_assert_fatal() 78 copy_size); in jerryx_handler_assert_fatal()
|
/third_party/node/deps/v8/src/objects/ |
D | elements.cc | 202 int copy_size = raw_copy_size; in CopyObjectToObjectElements() local 205 copy_size = in CopyObjectToObjectElements() 207 int start = to_start + copy_size; in CopyObjectToObjectElements() 214 DCHECK((copy_size + static_cast<int>(to_start)) <= to_base.length() && in CopyObjectToObjectElements() 215 (copy_size + static_cast<int>(from_start)) <= from_base.length()); in CopyObjectToObjectElements() 216 if (copy_size == 0) return; in CopyObjectToObjectElements() 226 to.CopyElements(isolate, to_start, from, from_start, copy_size, in CopyObjectToObjectElements() 236 int copy_size = raw_copy_size; in CopyDictionaryToObjectElements() local 239 copy_size = from.max_number_key() + 1 - from_start; in CopyDictionaryToObjectElements() 240 int start = to_start + copy_size; in CopyDictionaryToObjectElements() [all …]
|
D | elements.h | 212 uint32_t destination_start, int copy_size) = 0;
|
/third_party/mesa3d/src/virtio/vulkan/ |
D | vn_query_pool.c | 151 const size_t copy_size = in vn_GetQueryPoolResults() local 158 memcpy(dst, src, copy_size); in vn_GetQueryPoolResults() 169 memcpy(dst, src, copy_size); in vn_GetQueryPoolResults() 180 memcpy(dst, src, copy_size); in vn_GetQueryPoolResults()
|
/third_party/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 …]
|
/third_party/mesa3d/src/gallium/auxiliary/translate/ |
D | translate_generic.c | 74 int copy_size; member 604 int copy_size; in generic_run_one() local 623 copy_size = tg->attrib[attr].copy_size; in generic_run_one() 624 if (likely(copy_size >= 0)) { in generic_run_one() 625 memcpy(dst, src, copy_size); in generic_run_one() 641 if (likely(tg->attrib[attr].copy_size >= 0)) { in generic_run_one() 822 tg->attrib[i].copy_size = -1; in translate_generic_create() 826 tg->attrib[i].copy_size = 4; in translate_generic_create() 832 tg->attrib[i].copy_size = format_desc->block.bits >> 3; in translate_generic_create() 835 if (tg->attrib[i].copy_size < 0) in translate_generic_create()
|
/third_party/optimized-routines/string/bench/ |
D | memcpy.c | 173 size_t copy_size = init_copies (size) * ITERS; in main() local 183 total += copy_size; in main() 185 printf ("%dK: %.2f ", size / 1024, (double)copy_size / t); in main()
|
/third_party/ffmpeg/tools/ |
D | qt-faststart.c | 332 uint64_t copy_size; in upgrade_stco_callback() local 363 copy_size = atom->header_size + atom->size; in upgrade_stco_callback() 364 memcpy(context->dest, atom->data - atom->header_size, copy_size); in upgrade_stco_callback() 365 context->dest += copy_size; in upgrade_stco_callback()
|
/third_party/gstreamer/gstplugins_bad/ext/dtls/ |
D | gstdtlsconnection.c | 1215 gint copy_size; in bio_method_read() local 1233 copy_size = internal_size; in bio_method_read() 1235 copy_size = size; in bio_method_read() 1239 "reading %d/%d bytes %d at offset %d, output buff size is %d", copy_size, in bio_method_read() 1243 copy_size); in bio_method_read() 1244 priv->bio_buffer_offset += copy_size; in bio_method_read() 1250 return copy_size; in bio_method_read()
|
/third_party/astc-encoder/Source/ |
D | astcenccli_toplevel.cpp | 376 size_t copy_size = slice_size * 4 * sizeof(uint8_t); in load_uncomp_file() local 377 memcpy(data8, data8src, copy_size); in load_uncomp_file() 383 size_t copy_size = slice_size * 4 * sizeof(uint16_t); in load_uncomp_file() local 384 memcpy(data16, data16src, copy_size); in load_uncomp_file() 391 size_t copy_size = slice_size * 4 * sizeof(float); in load_uncomp_file() local 392 memcpy(data32, data32src, copy_size); in load_uncomp_file()
|
/third_party/node/deps/v8/src/wasm/ |
D | wasm-external-refs.cc | 579 size_t copy_size = length * element_size_bytes; in array_copy_wrapper() local 581 MemMove(dst, src, copy_size); in array_copy_wrapper() 583 MemCopy(dst, src, copy_size); in array_copy_wrapper()
|
/third_party/mesa3d/src/intel/vulkan/ |
D | anv_blorp.c | 874 const uint32_t copy_size = MIN2(dataSize, max_update_size); in anv_CmdUpdateBuffer() local 877 anv_cmd_buffer_alloc_dynamic_state(cmd_buffer, copy_size, 64); in anv_CmdUpdateBuffer() 879 memcpy(tmp_data.map, pData, copy_size); in anv_CmdUpdateBuffer() 894 blorp_buffer_copy(&batch, src, dst, copy_size); in anv_CmdUpdateBuffer() 896 dataSize -= copy_size; in anv_CmdUpdateBuffer() 897 dstOffset += copy_size; in anv_CmdUpdateBuffer() 898 pData = (void *)pData + copy_size; in anv_CmdUpdateBuffer()
|
D | genX_cmd_buffer.c | 1122 unsigned copy_size = cmd_buffer->device->isl_dev.ss.clear_value_size; in genX() local 1152 mi_memcpy(&b, entry_addr, ss_clear_addr, copy_size); in genX() 1154 mi_memcpy(&b, ss_clear_addr, entry_addr, copy_size); in genX()
|
/third_party/node/deps/v8/src/runtime/ |
D | runtime-wasm.cc | 679 size_t copy_size = length * element_size_bytes; in RUNTIME_FUNCTION() local 681 MemMove(dst, src, copy_size); in RUNTIME_FUNCTION() 683 MemCopy(dst, src, copy_size); in RUNTIME_FUNCTION()
|
/third_party/vulkan-loader/loader/ |
D | loader.c | 6225 uint32_t copy_size; in terminator_EnumerateDeviceExtensionProperties() local 6245 copy_size = *pPropertyCount < count ? *pPropertyCount : count; in terminator_EnumerateDeviceExtensionProperties() 6246 for (uint32_t i = 0; i < copy_size; i++) { in terminator_EnumerateDeviceExtensionProperties() 6249 *pPropertyCount = copy_size; in terminator_EnumerateDeviceExtensionProperties() 6252 if (copy_size < count) { in terminator_EnumerateDeviceExtensionProperties() 6416 uint32_t copy_size; in terminator_EnumerateInstanceExtensionProperties() local 6479 copy_size = *pPropertyCount < global_ext_list->count ? *pPropertyCount : global_ext_list->count; in terminator_EnumerateInstanceExtensionProperties() 6480 for (uint32_t i = 0; i < copy_size; i++) { in terminator_EnumerateInstanceExtensionProperties() 6483 *pPropertyCount = copy_size; in terminator_EnumerateInstanceExtensionProperties() 6485 if (copy_size < global_ext_list->count) { in terminator_EnumerateInstanceExtensionProperties() [all …]
|
D | trampoline.c | 907 uint32_t copy_size; in vkEnumerateDeviceLayerProperties() local 937 copy_size = (*pPropertyCount < count) ? *pPropertyCount : count; in vkEnumerateDeviceLayerProperties() 938 for (uint32_t i = 0; i < copy_size; i++) { in vkEnumerateDeviceLayerProperties() 941 *pPropertyCount = copy_size; in vkEnumerateDeviceLayerProperties() 943 if (copy_size < count) { in vkEnumerateDeviceLayerProperties()
|
/third_party/mesa3d/src/intel/blorp/ |
D | blorp_blit.c | 3116 uint64_t copy_size = size; in blorp_buffer_copy() local 3131 while (copy_size >= max_copy_size) { in blorp_buffer_copy() 3133 copy_size -= max_copy_size; in blorp_buffer_copy() 3139 uint64_t height = copy_size / (max_surface_dim * bs); in blorp_buffer_copy() 3144 copy_size -= rect_copy_size; in blorp_buffer_copy() 3150 if (copy_size != 0) { in blorp_buffer_copy() 3151 do_buffer_copy(batch, &src, &dst, copy_size / bs, 1, bs); in blorp_buffer_copy()
|
/third_party/vixl/src/ |
D | invalset-vixl.h | 506 size_t copy_size = sizeof(*element) * (end - element - 1); in EraseInternal() local 507 memmove(element, element + 1, copy_size); in EraseInternal()
|
/third_party/ffmpeg/libavformat/ |
D | hls.c | 1556 int copy_size = FFMIN(v->init_sec_data_len - v->init_sec_buf_read_offset, buf_size); in read_data() local 1557 memcpy(buf, v->init_sec_buf, copy_size); in read_data() 1558 v->init_sec_buf_read_offset += copy_size; in read_data() 1559 return copy_size; in read_data()
|
D | dashdec.c | 1806 int copy_size = FFMIN(v->init_sec_data_len - v->init_sec_buf_read_offset, buf_size); in read_data() local 1807 memcpy(buf, v->init_sec_buf, copy_size); in read_data() 1808 v->init_sec_buf_read_offset += copy_size; in read_data() 1809 ret = copy_size; in read_data()
|
/third_party/vk-gl-cts/external/amber/src/src/dawn/ |
D | engine_dawn.cc | 382 const uint64_t copy_size = in MapDeviceBufferToHostBuffer() local 386 destination_offset, copy_size); in MapDeviceBufferToHostBuffer() 396 copy_size); in MapDeviceBufferToHostBuffer()
|
/third_party/mesa3d/src/freedreno/vulkan/ |
D | tu_descriptor_set.c | 1108 uint32_t copy_size = MIN2(src_binding_layout->size, dst_binding_layout->size); in tu_update_descriptor_sets() local 1111 memcpy(dst_ptr, src_ptr, copy_size); in tu_update_descriptor_sets()
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_descriptor_set.c | 1331 size_t copy_size = MIN2(src_binding_layout->size, dst_binding_layout->size); in radv_update_descriptor_sets_impl() local 1349 memcpy(dst_ptr, src_ptr, copy_size); in radv_update_descriptor_sets_impl()
|