Home
last modified time | relevance | path

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

/external/curl/lib/
Dsmb.c363 size_t upload_size) in smb_send() argument
379 smbc->upload_size = upload_size; in smb_send()
580 curl_off_t upload_size = conn->data->req.size - conn->data->req.bytecount; in smb_send_write() local
586 if(upload_size >= MAX_PAYLOAD_SIZE - 1) /* There is one byte of padding */ in smb_send_write()
587 upload_size = MAX_PAYLOAD_SIZE - 1; in smb_send_write()
595 msg->data_length = smb_swap16((unsigned short) upload_size); in smb_send_write()
597 msg->byte_count = smb_swap16((unsigned short) (upload_size + 1)); in smb_send_write()
600 sizeof(*msg) - sizeof(msg->h) + (size_t) upload_size); in smb_send_write()
602 return smb_send(conn, sizeof(*msg), (size_t) upload_size); in smb_send_write()
612 if(!smbc->send_size && smbc->upload_size) { in smb_send_and_recv()
[all …]
Dsmb.h43 size_t upload_size; member
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_resource_texture.c1374 unsigned upload_size; in svga_texture_transfer_map_upload() local
1418 upload_size = st->base.layer_stride * st->base.box.depth; in svga_texture_transfer_map_upload()
1419 upload_size = align(upload_size, 16); in svga_texture_transfer_map_upload()
1438 u_upload_alloc(svga->tex_upload, 0, upload_size, 16, in svga_texture_transfer_map_upload()
/external/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()
156 u_upload_alloc(sctx->b.const_uploader, first_slot_offset, upload_size, in si_upload_descriptors()
157 si_optimal_tcc_alignment(sctx, upload_size), &buffer_offset, in si_upload_descriptors()
164 util_memcpy_cpu_to_le32(ptr, (char *)desc->list + first_slot_offset, upload_size); in si_upload_descriptors()
Dsi_pipe.h1688 static inline unsigned si_optimal_tcc_alignment(struct si_context *sctx, unsigned upload_size) in si_optimal_tcc_alignment() argument
1697 alignment = util_next_power_of_two(upload_size); in si_optimal_tcc_alignment()
/external/mesa3d/src/vulkan/overlay-layer/
Doverlay.cpp1026 size_t upload_size = width * height * 4 * sizeof(char); in ensure_swapchain_fonts() local
1031 buffer_info.size = upload_size; in ensure_swapchain_fonts()
1058 0, upload_size, 0, (void**)(&map))); in ensure_swapchain_fonts()
1059 memcpy(map, pixels, upload_size); in ensure_swapchain_fonts()
1063 range[0].size = upload_size; in ensure_swapchain_fonts()
/external/mesa3d/src/gallium/drivers/iris/
Diris_state.c3273 unsigned upload_size = system_values_start + in upload_sysvals() local
3278 u_upload_alloc(ice->ctx.const_uploader, 0, upload_size, 64, in upload_sysvals()
3338 cbuf->buffer_size = upload_size; in upload_sysvals()