/trunk/main/filter/source/placeware/ |
H A D | Base64Codec.cxx | 77 sal_Int32 nLen(nFullLen - nStart); in ThreeByteToFourByte() 91 nBinaer = ((sal_uInt8)pBuffer[nStart + 0]) << 16; in ThreeByteToFourByte() 96 nBinaer = (((sal_uInt8)pBuffer[nStart + 0]) << 16) + in ThreeByteToFourByte() 97 (((sal_uInt8)pBuffer[nStart + 1]) << 8); in ThreeByteToFourByte() 102 nBinaer = (((sal_uInt8)pBuffer[nStart + 0]) << 16) + in ThreeByteToFourByte() 103 (((sal_uInt8)pBuffer[nStart + 1]) << 8) + in ThreeByteToFourByte() 104 ((sal_uInt8)pBuffer[nStart + 2]); in ThreeByteToFourByte() 145 void FourByteToThreeByte (sal_uInt8* pBuffer, sal_Int32& nLength, const sal_Int32 nStart, const rtl… 169 pBuffer[nStart + 0] = (sal_uInt8)OneByte; 175 pBuffer[nStart + 1] = (sal_uInt8)OneByte; [all …]
|
/trunk/main/filter/source/xsltfilter/ |
H A D | XMLBase64Codec.cxx | 77 sal_Int32 nLen(nFullLen - nStart); in ThreeByteToFourByte() 91 nBinaer = ((sal_uInt8)pBuffer[nStart + 0]) << 16; in ThreeByteToFourByte() 96 nBinaer = (((sal_uInt8)pBuffer[nStart + 0]) << 16) + in ThreeByteToFourByte() 97 (((sal_uInt8)pBuffer[nStart + 1]) << 8); in ThreeByteToFourByte() 102 nBinaer = (((sal_uInt8)pBuffer[nStart + 0]) << 16) + in ThreeByteToFourByte() 103 (((sal_uInt8)pBuffer[nStart + 1]) << 8) + in ThreeByteToFourByte() 104 ((sal_uInt8)pBuffer[nStart + 2]); in ThreeByteToFourByte() 148 void FourByteToThreeByte (sal_uInt8* pBuffer, sal_Int32& nLength, const sal_Int32 nStart, const rtl… 172 pBuffer[nStart + 0] = (sal_uInt8)OneByte; 178 pBuffer[nStart + 1] = (sal_uInt8)OneByte; [all …]
|
/trunk/main/sc/source/core/tool/ |
H A D | refupdat.cxx | 43 if ( rRef >= nStart ) in lcl_MoveStart() 46 rRef = nStart + nDelta; //! begrenzen ??? in lcl_MoveStart() 64 if ( rRef >= nStart ) in lcl_MoveEnd() 84 if ( rRef >= nStart && rRef <= nEnd ) in lcl_MoveReorder() 105 if ( rRef >= nStart ) in lcl_MoveReorder() 147 U nStart, U nEnd, S nDelta, U nMask ) in lcl_MoveRefPart() argument 158 n = nStart + nDelta; in lcl_MoveRefPart() 208 (nStart <= n1 && n1 < nStart + nD) // n1 innerhalb des Insert in IsExpand() 215 void Expand( R& n1, R& n2, U nStart, S nD ) in Expand() argument 218 if ( n2 + 1 == nStart ) in Expand() [all …]
|
H A D | scmatrix.cxx | 520 SCSIZE nStart = i * nRowCount; in MatCopy() local 523 if (IsNonValueType( (nType = mnValType[nStart+j]))) in MatCopy() 524 mRes.PutStringEntry( pMat[nStart+j].pS, nType, nStart+j ); in MatCopy() 527 mRes.pMat[nStart+j].fVal = pMat[nStart+j].fVal; in MatCopy() 528 mRes.mnValType[nStart+j] = nType; in MatCopy() 550 SCSIZE nStart = i * nRowCount; in MatCopy() local 569 SCSIZE nStart = i * nRowCount; in MatCopy() local 592 SCSIZE nStart = i * nRowCount; in MatTrans() local 595 if (IsNonValueType( (nType = mnValType[nStart+j]))) in MatTrans() 610 SCSIZE nStart = i * nRowCount; in MatTrans() local [all …]
|
/trunk/main/l10ntools/source/ |
H A D | gsicheck.cxx | 173 sal_uInt16 nStart = 0; in GSILine() local 176 aUniqId = sTmp.Copy( nStart, nPos - nStart ); in GSILine() 178 nPos = sTmp.Search( "($$)", nStart ); in GSILine() 182 aLineType = sTmp.Copy( nStart, nPos - nStart ); in GSILine() 190 aLangId = sTmp.Copy( nStart, nPos - nStart ); in GSILine() 200 aText = sTmp.Copy( nStart ); in GSILine() 246 sal_uInt16 nStart = 0; in ReassembleLine() local 250 nPos = Search( "($$)", nStart ); in ReassembleLine() 255 nPos = Search( "($$)", nStart ); in ReassembleLine() 260 nPos = Search( "($$)", nStart ); in ReassembleLine() [all …]
|
/trunk/main/sw/source/ui/misc/ |
H A D | redlndlg.cxx | 317 if (nStart) in Init() 323 aRedlineParents.DeleteAndDestroy(nStart, aRedlineParents.Count() - nStart); in Init() 327 InsertParents(nStart); in Init() 587 if (!nStart) in CalcDiff() 621 return nStart; in CalcDiff() 632 RemoveParents(nStart, i - 1); in CalcDiff() 634 return nStart - 1; in CalcDiff() 642 for (i = nStart + 1; i < nCount; i++) in CalcDiff() 647 InsertParents(nStart, i - 1); in CalcDiff() 649 return nStart - 1; in CalcDiff() [all …]
|
/trunk/main/vcl/os2/source/gdi/ |
H A D | os2layout.cxx | 147 virtual void DropGlyph( int nStart ); 514 if( nStart >= mnGlyphCount ) 520 for( int i = 0; i < nStart; ++i ) 566 if( ++nStart >= mnGlyphCount ) 571 if( mpGlyphAdvances[nStart-1] != mpGlyphOrigAdvs[nStart-1] ) 834 if( nStart > mnGlyphCount ) 840 for( int i = 0; i < nStart; ++i ) 852 if( nStart > 0 ) 853 mpGlyphAdvances[ nStart-1 ] += nDelta; 860 void Os2SalLayout::DropGlyph( int nStart ) argument [all …]
|
/trunk/main/vcl/aqua/source/gdi/ |
H A D | atslayout.cxx | 61 virtual void DropGlyph( int nStart ); 476 nStart = 0; in GetNextGlyphs() 493 for( int i = 0; i < nStart; ++i ) in GetNextGlyphs() 501 nCharPos = mpGlyphs2Chars[nStart]; in GetNextGlyphs() 520 nYOffset = mpDeltaY[ nStart ]; in GetNextGlyphs() 535 const int nCharPos = mpGlyphs2Chars ? mpGlyphs2Chars[nStart] : nStart + mnMinCharPos; in GetNextGlyphs() 564 nCharPos = mpGlyphs2Chars[nStart]; in GetNextGlyphs() 566 nCharPos = nStart + mnMinCharPos; in GetNextGlyphs() 571 if( ++nStart >= mnGlyphCount ) in GetNextGlyphs() 578 if( mpGlyphAdvances[nStart-1] != mpGlyphOrigAdvs[nStart-1] ) in GetNextGlyphs() [all …]
|
/trunk/main/sc/source/core/data/ |
H A D | attarray.cxx | 507 SCROW nStart=0; in ApplyStyleArea() local 607 SCROW nStart=0; in ApplyLineStyleArea() local 737 SCROW nStart=0; in ApplyCacheArea() local 866 SCROW nStart=0; in MergePatternArea() local 1746 SCROW nStart = 0; in FindStyleSheet() local 1778 nStart = nEnd + 1; in FindStyleSheet() 1879 rFirstRow = nStart ? ( pData[nStart-1].nRow + 1 ) : 0; in GetFirstVisibleAttr() 1883 ++nStart; in GetFirstVisibleAttr() 2198 SCROW nStart; in DeleteRow() local 2200 nStart = 0; in DeleteRow() [all …]
|
/trunk/main/sw/source/core/doc/ |
H A D | docsort.cxx | 239 xub_StrLen nStart = 0; in GetKey() local 243 if( STRING_NOTFOUND != ( nStart = rStr.Search( nDeli, nStart ) ) ) in GetKey() 245 nStart++; in GetKey() 251 return rStr.Copy( nStart, nEnd-nStart ); in GetKey() 354 while( nStart <= nEnd ) in SortText() 541 sal_uInt16 nStart = 0; in SortTbl() local 547 while( nStart < rLines.Count() ) in SortTbl() 556 nStart++; in SortTbl() 561 if( nStart == rLines.Count() ) in SortTbl() 562 nStart = 0; in SortTbl() [all …]
|
/trunk/main/sw/source/core/text/ |
H A D | porlay.hxx | 47 xub_StrLen nStart, nLen; member in SwCharRange 50 const xub_StrLen nInitLen = 0): nStart( nInitStart ), nLen(nInitLen) {} in SwCharRange() 51 inline xub_StrLen &Start() { return nStart; } in Start() 52 inline const xub_StrLen &Start() const { return nStart; } in Start() 54 { if ( nNew < nStart ) { nLen += nStart-nNew; nStart = nNew; } } in LeftMove() 56 { return nStart + nLen; } in End() 60 { return nStart < rRange.nStart; } in operator <() 62 { return nStart + nLen > rRange.nStart + rRange.nLen; } in operator >() 256 const xub_StrLen nStart ); //$ ostream
|
H A D | porlay.cxx | 716 nStart = rRange.nStart; in operator +=() 720 if(rRange.nStart + rRange.nLen > nStart + nLen) { in operator +=() 721 nLen = rRange.nStart + rRange.nLen - nStart; in operator +=() 723 if(rRange.nStart < nStart) { in operator +=() 724 nLen += nStart - rRange.nStart; in operator +=() 725 nStart = rRange.nStart; in operator +=() 1353 ASSERT( nStartPosOfGroup <= nStart && GetScriptChg( nScriptIdx ) > nStart, in InitScriptInfo() 1359 if ( nStart > 0 && nStartPosOfGroup < nStart ) in InitScriptInfo() 1416 int32_t nStart = 0; in UpdateBidiInfo() local 1426 nStart = nEnd; in UpdateBidiInfo() [all …]
|
/trunk/main/filter/source/msfilter/ |
H A D | msocximex.cxx | 3000 long nStart = pS->Tell(); in Read() local 3163 ReadAlign(pS, pS->Tell() - nStart, 4); in Read() 3199 long nStart = pS->Tell(); in Read() local 3264 ReadAlign(pS, pS->Tell() - nStart, 4); in Read() 3289 long nStart = pS->Tell(); in Read() local 3331 ReadAlign(pS,pS->Tell() - nStart, 4); in Read() 3795 long nStart = pS->Tell(); in Read() local 3863 long nStart = pS->Tell(); in Read() local 4060 long nStart = pS->Tell(); in Read() local 4969 long nStart = pS->Tell(); in Read() local [all …]
|
/trunk/main/svtools/source/edit/ |
H A D | textdata.cxx | 143 void TEParaPortion::MarkInvalid( sal_uInt16 nStart, short nDiff ) in MarkInvalid() argument 147 mnInvalidPosStart = ( nDiff >= 0 ) ? nStart : ( nStart + nDiff ); in MarkInvalid() 154 ( ( mnInvalidPosStart+mnInvalidDiff ) == nStart ) ) in MarkInvalid() 159 else if ( ( nDiff < 0 ) && ( mnInvalidDiff < 0 ) && ( mnInvalidPosStart == nStart ) ) in MarkInvalid() 166 DBG_ASSERT( ( nDiff >= 0 ) || ( (nStart+nDiff) >= 0 ), "MarkInvalid: Diff out of Range" ); in MarkInvalid() 167 … mnInvalidPosStart = Min( mnInvalidPosStart, (sal_uInt16) ( (nDiff < 0) ? nStart+nDiff : nDiff ) ); in MarkInvalid() 178 void TEParaPortion::MarkSelectionInvalid( sal_uInt16 nStart, sal_uInt16 /*nEnd*/ ) in MarkSelectionInvalid() argument 182 mnInvalidPosStart = nStart; in MarkSelectionInvalid() 187 mnInvalidPosStart = Min( mnInvalidPosStart, nStart ); in MarkSelectionInvalid()
|
/trunk/main/ucb/source/ucp/package/ |
H A D | pkguri.cxx | 136 sal_Int32 nStart = PACKAGE_URL_SCHEME_LENGTH + 3; in init() local 163 nEnd = aPureUri.indexOf( '/', nStart ); in init() 168 OUString aNormPackage = aPureUri.copy( nStart ); in init() 172 nStart, aPureUri.getLength() - nStart, aNormPackage ); in init() 209 OUString aNormPackage = aPureUri.copy( nStart, nEnd - nStart ); in init() 213 nStart, nEnd - nStart, aNormPackage ); in init()
|
/trunk/main/cppuhelper/source/ |
H A D | unourl.cxx | 76 sal_Int32 nStart = 0; in Impl() local 89 nStart = i; in Impl() 97 = rDescriptor.copy(nStart, i - nStart).toAsciiLowerCase(); in Impl() 111 nStart = i; in Impl() 118 aKey = rDescriptor.copy(nStart, i - nStart).toAsciiLowerCase(); in Impl() 119 nStart = i + 1; in Impl() 134 rtl::Uri::decode(rDescriptor.copy(nStart, in Impl() 135 i - nStart), in Impl()
|
/trunk/main/sc/source/filter/starcalc/ |
H A D | scflt.cxx | 1760 SCROW nStart; in LoadColAttr() local 1768 nStart = 0; in LoadColAttr() 1802 nStart = 0; in LoadColAttr() 1821 nStart = 0; in LoadColAttr() 1846 nStart = 0; in LoadColAttr() 1902 nStart = nEnd + 1; in LoadColAttr() 1916 nStart = 0; in LoadColAttr() 2035 nStart = 0; in LoadColAttr() 2119 nStart = 0; in LoadColAttr() 2141 nStart = 0; in LoadColAttr() [all …]
|
/trunk/main/sw/source/filter/html/ |
H A D | htmlatr.cxx | 1198 xub_StrLen nStart; member in HTMLSttEndPos 1218 nStart( nStt ), in HTMLSttEndPos() 1667 if( nTestEnd <= nStart ) in InsertItem() 1677 nStart = nTestEnd; in InsertItem() 1712 else if( nTestEnd > nStart ) in SplitItem() 1724 if( nTestStart < nStart ) in SplitItem() 1815 if( nStart != nEnd ) in InsertNoScript() 1929 SplitItem( rItem, nStart, nEnd ); in InsertNoScript() 1995 xub_StrLen nPos = nStart; in Insert() 2105 if( nStart > nPos ) in OutStartAttrs() [all …]
|
/trunk/main/comphelper/source/misc/ |
H A D | locale.cxx | 441 sal_Int32 nStart = 0; in fromISO() local 445 nEnd = sParser.indexOf(SEPERATOR_LC, nStart); in fromISO() 451 setLanguage(sParser.copy(nStart, nEnd-nStart)); in fromISO() 452 nStart = nEnd+1; in fromISO() 455 nEnd = sParser.indexOf(SEPERATOR_CV, nStart); in fromISO() 457 nEnd = sParser.indexOf(SEPERATOR_CV_LINUX, nStart); in fromISO() 460 setCountry(sParser.copy(nStart, sParser.getLength()-nStart)); in fromISO() 463 nStart = nEnd+1; in fromISO() 466 setVariant(sParser.copy(nStart, sParser.getLength()-nStart)); in fromISO()
|
/trunk/main/sc/source/ui/view/ |
H A D | prevloc.cxx | 112 SCCOL nStart = 0; in LimitToArea() local 113 while ( nStart < nCols && pColInfo[nStart].nPixelEnd < rPixelArea.Left() ) in LimitToArea() 114 ++nStart; in LimitToArea() 121 if ( nStart > 0 || nEnd < nCols ) in LimitToArea() 123 if ( nEnd > nStart ) in LimitToArea() 125 SCCOL nNewCount = nEnd - nStart; in LimitToArea() 139 SCROW nStart = 0; in LimitToArea() local 140 while ( nStart < nRows && pRowInfo[nStart].nPixelEnd < rPixelArea.Top() ) in LimitToArea() 141 ++nStart; in LimitToArea() 148 if ( nStart > 0 || nEnd < nRows ) in LimitToArea() [all …]
|
/trunk/main/editeng/source/editeng/ |
H A D | editdoc.hxx | 448 sal_uInt16 nStart; // koennte durch nStartPortion ersetzt werden member in EditLine 465 { return ( (nIndex >= nStart ) && ( nIndex < nEnd ) ); } in IsIn() 468 { return ( ( nIndex >= nStart ) && ( bInclEnd ? ( nIndex <= nEnd ) : ( nIndex < nEnd ) ) ); } in IsIn() 470 void SetStart( sal_uInt16 n ) { nStart = n; } in SetStart() 471 sal_uInt16 GetStart() const { return nStart; } in GetStart() 472 sal_uInt16& GetStart() { return nStart; } in GetStart() 504 sal_uInt16 GetLen() const { return nEnd - nStart; } in GetLen() 516 sal_Bool IsEmpty() const { return (nEnd > nStart) ? sal_False : sal_True; } in IsEmpty() 590 void MarkInvalid( sal_uInt16 nStart, short nDiff); 591 void MarkSelectionInvalid( sal_uInt16 nStart, sal_uInt16 nEnd ); [all …]
|
/trunk/main/sc/source/ui/docshell/ |
H A D | impex.cxx | 994 nStart[nPos] = nFieldStart; in lcl_PutString() 1006 sal_uInt16 nDay = (sal_uInt16) rStr.Copy( nStart[nDP], nEnd[nDP]+1-nStart[nDP] ).ToInt32(); in lcl_PutString() 1007 sal_uInt16 nYear = (sal_uInt16) rStr.Copy( nStart[nYP], nEnd[nYP]+1-nStart[nYP] ).ToInt32(); in lcl_PutString() 1008 String aMStr = rStr.Copy( nStart[nMP], nEnd[nMP]+1-nStart[nMP] ); in lcl_PutString() 1073 nHour = (sal_Int16) rStr.Copy( nStart[3], nEnd[3]+1-nStart[3]).ToInt32(); in lcl_PutString() 1075 nMinute = (sal_Int16) rStr.Copy( nStart[4], nEnd[4]+1-nStart[4]).ToInt32(); in lcl_PutString() 1077 nSecond = (sal_Int16) rStr.Copy( nStart[5], nEnd[5]+1-nStart[5]).ToInt32(); in lcl_PutString() 1082 aT += rStr.Copy( nStart[6], nEnd[6]+1-nStart[6]); in lcl_PutString() 1136 if ( nNext <= nStart ) in lcl_GetFixed() 1147 return rLine.Copy(nStart+1, nSpace-nStart-2); in lcl_GetFixed() [all …]
|
/trunk/main/tools/source/generic/ |
H A D | poly.cxx | 578 sal_uInt16 nStart; in Polygon() local 594 nStart = 1; in Polygon() 603 nStart = 0; in Polygon() 607 for(; nStart < nEnd; nStart++, fStart += fStep ) in Polygon() 1898 sal_uInt16 nStart; in operator >>() local 1928 for ( nStart = i; i < nStart+nCurPoints; i++ ) in operator >>() 1937 for ( nStart = i; i < nStart+nCurPoints; i++ ) in operator >>() 1981 sal_uInt16 nStart; in operator <<() local 1994 nStart = i; in operator <<() 2030 for( ; nStart < i; nStart++ ) in operator <<() [all …]
|
/trunk/main/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/ |
H A D | AsciiReplaceFilter.java | 463 int nStart = 0; in implts_import() local 473 nEnd = sText.indexOf('\n',nStart); in implts_import() 475 if (nEnd==-1 && nStart<nLength) in implts_import() 481 String sLine = sText.substring(nStart,nEnd); in implts_import() 482 nStart = nEnd+1; in implts_import() 608 int nStart = rBuffer.indexOf(aOptions.m_sOld); in implts_replace() local 610 int nEnd = nStart+nLength; in implts_replace() 611 while (nStart!=-1) in implts_replace() 613 rBuffer.replace(nStart,nEnd,aOptions.m_sNew); in implts_replace() 614 nStart = rBuffer.indexOf(aOptions.m_sOld,nEnd); in implts_replace() [all …]
|
/trunk/main/sc/source/ui/vba/ |
H A D | vbacharacters.cxx | 32 … xContext ), m_xSimpleText(xRange), m_aPalette( dPalette), nLength(-1), nStart(1), bReplace( Repl… in ScVbaCharacters() 34 Start >>= nStart; in ScVbaCharacters() 35 if ( nStart < 1 ) in ScVbaCharacters() 36 nStart = 1; // silently correct user error ( as ms ) in ScVbaCharacters() 37 nStart--; // OOo is 0 based in ScVbaCharacters() 41 if ( nStart ) in ScVbaCharacters() 43 if ( ( nStart + 1 ) > m_xSimpleText->getString().getLength() ) in ScVbaCharacters() 46 xTextCursor->goRight( nStart, sal_False ); in ScVbaCharacters()
|