Lines Matching refs:byte_count
129 unsigned short byte_count;
149 unsigned short byte_count;
158 unsigned short byte_count;
177 unsigned short byte_count;
208 unsigned short byte_count;
224 unsigned short byte_count;
232 unsigned short byte_count;
237 unsigned short byte_count;
643 size_t byte_count = sizeof(lm) + sizeof(nt);
644 byte_count += strlen(smbc->user) + strlen(smbc->domain);
645 byte_count += strlen(OS) + strlen(CLIENTNAME) + 4; /* 4 null chars */
646 if(byte_count > sizeof(msg.bytes))
672 byte_count = p - msg.bytes;
673 msg.byte_count = smb_swap16((unsigned short)byte_count);
676 sizeof(msg) - sizeof(msg.bytes) + byte_count);
686 size_t byte_count = strlen(conn->host.name) + strlen(smbc->share);
687 byte_count += strlen(SERVICENAME) + 5; /* 2 nulls and 3 backslashes */
688 if(byte_count > sizeof(msg.bytes))
700 byte_count = p - msg.bytes;
701 msg.byte_count = smb_swap16((unsigned short)byte_count);
704 sizeof(msg) - sizeof(msg.bytes) + byte_count);
711 size_t byte_count;
719 byte_count = strlen(req->path);
720 msg.name_length = smb_swap16((unsigned short)byte_count);
730 msg.byte_count = smb_swap16((unsigned short) ++byte_count);
734 sizeof(msg) - sizeof(msg.bytes) + byte_count);
798 msg->byte_count = smb_swap16((unsigned short) (upload_size + 1));