/third_party/ltp/utils/benchmark/ebizzy-0.3/ |
H A 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_siz in search_mem() [all...] |
/third_party/mesa3d/src/compiler/nir/ |
H A 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/ |
H A 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/mesa3d/src/virtio/vulkan/ |
H A 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/ |
H A 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 > 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 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 in translate_generic_create() [all...] |
/third_party/node/deps/v8/src/objects/ |
H A D | elements.cc | 189 // 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 D | elements.h | 212 uint32_t destination_start, int copy_size) = 0;
|
/third_party/optimized-routines/string/bench/ |
H A 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/ |
H A 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/node/deps/v8/src/wasm/ |
H A 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/ |
H A 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()
|
H A D | genX_cmd_buffer.c | 1122 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 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/astc-encoder/Source/ |
H A D | astcenccli_toplevel.cpp | 413 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 D | invalset-vixl.h | 510 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 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/vulkan-loader/loader/ |
H A D | loader.c | 6546 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 D | trampoline.c | 1059 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 D | dashdec.c | 1803 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 D | hls.c | 1598 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 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/ |
H A 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/ |
H A 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()
|
/third_party/libbpf/src/ |
H A D | libbpf.c | 12764 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
|