/trunk/main/crashrep/source/win32/ |
H A D | soreport.cpp | 305 szBuffer, in ReadFromRegistry() 326 szBuffer, in ReadFromRegistry() 328 sEmail = szBuffer; in ReadFromRegistry() 409 sEmail = szBuffer; in ReadFromEnvironment() 511 LoadString( hInstance, uID, szBuffer, elementsof(szBuffer) ); in LoadAndFormatString() 898 GetWindowText( hwndParent, szBuffer, elementsof(szBuffer) ); in PreviewDialogProc() 1317 _tcsncat( szBuffer, szBuffer2, elementsof(szBuffer) ); in WelcomeDialogProc() 1319 _tcsncat( szBuffer, szBuffer2, elementsof(szBuffer) ); in WelcomeDialogProc() 1321 _tcsncat( szBuffer, szURL, elementsof(szBuffer) ); in WelcomeDialogProc() 2242 while ( !bEOL && fgets( szBuffer, sizeof(szBuffer), fp ) ) in read_line() [all …]
|
/trunk/main/setup_native/source/win32/customactions/reg4allmsdoc/ |
H A D | reg4allmsi.cxx | 102 CHAR szBuffer[1024]; in CheckExtensionInRegistry() local 103 DWORD nSize = sizeof( szBuffer ); in CheckExtensionInRegistry() 108 szBuffer[nSize] = '\0'; in CheckExtensionInRegistry() 111 if ( strncmp( szBuffer, "WordPad.Document.1", 18 ) == 0 ) in CheckExtensionInRegistry() 119 else if ( strncmp( szBuffer, "OpenOffice.", 11 ) == 0 ) in CheckExtensionInRegistry() 123 else if ( strncmp( szBuffer, "ooostub.", 8 ) == 0 ) in CheckExtensionInRegistry() 137 nSize = sizeof( szBuffer ); in CheckExtensionInRegistry() 218 CHAR szBuffer[4096]; in RemoveExtensionInRegistry() local 219 DWORD nSize = sizeof( szBuffer ); in RemoveExtensionInRegistry() 231 szBuffer[0] = '\0'; in RemoveExtensionInRegistry() [all …]
|
/trunk/main/svx/source/dialog/ |
H A D | sendreportw32.cxx | 92 _TCHAR szBuffer[2048]; in ReadParams() local 98 szBuffer, in ReadParams() 99 sizeof(szBuffer) ) ) in ReadParams() 110 _stprintf( szBuffer, _T("%d"), dwProxyPort ); in ReadParams() 111 maParams.maHTTPProxyPort = (sal_Unicode *)szBuffer; in ReadParams() 118 szBuffer, in ReadParams() 119 sizeof(szBuffer) ) ) in ReadParams() 120 maEMailAddrED.SetText( (sal_Unicode *)szBuffer ); in ReadParams() 213 _TCHAR szBuffer[1024]; in SendReport() local 224 sntprintf( szBuffer, elementsof(szBuffer), in SendReport() [all …]
|
H A D | sendreportunx.cxx | 51 char szBuffer[1024]; in read_line() local 57 while ( !bEOL && fgets( szBuffer, sizeof(szBuffer), fp ) ) in read_line() 59 int len = strlen(szBuffer); in read_line() 63 while ( len && szBuffer[len - 1] == '\n' ) in read_line() 65 szBuffer[--len] = 0; in read_line() 69 line.append( szBuffer ); in read_line()
|
/trunk/main/sal/systools/win32/uwinapi/ |
H A D | MoveFileExA.cpp | 47 CHAR szBuffer[32767]; // The buffer size must not exceed 32K variable 48 …DWORD dwBufLen = GetPrivateProfileSectionA( RENAME_SECTION, szBuffer, elementsof(szBuffer), WININI… 56 if ( dwBufLen + lnRename + 2 <= elementsof(szBuffer) ) 58 CopyMemory( &szBuffer[dwBufLen], szRename, lnRename ); 59 szBuffer[dwBufLen + lnRename ] = 0; 60 szBuffer[dwBufLen + lnRename + 1 ] = 0; 62 fSuccess = WritePrivateProfileSectionA( RENAME_SECTION, szBuffer, WININIT_FILENAME );
|
/trunk/main/rsc/source/tools/ |
H A D | rsctools.cxx | 239 char szBuffer[4096]; // file buffer in ResponseFile() local 250 nItems = fread( &szBuffer[ 0 ], 1, sizeof( char ), fFile ); in ResponseFile() 253 if( !isspace( szBuffer[ 0 ] ) ) in ResponseFile() 262 while( nItems && (!isspace( szBuffer[ n ] ) || bInQuotes) && in ResponseFile() 263 n +1 < sizeof( szBuffer ) ) in ResponseFile() 266 nItems = fread( &szBuffer[ n ], 1, in ResponseFile() 268 if( szBuffer[n] == '"' ) in ResponseFile() 271 szBuffer[ n ] = '\0'; in ResponseFile() 272 ppCmd->Append( rsc_strdup( szBuffer ) ); in ResponseFile() 274 nItems = fread( &szBuffer[ 0 ], 1, sizeof( char ), fFile ); in ResponseFile()
|
/trunk/main/setup_native/source/win32/customactions/patch/ |
H A D | swappatchfiles.cxx | 194 …DWORD dwBufLen = GetPrivateProfileSectionA( RENAME_SECTION, szBuffer, elementsof(szBuffer), WININI… in MoveFileEx9x() 202 if ( dwBufLen + lnRename + 2 <= elementsof(szBuffer) ) in MoveFileEx9x() 204 CopyMemory( &szBuffer[dwBufLen], szRename, lnRename ); in MoveFileEx9x() 205 szBuffer[dwBufLen + lnRename ] = 0; in MoveFileEx9x() 206 szBuffer[dwBufLen + lnRename + 1 ] = 0; in MoveFileEx9x() 365 _TCHAR szBuffer[1024]; in readLine() local 371 while ( !bEOL && _fgetts( szBuffer, sizeof(szBuffer), fp ) ) in readLine() 373 int len = _tcslen(szBuffer); in readLine() 377 while ( len && szBuffer[len - 1] == '\n' ) in readLine() 379 szBuffer[--len] = 0; in readLine() [all …]
|
/trunk/main/setup_native/source/win32/customactions/languagepacks/ |
H A D | checkrunningofficelanguagepack.cxx | 124 CHAR szBuffer[32767]; // The buffer size must not exceed 32K in MoveFileEx9x() local 125 …DWORD dwBufLen = GetPrivateProfileSectionA( RENAME_SECTION, szBuffer, elementsof(szBuffer), WININI… in MoveFileEx9x() 133 if ( dwBufLen + lnRename + 2 <= elementsof(szBuffer) ) in MoveFileEx9x() 135 CopyMemory( &szBuffer[dwBufLen], szRename, lnRename ); in MoveFileEx9x() 136 szBuffer[dwBufLen + lnRename ] = 0; in MoveFileEx9x() 137 szBuffer[dwBufLen + lnRename + 1 ] = 0; in MoveFileEx9x() 139 fSuccess = WritePrivateProfileSectionA( RENAME_SECTION, szBuffer, WININIT_FILENAME ); in MoveFileEx9x()
|
/trunk/main/setup_native/source/win32/customactions/shellextensions/ |
H A D | checkrunningoffice.cxx | 124 CHAR szBuffer[32767]; // The buffer size must not exceed 32K in MoveFileEx9x() local 125 …DWORD dwBufLen = GetPrivateProfileSectionA( RENAME_SECTION, szBuffer, elementsof(szBuffer), WININI… in MoveFileEx9x() 133 if ( dwBufLen + lnRename + 2 <= elementsof(szBuffer) ) in MoveFileEx9x() 135 CopyMemory( &szBuffer[dwBufLen], szRename, lnRename ); in MoveFileEx9x() 136 szBuffer[dwBufLen + lnRename ] = 0; in MoveFileEx9x() 137 szBuffer[dwBufLen + lnRename + 1 ] = 0; in MoveFileEx9x() 139 fSuccess = WritePrivateProfileSectionA( RENAME_SECTION, szBuffer, WININIT_FILENAME ); in MoveFileEx9x()
|
/trunk/main/sal/osl/w32/ |
H A D | dllentry.c | 330 TCHAR szBuffer[64]; local 338 …ORD dwResult = GetEnvironmentVariable( "ATTACHED_PARENT_PROCESSID", szBuffer, sizeof(szBuffer) ); 340 if ( dwResult && dwResult < sizeof(szBuffer) ) 344 DWORD dwParentProcessId = (DWORD)atol( szBuffer );
|
H A D | file_error.c | 135 char szBuffer[2048]; in _osl_warnFile() local 143 snprintf( szBuffer, sizeof(szBuffer), message, strFile->buffer ); in _osl_warnFile() 146 message = szBuffer; in _osl_warnFile()
|
H A D | signal.cxx | 115 TCHAR szBuffer[1024]; in ReportCrash() local 187 sntprintf( szBuffer, elementsof(szBuffer), in ReportCrash() 198 szBuffer, in ReportCrash()
|
H A D | file_dirvol.cxx | 1572 TCHAR szBuffer[1024]; in osl_getDriveInfo() local 1573 DWORD const dwBufsizeConst = ELEMENTS_OF_ARRAY(szBuffer); in osl_getDriveInfo() 1576 DWORD dwResult = WNetGetConnection( cDrive, szBuffer, &dwBufsize ); in osl_getDriveInfo() 1581 swprintf( szFileName, L"%s [%s]", cDrive, szBuffer ); in osl_getDriveInfo()
|
/trunk/main/sal/workben/ |
H A D | testpip2.cxx | 55 char szBuffer[ 256 ]; in main() local 70 nChars = osl_receivePipe( Pipe, szBuffer, 256 ); in main() 76 printf( "TestPipe Client: data received: %s.\n", szBuffer ); in main() 79 nChars = osl_sendPipe( Pipe, szBuffer, nChars ); in main()
|
H A D | testpipe.cxx | 39 char szBuffer[256]; variable 125 nChars = osl_receivePipe( C1Pipe, szBuffer, 256 ); in main() 131 printf( "TestPipe Server: received data: %s.\n", szBuffer ); in main()
|
/trunk/main/sal/osl/os2/ |
H A D | diagnose.c | 67 sal_Char szBuffer[512]; in osl_trace__yd_os2() local 82 nBuf = vsprintf(szBuffer, lpszFormat, args); in osl_trace__yd_os2() 83 OSL_ASSERT(nBuf < sizeof(szBuffer)); in osl_trace__yd_os2() 99 fputs(szBuffer, pFile); in osl_trace__yd_os2()
|
H A D | file_url.cxx | 1367 char szBuffer[2048]; in _osl_warnFile() local 1374 snprintf( szBuffer, sizeof(szBuffer), message, strFile->buffer ); in _osl_warnFile() 1377 message = szBuffer; in _osl_warnFile() 1410 CHAR szBuffer[_MAX_PATH]; in osl_getAbsoluteFileURL() local 1439 result = !_abspath( szBuffer, szRelSysPath, sizeof(szBuffer)); in osl_getAbsoluteFileURL() 1452 oslMakeUStrFromPsz( szBuffer, &ustrAbsSysPath); in osl_getAbsoluteFileURL()
|
/trunk/main/filter/source/placeware/ |
H A D | tempfile.cxx | 90 WCHAR szBuffer[MAX_PATH]; in my_getTempDirURL() local 91 LPWSTR lpBuffer = szBuffer; in my_getTempDirURL() 92 DWORD nBufferLength = elementsof(szBuffer) - 1; in my_getTempDirURL() 99 nLength = GetTempPathW( elementsof(szBuffer), lpBuffer ); in my_getTempDirURL()
|
/trunk/main/desktop/win32/source/ |
H A D | wrapper.h | 102 TCHAR szBuffer[1024]; in Main() local 131 GetEnvironmentVariable( TEXT("PATH"), szBuffer, sizeof(szBuffer) ); in Main() 132 _tcscat( szPathValue, szBuffer ); in Main()
|
/trunk/main/desktop/win32/source/officeloader/ |
H A D | officeloader.cxx | 140 CHAR szBuffer[4096]; in writeArgument() local 142 CP_UTF8, 0, argument, -1, szBuffer, sizeof (szBuffer), NULL, NULL); in writeArgument() 143 char b[1 + 2 * ((sizeof szBuffer) - 1)]; // hopefully does not overflow in writeArgument() 147 char c = szBuffer[i]; in writeArgument()
|
/trunk/main/crashrep/source/unx/ |
H A D | main.cxx | 673 char szBuffer[1024]; in read_line() local 679 while ( !bEOL && fgets( szBuffer, sizeof(szBuffer), fp ) ) in read_line() 681 int len = strlen(szBuffer); in read_line() 685 while ( len && szBuffer[len - 1] == '\n' ) in read_line() 687 szBuffer[--len] = 0; in read_line() 691 line.append( szBuffer ); in read_line()
|
/trunk/main/framework/source/fwi/helper/ |
H A D | networkdomain.cxx | 169 char szBuffer[256]; 171 long nCopied = sizeof(szBuffer); 172 char *pBuffer = szBuffer;
|
/trunk/main/extensions/source/update/check/ |
H A D | updatecheck.cxx | 177 sal_Char szBuffer[4096]; in getImageFromFileName() local 179 const sal_uInt64 nBytesToRead = sizeof(szBuffer) - 1; in getImageFromFileName() 182 … while( osl_File_E_None == osl_readFile(hOut, szBuffer, nBytesToRead, &nBytesRead) ) in getImageFromFileName() 184 sal_Char *pc = szBuffer + nBytesRead; in getImageFromFileName() 191 … aImageName += rtl::OUString(szBuffer, pc - szBuffer + 1, osl_getThreadTextEncoding()); in getImageFromFileName()
|
/trunk/main/desktop/source/app/ |
H A D | officeipcthread.cxx | 481 sal_Char szBuffer[32]; in EnableOfficeIPCThread() local 482 sprintf( szBuffer, "%d", SUPD ); in EnableOfficeIPCThread() 483 aUserInstallPathHashCode = OUString( szBuffer, strlen(szBuffer), osl_getThreadTextEncoding() ); in EnableOfficeIPCThread()
|
/trunk/main/vcl/win/source/gdi/ |
H A D | salprn.cxx | 481 char szBuffer[256]; in GetDefaultPrinter() local 482 GetProfileStringA( aImplWindows, aImplDevice, "", szBuffer, sizeof( szBuffer ) ); in GetDefaultPrinter() 483 if ( szBuffer[0] ) in GetDefaultPrinter() 486 char* pBuf = szBuffer; in GetDefaultPrinter()
|