Lines Matching refs:buffer
39 WCHAR * buffer, WCHAR const * text, std::size_t length) in commandLineAppend() argument
41 wcsncpy(buffer, text, length + 1); // trailing null in commandLineAppend()
42 return buffer + length; in commandLineAppend()
45 inline WCHAR * commandLineAppend(WCHAR * buffer, WCHAR const * text) { in commandLineAppend() argument
46 return commandLineAppend(buffer, text, wcslen(text)); in commandLineAppend()
49 inline WCHAR * commandLineAppendEncoded(WCHAR * buffer, WCHAR const * text) { in commandLineAppendEncoded() argument
56 buffer = commandLineAppend(buffer, MY_STRING(L"\\$")); in commandLineAppendEncoded()
59 buffer = commandLineAppend(buffer, MY_STRING(L"\\\\")); in commandLineAppendEncoded()
62 *buffer++ = c; in commandLineAppendEncoded()
69 *buffer++ = L'\\'; in commandLineAppendEncoded()
71 *buffer = L'\0'; in commandLineAppendEncoded()
72 return buffer; in commandLineAppendEncoded()