Home
last modified time | relevance | path

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

/third_party/curl/lib/
Dsmb.c375 size_t upload_size) in smb_send() argument
392 smbc->upload_size = upload_size; in smb_send()
596 curl_off_t upload_size = data->req.size - data->req.bytecount; in smb_send_write() local
602 if(upload_size >= MAX_PAYLOAD_SIZE - 1) /* There is one byte of padding */ in smb_send_write()
603 upload_size = MAX_PAYLOAD_SIZE - 1; in smb_send_write()
611 msg->data_length = smb_swap16((unsigned short) upload_size); in smb_send_write()
613 msg->byte_count = smb_swap16((unsigned short) (upload_size + 1)); in smb_send_write()
616 sizeof(*msg) - sizeof(msg->h) + (size_t) upload_size); in smb_send_write()
618 return smb_send(data, sizeof(*msg), (size_t) upload_size); in smb_send_write()
629 if(!smbc->send_size && smbc->upload_size) { in smb_send_and_recv()
[all …]
Dsmb.h43 size_t upload_size; member
/third_party/flutter/skia/third_party/externals/imgui/examples/
Dimgui_impl_vulkan.cpp330 size_t upload_size = width*height*4*sizeof(char); in ImGui_ImplVulkan_CreateFontsTexture() local
397 buffer_info.size = upload_size; in ImGui_ImplVulkan_CreateFontsTexture()
418 err = vkMapMemory(g_Device, g_UploadBufferMemory, 0, upload_size, 0, (void**)(&map)); in ImGui_ImplVulkan_CreateFontsTexture()
420 memcpy(map, pixels, upload_size); in ImGui_ImplVulkan_CreateFontsTexture()
424 range[0].size = upload_size; in ImGui_ImplVulkan_CreateFontsTexture()
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_resource_texture.c1332 unsigned upload_size; in svga_texture_transfer_map_upload() local
1376 upload_size = st->base.layer_stride * st->base.box.depth; in svga_texture_transfer_map_upload()
1377 upload_size = align(upload_size, 16); in svga_texture_transfer_map_upload()
1396 u_upload_alloc(svga->tex_upload, 0, upload_size, 16, in svga_texture_transfer_map_upload()
/third_party/skia/third_party/externals/imgui/backends/
Dimgui_impl_vulkan.cpp551 size_t upload_size = width * height * 4 * sizeof(char); in ImGui_ImplVulkan_CreateFontsTexture() local
618 buffer_info.size = upload_size; in ImGui_ImplVulkan_CreateFontsTexture()
639 err = vkMapMemory(v->Device, bd->UploadBufferMemory, 0, upload_size, 0, (void**)(&map)); in ImGui_ImplVulkan_CreateFontsTexture()
641 memcpy(map, pixels, upload_size); in ImGui_ImplVulkan_CreateFontsTexture()
645 range[0].size = upload_size; in ImGui_ImplVulkan_CreateFontsTexture()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_descriptors.c132 unsigned upload_size = desc->num_active_slots * slot_size; in si_upload_descriptors() local
138 if (!upload_size) in si_upload_descriptors()
155 u_upload_alloc(sctx->b.const_uploader, first_slot_offset, upload_size, in si_upload_descriptors()
156 si_optimal_tcc_alignment(sctx, upload_size), &buffer_offset, in si_upload_descriptors()
163 util_memcpy_cpu_to_le32(ptr, (char *)desc->list + first_slot_offset, upload_size); in si_upload_descriptors()
Dsi_pipe.h1714 static inline unsigned si_optimal_tcc_alignment(struct si_context *sctx, unsigned upload_size) in si_optimal_tcc_alignment() argument
1723 alignment = util_next_power_of_two(upload_size); in si_optimal_tcc_alignment()
/third_party/mesa3d/src/vulkan/overlay-layer/
Doverlay.cpp1035 size_t upload_size = width * height * 4 * sizeof(char); in ensure_swapchain_fonts() local
1040 buffer_info.size = upload_size; in ensure_swapchain_fonts()
1067 0, upload_size, 0, (void**)(&map))); in ensure_swapchain_fonts()
1068 memcpy(map, pixels, upload_size); in ensure_swapchain_fonts()
1072 range[0].size = upload_size; in ensure_swapchain_fonts()
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_state.c3285 unsigned upload_size = system_values_start + in upload_sysvals() local
3290 u_upload_alloc(ice->ctx.const_uploader, 0, upload_size, 64, in upload_sysvals()
3350 cbuf->buffer_size = upload_size; in upload_sysvals()
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_state.c3537 unsigned upload_size = shader->num_system_values * sizeof(uint32_t); in upload_sysvals() local
3541 u_upload_alloc(ice->ctx.const_uploader, 0, upload_size, 64, in upload_sysvals()
3595 cbuf->buffer_size = upload_size; in upload_sysvals()