Home
last modified time | relevance | path

Searched refs:copy_size (Results 1 - 25 of 25) sorted by relevance

/third_party/ltp/utils/benchmark/ebizzy-0.3/
H A Debizzy.c374 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_siz in search_mem()
[all...]
/third_party/mesa3d/src/compiler/nir/
H A Dnir_lower_memcpy.c121 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/
H A Dhandler-assert.c65 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/mesa3d/src/virtio/vulkan/
H A Dvn_query_pool.c151 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/
H A Dxzcat.c812 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 > dic in dict_uncompressed()
1563 size_t copy_size = dict->pos - dict->start; dict_flush() local
2486 size_t copy_size = minof(b->in_size - b->in_pos, s->temp.size - s->temp.pos); fill_temp() local
[all...]
/third_party/mesa3d/src/gallium/auxiliary/translate/
H A Dtranslate_generic.c74 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 in translate_generic_create()
[all...]
/third_party/node/deps/v8/src/objects/
H A Delements.cc189 // If kCopyToEndAndInitializeToHole is specified as the copy_size to
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 in CopyDictionaryToObjectElements()
274 int copy_size = raw_copy_size; CopyDoubleToObjectElements() local
319 int copy_size = raw_copy_size; CopyDoubleToDoubleElements() local
355 int copy_size = raw_copy_size; CopySmiToDoubleElements() local
385 int copy_size = raw_copy_size; CopyPackedSmiToDoubleElements() local
416 int copy_size = raw_copy_size; CopyObjectToDoubleElements() local
446 int copy_size = raw_copy_size; CopyDictionaryToDoubleElements() local
975 CopyElementsImpl(Isolate* isolate, FixedArrayBase from, uint32_t from_start, FixedArrayBase to, ElementsKind from_kind, uint32_t to_start, int packed_size, int copy_size) CopyElementsImpl() argument
1469 CopyElementsImpl(Isolate* isolate, FixedArrayBase from, uint32_t from_start, FixedArrayBase to, ElementsKind from_kind, uint32_t to_start, int packed_size, int copy_size) CopyElementsImpl() argument
2463 CopyArguments(BuiltinArguments* args, Handle<FixedArrayBase> dst_store, uint32_t copy_size, uint32_t src_index, uint32_t dst_index) CopyArguments() argument
2508 CopyElementsImpl(Isolate* isolate, FixedArrayBase from, uint32_t from_start, FixedArrayBase to, ElementsKind from_kind, uint32_t to_start, int packed_size, int copy_size) CopyElementsImpl() argument
2925 CopyElementsImpl(Isolate* isolate, FixedArrayBase from, uint32_t from_start, FixedArrayBase to, ElementsKind from_kind, uint32_t to_start, int packed_size, int copy_size) CopyElementsImpl() argument
4886 CopyElementsImpl(Isolate* isolate, FixedArrayBase from, uint32_t from_start, FixedArrayBase to, ElementsKind from_kind, uint32_t to_start, int packed_size, int copy_size) CopyElementsImpl() argument
5078 CopyElementsImpl(Isolate* isolate, FixedArrayBase from, uint32_t from_start, FixedArrayBase to, ElementsKind from_kind, uint32_t to_start, int packed_size, int copy_size) CopyElementsImpl() argument
[all...]
H A Delements.h212 uint32_t destination_start, int copy_size) = 0;
/third_party/optimized-routines/string/bench/
H A Dmemcpy.c173 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/
H A Dqt-faststart.c332 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/node/deps/v8/src/wasm/
H A Dwasm-external-refs.cc579 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/
H A Danv_blorp.c874 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()
H A DgenX_cmd_buffer.c1122 unsigned copy_size = cmd_buffer->device->isl_dev.ss.clear_value_size; in copy_fast_clear_dwords() local
1152 mi_memcpy(&b, entry_addr, ss_clear_addr, copy_size); in copy_fast_clear_dwords()
1154 mi_memcpy(&b, ss_clear_addr, entry_addr, copy_size); in copy_fast_clear_dwords()
/third_party/node/deps/v8/src/runtime/
H A Druntime-wasm.cc679 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/astc-encoder/Source/
H A Dastcenccli_toplevel.cpp413 size_t copy_size = slice_size * 4 * sizeof(uint8_t); in load_uncomp_file() local
414 memcpy(data8, data8src, copy_size); in load_uncomp_file()
420 size_t copy_size = slice_size * 4 * sizeof(uint16_t); in load_uncomp_file() local
421 memcpy(data16, data16src, copy_size); in load_uncomp_file()
428 size_t copy_size = slice_size * 4 * sizeof(float); in load_uncomp_file() local
429 memcpy(data32, data32src, copy_size); in load_uncomp_file()
/third_party/vixl/src/
H A Dinvalset-vixl.h510 size_t copy_size = sizeof(*element) * (end - element - 1); in EraseInternal() local
511 memmove(element, element + 1, copy_size); in EraseInternal()
/third_party/mesa3d/src/intel/blorp/
H A Dblorp_blit.c3116 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/vulkan-loader/loader/
H A Dloader.c6546 uint32_t copy_size;
6566 copy_size = *pPropertyCount < count ? *pPropertyCount : count;
6567 for (uint32_t i = 0; i < copy_size; i++) {
6570 *pPropertyCount = copy_size;
6573 if (copy_size < count) {
6731 uint32_t copy_size;
6803 copy_size = *pPropertyCount < global_ext_list->count ? *pPropertyCount : global_ext_list->count;
6804 for (uint32_t i = 0; i < copy_size; i++) {
6807 *pPropertyCount = copy_size;
6809 if (copy_size < global_ext_lis
[all...]
H A Dtrampoline.c1059 uint32_t copy_size; in vkEnumerateDeviceLayerProperties() local
1086 copy_size = (*pPropertyCount < count) ? *pPropertyCount : count; in vkEnumerateDeviceLayerProperties()
1087 for (uint32_t i = 0; i < copy_size; i++) { in vkEnumerateDeviceLayerProperties()
1090 *pPropertyCount = copy_size; in vkEnumerateDeviceLayerProperties()
1092 if (copy_size < count) { in vkEnumerateDeviceLayerProperties()
/third_party/ffmpeg/libavformat/
H A Ddashdec.c1803 int copy_size = FFMIN(v->init_sec_data_len - v->init_sec_buf_read_offset, buf_size); in read_data() local
1804 memcpy(buf, v->init_sec_buf, copy_size); in read_data()
1805 v->init_sec_buf_read_offset += copy_size; in read_data()
1806 ret = copy_size; in read_data()
H A Dhls.c1598 int copy_size = FFMIN(v->init_sec_data_len - v->init_sec_buf_read_offset, buf_size); in read_data() local
1599 memcpy(buf, v->init_sec_buf, copy_size); in read_data()
1600 v->init_sec_buf_read_offset += copy_size; in read_data()
1601 return copy_size; in read_data()
/third_party/vk-gl-cts/external/amber/src/src/dawn/
H A Dengine_dawn.cc382 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/
H A Dtu_descriptor_set.c1108 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/
H A Dradv_descriptor_set.c1331 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()
/third_party/libbpf/src/
H A Dlibbpf.c12764 void **copy_mem, size_t *copy_size,
12784 if (*copy_size < ehdr_size) {
12788 *copy_size = 0;
12792 *copy_size = ehdr_size;
12763 perf_event_read_simple(void *mmap_mem, size_t mmap_size, size_t page_size, void **copy_mem, size_t *copy_size, bpf_perf_event_print_t fn, void *private_data) global() argument

Completed in 84 milliseconds