/trunk/main/basic/inc/basic/ |
H A D | ttstrhlp.hxx | 42 #define MakeStringNumber(Type,nNumber) MakeStringParam (Type, UniString::CreateFromInt32(nNumber)) argument 44 #define MethodString(nNumber) MakeStringNumber(MethodKenn,nNumber) argument 45 #define TypeString(nNumber) MakeStringNumber(TypeKenn,nNumber) argument 46 #define SlotString(nNumber) MakeStringNumber(SlotKenn,nNumber) argument 47 #define RcString(nNumber) MakeStringNumber(RcKenn,nNumber) argument 48 #define TabString(nNumber) MakeStringNumber(TabKenn,nNumber) argument 52 #define ArgKenn(nNumber) ( BaseArgKenn.Append( UniString::CreateFromInt32(nNumber) ) ) argument 53 #define ResString(nNumber) MakeStringNumber(ResKenn,nNumber) argument 54 #define ArgString(nNumber, aText) MakeStringParam(ArgKenn(nNumber),aText) argument
|
/trunk/main/accessibility/source/extended/ |
H A D | textwindowaccessibility.cxx | 54 Paragraphs::size_type nNumber): in Paragraph() argument 55 ParagraphImpl(rDocument, nNumber, *this) {} in Paragraph() 91 Paragraphs::size_type nNumber, in ParagraphImpl() argument 95 m_nNumber(nNumber), in ParagraphImpl() 916 if ( nNumber >= aMinPaM.GetPara() && nNumber <= aMaxPaM.GetPara() ) in retrieveParagraphSelection() 918 *pBegin = nNumber > aMinPaM.GetPara() in retrieveParagraphSelection() 922 *pEnd = nNumber < aMaxPaM.GetPara() in retrieveParagraphSelection() 945 return aEndPaM.GetPara() == nNumber in retrieveParagraphCaretPosition() 1012 return aPaM.GetPara() == nNumber in retrieveCharacterIndex() 1301 changeParagraphText(nNumber, 0, m_rEngine.GetTextLen(nNumber), false, in changeParagraphText() [all …]
|
/trunk/main/sd/source/ui/func/ |
H A D | fucopy.cxx | 144 sal_uInt16 nNumber = 0; in DoExecute() local 151 nNumber = ( ( const SfxUInt16Item* ) pPoolItem )->GetValue(); in DoExecute() 188 if( nNumber > 1 ) in DoExecute() 194 pProgress = new SfxProgress( mpDocSh, aStr, nNumber ); in DoExecute() 209 nNumber = (sal_uInt16) Min( nTmp, (long)nNumber ); in DoExecute() 215 nNumber = (sal_uInt16) Min( nTmp, (long)nNumber ); in DoExecute() 218 for( sal_uInt16 i = 1; i <= nNumber; i++ ) in DoExecute() 286 …Int8) ( ( (long) aEndColor.GetRed() - (long) aStartColor.GetRed() ) * (long) i / (long) nNumber ); in DoExecute() 287 …) ( ( (long) aEndColor.GetGreen() - (long) aStartColor.GetGreen() ) * (long) i / (long) nNumber ); in DoExecute() 288 …nt8) ( ( (long) aEndColor.GetBlue() - (long) aStartColor.GetBlue() ) * (long) i / (long) nNumber ); in DoExecute()
|
/trunk/main/tools/source/memtools/ |
H A D | multisel.cxx | 920 sal_Int32 nNumber = i_nLast - i_nFirst; in insertRange() local 921 nNumber = nNumber < 0 ? -nNumber : nNumber; in insertRange() 922 mnCount += nNumber + 1; in insertRange() 971 sal_Int32 nLastNumber = -1, nNumber = -1; in setRange() local 980 if( nNumber != -1 ) in setRange() 993 if( ! insertRange( nNumber, nNumber, false, ! i_bStrict ) && i_bStrict ) in setRange() 1000 nNumber = aNumberBuf.makeStringAndClear().toInt32(); in setRange() 1001 nNumber += mnOffset; in setRange() 1006 nLastNumber = nNumber; in setRange() 1007 nNumber = -1; in setRange() [all …]
|
/trunk/main/basic/source/sbx/ |
H A D | sbxscan.cxx | 754 double nNumber; in Format() local 775 aFormatter.GetOutputString( nNumber, nIndex, rRes, &pCol ); in Format() 780 if( nNumber <=-1.0 || nNumber >= 1.0 ) in Format() 784 aFormatter.GetOutputString( nNumber, nIndex, rRes, &pCol ); in Format() 787 if( floor( nNumber ) != nNumber ) in Format() 802 aFormatter.GetOutputString( nNumber, nIndex, rRes, &pCol ); in Format() 808 sal_Int32 nMin = implGetMinute( nNumber ); in Format() 823 sal_Int32 nWeekDay = implGetWeekDay( nNumber ); in Format() 828 sal_Int16 nYear = implGetDateYear( nNumber ); in Format() 831 sal_Int32 nYear32 = 1 + sal_Int32( nNumber - dBaseDate ); in Format() [all …]
|
/trunk/main/unotools/source/i18n/ |
H A D | localedatawrapper.cxx | 1284 nNumber /= 10; in ImplAddUNum() 1286 while ( nNumber ); in ImplAddUNum() 1310 nNumber /= 10; in ImplAddUNum() 1313 while ( nNumber ); in ImplAddUNum() 1340 if ( nNumber < 10 ) in ImplAdd2UNum() 1347 *pBuf = nNumber + '0'; in ImplAdd2UNum() 1352 nNumber /= 10; in ImplAdd2UNum() 1404 if ( nNumber < 0 ) in ImplAddFormatNum() 1406 nNumber *= -1; in ImplAddFormatNum() 1748 if ( nNumber < 0 ) in getCurr() [all …]
|
/trunk/main/forms/source/xforms/xpathlib/ |
H A D | xpathlib.cxx | 160 double nNumber = 0; in xforms_minFunction() local 163 nNumber = xmlXPathCastNodeToNumber(xmlXPathNodeSetItem(pNodeSet, i)); in xforms_minFunction() 164 if (xmlXPathIsNaN(nNumber)) in xforms_minFunction() 170 nMinimum = nNumber; in xforms_minFunction() 171 else if (nNumber < nMinimum) in xforms_minFunction() 172 nMinimum = nNumber; in xforms_minFunction() 183 double nNumber = 0; in xforms_maxFunction() local 187 if (xmlXPathIsNaN(nNumber)) in xforms_maxFunction() 193 nMaximum = nNumber; in xforms_maxFunction() 194 else if (nNumber > nMaximum) in xforms_maxFunction() [all …]
|
/trunk/main/comphelper/source/misc/ |
H A D | numberedcollection.cxx | 100 return pIt->second.nNumber; in leaseNumber() 113 aItem.nNumber = nFreeNumber; in leaseNumber() 122 void SAL_CALL NumberedCollection::releaseNumber(::sal_Int32 nNumber) in releaseNumber() argument 129 if (nNumber == css::frame::UntitledNumbersConst::INVALID_NUMBER) in releaseNumber() 148 if (rItem.nNumber == nNumber) in releaseNumber() 242 …terator pPossible = ::std::find(lPossibleNumbers.begin (), lPossibleNumbers.end (), rItem.nNumber); in impl_searchFreeNumber()
|
/trunk/main/tools/source/fsys/ |
H A D | urlobj.cxx | 2381 sal_uInt32 nNumber = 0; in parseHost() local 2477 nNumber = 10 * nNumber + INetMIME::getWeight(*p); in parseHost() 2574 nNumber = 16 * nNumber + INetMIME::getHexWeight(*p); in parseHost() 2619 nNumber = 100 * (nNumber >> 8) + 10 * (nNumber >> 4 & 15) in parseHost() 2629 nNumber = 16 * nNumber + INetMIME::getWeight(*p); in parseHost() 2634 nNumber = 16 * nNumber + INetMIME::getHexWeight(*p); in parseHost() 2658 nNumber = 16 * nNumber + INetMIME::getHexWeight(*p); in parseHost() 2698 nNumber = 100 * (nNumber >> 8) + 10 * (nNumber >> 4 & 15) in parseHost() 2708 nNumber = 16 * nNumber + INetMIME::getWeight(*p); in parseHost() 2713 nNumber = 16 * nNumber + INetMIME::getHexWeight(*p); in parseHost() [all …]
|
/trunk/main/tools/source/generic/ |
H A D | fract.cxx | 529 sal_uInt32 nNumber; in impl_NumberOfBits() local 533 nNumber = nNum; in impl_NumberOfBits() 539 nNumber = sal_uInt32( nNum >> 32 ); in impl_NumberOfBits() 542 if ( nNumber == 0 ) in impl_NumberOfBits() 546 nNumber = sal_uInt32( nNum & 0xFFFFFFFF ); in impl_NumberOfBits() 558 nNumber = nDeBruijn + ( nDeBruijn * nNumber ); in impl_NumberOfBits() 561 return ( nbits_table[nNumber >> 27] ) + nBonus; in impl_NumberOfBits()
|
/trunk/main/ucb/source/ucp/ftp/ |
H A D | ftpdirp.cxx | 1159 sal_uInt16 nNumber = *pStart - '0'; in parseUNIX_isYearTimeField() local 1165 return parseUNIX_isTime (pStart, pEnd, nNumber, rDateTime); in parseUNIX_isYearTimeField() 1169 nNumber = 10 * nNumber + (*pStart - '0'); in parseUNIX_isYearTimeField() 1175 return parseUNIX_isTime (pStart, pEnd, nNumber, rDateTime); in parseUNIX_isYearTimeField() 1179 nNumber = 10 * nNumber + (*pStart - '0'); in parseUNIX_isYearTimeField() 1185 nNumber = 10 * nNumber + (*pStart - '0'); in parseUNIX_isYearTimeField() 1186 if (pStart + 1 != pEnd || nNumber < 1970) in parseUNIX_isYearTimeField() 1189 rDateTime.SetYear(nNumber); in parseUNIX_isYearTimeField()
|
/trunk/main/sal/qa/rtl/textenc/ |
H A D | rtl_textcvt.cxx | 49 sal_Size nNumber = 0; in testSingleByteCharSet() local 52 aText[nNumber++] = static_cast< sal_Char >(i); in testSingleByteCharSet() 65 aConverter, aContext, aText, nNumber, aUnicode, nNumber, in testSingleByteCharSet() 70 ASSERT_TRUE(nSize == nNumber && nInfo == 0 && nConverted == nNumber) << "failure #2"; in testSingleByteCharSet() 86 nNumber = 128; in testSingleByteCharSet() 98 aConverter, aContext, aUnicode, nNumber, aText, nNumber, in testSingleByteCharSet() 102 ASSERT_TRUE(nSize == nNumber && nInfo == 0 && nConverted == nNumber) << "failure #5"; in testSingleByteCharSet()
|
/trunk/main/sw/inc/ |
H A D | fmtftn.hxx | 40 sal_uInt16 nNumber; //Automatische Nummerierung member in SwFmtFtn 56 const sal_uInt16 &GetNumber() const { return nNumber; } in GetNumber() 60 void SetNumber( sal_uInt16 nNo ) { nNumber = nNo; } in SetNumber() 64 { nNumber = rFtn.nNumber; aNumber = rFtn.aNumber; } in SetNumber()
|
/trunk/main/sd/source/ui/slidesorter/model/ |
H A D | SlideSorterModel.cxx | 247 sal_Int16 nNumber (-1); in GetIndex() local 248 aNumber >>= nNumber; in GetIndex() 249 nNumber -= 1; in GetIndex() 250 SharedPageDescriptor pDescriptor (GetPageDescriptor(nNumber, false)); in GetIndex() 254 return nNumber; in GetIndex() 296 sal_Int16 nNumber ((pPage->GetPageNum()-1)/2); in GetIndex() local 297 SharedPageDescriptor pDescriptor (GetPageDescriptor(nNumber, false)); in GetIndex() 301 return nNumber; in GetIndex()
|
/trunk/main/i18npool/source/ordinalsuffix/ |
H A D | ordinalsuffix.cxx | 50 static OUString getOrdinalSuffixEn( sal_Int32 nNumber ) in getOrdinalSuffixEn() argument 54 switch( labs( nNumber ) % 100 ) in getOrdinalSuffixEn() 60 switch( nNumber % 10 ) in getOrdinalSuffixEn() 82 OUString SAL_CALL OrdinalSuffix::getOrdinalSuffix( sal_Int32 nNumber, in getOrdinalSuffix() argument 88 retValue = getOrdinalSuffixEn( nNumber ); in getOrdinalSuffix()
|
/trunk/main/vcl/source/fontsubset/ |
H A D | cff.cxx | 1459 S64 nNumber = 0; in readRealVal() local 1466 nNumber = nNumber * 10 + nH; in readRealVal() 1472 fReal *= nNumber; in readRealVal() 1474 nNumber = 0; in readRealVal() 1476 fReal *= nNumber; in readRealVal() 1478 nNumber = 0; in readRealVal() 1488 nNumber = nNumber * 10 + nL; in readRealVal() 1494 fReal *= nNumber; in readRealVal() 1495 nNumber = 0; in readRealVal() 1498 fReal *= nNumber; in readRealVal() [all …]
|
/trunk/main/ucb/workben/ucb/ |
H A D | srcharg.cxx | 415 sal_Int64 nNumber = 0; in parseSearchArgument() local 419 nNumber = 10 * nNumber + INetMIME::getWeight(*r++); in parseSearchArgument() 420 if (nNumber > std::numeric_limits< sal_Int32 >::max()) in parseSearchArgument() 430 <<= sal_Int32(bNegative ? -sal_Int32(nNumber) : in parseSearchArgument() 431 sal_Int32(nNumber)); in parseSearchArgument()
|
/trunk/main/sw/source/core/txtnode/ |
H A D | atrftn.cxx | 58 nNumber( 0 ), in SwFmtFtn() 67 return nNumber == ((SwFmtFtn&)rAttr).nNumber && in operator ==() 77 pNew->nNumber = nNumber; in Clone() 262 rFtn.nNumber = nNewNum; in SetNumber()
|
/trunk/main/sw/source/filter/html/ |
H A D | parcss1.cxx | 1338 sal_uInt16 nNumber = (sal_uInt16)aNumber.ToInt32(); in GetColor() local 1341 if( nNumber > 100 ) in GetColor() 1342 nNumber = 100; in GetColor() 1343 nNumber *= 255; in GetColor() 1344 nNumber /= 100; in GetColor() 1346 else if( nNumber > 255 ) in GetColor() 1347 nNumber = 255; in GetColor() 1349 aColors[nCol] = (sal_uInt8)nNumber; in GetColor()
|
/trunk/main/vcl/unx/generic/dtrans/ |
H A D | bmp.cxx | 45 inline void writeLE( sal_uInt16 nNumber, sal_uInt8* pBuffer ) in writeLE() argument 47 pBuffer[ 0 ] = (nNumber & 0xff); in writeLE() 48 pBuffer[ 1 ] = ((nNumber>>8)&0xff); in writeLE() 51 inline void writeLE( sal_uInt32 nNumber, sal_uInt8* pBuffer ) in writeLE() argument 53 pBuffer[ 0 ] = (nNumber & 0xff); in writeLE() 54 pBuffer[ 1 ] = ((nNumber>>8)&0xff); in writeLE() 55 pBuffer[ 2 ] = ((nNumber>>16)&0xff); in writeLE() 56 pBuffer[ 3 ] = ((nNumber>>24)&0xff); in writeLE()
|
/trunk/main/sd/source/ui/view/ |
H A D | viewshel.cxx | 1252 sal_uInt16 nNumber(1); in ImpSidUndo() local 1258 nNumber = pUIntItem->GetValue(); in ImpSidUndo() 1261 if(nNumber && pUndoManager) in ImpSidUndo() 1264 if(nCount >= nNumber) in ImpSidUndo() 1270 while(nNumber-- && pUndoManager->GetUndoActionCount()) in ImpSidUndo() 1301 sal_uInt16 nNumber(1); in ImpSidRedo() local 1307 nNumber = pUIntItem->GetValue(); in ImpSidRedo() 1310 if(nNumber && pUndoManager) in ImpSidRedo() 1313 if(nCount >= nNumber) in ImpSidRedo() 1319 while(nNumber-- && pUndoManager->GetRedoActionCount()) in ImpSidRedo()
|
/trunk/main/sw/source/core/fields/ |
H A D | dbfld.cxx | 927 : SwDBNameInfField(pTyp, rDBData, nFmt), nNumber(0) in SwDBSetNumberField() 934 if(0 !=(GetSubType() & nsSwExtendedSubType::SUB_INVISIBLE) || nNumber == 0) in Expand() 937 return FormatNumber((sal_uInt16)nNumber, GetFormat()); in Expand() 950 nNumber = pMgr->GetSelectedRecordId(); in Evaluate() 961 pTmp->SetSetNumber(nNumber); in Copy() 975 rAny <<= nNumber; in QueryValue() 1001 rAny >>= nNumber; in PutValue()
|
/trunk/main/package/qa/storages/ |
H A D | RegressionTest_i61909.java | 165 int nNumber = 0; in test() local 169 nNumber++; in test() 173 if ( nNumber != 6 ) in test() 175 m_aTestHelper.Error( "Wrong number of entries: " + nNumber + ", Expected: 6" ); in test()
|
/trunk/main/filter/source/graphicfilter/expm/ |
H A D | expm.cxx | 214 void XPMWriter::ImplWriteNumber( sal_Int32 nNumber ) in ImplWriteNumber() argument 216 const ByteString aNum( ByteString::CreateFromInt32( nNumber ) ); in ImplWriteNumber() 239 void XPMWriter::ImplWriteColor( sal_uInt16 nNumber ) in ImplWriteColor() argument 245 const BitmapColor& rColor = mpAcc->GetPaletteColor( nNumber ); in ImplWriteColor()
|
/trunk/main/unotools/inc/unotools/ |
H A D | localedatawrapper.hxx | 118 sal_Int64 nNumber, sal_uInt16 nDecimals, 287 String getNum( sal_Int64 nNumber, sal_uInt16 nDecimals, 292 String getCurr( sal_Int64 nNumber, sal_uInt16 nDecimals, 298 String getCurr( sal_Int64 nNumber, sal_uInt16 nDecimals, in getCurr() argument 300 { return getCurr( nNumber, nDecimals, in getCurr()
|