| /trunk/main/sal/osl/unx/ |
| H A D | conditn.c | 46 int nRet=0; in osl_createCondition() local 60 nRet = pthread_cond_init(&pCond->m_Condition, PTHREAD_CONDATTR_DEFAULT); in osl_createCondition() 61 if ( nRet != 0 ) in osl_createCondition() 64 nRet, strerror(nRet)); in osl_createCondition() 70 nRet = pthread_mutex_init(&pCond->m_Lock, PTHREAD_MUTEXATTR_DEFAULT); in osl_createCondition() 71 if ( nRet != 0 ) in osl_createCondition() 74 nRet, strerror(nRet)); in osl_createCondition() 76 nRet = pthread_cond_destroy(&pCond->m_Condition); in osl_createCondition() 77 if ( nRet != 0 ) in osl_createCondition() 80 nRet, strerror(nRet)); in osl_createCondition() [all …]
|
| H A D | file_misc.cxx | 435 int nRet=0; in osl_psz_createDirectory() local 438 nRet = mkdir(pszPath,mode); in osl_psz_createDirectory() 440 if ( nRet < 0 ) in osl_psz_createDirectory() 442 nRet=errno; in osl_psz_createDirectory() 443 return oslTranslateFileError(OSL_FET_ERROR, nRet); in osl_psz_createDirectory() 455 int nRet=0; in osl_psz_removeDirectory() local 457 nRet = rmdir(pszPath); in osl_psz_removeDirectory() 459 if ( nRet < 0 ) in osl_psz_removeDirectory() 461 nRet=errno; in osl_psz_removeDirectory() 462 return oslTranslateFileError(OSL_FET_ERROR, nRet); in osl_psz_removeDirectory() [all …]
|
| H A D | mutex.c | 60 int nRet=0; in osl_createMutex() local 71 nRet = pthread_mutexattr_settype(&aMutexAttr, PTHREAD_MUTEX_RECURSIVE); in osl_createMutex() 73 nRet = pthread_mutex_init(&(pMutex->mutex), &aMutexAttr); in osl_createMutex() 74 if ( nRet != 0 ) in osl_createMutex() 77 nRet, strerror(nRet)); in osl_createMutex() 99 int nRet=0; in osl_destroyMutex() local 101 nRet = pthread_mutex_destroy(&(pMutex->mutex)); in osl_destroyMutex() 102 if ( nRet != 0 ) in osl_destroyMutex() 105 nRet, strerror(nRet)); in osl_destroyMutex() 125 int nRet=0; in osl_acquireMutex() local [all …]
|
| H A D | file_volume.cxx | 655 int nRet=0; in osl_mountFloppy() local 667 nRet = system( pszCmd ); in osl_mountFloppy() 669 switch ( WEXITSTATUS(nRet) ) in osl_mountFloppy() 712 int nRet=0; in osl_unmountFloppy() local 724 nRet = system( pszCmd ); in osl_unmountFloppy() 726 switch ( WEXITSTATUS(nRet) ) in osl_unmountFloppy() 795 int nRet; in osl_mountFloppy() local 876 nRet = system(pszCmd); in osl_mountFloppy() 879 fprintf(stderr,"call returned '%i'\n",nRet); in osl_mountFloppy() 880 fprintf(stderr,"exit status is '%i'\n", WEXITSTATUS(nRet)); in osl_mountFloppy() [all …]
|
| /trunk/main/svtools/source/misc/ |
| H A D | unitconv.cxx | 187 long nRet = (long)nTmp; in CalcToUnit() local 188 return nRet; in CalcToUnit() 354 long nRet = 0; in CalcToPoint() local 357 nRet = nIn; in CalcToPoint() 359 nRet = nIn * 567; in CalcToPoint() 363 case SFX_MAPUNIT_100TH_MM: nRet /= 100; break; in CalcToPoint() 364 case SFX_MAPUNIT_10TH_MM: nRet /= 10; break; in CalcToPoint() 366 case SFX_MAPUNIT_CM: nRet *= 10; break; in CalcToPoint() 374 long nTmp = nRet % nMod; in CalcToPoint() 377 nRet += 10 - nTmp; in CalcToPoint() [all …]
|
| /trunk/main/avmedia/source/java/ |
| H A D | WindowAdapter.java | 62 short nRet = 0; in implGetUNOKeyCode() local 67 case( java.awt.event.KeyEvent.VK_0 ): nRet = com.sun.star.awt.Key.NUM0; break; in implGetUNOKeyCode() 69 case( java.awt.event.KeyEvent.VK_1 ): nRet = com.sun.star.awt.Key.NUM1; break; in implGetUNOKeyCode() 71 case( java.awt.event.KeyEvent.VK_2 ): nRet = com.sun.star.awt.Key.NUM2; break; in implGetUNOKeyCode() 73 case( java.awt.event.KeyEvent.VK_3 ): nRet = com.sun.star.awt.Key.NUM3; break; in implGetUNOKeyCode() 75 case( java.awt.event.KeyEvent.VK_4 ): nRet = com.sun.star.awt.Key.NUM4; break; in implGetUNOKeyCode() 77 case( java.awt.event.KeyEvent.VK_5 ): nRet = com.sun.star.awt.Key.NUM5; break; in implGetUNOKeyCode() 79 case( java.awt.event.KeyEvent.VK_6 ): nRet = com.sun.star.awt.Key.NUM6; break; in implGetUNOKeyCode() 81 case( java.awt.event.KeyEvent.VK_7 ): nRet = com.sun.star.awt.Key.NUM7; break; in implGetUNOKeyCode() 83 case( java.awt.event.KeyEvent.VK_8 ): nRet = com.sun.star.awt.Key.NUM8; break; in implGetUNOKeyCode() [all …]
|
| /trunk/main/connectivity/java/dbtools/src/org/apache/openoffice/comp/sdbc/dbtools/util/ |
| H A D | ORowSetValue.java | 647 double nRet = 0.0; in getDouble() local 655 nRet = DBTypeConversion.safeParseDouble((String)value); in getDouble() 658 … nRet = isSigned() ? (long)value : DBTypeConversion.unsignedLongToDouble((long)value); in getDouble() 661 nRet = (float)value; in getDouble() 665 nRet = (double)value; in getDouble() 668 nRet = DBTypeConversion.toDouble((Date)value); in getDouble() 671 nRet = DBTypeConversion.toDouble((Time)value); in getDouble() 674 nRet = DBTypeConversion.toDouble((DateTime)value); in getDouble() 685 nRet = (boolean)value ? 1 : 0; in getDouble() 688 nRet = isSigned() ? (byte)value : 0xff & (byte)value; in getDouble() [all …]
|
| /trunk/main/sw/source/ui/wrtsh/ |
| H A D | delete.cxx | 114 long nRet = Delete(); in DelLine() local 116 if( nRet ) in DelLine() 118 return nRet; in DelLine() 127 long nRet = Delete(); in DelToStartOfLine() local 128 CloseMark( 0 != nRet ); in DelToStartOfLine() 129 return nRet; in DelToStartOfLine() 138 long nRet = Delete(); in DelToEndOfLine() local 139 CloseMark( 0 != nRet ); in DelToEndOfLine() 242 long nRet = Delete(); in DelLeft() local 243 if( !nRet && bSwap ) in DelLeft() [all …]
|
| /trunk/main/connectivity/source/commontools/ |
| H A D | FValue.cxx | 1174 sal_Int8 nRet = 0; in getInt8() local 1184 nRet = sal_Int8(::rtl::OUString(m_aValue.m_pString).toInt32()); in getInt8() 1188 nRet = sal_Int8(*(sal_Int64*)m_aValue.m_pValue); in getInt8() 1190 nRet = sal_Int8(::rtl::OUString(m_aValue.m_pString).toInt32()); in getInt8() 1193 nRet = sal_Int8(*(float*)m_aValue.m_pValue); in getInt8() 1197 nRet = sal_Int8(*(double*)m_aValue.m_pValue); in getInt8() 1211 nRet = m_aValue.m_bBool; in getInt8() 1215 nRet = m_aValue.m_nInt8; in getInt8() 1217 nRet = static_cast<sal_Int8>(m_aValue.m_nInt16); in getInt8() 1221 nRet = static_cast<sal_Int8>(m_aValue.m_nInt16); in getInt8() [all …]
|
| /trunk/main/sw/source/ui/dochdl/ |
| H A D | swdtflvr.cxx | 746 int nRet = Copy( sal_True ); in Cut() local 747 if( nRet ) in Cut() 749 return nRet; in Cut() 771 int nRet = 1; in PrepareForCopy() local 932 nRet = sal_True; in PrepareForCopy() 959 nRet = 0; in PrepareForCopy() 980 return nRet; in PrepareForCopy() 985 int nRet = PrepareForCopy( bIsCut ); in Copy() local 986 if ( nRet ) in Copy() 990 return nRet; in Copy() [all …]
|
| /trunk/main/connectivity/source/drivers/odbcbase/ |
| H A D | OResultSet.cxx | 174 SQLRETURN nRet = N3SQLCloseCursor(m_aStatementHandle); in disposing() local 175 OSL_UNUSED( nRet ); in disposing() 191 SQLRETURN nRet = 0; in unbind() local 193 nRet = N3SQLFreeStmt(m_aStatementHandle,SQL_UNBIND); in unbind() 257 return nRet; in unbind() 429 sal_Int8 nRet(0); in getByte() local 430 const ORowSetValue& aValue = getValue(columnIndex,SQL_C_TINYINT,&nRet,sizeof nRet); in getByte() 431 return (&aValue == &m_aEmptyValue) ? nRet : (sal_Int8)aValue; in getByte() 447 Sequence< sal_Int8 > nRet; in getBytes() local 453 nRet = m_aRow[columnIndex]; in getBytes() [all …]
|
| /trunk/main/writerfilter/source/dmapper/ |
| H A D | ConversionHelper.cxx | 482 sal_Int32 nRet = (t<<24) + (r<<16) + (g<<8) + b; in ConvertColor() local 483 return nRet; in ConvertColor() 549 sal_Int16 nRet; in ConvertNumberingType() local 554 nRet = style::NumberingType::ARABIC; in ConvertNumberingType() 558 nRet = style::NumberingType::ROMAN_UPPER; in ConvertNumberingType() 562 nRet = style::NumberingType::ROMAN_LOWER; in ConvertNumberingType() 566 nRet = style::NumberingType::CHARS_UPPER_LETTER_N; in ConvertNumberingType() 569 nRet = style::NumberingType::CHARS_LOWER_LETTER_N; in ConvertNumberingType() 572 nRet = style::NumberingType::ARABIC; in ConvertNumberingType() 577 nRet = style::NumberingType::CHAR_SPECIAL; in ConvertNumberingType() [all …]
|
| /trunk/main/oox/source/drawingml/ |
| H A D | drawingmltypes.cxx | 50 sal_Int32 nRet = 0; in GetTextMargin() local 51 if( !::sax::Converter::convertNumber( nRet, sValue ) ) in GetTextMargin() 52 nRet = 0; in GetTextMargin() 53 else if( nRet < 0 ) in GetTextMargin() 54 nRet = 0; in GetTextMargin() 55 else if( nRet > 51206400 ) in GetTextMargin() 56 nRet = 51206400; in GetTextMargin() 58 nRet /= 360; in GetTextMargin() 59 return nRet; in GetTextMargin() 71 sal_Int32 nRet = 0; in GetCoordinate() local [all …]
|
| /trunk/main/automation/source/server/ |
| H A D | cmdbasestream.cxx | 55 void CmdBaseStream::GenReturn (comm_USHORT nRet, comm_ULONG nUId ) in GenReturn() argument 58 Write(nRet); in GenReturn() 63 void CmdBaseStream::GenReturn (comm_USHORT nRet, rtl::OString *pUId, comm_ULONG nNr ) in GenReturn() argument 66 Write(nRet); in GenReturn() 75 void CmdBaseStream::GenReturn (comm_USHORT nRet, rtl::OString *pUId, comm_String *pString ) in GenReturn() argument 78 Write(nRet); in GenReturn() 87 void CmdBaseStream::GenReturn (comm_USHORT nRet, rtl::OString *pUId, comm_BOOL bBool ) in GenReturn() argument 90 Write(nRet); in GenReturn() 99 void CmdBaseStream::GenReturn (comm_USHORT nRet, rtl::OString *pUId, comm_ULONG nNr, comm_String *p… in GenReturn() argument 102 Write(nRet); in GenReturn() [all …]
|
| H A D | retstrm.hxx | 43 void GenReturn( comm_USHORT nRet, comm_ULONG nNr ){CmdBaseStream::GenReturn( nRet, nNr );} in GenReturn() argument 44 …void GenReturn( comm_USHORT nRet, rtl::OString aUId, comm_ULONG nNr ){CmdBaseStream::GenReturn( nR… in GenReturn() argument 45 …void GenReturn( comm_USHORT nRet, rtl::OString aUId, comm_BOOL bBool ){CmdBaseStream::GenReturn( n… in GenReturn() argument 48 …void GenReturn( comm_USHORT nRet, rtl::OString aUId, comm_USHORT nMethod ){CmdBaseStream::GenRetur… in GenReturn() argument 49 …void GenReturn( comm_USHORT nRet, rtl::OString aUId, comm_USHORT nMethod, comm_BOOL bBool ){CmdBas… in GenReturn() argument 50 …void GenReturn( comm_USHORT nRet, rtl::OString aUId, comm_USHORT nMethod, comm_ULONG nNr ){CmdBase… in GenReturn() argument 53 void GenReturn( sal_uInt16 nRet, rtl::OString aUId, String aString ); 54 …void GenReturn( sal_uInt16 nRet, rtl::OString aUId, comm_ULONG nNr, String aString, sal_Bool bBool… 57 void GenReturn( sal_uInt16 nRet, sal_uInt16 nMethod, SbxValue &aValue ); 58 void GenReturn( sal_uInt16 nRet, sal_uInt16 nMethod, String aString ); [all …]
|
| /trunk/main/tools/source/fsys/ |
| H A D | os2.cxx | 277 APIRET nRet = DosMove( aShortSource.Len()>0?(PSZ)aShortSource.GetStr():(PSZ)aSource.GetStr(), 280 if ( nRet == ERROR_DIRECTORY_IN_CDS || 281 nRet == ERROR_CURRENT_DIRECTORY ) 285 nRet = DosMove( aShortSource.Len()>0?(PSZ)aShortSource.GetStr():(PSZ)aSource.GetStr(), 288 else if ( nRet == ERROR_NOT_SAME_DEVICE ) 292 nRet = aMover.Execute( FSYS_ACTION_MOVE|FSYS_ACTION_RECURSIVE ); 293 return nRet; 296 if ( (nRet==NO_ERROR) && aShortDest.Len()>0) 301 return ApiRet2ToSolarError_Impl( nRet ); 645 USHORT nRet; in TempDirImpl() local [all …]
|
| /trunk/main/sal/rtl/source/ |
| H A D | ustring.c | 158 sal_Int32 nRet; in rtl_ustr_ascii_compare() local 159 while ( ((nRet = ((sal_Int32)(*pStr1))- in rtl_ustr_ascii_compare() 167 return nRet; in rtl_ustr_ascii_compare() 176 sal_Int32 nRet = 0; in rtl_ustr_ascii_compare_WithLength() local 177 while( ((nRet = (nStr1Len ? (sal_Int32)(*pStr1) : 0)- in rtl_ustr_ascii_compare_WithLength() 186 return nRet; in rtl_ustr_ascii_compare_WithLength() 197 sal_Int32 nRet; in rtl_ustr_ascii_shortenedCompare_WithLength() local 204 nRet = ((sal_Int32)*pStr1)- in rtl_ustr_ascii_shortenedCompare_WithLength() 206 if ( nRet != 0 ) in rtl_ustr_ascii_shortenedCompare_WithLength() 207 return nRet; in rtl_ustr_ascii_shortenedCompare_WithLength() [all …]
|
| /trunk/main/desktop/win32/source/setup/ |
| H A D | setup.cpp | 266 DWORD nRet = GetPrivateProfileSection( pSection, *pRetBuf, rSize, pFileName ); in GetProfileSection() local 268 if ( nRet && ( nRet + 2 > rSize ) ) // buffer was too small, retry with bigger one in GetProfileSection() 270 if ( nRet < 32767 - 2 ) in GetProfileSection() 273 rSize = nRet + 2; in GetProfileSection() 276 nRet = GetPrivateProfileSection( pSection, *pRetBuf, rSize, pFileName ); in GetProfileSection() 280 if ( !nRet ) in GetProfileSection() 289 else if ( nRet + 2 > rSize ) in GetProfileSection() 572 int nRet = lstrlen( pLine ) + 1; in GetNameValue() local 575 if ( nRet == 1 ) in GetNameValue() 576 return nRet; in GetNameValue() [all …]
|
| /trunk/main/svx/source/svdraw/ |
| H A D | svdlayer.cxx | 61 sal_uInt16 nRet(0); in GetSetCount() local 69 if(a & 0x80) nRet++; in GetSetCount() 70 if(a & 0x40) nRet++; in GetSetCount() 71 if(a & 0x20) nRet++; in GetSetCount() 72 if(a & 0x10) nRet++; in GetSetCount() 73 if(a & 0x08) nRet++; in GetSetCount() 74 if(a & 0x04) nRet++; in GetSetCount() 75 if(a & 0x02) nRet++; in GetSetCount() 76 if(a & 0x01) nRet++; in GetSetCount() 80 return nRet; in GetSetCount() [all …]
|
| H A D | svdglev.cxx | 99 sal_uInt16& nRet=*(sal_uInt16*)pnRet; in ImpGetEscDir() local 101 if (nRet!=FUZZY) { in ImpGetEscDir() 104 if (bFirst) { nRet=bOn; bFirst=sal_False; } in ImpGetEscDir() 105 else if (nRet!=bOn) nRet=FUZZY; in ImpGetEscDir() 113 sal_uInt16 nRet=sal_False; in IsMarkedGluePointsEscDir() local 114 ((SdrGlueEditView*)this)->ImpDoMarkedGluePoints(ImpGetEscDir,sal_True,&bFirst,&nThisEsc,&nRet); in IsMarkedGluePointsEscDir() 115 return (TRISTATE)nRet; in IsMarkedGluePointsEscDir() 137 sal_uInt16& nRet=*(sal_uInt16*)pnRet; in ImpGetPercent() local 139 if (nRet!=FUZZY) { in ImpGetPercent() 141 if (bFirst) { nRet=bOn; bFirst=sal_False; } in ImpGetPercent() [all …]
|
| /trunk/main/sw/source/filter/ww8/ |
| H A D | ww8par5.cxx | 172 long nRet = -1; // Ende in SkipToNextToken() local 182 nRet = aData.GetChar(++nFnd); in SkipToNextToken() 187 nRet = -2; in SkipToNextToken() 200 return nRet; in SkipToNextToken() 673 sal_uInt16 nRet = 0; in End_Field() local 678 return nRet; in End_Field() 691 nRet = maFieldStack.back().mnFieldId; in End_Field() 692 switch (nRet) in End_Field() 762 return nRet; in End_Field() 1213 long nRet; in Read_F_Input() local [all …]
|
| /trunk/main/vcl/win/source/gdi/ |
| H A D | salprn.cxx | 598 LONG nRet = -1; in ImplTestSalJobSetup() local 601 nRet = DocumentPropertiesW( 0, hPrn, in ImplTestSalJobSetup() 607 nRet = DocumentPropertiesA( 0, hPrn, in ImplTestSalJobSetup() 611 if( nRet < 0 ) in ImplTestSalJobSetup() 674 LONG nRet; in ImplUpdateSalJobSetup() local 730 nRet = DocumentPropertiesW( hWnd, hPrn, in ImplUpdateSalJobSetup() 736 nRet = DocumentPropertiesA( hWnd, hPrn, in ImplUpdateSalJobSetup() 744 if( (nRet < 0) || (pVisibleDlgParent && (nRet == IDCANCEL)) ) in ImplUpdateSalJobSetup() 1589 int nRet = ImplDeviceCaps( this, DC_ORIENTATION, NULL, pSetupData ); in GetLandscapeAngle() local 1591 if( nRet != GDI_ERROR ) in GetLandscapeAngle() [all …]
|
| /trunk/main/stoc/source/typeconv/ |
| H A D | convert.cxx | 176 sal_Int64 nRet = aHexRest.toInt64( 16 ); in getNumericValue() local 178 if (nRet == 0) in getNumericValue() 187 rfVal = (bNeg ? -(double)nRet : (double)nRet); in getNumericValue() 256 sal_Int64 nRet = aHexRest.toInt64( 16 ); in getHyperValue() local 258 if (nRet == 0) in getHyperValue() 267 rnVal = (bNeg ? -nRet : nRet); in getHyperValue() 349 sal_Int64 nRet; in toHyper() local 356 nRet = *(sal_Int32 *)rAny.getValue(); in toHyper() 360 nRet = (*(sal_Bool*)rAny.getValue() ? 1 : 0); in toHyper() 364 nRet = *(sal_Unicode *)rAny.getValue(); in toHyper() [all …]
|
| /trunk/main/sw/source/filter/html/ |
| H A D | parcss1.cxx | 123 CSS1Token nRet = CSS1_NULL; in GetNextToken() local 153 nRet = CSS1_SLASH; in GetNextToken() 182 nRet = CSS1_IMPORT_SYM; in GetNextToken() 188 nRet = CSS1_PAGE_SYM; in GetNextToken() 196 if( CSS1_NULL==nRet ) in GetNextToken() 278 nRet = CSS1_IMPORTANT_SYM; in GetNextToken() 283 nRet = CSS1_IDENT; in GetNextToken() 312 nRet = CSS1_STRING; in GetNextToken() 349 nRet = CSS1_HEXCOLOR; in GetNextToken() 386 nRet = CSS1_PERCENTAGE; in GetNextToken() [all …]
|
| /trunk/main/editeng/source/items/ |
| H A D | itemtype.cxx | 41 long nRet = 0; in GetMetricText() local 57 nRet = (long)OutputDevice::LogicToLogic( in GetMetricText() 62 case SFX_MAPUNIT_100TH_MM: nRet *= 1000; break; in GetMetricText() 63 case SFX_MAPUNIT_10TH_MM: nRet *= 100; break; in GetMetricText() 64 case SFX_MAPUNIT_MM: nRet *= 10; break; in GetMetricText() 75 nRet = (long)OutputDevice::LogicToLogic( in GetMetricText() 80 case SFX_MAPUNIT_1000TH_INCH: nRet *= 1000; break; in GetMetricText() 81 case SFX_MAPUNIT_100TH_INCH: nRet *= 100; break; in GetMetricText() 82 case SFX_MAPUNIT_10TH_INCH: nRet *= 10; break; in GetMetricText() 101 long nMod = nRet % 10; in GetMetricText() [all …]
|