Searched refs:reasonLen (Results 1 – 4 of 4) sorted by relevance
/external/libvncserver/libvncserver/tightvnc-filetransfer/ |
D | filetransfermsg.c | 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 [all …]
|
D | rfbtightproto.h | 344 uint16_t reasonLen; member 357 uint16_t reasonLen; member 432 uint16_t reasonLen; member 445 uint16_t reasonLen; member
|
D | handlefiletransferrequest.c | 564 msg.fdc.reasonLen = Swap16IfLE(msg.fdc.reasonLen); in HandleFileDownloadCancelRequest() 566 if(msg.fdc.reasonLen == 0) { in HandleFileDownloadCancelRequest() 572 reason = (char*) calloc(msg.fdc.reasonLen + 1, sizeof(char)); in HandleFileDownloadCancelRequest() 579 if((n = rfbReadExact(cl, reason, msg.fdc.reasonLen)) <= 0) { in HandleFileDownloadCancelRequest() 902 msg.fuf.reasonLen = Swap16IfLE(msg.fuf.reasonLen); in HandleFileUploadFailedRequest() 903 if(msg.fuf.reasonLen == 0) { in HandleFileUploadFailedRequest() 910 reason = (char*) calloc(msg.fuf.reasonLen + 1, sizeof(char)); in HandleFileUploadFailedRequest() 916 if((n = rfbReadExact(cl, reason, msg.fuf.reasonLen)) <= 0) { in HandleFileUploadFailedRequest()
|
/external/libvncserver/libvncclient/ |
D | rfbproto.c | 509 uint32_t authResult=0, reasonLen=0; in rfbHandleAuthResult() local 525 if (!ReadFromRFBServer(client, (char *)&reasonLen, 4)) return FALSE; in rfbHandleAuthResult() 526 reasonLen = rfbClientSwap32IfLE(reasonLen); in rfbHandleAuthResult() 527 reason = malloc(reasonLen+1); in rfbHandleAuthResult() 528 if (!ReadFromRFBServer(client, reason, reasonLen)) { free(reason); return FALSE; } in rfbHandleAuthResult() 529 reason[reasonLen]=0; in rfbHandleAuthResult() 549 uint32_t reasonLen; in ReadReason() local 553 if (!ReadFromRFBServer(client, (char *)&reasonLen, 4)) return; in ReadReason() 554 reasonLen = rfbClientSwap32IfLE(reasonLen); in ReadReason() 555 reason = malloc(reasonLen+1); in ReadReason() [all …]
|