/trunk/main/sal/osl/w32/ |
H A D | tempfile.cxx | 242 DWORD nLength; in osl_getTempDirURL() local 245 nLength = GetTempPathW( aBuffer.getBufSizeInSymbols(), lpBuffer ); in osl_getTempDirURL() 247 if ( nLength > nBufferLength ) in osl_getTempDirURL() 252 else if ( nLength ) in osl_getTempDirURL() 256 if ( '\\' == lpBuffer[nLength-1] ) in osl_getTempDirURL() 257 lpBuffer[nLength-1] = 0; in osl_getTempDirURL()
|
H A D | file_url.cxx | 241 sal_Int32 nLength = rtl_uString_getLength( path ); in IsValidFilePath() local 251 …if ( 0 == rtl_ustr_shortenedCompareIgnoreAsciiCase_WithLength( path->buffer, nLength, reinterpret_… in IsValidFilePath() 257 …else if ( 0 == rtl_ustr_shortenedCompareIgnoreAsciiCase_WithLength( path->buffer, nLength, reinter… in IsValidFilePath() 867 sal_uInt32 nLength = 0; in _osl_getFileURLFromSystemPath() local 877 nLength = rtl_uString_getLength( strPath ); in _osl_getFileURLFromSystemPath() 878 …_uString_newFromStr_WithLength( &strBuffer, strPath->buffer + nIgnore - 2, nLength - nIgnore + 2 ); in _osl_getFileURLFromSystemPath() 890 nLength = rtl_uString_getLength( strPath ); in _osl_getFileURLFromSystemPath() 891 … rtl_uString_newFromStr_WithLength( &strBuffer, strPath->buffer + nIgnore, nLength - nIgnore ); in _osl_getFileURLFromSystemPath()
|
/trunk/main/oox/source/ole/ |
H A D | vbainputstream.cxx | 159 … sal_uInt16 nLength = extractValue< sal_uInt16 >( nCopyToken, 0, 16 - nBitCount ) + 3; in updateChunk() local 162 mbEof = (nOffset > maChunk.size()) || (maChunk.size() + nLength > 4096); in updateChunk() 167 maChunk.resize( maChunk.size() + nLength ); in updateChunk() 168 sal_uInt8* pnTo = &*(maChunk.end() - nLength); in updateChunk() 169 const sal_uInt8* pnEnd = pnTo + nLength; in updateChunk() 172 size_t nRunLen = ::std::min< size_t >( nLength, nOffset ); in updateChunk()
|
/trunk/main/oox/source/xls/ |
H A D | addressconverter.cxx | 277 const OUString& rString, sal_Int32 nStart, sal_Int32 nLength ) in parseOoxAddress2d() argument 280 if( (nStart < 0) || (nStart >= rString.getLength()) || (nLength < 2) ) in parseOoxAddress2d() 284 const sal_Unicode* pcEndChar = pcChar + ::std::min( nLength, rString.getLength() - nStart ); in parseOoxAddress2d() 339 const OUString& rString, sal_Int32 nStart, sal_Int32 nLength ) in parseOoxRange2d() argument 342 if( (nStart < 0) || (nStart >= rString.getLength()) || (nLength < 2) ) in parseOoxRange2d() 345 sal_Int32 nEnd = nStart + ::std::min( nLength, rString.getLength() - nStart ); in parseOoxRange2d() 351 … parseOoxAddress2d( ornEndColumn, ornEndRow, rString, nColonPos + 1, nLength - nColonPos - 1 ); in parseOoxRange2d() 354 if( parseOoxAddress2d( ornStartColumn, ornStartRow, rString, nStart, nLength ) ) in parseOoxRange2d() 485 sal_Int32 nLength = cChar; in parseBiffTargetUrl() local 486 if( nLength + 1 == pcEnd - pcChar ) in parseBiffTargetUrl() [all …]
|
/trunk/main/connectivity/source/drivers/dbase/ |
H A D | DNoException.cxx | 195 sal_uInt32 nLength; in ReadMemo() local 196 (*m_pMemoStream) >> nLength; in ReadMemo() 199 nLength -= 8; in ReadMemo() 203 while ( nLength > STRING_MAXLEN ) in ReadMemo() 209 nLength -= STRING_MAXLEN; in ReadMemo() 211 if ( nLength > 0 ) in ReadMemo() 214 aBStr.Expand(static_cast<xub_StrLen>(nLength)); in ReadMemo() 215 m_pMemoStream->Read(aBStr.AllocBuffer(static_cast<xub_StrLen>(nLength)),nLength); in ReadMemo()
|
/trunk/main/package/source/package/zipapi/ |
H A D | CRC32.cxx | 81 sal_Int32 nLength, nTotal = 0; in updateStream() local 85 nLength = xStream->readBytes ( aSeq, n_ConstBufferSize ); in updateStream() 86 updateSegment ( aSeq, 0, nLength ); in updateStream() 87 nTotal += nLength; in updateStream() 89 while ( nLength == n_ConstBufferSize ); in updateStream()
|
H A D | ZipFile.cxx | 700 sal_Int32 nLength, nPos, nEnd; in findEND() local 704 nLength = static_cast <sal_Int32 > (aGrabber.getLength()); in findEND() 705 if (nLength == 0 || nLength < ENDHDR) in findEND() 707 nPos = nLength - ENDHDR - ZIP_MAXNAMELEN; in findEND() 711 aGrabber.readBytes ( aBuffer, nLength - nEnd ); in findEND() 715 nPos = nLength - nEnd - ENDHDR; in findEND() 850 sal_Int32 nLength; in recover() local 856 nLength = static_cast <sal_Int32 > (aGrabber.getLength()); in recover() 857 if (nLength == 0 || nLength < ENDHDR) in recover() 911 && ( nGenPos + nPos + nBlockLength ) <= nLength ) in recover()
|
H A D | ZipOutputStream.cxx | 252 sal_Int32 nLength = aDeflater.doDeflateSegment(m_aDeflateBuffer, 0, m_aDeflateBuffer.getLength()); in doDeflate() local 254 if ( nLength > 0 ) in doDeflate() 256 uno::Sequence< sal_Int8 > aTmpBuffer( m_aDeflateBuffer.getConstArray(), nLength ); in doDeflate() 263 sal_Int32 nEat = ::std::min( nLength, nDiff ); in doDeflate() 299 void ZipOutputStream::writeEND(sal_uInt32 nOffset, sal_uInt32 nLength) in writeEND() argument 307 aChucker << nLength; in writeEND()
|
/trunk/main/framework/source/services/ |
H A D | substitutepathvars.cxx | 810 sal_Int32 nLength = 0; // = count of letters from "$(" to ")" in string in impl_substituteVariable() local 820 nLength = nEndPosition - nPosition + 1; in impl_substituteVariable() 828 while ( ( nPosition != STRPOS_NOTFOUND ) && ( nLength > 3 ) ) // "$(" ")" in impl_substituteVariable() 865 nReplaceLength = nLength; in impl_substituteVariable() 871 rtl::OUString aVarName = aSubString.copy( 2, nLength-3 ); in impl_substituteVariable() 877 nReplaceLength = nLength; in impl_substituteVariable() 891 nPosition += nLength; in impl_substituteVariable() 904 nLength = 0; in impl_substituteVariable() 914 nLength = 0; in impl_substituteVariable() 917 nLength = nEndPosition - nPosition + 1; in impl_substituteVariable() [all …]
|
/trunk/main/sd/source/ui/annotations/ |
H A D | annotationtag.cxx | 76 sal_Int32 nLength = rName.getLength(); in getInitials() local 78 while( nLength ) in getInitials() 81 while( nLength && (*pStr <= ' ') ) in getInitials() 83 nLength--; pStr++; in getInitials() 87 if( nLength ) in getInitials() 90 nLength--; pStr++; in getInitials() 94 while( nLength && (*pStr > ' ') ) in getInitials() 96 nLength--; pStr++; in getInitials()
|
/trunk/main/oox/source/drawingml/ |
H A D | hyperlinkcontext.cxx | 114 sal_Int32 nLength = 1; in HyperLinkContext() local 115 while( ( nIndex2 + nLength ) < sHref.getLength() ) in HyperLinkContext() 117 sal_Unicode nChar = sHref[ nIndex2 + nLength ]; in HyperLinkContext() 120 nLength++; in HyperLinkContext() 122 sal_Int32 nPageNumber = sHref.copy( nIndex2, nLength ).toInt32(); in HyperLinkContext()
|
/trunk/main/desktop/source/app/ |
H A D | appinit.cxx | 434 sal_Int32 nLength = aTempBaseURL.getLength(); in CreateTemporaryDirectory() local 435 if ( aTempBaseURL.matchAsciiL( "/", 1, nLength-1 ) ) in CreateTemporaryDirectory() 436 aTempBaseURL = aTempBaseURL.copy( 0, nLength - 1 ); in CreateTemporaryDirectory() 456 nLength = aTempBaseURL.getLength(); in CreateTemporaryDirectory() 457 if ( aTempBaseURL.matchAsciiL( "/", 1, nLength-1 ) ) in CreateTemporaryDirectory() 458 aTempBaseURL = aTempBaseURL.copy( 0, nLength - 1 ); in CreateTemporaryDirectory()
|
/trunk/main/xmloff/source/text/ |
H A D | XMLFootnoteImportContext.cxx | 100 sal_Int16 nLength = xAttrList->getLength(); in StartElement() local 101 for(sal_Int16 nAttr1 = 0; nAttr1 < nLength; nAttr1++) in StartElement() 127 for(sal_Int16 nAttr2 = 0; nAttr2 < nLength; nAttr2++) in StartElement() 204 sal_Int16 nLength = xAttrList->getLength(); in CreateChildContext() local 205 for(sal_Int16 nAttr = 0; nAttr < nLength; nAttr++) in CreateChildContext()
|
/trunk/main/svx/workben/msview/ |
H A D | msview.cxx | 185 sal_uInt32 nLength = maRecordHeader.nRecLen; in compareContent() local 187 while( nLength ) in compareContent() 189 sal_Size nRead = (nBufferSize < nLength) ? nBufferSize : nLength; in compareContent() 198 nLength -= nRead; in compareContent() 201 return nLength == 0; in compareContent() 988 sal_Size nLength = pAtom->getLength(); in GetAtomText() local 989 aText += String( pAtomConfig->format( pAtom->getStream(), nLength ) ); in GetAtomText() 993 sal_Size nLength = pAtom->getLength(); in GetAtomText() local 994 aText += String( ElementConfig::dump_hex( pAtom->getStream(), nLength ) ); in GetAtomText()
|
/trunk/main/xmloff/source/core/ |
H A D | SettingsExportHelper.cxx | 294 sal_Int32 nLength(aProps.getLength()); in exportSequencePropertyValue() local 295 if(nLength) in exportSequencePropertyValue() 299 for (sal_Int32 i = 0; i < nLength; i++) in exportSequencePropertyValue() 372 sal_Int32 nLength(aProps.getLength()); in exportbase64Binary() local 376 if(nLength) in exportbase64Binary() 392 sal_Int32 nLength = aProps.getLength(); in exportMapEntry() local 393 if (nLength) in exportMapEntry() 398 for (sal_Int32 i = 0; i < nLength; i++) in exportMapEntry()
|
/trunk/main/dbaccess/source/ui/dlg/ |
H A D | dlgsave.cxx | 327 …sal_uInt16 nLength = m_pImpl->m_xMetaData.is() ? static_cast<sal_uInt16>(m_pImpl->m_xMetaData->ge… in OSaveAsDlg() local 328 nLength = nLength ? nLength : EDIT_NOLIMIT; in OSaveAsDlg() 330 m_pImpl->m_aTitle.SetMaxTextLen(nLength); in OSaveAsDlg() 331 m_pImpl->m_aSchema.SetMaxTextLen(nLength); in OSaveAsDlg() 332 m_pImpl->m_aCatalog.SetMaxTextLen(nLength); in OSaveAsDlg()
|
/trunk/main/sc/source/core/tool/ |
H A D | rangeutl.cxx | 377 sal_Int32 nLength = rString.getLength(); in IndexOf() local 382 while( !bExitLoop && (nIndex < nLength) ) in IndexOf() 390 return (nIndex < nLength) ? nIndex : -1; in IndexOf() 398 sal_Int32 nLength = rString.getLength(); in IndexOfDifferent() local 402 while( !bExitLoop && (nIndex < nLength) ) in IndexOfDifferent() 408 return (nIndex < nLength) ? nIndex : -1; in IndexOfDifferent() 418 sal_Int32 nLength = rString.getLength(); in GetTokenByOffset() local 419 if( nOffset >= nLength ) in GetTokenByOffset() 428 nTokenEnd = nLength; in GetTokenByOffset() 432 nOffset = (nNextBegin < 0) ? nLength : nNextBegin; in GetTokenByOffset()
|
/trunk/main/odk/examples/DevelopersGuide/Charts/ |
H A D | JavaSampleChartAddIn.java | 223 final int nLength = aData.length; in refresh() local 228 aMaxPtSeq[ 0 ] = new Point[ nLength ]; in refresh() 230 aMinPtSeq[ 0 ] = new Point[ nLength ]; in refresh() 232 for( i = 0; i < nLength; i++ ) in refresh() 288 int i, nLength = aServices.length; in supportsService() local 291 for( i = 0; !bResult && i < nLength; ++i ) in supportsService()
|
/trunk/main/ucb/source/ucp/webdav/ |
H A D | webdavresponseparser.cxx | 724 const sal_Int32 nLength(maLockEntries.getLength()); in endElement() local 729 maLockEntries.realloc(nLength + 1); in endElement() 730 maLockEntries[nLength] = aEntry; in endElement() 792 const sal_Int32 nLength(maLocks.getLength()); in endElement() local 802 maLocks.realloc(nLength + 1); in endElement() 803 maLocks[nLength] = aLock; in endElement() 812 const sal_Int32 nLength(maLockTokens.getLength()); in endElement() local 813 maLockTokens.realloc(nLength + 1); in endElement() 814 maLockTokens[nLength] = maHrefLocks; in endElement()
|
/trunk/main/vcl/unx/generic/app/ |
H A D | i18n_ic.cxx | 207 maClientData.aText.nLength = 0; in SalI18N_InputContext() 599 SalI18N_InputContext::CommitStringCallback (sal_Unicode* pText, sal_Size nLength) in CommitStringCallback() argument 604 call_data.length = nLength; in CommitStringCallback() 614 SalI18N_InputContext::CommitKeyEvent(sal_Unicode* pText, sal_Size nLength) in CommitKeyEvent() argument 616 if (nLength == 1 && IsControlCode(pText[0])) in CommitKeyEvent() 625 aTextEvent.mnCursorPos = nLength; in CommitKeyEvent() 626 aTextEvent.maText = UniString(pText, nLength); in CommitKeyEvent()
|
/trunk/main/comphelper/source/misc/ |
H A D | sequence.cxx | 36 sal_Int32 nLength = _rList.getLength(); in findValue() local 44 for (sal_Int32 i = 0; i < nLength; ++i, ++pTArray) in findValue() 68 staruno::Sequence<sal_Int16> aRetSeq( nLength ); in findValue() 74 for (sal_Int32 i = 0; i < nLength; ++i, ++pTArray) in findValue()
|
/trunk/main/xmloff/source/draw/ |
H A D | animationexport.cxx | 734 const sal_Int32 nLength = aUserData.getLength(); in prepareNode() local 894 const sal_Int32 nLength = aUserData.getLength(); in exportNode() local 1185 sal_Int32 nLength = aKeyTimes.getLength(); in exportAnimate() local 1188 while( nLength-- ) in exportAnimate() 1229 sal_Int32 nLength = aTimeFilter.getLength(); in exportAnimate() local 1232 while( nLength-- ) in exportAnimate() 1460 const sal_Int32 nLength = pSequence->getLength(); in convertValue() local 1466 for( nElement = 0; nElement < nLength; nElement++, pAny++ ) in convertValue() 1587 const sal_Int32 nLength = pSequence->getLength(); in convertTiming() local 1593 for( nElement = 0; nElement < nLength; nElement++, pAny++ ) in convertTiming() [all …]
|
/trunk/main/drawinglayer/inc/drawinglayer/primitive2d/ |
H A D | textlayoutdevice.hxx | 89 sal_uInt32 nLength) const; 95 sal_uInt32 nLength, 101 sal_uInt32 nLength) const; 115 sal_uInt32 nLength) const;
|
/trunk/main/tools/source/inet/ |
H A D | inetmime.cxx | 2594 nLength += 3; in writeHeaderFieldBody() 2600 ++nLength; in writeHeaderFieldBody() 2615 ++nLength; in writeHeaderFieldBody() 2629 + nLength in writeHeaderFieldBody() 2696 nLength, in writeHeaderFieldBody() 2711 nLength, in writeHeaderFieldBody() 2725 ++nLength; in writeHeaderFieldBody() 2736 ++nLength; in writeHeaderFieldBody() 2749 ++nLength; in writeHeaderFieldBody() 2780 + nLength in writeHeaderFieldBody() [all …]
|
/trunk/main/sw/source/core/text/ |
H A D | itrcrsr.cxx | 1434 xub_StrLen nLength = pPor->GetLen(); in GetCrsrOfst() local 1458 if( !nLength ) in GetCrsrOfst() 1502 if ( 1 == nLength ) in GetCrsrOfst() 1556 --nLength; in GetCrsrOfst() 1671 pCMS->pSpecialPos->nCharOfst = nLength; in GetCrsrOfst() 1672 nLength = 0; // SMARTTAGS in GetCrsrOfst() 1680 if( bFieldInfo && nLength == pPor->GetLen() && in GetCrsrOfst() 1683 --nLength; in GetCrsrOfst() 1715 nLength = ((SwFlyCntPortion*)pPor)-> in GetCrsrOfst() 1728 nLength = pPor->GetCrsrOfst( nX ); in GetCrsrOfst() [all …]
|