/reactos/sdk/lib/comsupp/ |
H A D | comsupp.cpp | 96 char *szOut = NULL; in ConvertBSTRToString() local 113 szOut = (char*)::operator new(cb * sizeof(char)); in ConvertBSTRToString() 114 if (!szOut) in ConvertBSTRToString() 121 szOut[cb - 1] = '\0'; in ConvertBSTRToString() 122 if (::WideCharToMultiByte(CP_ACP, 0, pSrc, cwch, szOut, cb, NULL, NULL) == 0) in ConvertBSTRToString() 127 ::operator delete(szOut); in ConvertBSTRToString() 128 szOut = NULL; in ConvertBSTRToString() 133 return szOut; in ConvertBSTRToString()
|
/reactos/dll/win32/kernel32/winnls/string/ |
H A D | lcformat.c | 878 szOut[0] = '\0'; in NLS_GetDateTimeFormatA() 885 if (szOut[0]) in NLS_GetDateTimeFormatA() 1183 szOut[0] = '\0'; in GetNumberFormatA() 1254 *szOut-- = '\0'; in GetNumberFormatW() 1292 *szOut-- = ')'; in GetNumberFormatW() 1426 szOut++; in GetNumberFormatW() 1554 szOut[0] = '\0'; in GetCurrencyFormatA() 1651 *szOut-- = '\0'; in GetCurrencyFormatW() 1690 *szOut-- = ')'; in GetCurrencyFormatW() 1841 *szOut-- = '('; in GetCurrencyFormatW() [all …]
|
/reactos/dll/win32/shell32/ |
H A D | debughlp.cpp | 218 void _dbg_ILSimpleGetText (LPCITEMIDLIST pidl, LPSTR szOut, UINT uOutSize) in _dbg_ILSimpleGetText() argument 226 if (szOut) in _dbg_ILSimpleGetText() 227 *szOut = 0; in _dbg_ILSimpleGetText() 232 if (szOut) lstrcpynA(szOut, "Desktop", uOutSize); in _dbg_ILSimpleGetText() 237 if (szOut) lstrcpynA(szOut, szSrc, uOutSize); in _dbg_ILSimpleGetText() 244 if (szOut) lstrcpynA(szOut, tmp, uOutSize); in _dbg_ILSimpleGetText() 248 if (szOut) in _dbg_ILSimpleGetText() 249 sprintf( szOut, "{%08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x}", in _dbg_ILSimpleGetText()
|
/reactos/modules/rosapps/applications/cmdutils/y/ |
H A D | y.c | 22 TCHAR szOut[BUFF_SIZE]; in ConErrPrintf() local 26 _vstprintf (szOut, szFormat, arg_ptr); in ConErrPrintf() 29 WriteFile (GetStdHandle (STD_ERROR_HANDLE), szOut, _tcslen(szOut), &dwWritten, NULL); in ConErrPrintf()
|
/reactos/modules/rostests/apitests/atl/ |
H A D | atltypes.cpp | 107 CSize szOut; in test_CSize() local 108 szOut = sz1 + sz2; in test_CSize() 111 ok_size(szOut, szResult); in test_CSize() 116 szOut = sz1 + sz3; in test_CSize() 117 ok_size(szOut, szResult); in test_CSize() 119 szOut = sz1 - sz2; in test_CSize() 122 ok_size(szOut, szResult); in test_CSize() 127 szOut = sz1 - sz3; in test_CSize() 128 ok_size(szOut, szResult); in test_CSize() 132 szOut = -szOut; in test_CSize() [all …]
|
/reactos/modules/rostests/apitests/cmd/ |
H A D | cmd.c | 412 CHAR szOut[512], szErr[512]; in DoTestEntry() local 441 ZeroMemory(szOut, sizeof(szOut)); in DoTestEntry() 442 PeekNamedPipe(hOutputRead, szOut, ARRAYSIZE(szOut), &dwRead, NULL, NULL); in DoTestEntry() 443 szOut[ARRAYSIZE(szOut) - 1] = 0; in DoTestEntry() 472 ok(strstr(szOut, pEntry->OutputContains) != NULL, in DoTestEntry() 474 pEntry->line, szOut); in DoTestEntry() 486 ok(strstr(szOut, pEntry->OutputNotContains) == NULL, in DoTestEntry() 488 pEntry->line, szOut); in DoTestEntry()
|
/reactos/modules/rosapps/applications/cmdutils/tee/ |
H A D | tee.c | 39 TCHAR szOut[4096]; in ConErrPrintf() local 43 _vstprintf (szOut, szFormat, arg_ptr); in ConErrPrintf() 46 WriteFile (GetStdHandle (STD_ERROR_HANDLE), szOut, _tcslen(szOut), &dwWritten, NULL); in ConErrPrintf()
|
/reactos/base/shell/cmd/ |
H A D | console.c | 154 WCHAR szOut[OUTPUT_BUFFER_SIZE]; in ConPrintfVPaging() local 160 /*len =*/ vswprintf(szOut, szFormat, arg_ptr); in ConPrintfVPaging() 164 szOut, wcslen(szOut)); in ConPrintfVPaging()
|
/reactos/dll/win32/shell32/wine/ |
H A D | pidl.c | 2179 TRACE("(%p %p %x)\n",pidl,szOut,uOutSize); in _ILSimpleGetTextW() 2194 if (szOut) in _ILSimpleGetTextW() 2195 *szOut = 0; in _ILSimpleGetTextW() 2202 if (szOut) in _ILSimpleGetTextW() 2203 lstrcpynW(szOut, szTemp, uOutSize); in _ILSimpleGetTextW() 2211 if (szOut) in _ILSimpleGetTextW() 2212 lstrcpynW(szOut, szSrcW, uOutSize); in _ILSimpleGetTextW() 2221 if (szOut) in _ILSimpleGetTextW() 2222 lstrcpynW(szOut, szTemp, uOutSize); in _ILSimpleGetTextW() 2231 if (szOut) in _ILSimpleGetTextW() [all …]
|
/reactos/base/setup/usetup/ |
H A D | consup.c | 149 CHAR szOut[256]; in CONSOLE_ConOutPrintfV() local 152 vsprintf(szOut, szFormat, args); in CONSOLE_ConOutPrintfV() 155 szOut, in CONSOLE_ConOutPrintfV() 156 (ULONG)strlen(szOut), in CONSOLE_ConOutPrintfV()
|
/reactos/dll/win32/oleaut32/ |
H A D | vartype.c | 6330 static WCHAR *VARIANT_WriteNumber(ULONG64 ulVal, WCHAR* szOut) in VARIANT_WriteNumber() argument 6336 *szOut-- = '0' + ulNextDigit; in VARIANT_WriteNumber() 6340 szOut++; in VARIANT_WriteNumber() 6341 return szOut; in VARIANT_WriteNumber() 6350 *--szOut = '-'; in VARIANT_MakeBstr() 6358 szOut = szConverted; in VARIANT_MakeBstr() 6360 return SysAllocStringByteLen((LPCSTR)szOut, lstrlenW(szOut) * sizeof(WCHAR)); in VARIANT_MakeBstr() 6366 WCHAR szBuff[64], *szOut = szBuff + ARRAY_SIZE(szBuff) - 1; in VARIANT_BstrFromUInt() local 6372 *szOut-- = '\0'; in VARIANT_BstrFromUInt() 6373 szOut = VARIANT_WriteNumber(ulVal, szOut); in VARIANT_BstrFromUInt() [all …]
|
/reactos/dll/win32/shlwapi/ |
H A D | string.c | 2090 WCHAR szBuff[64], *szOut = szBuff + 32; in SHLWAPI_WriteTimeClass() local 2092 szOut = SHLWAPI_WriteReverseNum(szOut, dwValue); in SHLWAPI_WriteTimeClass() 2093 iDigits = SHLWAPI_FormatSignificant(szOut + 1, iDigits); in SHLWAPI_WriteTimeClass() 2094 *szOut = ' '; in SHLWAPI_WriteTimeClass() 2096 strcatW(lpszOut, szOut); in SHLWAPI_WriteTimeClass()
|