/aoo42x/main/tools/source/generic/ |
H A D | gen.cxx | 50 nNum = 0; in operator >>() 55 nNum <<= 8; in operator >>() 62 nNum = 0; in operator >>() 67 nNum <<= 8; in operator >>() 102 if ( nNum ) in operator <<() 105 nNum >>= 8; in operator <<() 143 if ( nNum ) in operator <<() 410 nNum = 0; in operator >>() 424 nNum = 0; in operator >>() 437 nNum = 0; in operator >>() [all …]
|
H A D | bigint.cxx | 104 nVal = ((long)nNum[1] << 16) + nNum[0]; in Normalize() 174 return rVal.nNum[i] < nNum[i]; in IsLess() 205 nZ = (long)nNum[i] + (long)rB.nNum[i] + k; in AddLong() 365 if (aTmpA.nNum[j] == aTmpB.nNum[nLenB1]) in DivLong() 436 if (aTmpA.nNum[j] == aTmpB.nNum[nLenB1]) in ModLong() 495 return nA.nNum[i] < nB.nNum[i]; in ABS_IsLess() 1063 return nA.nNum[i] == nB.nNum[i]; in operator ==() 1091 return nA.nNum[i] > nB.nNum[i]; in operator <() 1093 return nA.nNum[i] < nB.nNum[i]; in operator <() 1124 return nA.nNum[i] < nB.nNum[i]; in operator >() [all …]
|
H A D | fract.cxx | 189 Fraction::Fraction( long nNum, long nDen ) in Fraction() argument 191 nNumerator = nNum; in Fraction() 519 if ( nNum == 0 ) in impl_NumberOfBits() 523 nNum |= ( nNum >> 1 ); in impl_NumberOfBits() 524 nNum |= ( nNum >> 2 ); in impl_NumberOfBits() 525 nNum |= ( nNum >> 4 ); in impl_NumberOfBits() 526 nNum |= ( nNum >> 8 ); in impl_NumberOfBits() 527 nNum |= ( nNum >> 16 ); in impl_NumberOfBits() 533 nNumber = nNum; in impl_NumberOfBits() 535 nNum |= ( nNum >> 32 ); in impl_NumberOfBits() [all …]
|
/aoo42x/main/sw/source/ui/table/ |
H A D | tablemgr.cxx | 89 nNum == 0 ? aCols[nNum] - aCols.GetLeft() : in GetColWidth() 90 aCols[nNum] - aCols[nNum-1]); in GetColWidth() 97 SwTwips nLValid = nNum ? in GetColWidth() 119 SwTwips nMax = nNum == 0 ? in GetMaxColWidth() 121 nNum == GetColCount() ? in GetMaxColWidth() 123 GetColWidth(nNum - 1) + GetColWidth( nNum + 1 ) - 2 * MINLAY; in GetMaxColWidth() 128 return GetColWidth(nNum); in GetMaxColWidth() 144 nWidth = GetColWidth(nNum); in SetColWidth() 147 if( !nNum ) in SetColWidth() 372 while( nNum >= 0 ) in GetRightSeparator() [all …]
|
H A D | tautofmt.cxx | 697 sal_uLong nNum; in DrawString() local 717 nNum = 5; in DrawString() 721 nNum = 6; in DrawString() 726 nNum = 12 == nIndex ? 10 : 9; in DrawString() 729 case 9: nVal = 21; nNum = 7; goto MAKENUMSTR; in DrawString() 730 case 14: nVal = 36; nNum = 11; goto MAKENUMSTR; in DrawString() 731 case 19: nVal = 51; nNum = 7; goto MAKENUMSTR; in DrawString() 732 case 21: nVal = 33; nNum = 13; goto MAKENUMSTR; in DrawString() 733 case 22: nVal = 36; nNum = 14; goto MAKENUMSTR; in DrawString() 734 case 23: nVal = 39; nNum = 13; goto MAKENUMSTR; in DrawString() [all …]
|
/aoo42x/main/svx/source/svdraw/ |
H A D | svdglue.cxx | 309 for (sal_uInt16 nNum=0; nNum<nAnz && !bBrk; nNum++) { in Insert() local 331 for (sal_uInt16 nNum=0; nNum<nAnz; nNum++) { in Invalidate() local 342 for (sal_uInt16 nNum=0; nNum<nAnz && nRet==SDRGLUEPOINT_NOTFOUND; nNum++) { in FindGluePoint() local 353 sal_uInt16 nNum=bBack ? 0 : nAnz; in HitTest() local 354 while ((bBack ? nNum<nAnz : nNum>0) && nRet==SDRGLUEPOINT_NOTFOUND) { in HitTest() 355 if (!bBack) nNum--; in HitTest() 362 if (bBack) nNum++; in HitTest() 370 for (sal_uInt16 nNum=0; nNum<nAnz; nNum++) { in SetReallyAbsolute() local 378 for (sal_uInt16 nNum=0; nNum<nAnz; nNum++) { in Rotate() local 393 for (sal_uInt16 nNum=0; nNum<nAnz; nNum++) { in Mirror() local [all …]
|
H A D | svdotxat.cxx | 278 while(!bFnd && nNum > 0) in ImpSetTextStyleSheetListeners() 281 nNum--; in ImpSetTextStyleSheetListeners() 295 while (nNum>0) { in ImpSetTextStyleSheetListeners() 296 nNum--; in ImpSetTextStyleSheetListeners() 315 aStyles.Remove(nNum); in ImpSetTextStyleSheetListeners() 319 nNum=GetBroadcasterCount(); in ImpSetTextStyleSheetListeners() 320 while (nNum>0) { in ImpSetTextStyleSheetListeners() 321 nNum--; in ImpSetTextStyleSheetListeners() 331 nNum=aStyles.Count(); in ImpSetTextStyleSheetListeners() 332 while (nNum>0) { in ImpSetTextStyleSheetListeners() [all …]
|
H A D | svdetc.cxx | 729 sal_uInt16 nNum=nAnz-1; in RemoveWhichRange() local 730 while (nNum!=0) { in RemoveWhichRange() 731 nNum-=2; in RemoveWhichRange() 732 sal_uInt16 nBeg=pOldWhichTable[nNum]; in RemoveWhichRange() 746 nNum=nAlloc-1; in RemoveWhichRange() 747 while (nNum!=0) { in RemoveWhichRange() 748 nNum-=2; in RemoveWhichRange() 749 sal_uInt16 nBeg=pNewWhichTable[nNum]; in RemoveWhichRange() 761 memcpy(&pNewWhichTable[nNum],&pNewWhichTable[nNum+2],nTailBytes); in RemoveWhichRange() 768 memcpy(&pNewWhichTable[nNum+4],&pNewWhichTable[nNum+2],nTailBytes); in RemoveWhichRange() [all …]
|
H A D | svdpagv.cxx | 807 const SdrHelpLine& rHL=aHelpLines[nNum]; in ImpInvalidateHelpLineArea() 836 if (nNum<aHelpLines.GetCount() && aHelpLines[nNum]!=rNewHelpLine) { in SetHelpLine() 846 aHelpLines[nNum]=rNewHelpLine; in SetHelpLine() 851 void SdrPageView::DeleteHelpLine(sal_uInt16 nNum) in DeleteHelpLine() argument 853 if (nNum<aHelpLines.GetCount()) { in DeleteHelpLine() 854 ImpInvalidateHelpLineArea(nNum); in DeleteHelpLine() 855 aHelpLines.Delete(nNum); in DeleteHelpLine() 861 if (nNum>aHelpLines.GetCount()) nNum=aHelpLines.GetCount(); in InsertHelpLine() 862 aHelpLines.Insert(rHL,nNum); in InsertHelpLine() 866 ImpInvalidateHelpLineArea(nNum); in InsertHelpLine() [all …]
|
H A D | svdmodel.cxx | 897 sal_uInt16 nNum; in ImpReformatAllTextObjects() local 898 for (nNum=0; nNum<nAnz; nNum++) { in ImpReformatAllTextObjects() 902 for (nNum=0; nNum<nAnz; nNum++) { in ImpReformatAllTextObjects() 903 GetPage(nNum)->ReformatAllTextObjects(); in ImpReformatAllTextObjects() 918 sal_uInt16 nNum; in ImpReformatAllEdgeObjects() local 919 for (nNum=0; nNum<nAnz; nNum++) in ImpReformatAllEdgeObjects() 924 for (nNum=0; nNum<nAnz; nNum++) in ImpReformatAllEdgeObjects() 926 GetPage(nNum)->ReformatAllEdgeObjects(); in ImpReformatAllEdgeObjects() 939 sal_uInt16 nNum; in BurnInStyleSheetAttributes() local 940 for (nNum=0; nNum<nAnz; nNum++) { in BurnInStyleSheetAttributes() [all …]
|
H A D | svdmark.cxx | 73 sal_uLong nNum(GetCount()); in Sort() local 75 if(nNum > 1) in Sort() 77 nNum--; in Sort() 78 sal_uInt16 nVal0 = GetObject(nNum); in Sort() 80 while(nNum > 0) in Sort() 82 nNum--; in Sort() 83 sal_uInt16 nVal1 = GetObject(nNum); in Sort() 548 SdrMark* pMark = GetMark(nNum); in DeleteMark() 553 maList.Remove(nNum); in DeleteMark() 561 SdrMark* pMark = GetMark(nNum); in ReplaceMark() [all …]
|
H A D | svdotxln.cxx | 198 for (sal_uInt16 nNum=nAnz; nNum>0;) { in ReleaseTextLink() local 199 nNum--; in ReleaseTextLink() 200 SdrObjUserData* pData=GetUserData(nNum); in ReleaseTextLink() 202 DeleteUserData(nNum); in ReleaseTextLink() 307 for (sal_uInt16 nNum=nAnz; nNum>0 && pData==NULL;) { in GetLinkUserData() local 308 nNum--; in GetLinkUserData() 309 pData=(ImpSdrObjTextLinkUserData*)GetUserData(nNum); in GetLinkUserData()
|
H A D | svdoedge.cxx | 90 rGP=(*pGPL)[nNum]; in TakeGluePoint() 1265 while (nNum>0) { in ImpCalcEdgeTrack() 1266 nNum--; in ImpCalcEdgeTrack() 1759 if (nNum<nO1) { in GetHdl() 1760 nPt=nNum+1L; in GetHdl() 1764 nNum=nNum-nO1; in GetHdl() 1765 if (nNum<nO2) { in GetHdl() 1766 nPt=nPntAnz-3-nNum; in GetHdl() 1770 nNum=nNum-nO2; in GetHdl() 1771 if (nNum<nM) { in GetHdl() [all …]
|
H A D | svdlayer.cxx | 83 sal_uInt8 SetOfByte::GetSetBit(sal_uInt16 nNum) const in GetSetBit() 85 nNum++; in GetSetBit() 89 while(j < nNum && i < 256) in GetSetBit() 96 if(j == nNum) in GetSetBit() 107 sal_uInt8 SetOfByte::GetClearBit(sal_uInt16 nNum) const in GetClearBit() 109 nNum++; in GetClearBit() 113 while(j < nNum && i < 256) in GetClearBit() 120 if(j == nNum) in GetClearBit()
|
H A D | svdibrow.cxx | 294 for (sal_uIntPtr nNum=0; nNum<nAnz; nNum++) { in Clear() local 295 delete ImpGetEntry(nNum); in Clear() 486 sal_uIntPtr nNum; in ImpRestoreWhich() local 487 for (nNum=0; nNum<nAnz && !bFnd; nNum++) { in ImpRestoreWhich() 488 ImpItemListRow* pEntry=ImpGetEntry(nNum); in ImpRestoreWhich() 492 else if (nWh<nLastWhich && nWh>nBestMinWh) nBestMinPos=nNum; in ImpRestoreWhich() 493 else if (nWh>nLastWhich && nWh<nBestMaxWh) nBestMaxPos=nNum; in ImpRestoreWhich() 497 long nPos=nNum-1; in ImpRestoreWhich() 1056 for (sal_uIntPtr nNum=0; nNum<nTooMuch; nNum++) { in SetAttributes() local
|
/aoo42x/main/basic/source/sbx/ |
H A D | sbxscan.cxx | 299 if( nNum > 0.0 ) in myftoa() 301 while( nNum < 1.0 ) nNum *= 10.0, nExp--; in myftoa() 302 while( nNum >= 10.0 ) nNum /= 10.0, nExp++; in myftoa() 312 nNum = 1.0; in myftoa() 343 digit = (int) nNum; in myftoa() 345 nNum =( nNum - digit ) * 10.0; in myftoa() 400 if( nNum < 0.0 ) { in ImpCvtNum() 401 nNum = -nNum; in ImpCvtNum() 405 myftoa( nNum, p, nPrec,( nNum &&( nNum < 1E-1 || nNum >= dMaxNumWithoutExp ) ) ? 4:0, in ImpCvtNum() 554 if( nNum < 0.0 ) nNum = -nNum, bNeg = sal_True; in printfmtnum() [all …]
|
H A D | sbxvals.cxx | 50 if( nLen > 4 || (nNum[3] & 0x8000) ) in INT64() 53 p->nLow = ((sal_uInt32)nNum[1] << 16) | (sal_uInt32)nNum[0]; in INT64() 54 p->nHigh = ((sal_uInt32)nNum[3] << 16) | (sal_uInt32)nNum[2]; in INT64() 82 p->nLow = ((sal_uInt32)nNum[1] << 16) | (sal_uInt32)nNum[0]; in UINT64() 83 p->nHigh = ((sal_uInt32)nNum[3] << 16) | (sal_uInt32)nNum[2]; in UINT64()
|
/aoo42x/main/sw/source/ui/uiview/ |
H A D | viewtab.cxx | 1505 sal_uInt16 nNum; in StateTabWin() local 1516 nNum = aTabCols.Count() - nNum; in StateTabWin() 1600 nNum = rCol.GetColumns().Count() - nNum; in StateTabWin() 1602 --nNum; in StateTabWin() 1633 if ( nNum ) in StateTabWin() 1639 nNum = rCol.GetColumns().Count() - nNum; in StateTabWin() 1677 nNum = aCol.GetColumns().Count() - nNum; in StateTabWin() 1679 nNum--; in StateTabWin() 1826 if(nNum > 1) in StateTabWin() 1828 if(nNum) in StateTabWin() [all …]
|
/aoo42x/main/sc/source/ui/miscdlgs/ |
H A D | autofmt.cxx | 617 sal_uLong nNum; in DrawString() local 637 nNum = 5; in DrawString() 641 nNum = 6; in DrawString() 646 nNum = 12 == nIndex ? 10 : 9; in DrawString() 649 case 9: nVal = 21; nNum = 7; goto mknum; in DrawString() 650 case 14: nVal = 36; nNum = 11; goto mknum; in DrawString() 651 case 19: nVal = 51; nNum = 7; goto mknum; in DrawString() 652 case 21: nVal = 33; nNum = 13; goto mknum; in DrawString() 653 case 22: nVal = 36; nNum = 14; goto mknum; in DrawString() 655 case 24: nVal = 108; nNum = 15; in DrawString() [all …]
|
/aoo42x/main/svx/inc/svx/ |
H A D | svdhdl.hxx | 229 void SetObjHdlNum(sal_uInt32 nNum) { nObjHdlNum=nNum; } in SetObjHdlNum() argument 232 void SetPolyNum(sal_uInt32 nNum) { nPolyNum=nNum; } in SetPolyNum() argument 235 void SetPointNum(sal_uInt32 nNum) { nPPntNum=nNum; } in SetPointNum() argument 241 void SetSourceHdlNum(sal_uInt32 nNum) { nSourceHdlNum=nNum; } in SetSourceHdlNum() argument 494 …SdrHdl* GetHdl(sal_uIntPtr nNum) const { return (SdrHdl*)(aList.GetObject(nNum))… in GetHdl() 510 SdrHdl* RemoveHdl(sal_uIntPtr nNum);
|
H A D | svdobj.hxx | 260 …SdrObjUserData* GetUserData(sal_uInt16 nNum) const { return (SdrObjUserData*)aList.GetObject(nNum)… in GetUserData() 262 SdrObjUserData* RemoveUserData(sal_uInt16 nNum) { return (SdrObjUserData*)aList.Remove(nNum);} in RemoveUserData() argument 263 void DeleteUserData(sal_uInt16 nNum) { delete RemoveUserData(nNum); } in DeleteUserData() argument 626 void SetOrdNum(sal_uInt32 nNum) { nOrdNum=nNum; } in SetOrdNum() argument 917 virtual SdrGluePoint GetVertexGluePoint(sal_uInt16 nNum) const; 920 virtual SdrGluePoint GetCornerGluePoint(sal_uInt16 nNum) const; 1031 SdrObjUserData* GetUserData(sal_uInt16 nNum) const; 1039 void DeleteUserData(sal_uInt16 nNum);
|
/aoo42x/main/sc/source/core/data/ |
H A D | table4.cxx | 98 xub_StrLen nNum = 0; in lcl_DecompValueString() local 99 if ( p[nNum] == '-' ) in lcl_DecompValueString() 100 nNum = nNeg = 1; in lcl_DecompValueString() 101 while ( p[nNum] && CharClass::isAsciiNumeric( p[nNum] ) ) in lcl_DecompValueString() 102 nNum++; in lcl_DecompValueString() 116 aValue.Erase( 0, nNum ); in lcl_DecompValueString() 123 while ( nNum && CharClass::isAsciiNumeric( p[nNum] ) ) in lcl_DecompValueString() 124 nNum--; in lcl_DecompValueString() 125 if ( p[nNum] == '-' ) in lcl_DecompValueString() 127 nNum--; in lcl_DecompValueString() [all …]
|
/aoo42x/main/svl/inc/svl/ |
H A D | zformat.hxx | 94 sal_uInt8 nNum; member in SvNumberNatNum 104 SvNumberNatNum() : eLang( LANGUAGE_DONTKNOW ), nNum(0), in SvNumberNatNum() 107 sal_uInt8 GetRawNum() const { return nNum; } in GetRawNum() 108 …8 GetNatNum() const { return bDBNum ? MapDBNumToNatNum( nNum, eLang, bDate ) : nNum; } in GetNatNum() 109 …sal_uInt8 GetDBNum() const { return bDBNum ? nNum : MapNatNumToDBNum( nNum, eLang, b… in GetDBNum() 114 nNum = nNumber; in SetNum() 157 void SetNatNumNum( sal_uInt8 nNum, sal_Bool bDBNum ) { aNatNum.SetNum( nNum, bDBNum ); } in SetNatNumNum() argument
|
/aoo42x/main/unotools/source/i18n/ |
H A D | localedatawrapper.cxx | 925 xub_StrLen nSign, nPar, nNum, nBlank, nSym; in getCurrFormatsImpl() local 938 if ( nSym < nNum ) in getCurrFormatsImpl() 945 if ( nSym < nNum ) in getCurrFormatsImpl() 969 if ( nSym < nNum ) in getCurrFormatsImpl() 975 else if ( nNum < nSign ) in getCurrFormatsImpl() 982 if ( nPar < nNum ) in getCurrFormatsImpl() 984 else if ( nSign < nNum ) in getCurrFormatsImpl() 994 if ( nSym < nNum ) in getCurrFormatsImpl() 1000 else if ( nNum < nSign ) in getCurrFormatsImpl() 1007 if ( nPar < nNum ) in getCurrFormatsImpl() [all …]
|
/aoo42x/main/tools/source/inet/ |
H A D | inetmsg.cxx | 373 sal_uInt16 nNum = rDateTime.GetDay(); in GenerateDateField() local 374 if (nNum < 10) rDateField += '0'; in GenerateDateField() 375 rDateField += ByteString::CreateFromInt32(nNum); in GenerateDateField() 385 nNum = rDateTime.GetHour(); in GenerateDateField() 386 if (nNum < 10) rDateField += '0'; in GenerateDateField() 387 rDateField += ByteString::CreateFromInt32(nNum); in GenerateDateField() 390 nNum = rDateTime.GetMin(); in GenerateDateField() 391 if (nNum < 10) rDateField += '0'; in GenerateDateField() 392 rDateField += ByteString::CreateFromInt32(nNum); in GenerateDateField() 395 nNum = rDateTime.GetSec(); in GenerateDateField() [all …]
|