Home
last modified time | relevance | path

Searched refs:szBuffer (Results 1 – 25 of 25) sorted by relevance

/aoo42x/main/crashrep/source/win32/
H A Dsoreport.cpp305 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 …]
/aoo42x/main/setup_native/source/win32/customactions/reg4allmsdoc/
H A Dreg4allmsi.cxx102 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 …]
/aoo42x/main/svx/source/dialog/
H A Dsendreportw32.cxx92 _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 Dsendreportunx.cxx51 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()
/aoo42x/main/sal/systools/win32/uwinapi/
H A DMoveFileExA.cpp47 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 );
/aoo42x/main/rsc/source/tools/
H A Drsctools.cxx239 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()
/aoo42x/main/setup_native/source/win32/customactions/patch/
H A Dswappatchfiles.cxx194 …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 …]
/aoo42x/main/setup_native/source/win32/customactions/languagepacks/
H A Dcheckrunningofficelanguagepack.cxx124 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()
/aoo42x/main/setup_native/source/win32/customactions/shellextensions/
H A Dcheckrunningoffice.cxx124 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()
/aoo42x/main/sal/osl/w32/
H A Ddllentry.c330 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 Dfile_error.c135 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 Dsignal.cxx115 TCHAR szBuffer[1024]; in ReportCrash() local
187 sntprintf( szBuffer, elementsof(szBuffer), in ReportCrash()
198 szBuffer, in ReportCrash()
H A Dfile_dirvol.cxx1572 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()
/aoo42x/main/sal/workben/
H A Dtestpip2.cxx55 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 Dtestpipe.cxx39 char szBuffer[256]; variable
125 nChars = osl_receivePipe( C1Pipe, szBuffer, 256 ); in main()
131 printf( "TestPipe Server: received data: %s.\n", szBuffer ); in main()
/aoo42x/main/sal/osl/os2/
H A Ddiagnose.c67 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 Dfile_url.cxx1367 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()
/aoo42x/main/filter/source/placeware/
H A Dtempfile.cxx90 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()
/aoo42x/main/desktop/win32/source/
H A Dwrapper.h102 TCHAR szBuffer[1024]; in Main() local
131 GetEnvironmentVariable( TEXT("PATH"), szBuffer, sizeof(szBuffer) ); in Main()
132 _tcscat( szPathValue, szBuffer ); in Main()
/aoo42x/main/desktop/win32/source/officeloader/
H A Dofficeloader.cxx140 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()
/aoo42x/main/crashrep/source/unx/
H A Dmain.cxx673 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()
/aoo42x/main/framework/source/fwi/helper/
H A Dnetworkdomain.cxx169 char szBuffer[256];
171 long nCopied = sizeof(szBuffer);
172 char *pBuffer = szBuffer;
/aoo42x/main/extensions/source/update/check/
H A Dupdatecheck.cxx177 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()
/aoo42x/main/desktop/source/app/
H A Dofficeipcthread.cxx481 sal_Char szBuffer[32]; in EnableOfficeIPCThread() local
482 sprintf( szBuffer, "%d", SUPD ); in EnableOfficeIPCThread()
483 aUserInstallPathHashCode = OUString( szBuffer, strlen(szBuffer), osl_getThreadTextEncoding() ); in EnableOfficeIPCThread()
/aoo42x/main/vcl/win/source/gdi/
H A Dsalprn.cxx481 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()

Completed in 124 milliseconds