Home
last modified time | relevance | path

Searched refs:Swap16IfLE (Results 1 – 16 of 16) sorted by relevance

/external/libvncserver/libvncserver/
Drre.c119 rect.r.x = Swap16IfLE(x); in rfbSendRectEncodingRRE()
120 rect.r.y = Swap16IfLE(y); in rfbSendRectEncodingRRE()
121 rect.r.w = Swap16IfLE(w); in rfbSendRectEncodingRRE()
122 rect.r.h = Swap16IfLE(h); in rfbSendRectEncodingRRE()
230 subrect.x = Swap16IfLE(thex); \
231 subrect.y = Swap16IfLE(they); \
232 subrect.w = Swap16IfLE(thew); \
233 subrect.h = Swap16IfLE(theh); \
Drfbserver.c794 u.si.framebufferWidth = Swap16IfLE(cl->screen->width); in rfbProcessClientInitMessage()
795 u.si.framebufferHeight = Swap16IfLE(cl->screen->height); in rfbProcessClientInitMessage()
797 u.si.format.redMax = Swap16IfLE(u.si.format.redMax); in rfbProcessClientInitMessage()
798 u.si.format.greenMax = Swap16IfLE(u.si.format.greenMax); in rfbProcessClientInitMessage()
799 u.si.format.blueMax = Swap16IfLE(u.si.format.blueMax); in rfbProcessClientInitMessage()
857 int x1=Swap16IfLE(*x); in rectSwapIfLEAndClip()
858 int y1=Swap16IfLE(*y); in rectSwapIfLEAndClip()
859 int w1=Swap16IfLE(*w); in rectSwapIfLEAndClip()
860 int h1=Swap16IfLE(*h); in rectSwapIfLEAndClip()
896 rect.r.x = Swap16IfLE(cl->lastKeyboardLedState); in rfbSendKeyboardLedState()
[all …]
Dultra.c116 rect.r.x = Swap16IfLE(x); in rfbSendOneRectEncodingUltra()
117 rect.r.y = Swap16IfLE(y); in rfbSendOneRectEncodingUltra()
118 rect.r.w = Swap16IfLE(w); in rfbSendOneRectEncodingUltra()
119 rect.r.h = Swap16IfLE(h); in rfbSendOneRectEncodingUltra()
Dzlib.c215 rect.r.x = Swap16IfLE(x); in rfbSendOneRectEncodingZlib()
216 rect.r.y = Swap16IfLE(y); in rfbSendOneRectEncodingZlib()
217 rect.r.w = Swap16IfLE(w); in rfbSendOneRectEncodingZlib()
218 rect.r.h = Swap16IfLE(h); in rfbSendOneRectEncodingZlib()
Dscale.c406 pmsg.desktop_w = Swap16IfLE(cl->screen->width); in rfbSendNewScaleSize()
407 pmsg.desktop_h = Swap16IfLE(cl->screen->height); in rfbSendNewScaleSize()
408 pmsg.buffer_w = Swap16IfLE(cl->scaledScreen->width); in rfbSendNewScaleSize()
409 pmsg.buffer_h = Swap16IfLE(cl->scaledScreen->height); in rfbSendNewScaleSize()
424 rmsg.framebufferWidth = Swap16IfLE(cl->scaledScreen->width); in rfbSendNewScaleSize()
425 rmsg.framebufferHeigth = Swap16IfLE(cl->scaledScreen->height); in rfbSendNewScaleSize()
Dtranslate.c378 scme->firstColour = Swap16IfLE(0); in rfbSetClientColourMapBGR233()
379 scme->nColours = Swap16IfLE(256); in rfbSetClientColourMapBGR233()
388 rgb[i++] = Swap16IfLE(r * 65535 / 7); in rfbSetClientColourMapBGR233()
389 rgb[i++] = Swap16IfLE(g * 65535 / 7); in rfbSetClientColourMapBGR233()
390 rgb[i++] = Swap16IfLE(b * 65535 / 3); in rfbSetClientColourMapBGR233()
Dzrle.c200 rect.r.x = Swap16IfLE(x); in rfbSendRectEncodingZRLE()
201 rect.r.y = Swap16IfLE(y); in rfbSendRectEncodingZRLE()
202 rect.r.w = Swap16IfLE(w); in rfbSendRectEncodingZRLE()
203 rect.r.h = Swap16IfLE(h); in rfbSendRectEncodingZRLE()
Dcorre.c152 rect.r.x = Swap16IfLE(x); in rfbSendSmallRectEncodingCoRRE()
153 rect.r.y = Swap16IfLE(y); in rfbSendSmallRectEncodingCoRRE()
154 rect.r.w = Swap16IfLE(w); in rfbSendSmallRectEncodingCoRRE()
155 rect.r.h = Swap16IfLE(h); in rfbSendSmallRectEncodingCoRRE()
Dhextile.c53 rect.r.x = Swap16IfLE(x); in rfbSendRectEncodingHextile()
54 rect.r.y = Swap16IfLE(y); in rfbSendRectEncodingHextile()
55 rect.r.w = Swap16IfLE(w); in rfbSendRectEncodingHextile()
56 rect.r.h = Swap16IfLE(h); in rfbSendRectEncodingHextile()
Dcursor.c112 rect.r.x = Swap16IfLE(pCursor->xhot); in rfbSendCursorShape()
113 rect.r.y = Swap16IfLE(pCursor->yhot); in rfbSendCursorShape()
114 rect.r.w = Swap16IfLE(pCursor->width); in rfbSendCursorShape()
115 rect.r.h = Swap16IfLE(pCursor->height); in rfbSendCursorShape()
191 rect.r.x = Swap16IfLE(cl->screen->cursorX); in rfbSendCursorPos()
192 rect.r.y = Swap16IfLE(cl->screen->cursorY); in rfbSendCursorPos()
Dtight.c780 rect.r.x = Swap16IfLE(x); in SendTightHeader()
781 rect.r.y = Swap16IfLE(y); in SendTightHeader()
782 rect.r.w = Swap16IfLE(w); in SendTightHeader()
783 rect.r.h = Swap16IfLE(h); in SendTightHeader()
/external/libvncserver/libvncserver/tightvnc-filetransfer/
Dfiletransfermsg.c343 pFLD->numFiles = Swap16IfLE(0); in CreateFileListErrMsg()
344 pFLD->dataSize = Swap16IfLE(0); in CreateFileListErrMsg()
345 pFLD->compressedSize = Swap16IfLE(0); in CreateFileListErrMsg()
380 pFLD->numFiles = Swap16IfLE(fileListInfo.numEntries); in CreateFileListMsg()
381 pFLD->dataSize = Swap16IfLE(GetSumOfFileNamesLength(fileListInfo) + in CreateFileListMsg()
533 pFDF->reasonLen = Swap16IfLE(reasonLen); in CreateFileDownloadErrMsg()
564 pFDD->compressedSize = Swap16IfLE(0); in CreateFileDownloadZeroSizeDataMsg()
565 pFDD->realSize = Swap16IfLE(0); in CreateFileDownloadZeroSizeDataMsg()
598 pFDD->compressedSize = Swap16IfLE(sizeFile); in CreateFileDownloadBlockSizeDataMsg()
599 pFDD->realSize = Swap16IfLE(sizeFile); in CreateFileDownloadBlockSizeDataMsg()
[all …]
Dhandlefiletransferrequest.c282 msg.flr.dirNameSize = Swap16IfLE(msg.flr.dirNameSize); in HandleFileListRequest()
369 msg.fdr.fNameSize = Swap16IfLE(msg.fdr.fNameSize); in HandleFileDownloadRequest()
370 msg.fdr.position = Swap16IfLE(msg.fdr.position); in HandleFileDownloadRequest()
564 msg.fdc.reasonLen = Swap16IfLE(msg.fdc.reasonLen); in HandleFileDownloadCancelRequest()
641 msg.fupr.fNameSize = Swap16IfLE(msg.fupr.fNameSize); in HandleFileUploadRequest()
642 msg.fupr.position = Swap16IfLE(msg.fupr.position); in HandleFileUploadRequest()
786 msg.fud.realSize = Swap16IfLE(msg.fud.realSize); in HandleFileUploadDataRequest()
787 msg.fud.compressedSize = Swap16IfLE(msg.fud.compressedSize); in HandleFileUploadDataRequest()
902 msg.fuf.reasonLen = Swap16IfLE(msg.fuf.reasonLen); in HandleFileUploadFailedRequest()
976 msg.fcdr.dNameLen = Swap16IfLE(msg.fcdr.dNameLen); in HandleFileCreateDirRequest()
Drfbtightserver.c280 intr_caps.nServerMessageTypes = Swap16IfLE(N_SMSG_CAPS); in rfbSendInteractionCaps()
281 intr_caps.nClientMessageTypes = Swap16IfLE(N_CMSG_CAPS); in rfbSendInteractionCaps()
282 intr_caps.nEncodingTypes = Swap16IfLE(N_ENC_CAPS); in rfbSendInteractionCaps()
/external/libvncserver/rfb/
Drfb.h731 #define Swap16IfLE(s) (rfbEndianTest ? Swap16(s) : (s)) macro
/external/libvncserver/
DChangeLog24 Swap16IfLE(cl->scaledScreen->width); rmsg.framebufferHeigth
25 = Swap16IfLE(cl->scaledScreen->height); rfbLog("Sending a response
3831 …* libvncserver/rfbserver.c: Fix Swap16IfLE() on bytes When swapping the values for the colour tabl…