Lines Matching refs:byte_count
132 unsigned short byte_count; member
152 unsigned short byte_count; member
161 unsigned short byte_count; member
180 unsigned short byte_count; member
211 unsigned short byte_count; member
227 unsigned short byte_count; member
235 unsigned short byte_count; member
240 unsigned short byte_count; member
634 const size_t byte_count = sizeof(lm) + sizeof(nt) + in smb_send_setup() local
637 if(byte_count > sizeof(msg.bytes)) in smb_send_setup()
659 p += msnprintf(p, byte_count - sizeof(nt) - sizeof(lm), in smb_send_setup()
666 DEBUGASSERT(byte_count == (size_t)(p - msg.bytes)); in smb_send_setup()
667 msg.byte_count = smb_swap16((unsigned short)byte_count); in smb_send_setup()
670 sizeof(msg) - sizeof(msg.bytes) + byte_count); in smb_send_setup()
680 const size_t byte_count = strlen(conn->host.name) + strlen(smbc->share) + in smb_send_tree_connect() local
682 if(byte_count > sizeof(msg.bytes)) in smb_send_tree_connect()
690 p += msnprintf(p, byte_count, in smb_send_tree_connect()
696 DEBUGASSERT(byte_count == (size_t)(p - msg.bytes)); in smb_send_tree_connect()
697 msg.byte_count = smb_swap16((unsigned short)byte_count); in smb_send_tree_connect()
700 sizeof(msg) - sizeof(msg.bytes) + byte_count); in smb_send_tree_connect()
707 const size_t byte_count = strlen(req->path) + 1; in smb_send_open() local
709 if(byte_count > sizeof(msg.bytes)) in smb_send_open()
715 msg.name_length = smb_swap16((unsigned short)(byte_count - 1)); in smb_send_open()
725 msg.byte_count = smb_swap16((unsigned short) byte_count); in smb_send_open()
729 sizeof(msg) - sizeof(msg.bytes) + byte_count); in smb_send_open()
792 msg->byte_count = smb_swap16((unsigned short) (upload_size + 1)); in smb_send_write()