Lines Matching refs:reasonLen
405 FileTransferMsg CreateFileDownloadErrMsg(char* reason, unsigned int reasonLen);
415 int reasonLen = strlen(reason); in GetFileDownLoadErrMsg() local
419 fileDownloadErrMsg = CreateFileDownloadErrMsg(reason, reasonLen); in GetFileDownLoadErrMsg()
429 int reasonLen = strlen(reason); in GetFileDownloadReadDataErrMsg() local
431 return CreateFileDownloadErrMsg(reason, reasonLen); in GetFileDownloadReadDataErrMsg()
440 int reasonLen = strlen(reason); in GetFileDownloadLengthErrResponseMsg() local
442 return CreateFileDownloadErrMsg(reason, reasonLen); in GetFileDownloadLengthErrResponseMsg()
494 int reasonLen = strlen(reason); in ChkFileDownloadErr() local
499 fileDownloadMsg = CreateFileDownloadErrMsg(reason, reasonLen); in ChkFileDownloadErr()
514 CreateFileDownloadErrMsg(char* reason, unsigned int reasonLen) in CreateFileDownloadErrMsg() argument
517 int length = sz_rfbFileDownloadFailedMsg + reasonLen + 1; in CreateFileDownloadErrMsg()
533 pFDF->reasonLen = Swap16IfLE(reasonLen); in CreateFileDownloadErrMsg()
534 memcpy(pFollow, reason, reasonLen); in CreateFileDownloadErrMsg()
615 FileTransferMsg CreateFileUploadErrMsg(char* reason, unsigned int reasonLen);
621 int reasonLen = strlen(reason); in GetFileUploadLengthErrResponseMsg() local
623 return CreateFileUploadErrMsg(reason, reasonLen); in GetFileUploadLengthErrResponseMsg()
639 int reasonLen = strlen(reason); in ChkFileUploadErr() local
640 fileUploadErrMsg = CreateFileUploadErrMsg(reason, reasonLen); in ChkFileUploadErr()
653 int reasonLen = strlen(reason); in GetFileUploadCompressedLevelErrMsg() local
655 return CreateFileUploadErrMsg(reason, reasonLen); in GetFileUploadCompressedLevelErrMsg()
671 int reasonLen = strlen(reason); in ChkFileUploadWriteErr() local
672 ftm = CreateFileUploadErrMsg(reason, reasonLen); in ChkFileUploadWriteErr()
702 CreateFileUploadErrMsg(char* reason, unsigned int reasonLen) in CreateFileUploadErrMsg() argument
705 int length = sz_rfbFileUploadCancelMsg + reasonLen; in CreateFileUploadErrMsg()
721 pFDF->reasonLen = Swap16IfLE(reasonLen); in CreateFileUploadErrMsg()
722 memcpy(pFollow, reason, reasonLen); in CreateFileUploadErrMsg()