| /AOO41X/main/sal/workben/ |
| H A D | testfile.cxx | 70 void print_error(::rtl::OString& str, FileBase::RC rc); 135 FileBase::RC rc; in Initialize() local 165 rc=pFile->open( OpenFlag_Read | OpenFlag_Write ); in Initialize() 166 if ( rc!=FileBase::E_None ) in Initialize() 180 rc=DirectoryItem::get( iniFileURL, aItem ); in Initialize() 181 if ( rc!=FileBase::E_None ) in Initialize() 184 rc=aItem.getFileStatus( aStatus ); in Initialize() 185 if ( rc!=FileBase::E_None ) in Initialize() 191 rc=pFile->setPos( Pos_Absolut, 0 ); in Initialize() 195 rc=pFile->read( pBuffer , uBytesRequested , uBytesRead ); in Initialize() [all …]
|
| /AOO41X/main/setup_native/source/win32/customactions/reg4msdoc/ |
| H A D | registrywnt.cxx | 104 LONG rc = RegQueryInfoKeyW( in GetSubValueCount() local 108 if (ERROR_INVALID_HANDLE == rc) in GetSubValueCount() 109 throw RegistryIOException(rc); in GetSubValueCount() 110 else if (ERROR_SUCCESS != rc) in GetSubValueCount() 111 throw RegistryException(rc); in GetSubValueCount() 129 LONG rc = RegQueryInfoKeyA( in GetSubKeyCount() local 133 if (ERROR_INVALID_HANDLE == rc) in GetSubKeyCount() 134 throw RegistryIOException(rc); in GetSubKeyCount() 135 else if (ERROR_SUCCESS != rc) in GetSubKeyCount() 136 throw RegistryException(rc); in GetSubKeyCount() [all …]
|
| H A D | registryw9x.cxx | 99 LONG rc = RegQueryInfoKeyA( in GetSubValueCount() local 103 if (ERROR_INVALID_HANDLE == rc) in GetSubValueCount() 104 throw RegistryIOException(rc); in GetSubValueCount() 105 else if (ERROR_SUCCESS != rc) in GetSubValueCount() 106 throw RegistryException(rc); in GetSubValueCount() 124 LONG rc = RegQueryInfoKeyA( in GetSubKeyCount() local 128 if (ERROR_INVALID_HANDLE == rc) in GetSubKeyCount() 129 throw RegistryIOException(rc); in GetSubKeyCount() 130 else if (ERROR_SUCCESS != rc) in GetSubKeyCount() 131 throw RegistryException(rc); in GetSubKeyCount() [all …]
|
| /AOO41X/main/sal/test/ |
| H A D | bootstrap.pl | 28 my $rc; 34 $rc = system "./testbootstrap", 1, "-env:MYBOOTSTRAPTESTVALUE=1"; 35 if (!$rc) { 40 $rc = system "./testbootstrap", "0", "-env:INIFILENAME="; 41 if (!$rc) { 48 $rc = system "./testbootstrap.bin", "file"; 49 if (!$rc) { 54 $rc = system "./testbootstrap.Bin", "file"; 55 if (!$rc) { 60 $rc = system "./testbootstrap.exe", "file"; [all …]
|
| /AOO41X/main/xmlsecurity/source/framework/ |
| H A D | buffernode.cxx | 77 bool rc = false; in isECOfBeforeModifyIncluded() local 88 rc = true; in isECOfBeforeModifyIncluded() 93 return rc; in isECOfBeforeModifyIncluded() 273 rtl::OUString rc; in printChildren() local 278 rc += rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "BufID=" )); in printChildren() 279 rc += rtl::OUString::valueOf((*ii)->getBufferId()); in printChildren() 283 rc += rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "[M]" )); in printChildren() 286 rc += rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( ",Pri=" )); in printChildren() 291 rc += rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "BEFOREMODIFY" )); in printChildren() 294 rc += rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "AFTERMODIFY" )); in printChildren() [all …]
|
| H A D | saxeventkeeperimpl.cxx | 369 rtl::OUString rc; in printBufferNode() local 373 rc += rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( " " )); in printBufferNode() 378 rc += rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "[%]" )); in printBufferNode() 383 rc += rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "[B]" )); in printBufferNode() 386 rc += rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( " " )); in printBufferNode() 387 rc += m_xXMLDocument->getNodeName(pBufferNode->getXMLElement()); in printBufferNode() 392 rc += rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "[" )); in printBufferNode() 393 rc += m_xXMLDocument->getNodeName(pParent->getXMLElement()); in printBufferNode() 394 rc += rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "]" )); in printBufferNode() 397 rc += rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( ":EC=" )); in printBufferNode() [all …]
|
| /AOO41X/main/vcl/aqua/source/gdi/ |
| H A D | salnativewidgets.cxx | 488 HIRect rc = ImplGetHIRectFromRectangle(buttonRect); in drawNativeControl() local 518 HIThemeDrawButton(&rc, &aComboInfo, mrContext, kHIThemeOrientationNormal,&rc); in drawNativeControl() 530 … HIThemeDrawMenuItem(&rc,&rc,&aMenuItemDrawInfo,mrContext,kHIThemeOrientationNormal,NULL); in drawNativeControl() 542 rc.size.width += 2; in drawNativeControl() 543 rc.size.height += 2; in drawNativeControl() 545 … HIThemeApplyBackground( &rc, &aThemeBackgroundInfo, mrContext, kHIThemeOrientationNormal); in drawNativeControl() 546 CGContextFillRect( mrContext, rc ); in drawNativeControl() 557 rc.size.width += 2; in drawNativeControl() 579 HIThemeDrawMenuBackground(&rc,&aMenuInfo,mrContext,kHIThemeOrientationNormal); in drawNativeControl() 582 … HIThemeDrawMenuItem(&rc,&rc,&aMenuItemDrawInfo,mrContext,kHIThemeOrientationNormal,&rc); in drawNativeControl() [all …]
|
| /AOO41X/main/shell/source/all/zipfile/ |
| H A D | zipfile.cxx | 152 int rc = unzLocateFile(m_uzFile, ContentName.c_str(), 0); in GetUncompressedContent() local 154 if (UNZ_END_OF_LIST_OF_FILE == rc) in GetUncompressedContent() 155 throw ZipContentMissException(rc); in GetUncompressedContent() 162 rc = unzOpenCurrentFile(m_uzFile); in GetUncompressedContent() 164 if (UNZ_OK != rc) in GetUncompressedContent() 165 throw ZipException(rc); in GetUncompressedContent() 167 rc = unzReadCurrentFile(m_uzFile, &ContentBuffer[0], finfo.uncompressed_size); in GetUncompressedContent() 169 if (rc < 0) in GetUncompressedContent() 170 throw ZipException(rc); in GetUncompressedContent() 172 rc = unzCloseCurrentFile(m_uzFile); in GetUncompressedContent() [all …]
|
| /AOO41X/main/vcl/win/source/gdi/ |
| H A D | salnativewidgets-luna.cxx | 342 sal_Bool ImplDrawTheme( HTHEME hTheme, HDC hDC, int iPart, int iState, RECT rc, const OUString& aSt… in ImplDrawTheme() argument 344 HRESULT hr = vsAPI.DrawThemeBackground( hTheme, hDC, iPart, iState, &rc, 0); in ImplDrawTheme() 349 hr = vsAPI.GetThemeBackgroundContentRect( hTheme, hDC, iPart, iState, &rc, &rcContent); in ImplDrawTheme() 362 RECT rc; in ImplGetThemeRect() local 363 rc.left = aRect.nLeft; in ImplGetThemeRect() 364 rc.right = aRect.nRight; in ImplGetThemeRect() 365 rc.top = aRect.nTop; in ImplGetThemeRect() 366 rc.bottom = aRect.nBottom; in ImplGetThemeRect() 437 sal_Bool ImplDrawNativeControl( HDC hDC, HTHEME hTheme, RECT rc, in ImplDrawNativeControl() argument 474 hr = vsAPI.DrawThemeBackground( hTheme, hDC, iPart, iState, &rc, 0); in ImplDrawNativeControl() [all …]
|
| /AOO41X/main/shell/source/win32/shlxthandler/util/ |
| H A D | registry.cxx | 62 int rc = RegCreateKeyExA( in SetRegistryKey() local 65 if (ERROR_SUCCESS == rc) in SetRegistryKey() 67 rc = RegSetValueExA( in SetRegistryKey() 73 return (ERROR_SUCCESS == rc); in SetRegistryKey() 84 int rc = RegOpenKeyExA( in DeleteRegistryKey() local 91 if ( rc == ERROR_FILE_NOT_FOUND ) in DeleteRegistryKey() 94 if (ERROR_SUCCESS == rc) in DeleteRegistryKey() 99 rc = RegQueryInfoKeyA( in DeleteRegistryKey() 109 while (ERROR_SUCCESS == rc) in DeleteRegistryKey() 113 rc = RegEnumKeyExA( in DeleteRegistryKey() [all …]
|
| /AOO41X/main/vcl/os2/source/gdi/ |
| H A D | salprn.cxx | 170 APIRET rc; in GetPrinterQueueInfo() local 176 rc = SplEnumQueue( (PSZ)NULL, 3, NULL, 0, &nReturned, &nTotal, &nNeeded, NULL ); in GetPrinterQueueInfo() 184 rc = SplEnumQueue( (PSZ)NULL, 3, pQueueData, nNeeded, &nReturned, &nTotal, &nNeeded, NULL ); in GetPrinterQueueInfo() 266 APIRET rc; in GetPrinterQueueState() local 272 rc = SplEnumQueue( (PSZ)NULL, 3, NULL, 0, &nReturned, &nTotal, &nNeeded, NULL ); in GetPrinterQueueState() 280 rc = SplEnumQueue( (PSZ)NULL, 3, pQueueData, nNeeded, &nReturned, &nTotal, &nNeeded, NULL ); in GetPrinterQueueState() 314 APIRET rc; in GetDefaultPrinter() local 331 rc = SplEnumQueue( (PSZ)NULL, 3, NULL, 0, &nReturned, &nTotal, &nNeeded, NULL ); in GetDefaultPrinter() 339 rc = SplEnumQueue ((PSZ)NULL, 3, pQueueData, nNeeded, &nReturned, &nTotal, &nNeeded, NULL ); in GetDefaultPrinter() 477 APIRET rc; in ImplIsDriverDJPEnabled() [all …]
|
| /AOO41X/main/fpicker/source/win32/filepicker/ |
| H A D | dibpreview.cxx | 283 RECT rc; in onPaint() local 288 rc.left = 0; in onPaint() 289 rc.top = 0; in onPaint() 290 rc.right = nWidth; in onPaint() 291 rc.bottom = nY; in onPaint() 292 FillRect(hDC,&rc,(HBRUSH)(COLOR_INACTIVEBORDER + 1)); in onPaint() 295 rc.left = 0; in onPaint() 296 rc.top = nHeight - nY - 1; in onPaint() 297 rc.right = nWidth; in onPaint() 298 rc.bottom = nHeight; in onPaint() [all …]
|
| H A D | helppopupwindow.cxx | 314 RECT rc; in onPaint() local 324 GetClientRect( hWnd, &rc ); in onPaint() 335 rc.left + OUTER_FRAME_WIDTH, in onPaint() 336 rc.top + OUTER_FRAME_WIDTH, in onPaint() 337 rc.right - SHADOW_WIDTH, in onPaint() 338 rc.bottom - SHADOW_HEIGHT); in onPaint() 355 rc.left + OUTER_FRAME_WIDTH + 1, in onPaint() 356 rc.top + OUTER_FRAME_WIDTH + 1, in onPaint() 357 rc.right - SHADOW_WIDTH - OUTER_FRAME_WIDTH, in onPaint() 358 rc.bottom - SHADOW_HEIGHT - OUTER_FRAME_WIDTH ); in onPaint() [all …]
|
| /AOO41X/main/xmerge/source/palmtests/qa/lib/ |
| H A D | converterlib.pm | 76 my $rc = 0; 85 $rc = -1; 90 $rc = -1; 93 if ($rc != -1) 158 return $rc; 183 my $rc = 0; 194 $rc = -1; 201 $rc = -1; 206 $rc = -1; 211 $rc = -1; [all …]
|
| /AOO41X/main/sal/osl/os2/ |
| H A D | process.c | 219 int rc, pid; in osl_executeProcess_WithRedirectedIO() local 359 APIRET rc; in osl_psz_executeProcess() local 382 rc = DosQueryAppType( (PCSZ) pszImageName, &nAppType ); in osl_psz_executeProcess() 383 if( rc != NO_ERROR ) in osl_psz_executeProcess() 385 if( (rc == ERROR_FILE_NOT_FOUND) || (rc == ERROR_PATH_NOT_FOUND) ) in osl_psz_executeProcess() 420 APIRET rc; in osl_psz_executeProcess() local 421 rc = DosGetInfoBlocks(&ptib, &ppib); in osl_psz_executeProcess() 422 rc = DosQueryModuleName(ppib->pib_hmte, sizeof(szName), szName); in osl_psz_executeProcess() 516 rc = DosExecPgm( szbuf, sizeof( szbuf ), EXEC_BACKGROUND, in osl_psz_executeProcess() 521 rc = DosExecPgm( szbuf, sizeof( szbuf ), EXEC_ASYNCRESULT, in osl_psz_executeProcess() [all …]
|
| H A D | module.c | 140 APIRET rc; in osl_getModuleHandle() local 151 rc = DosQueryModuleHandle(buffer, &hmod); in osl_getModuleHandle() 152 if( rc == NO_ERROR) in osl_getModuleHandle() 223 APIRET rc; in osl_getAsciiFunctionSymbol() local 232 rc = DosQueryProcAddr( (HMODULE) Module, 0, (PCSZ)pSymbol, &pFunction ); in osl_getAsciiFunctionSymbol() 233 if( rc == NO_ERROR ) in osl_getAsciiFunctionSymbol() 243 rc = DosQueryProcAddr( (HMODULE) Module, 0, (PCSZ)_pszSymbolName, &pFunction ); in osl_getAsciiFunctionSymbol() 244 if( rc == NO_ERROR ) in osl_getAsciiFunctionSymbol() 264 APIRET rc; in osl_getModuleURLFromAddress() local 267 rc = DosQueryModFromEIP( &hMod, &ObjNum, sizeof( Buff), Buff, &Offset, (ULONG)addr); in osl_getModuleURLFromAddress() [all …]
|
| H A D | file.cxx | 843 APIRET rc; in _osl_openLocalRoot() local 846 rc = DosQueryCurrentDisk (&ulDriveNum, &pDirImpl->ulDriveMap); in _osl_openLocalRoot() 853 rc = DosDevConfig( (void*) &nFloppies, DEVINFO_FLOPPY ); in _osl_openLocalRoot() 1912 APIRET rc; in osl_moveFile() local 1928 rc = DosDelete( (PCSZ)destPath); in osl_moveFile() 1929 rc = DosMove( (PCSZ)srcPath, (PCSZ)destPath); in osl_moveFile() 1930 if (!rc) in osl_moveFile() 1933 eRet = MapError( rc); in osl_moveFile() 2209 APIRET rc; in osl_copyFile() local 2235 APIRET rc; in osl_removeFile() local [all …]
|
| /AOO41X/main/desktop/win32/source/applauncher/ooo/ |
| H A D | makefile.mk | 39 APP1DEPN=verinfo.rc 40 APP1VERINFO=verinfo.rc 51 APP2DEPN=verinfo.rc 52 APP2VERINFO=verinfo.rc 63 APP3DEPN=verinfo.rc 64 APP3VERINFO=verinfo.rc 75 APP4DEPN=verinfo.rc 76 APP4VERINFO=verinfo.rc 87 APP5DEPN=verinfo.rc 88 APP5VERINFO=verinfo.rc [all …]
|
| /AOO41X/main/desktop/win32/source/applauncher/ |
| H A D | makefile.mk | 54 APP1DEPN= $(APP1RES) verinfo.rc 63 APP1VERINFO=verinfo.rc 74 APP2DEPN=verinfo.rc 75 APP2VERINFO=verinfo.rc 86 APP3DEPN=verinfo.rc 87 APP3VERINFO=verinfo.rc 98 APP4DEPN=verinfo.rc 99 APP4VERINFO=verinfo.rc 110 APP5DEPN=verinfo.rc 111 APP5VERINFO=verinfo.rc [all …]
|
| /AOO41X/main/cppuhelper/test/ |
| H A D | testdefaultbootstrapping.pl | 102 my $rc = system "regcomp -register -r " . $rdb_name . " -c $service_lib"; 105 return ! ( $rc >> 8 ); 113 my $rc; 125 $rc = !testForServices([$service], "", $testexe); 126 if(!$rc) { 133 $rc = registerService($services{$service}, $service . '.rdb'); 134 if(!$rc) { 139 $rc = testForServices([$service], "-env:UNO_SERVICES=" . $service . ".rdb", $testexe); 140 if(!$rc) { 156 …$rc = testForServices(['com.sun.star.uno.NamingService'], '-env:UNO_SERVICES=${testrc:Tests:TestKe… [all …]
|
| /AOO41X/main/xmerge/source/palmtests/qa-wrapper/bin/ |
| H A D | qa_test_driver.pl | 207 my $rc; 257 $rc = &convert_to_pdb("$xml_orig", $convert_file, $xml_extension , 259 if ($rc != 0) 267 $rc = &start_pose("$pose_exe", 271 if ($rc == 0) 292 $rc = &convert_to_pdb("$xml_orig", $convert_file, 294 if ($rc != 0) 318 $rc = &start_pose("$pose_exe", 322 if ($rc == 0) 533 my $rc; [all …]
|
| /AOO41X/main/xmerge/source/palmtests/qa/bin/ |
| H A D | test_driver.pl | 148 my $rc; 198 $rc = &convert_to_pdb("$xml_orig", $convert_file, $xml_extension , 200 if ($rc != 0) 208 $rc = &start_pose("$pose_exe", 212 if ($rc == 0) 233 $rc = &convert_to_pdb("$xml_orig", $convert_file, 235 if ($rc != 0) 259 $rc = &start_pose("$pose_exe", 263 if ($rc == 0) 455 my $rc; [all …]
|
| /AOO41X/main/setup_native/source/win32/customactions/reg4allmsdoc/ |
| H A D | reg4allmsi.cxx | 172 LONG rc = RegOpenKeyExA( RootKey, lpKey, 0, KEY_READ | DELETE, &hKey ); in DeleteSubKeyTree() local 174 if (ERROR_SUCCESS == rc) in DeleteSubKeyTree() 179 rc = RegQueryInfoKeyA( hKey, 0, 0, 0, 0, &nMaxSubKeyLen, 0, 0, 0, 0, 0, 0 ); in DeleteSubKeyTree() 183 while (ERROR_SUCCESS == rc) in DeleteSubKeyTree() 186 … rc = RegEnumKeyExA( hKey, 0, (LPSTR)lpSubKey, &nLen, 0, 0, 0, 0); // always index zero in DeleteSubKeyTree() 188 if ( ERROR_NO_MORE_ITEMS == rc ) in DeleteSubKeyTree() 190 rc = RegDeleteKeyA( RootKey, lpKey ); in DeleteSubKeyTree() 191 if ( rc == ERROR_SUCCESS ) in DeleteSubKeyTree() 194 OutputDebugStringFormat( "RegDeleteKeyA %s returned %ld.\n", lpKey, rc ); in DeleteSubKeyTree() 197 else if ( rc == ERROR_SUCCESS ) in DeleteSubKeyTree() [all …]
|
| /AOO41X/main/sal/osl/unx/ |
| H A D | file_url.cxx | 689 FileBase::RC rc; in osl_getAbsoluteFileURL() local 692 rc = FileBase::getSystemPathFromFileURL(rtl::OUString(ustrRelativeURL), unresolved_path); in osl_getAbsoluteFileURL() 694 if(FileBase::E_None != rc) in osl_getAbsoluteFileURL() 695 return oslFileError(rc); in osl_getAbsoluteFileURL() 700 … rc = (FileBase::RC) osl_getSystemPathFromFileURL_Ex(ustrBaseDirURL, &base_path.pData, sal_False); in osl_getAbsoluteFileURL() 702 if (FileBase::E_None != rc) in osl_getAbsoluteFileURL() 703 return oslFileError(rc); in osl_getAbsoluteFileURL() 712 rc = (FileBase::RC) osl_getAbsoluteFileURL_impl_(unresolved_path, resolved_path); in osl_getAbsoluteFileURL() 714 if (FileBase::E_None == rc) in osl_getAbsoluteFileURL() 716 …rc = (FileBase::RC) osl_getFileURLFromSystemPath(resolved_path.pData, pustrAbsoluteURL); … in osl_getAbsoluteFileURL() [all …]
|
| /AOO41X/main/vcl/source/glyphs/ |
| H A D | gcach_ftyp.cxx | 341 FT_Error rc = FT_New_Memory_Face( aLibFT, in GetFaceFT() local 344 if( (rc != FT_Err_Ok) || (maFaceFT->num_glyphs <= 0) ) in GetFaceFT() 746 FT_Error rc = FT_Set_Pixel_Sizes( maFaceFT, mnWidth, rFSD.mnHeight ); in FreetypeServerFont() local 747 if( rc != FT_Err_Ok ) in FreetypeServerFont() 763 rc = FT_Select_Charmap( maFaceFT, eEncoding ); in FreetypeServerFont() 765 if( rc != FT_Err_Ok ) in FreetypeServerFont() 1329 FT_Error rc = -1; in InitGlyphData() local 1335 rc = FT_Load_Glyph( maFaceFT, aGlyphId, nLoadFlags|FT_LOAD_NO_HINTING ); in InitGlyphData() 1336 if( (rc==FT_Err_Ok) && (maFaceFT->glyph->format!=FT_GLYPH_FORMAT_BITMAP) ) in InitGlyphData() 1337 rc = -1; // mark as "loading embedded bitmap" was unsuccessful in InitGlyphData() [all …]
|