Searched refs:cwDest (Results 1 - 3 of 3) sorted by relevance

/vbox/src/VBox/GuestHost/SharedClipboard/
H A Dclipboard-helper.cpp29 size_t cwDest, i; local
46 cwDest = 0;
49 for (i = (pwszSrc[0] == UTF16LEMARKER ? 1 : 0); i < cwSrc; ++i, ++cwDest)
53 ++cwDest;
57 ++cwDest;
66 ++cwDest;
67 LogFlowFunc(("returning VINF_SUCCESS, %d 16bit words\n", cwDest));
68 *pcwDest = cwDest;
73 size_t cwDest)
84 if (cwDest
72 vboxClipboardUtf16LinToWin(PRTUTF16 pwszSrc, size_t cwSrc, PRTUTF16 pu16Dest, size_t cwDest) argument
152 size_t cwDest; local
198 vboxClipboardUtf16WinToLin(PRTUTF16 pwszSrc, size_t cwSrc, PRTUTF16 pu16Dest, size_t cwDest) argument
[all...]
/vbox/src/VBox/HostServices/SharedClipboard/
H A Ddarwin-pasteboard.cpp198 size_t cwDest; local
199 rc = vboxClipboardUtf16GetWinSize(pwszTmp, cwSrc, &cwDest);
207 *pcbActual = cwDest * 2;
300 size_t cwDest = 0; local
302 rc = vboxClipboardUtf16GetLinSize(pwszSrcText, cwSrc, &cwDest);
309 if (cwDest == 0)
315 PRTUTF16 pwszDestText = static_cast <PRTUTF16>(RTMemAlloc(cwDest * 2));
318 Log(("writeToPasteboard: failed to allocate %d bytes\n", cwDest * 2));
322 rc = vboxClipboardUtf16WinToLin(pwszSrcText, cwSrc, pwszDestText, cwDest);
335 reinterpret_cast<UInt8*>(pwszDestText), cwDest *
[all...]
/vbox/include/VBox/GuestHost/
H A Dclipboard-helper.h67 int vboxClipboardUtf16LinToWin(PRTUTF16 pwszSrc, size_t cwSrc, PRTUTF16 pu16Dest, size_t cwDest);
90 * @param cwDest The size of the buffer for the destination text in 16 bit words
92 int vboxClipboardUtf16WinToLin(PRTUTF16 pwszSrc, size_t cwSrc, PRTUTF16 pu16Dest, size_t cwDest);

Completed in 33 milliseconds