Lines Matching full:upload_size
361 size_t upload_size)
377 smbc->upload_size = upload_size;
576 curl_off_t upload_size = conn->data->req.size - conn->data->req.bytecount;
577 if(upload_size >= MAX_PAYLOAD_SIZE - 1) /* There is one byte of padding */
578 upload_size = MAX_PAYLOAD_SIZE - 1;
586 msg->data_length = smb_swap16((unsigned short) upload_size);
588 msg->byte_count = smb_swap16((unsigned short) (upload_size + 1));
591 sizeof(*msg) - sizeof(msg->h) + (size_t) upload_size);
593 return smb_send(conn, sizeof(*msg), (size_t) upload_size);
602 if(!smbc->send_size && smbc->upload_size) {
603 int nread = smbc->upload_size > BUFSIZE ? BUFSIZE :
604 (int) smbc->upload_size;
612 smbc->upload_size -= nread;
625 if(smbc->send_size || smbc->upload_size)
922 if(smbc->send_size || smbc->upload_size)