/trunk/main/autodoc/source/cosv/strings/ |
H A D | streamstr.cxx | 171 Advance(nLength); in operator <<() 183 Advance(nLength); in operator <<() 219 Advance( nLength ); in operator <<() 233 Advance( nLength ); in operator <<() 247 Advance( nLength ); in operator <<() 261 Advance( nLength ); in operator <<() 275 Advance( nLength ); in operator <<() 289 Advance( nLength ); in operator <<() 304 Advance( nLength ); in operator <<() 319 Advance( nLength ); in operator <<() [all …]
|
/trunk/main/svx/workben/msview/ |
H A D | xmlconfig.cxx | 218 while( (nLength--) > 0 ) in toInt() 386 nLength--; in dump_hex() 399 if( (nRow == 16) || (nLength==0) ) in dump_hex() 421 if( nLength >= sizeof(sal_Char) ) in dump_byte() 429 nLength -= sizeof(sal_Char); in dump_byte() 438 if( nLength >= sizeof( sal_uInt32 ) ) in dump_uint() 446 nLength-= sizeof( sal_uInt32 ); in dump_uint() 456 nLength = 0; in dump_unistring() 463 if( nLength >= sizeof( float ) ) in dump_float() 471 nLength-= sizeof( float ); in dump_float() [all …]
|
/trunk/main/store/source/ |
H A D | storlckb.cxx | 183 nLength = SAL_MIN(nLength, nBytes); in readAt() 188 nLength); in readAt() 191 rnDone += nLength; in readAt() 192 nOffset += nLength; in readAt() 193 nBytes -= nLength; in readAt() 202 nLength = SAL_MIN(nLength, nBytes); in readAt() 213 nLength); in readAt() 221 nLength); in readAt() 225 rnDone += nLength; in readAt() 275 nLength = SAL_MIN(nLength, nBytes); in writeAt() [all …]
|
/trunk/main/comphelper/source/misc/ |
H A D | accessibletexthelper.cxx | 117 …return ( nStartIndex >= 0 ) && ( nStartIndex <= nLength ) && ( nEndIndex >= 0 ) && ( nEndIndex <= … in implIsValidRange() 238 sal_Int32 nLength = sText.getLength(); in implGetLineBoundary() local 240 if ( implIsValidIndex( nIndex, nLength ) || nIndex == nLength ) in implGetLineBoundary() 243 rBoundary.endPos = nLength; in implGetLineBoundary() 345 if ( !implIsValidIndex( nIndex, nLength ) && nIndex != nLength ) in getTextAtIndex() 450 if ( !implIsValidIndex( nIndex, nLength ) && nIndex != nLength ) in getTextBeforeIndex() 575 if ( !implIsValidIndex( nIndex, nLength ) && nIndex != nLength ) in getTextBehindIndex() 600 if ( aBoundary.endPos < nLength ) in getTextBehindIndex() 636 while ( !bFound && ++nI < nLength ) in getTextBehindIndex() 654 if ( aBoundary.endPos < nLength ) in getTextBehindIndex() [all …]
|
/trunk/main/vcl/unx/generic/app/ |
H A D | i18n_cb.cxx | 100 if (ptext->nLength == 0) in Preedit_DeleteText() 102 ptext->nLength = from; in Preedit_DeleteText() 108 if (to == (int)ptext->nLength) in Preedit_DeleteText() 111 ptext->nLength = from; in Preedit_DeleteText() 123 ptext->nLength -= howmuch; in Preedit_DeleteText() 130 from, to, ptext->nLength ); in Preedit_DeleteText() 133 ptext->nLength = from; in Preedit_DeleteText() 253 pText->nLength += howmany; in Preedit_InsertText() 270 from, amount, ptext->nLength ); in Preedit_UpdateAttributes() 601 size_t nLength = 0; in StatusDrawCallback() local [all …]
|
/trunk/main/sal/qa/rtl/oustring/ |
H A D | rtl_ustr.cxx | 449 memcpy(pStr, aStr1.getStr(), nLength); in TEST_F() 482 memcpy(pStr, aStr1.getStr(), nLength); in TEST_F() 499 memcpy(pStr, aStr1.getStr(), nLength); in TEST_F() 529 memcpy(pStr, aStr1.getStr(), nLength); in TEST_F() 555 memcpy(pStr, aStr1.getStr(), nLength); in TEST_F() 591 memcpy(pStr, aStr1.getStr(), nLength); in TEST_F() 619 memcpy(pStr, aStr1.getStr(), nLength); in TEST_F() 647 memcpy(pStr, suStr.getStr(), nLength); in TEST_F() 658 memcpy(pStr, suStr.getStr(), nLength); in TEST_F() 673 memcpy(pStr, suStr.getStr(), nLength); in TEST_F() [all …]
|
/trunk/main/sax/source/expatwrap/ |
H A D | saxwriter.cxx | 1052 nLength = m_nLevel; in getIndentPrefixLength() 1056 return nLength; in getIndentPrefixLength() 1150 sal_Int32 nLength(0); in startElement() local 1155 nLength ++; // "<" in startElement() 1161 nLength ++; // " " in startElement() 1166 nLength += 2; // =" in startElement() 1172 nLength += 1; // " in startElement() 1175 nLength ++; // '>' in startElement() 1310 sal_Int32 nLength(0); in processingInstruction() local 1387 sal_Int32 nLength(0); in comment() local [all …]
|
/trunk/main/i18npool/source/textconversion/ |
H A D | textconversion_zh.cxx | 83 rtl_uString * newStr = x_rtl_uString_new_WithLength( nLength ); // defined in x_rtl_ustring.h in getCharConversion() 84 for (sal_Int32 i = 0; i < nLength; i++) in getCharConversion() 120 return getCharConversion(aText, nStartPos, nLength, toSChinese, nConversionOptions); in getWordConversion() 124 while (currPos < nLength) { in getWordConversion() 125 sal_Int32 len = nLength - currPos; in getWordConversion() 223 TextConversion_zh::getConversions( const OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength, in getConversions() argument 232 result.Boundary.endPos = nStartPos + nLength; in getConversions() 238 TextConversion_zh::getConversion( const OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength, in getConversion() argument 251 return getCharConversion(aText, nStartPos, nLength, toSChinese, nConversionOptions); in getConversion() 278 if (offset.getLength() < 2*nLength) in getConversionWithOffset() [all …]
|
H A D | textconversionImpl.cxx | 37 TextConversionImpl::getConversions( const OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength, in getConversions() argument 44 if (nLength > len) in getConversions() 45 nLength = len > 0 ? len : 0; in getConversions() 46 …return xTC->getConversions(aText, nStartPos, nLength, rLocale, nConversionType, nConversionOptions… in getConversions() 50 TextConversionImpl::getConversion( const OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength, in getConversion() argument 57 if (nLength > len) in getConversion() 58 nLength = len > 0 ? len : 0; in getConversion() 59 …return xTC->getConversion(aText, nStartPos, nLength, rLocale, nConversionType, nConversionOptions); in getConversion() 63 …ersionImpl::getConversionWithOffset( const OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength, in getConversionWithOffset() argument 70 if (nLength > len) in getConversionWithOffset() [all …]
|
/trunk/main/ucbhelper/source/provider/ |
H A D | simpleinteractionrequest.cxx | 41 sal_Int32 nLength = 0; in SimpleInteractionRequest() local 50 ++nLength; in SimpleInteractionRequest() 56 ++nLength; in SimpleInteractionRequest() 62 ++nLength; in SimpleInteractionRequest() 68 ++nLength; in SimpleInteractionRequest() 72 OSL_ENSURE( nLength > 0, in SimpleInteractionRequest() 76 aContinuations( nLength ); in SimpleInteractionRequest() 78 nLength = 0; in SimpleInteractionRequest() 81 aContinuations[ nLength++ ] = xAbort; in SimpleInteractionRequest() 84 aContinuations[ nLength++ ] = xRetry; in SimpleInteractionRequest() [all …]
|
/trunk/main/sal/rtl/source/ |
H A D | string.c | 169 sal_Int32 nLength, in rtl_impl_convertUStringToString() argument 175 && (pSource != NULL || nLength == 0) in rtl_impl_convertUStringToString() 176 && nLength >= 0 in rtl_impl_convertUStringToString() 179 if ( !nLength ) in rtl_impl_convertUStringToString() 199 if ( nNewLen == (sal_Size)nLength ) in rtl_impl_convertUStringToString() 216 nLength--; in rtl_impl_convertUStringToString() 218 while ( nLength ); in rtl_impl_convertUStringToString() 234 nNewLen = nLength*aTextEncInfo.AverageCharSize; in rtl_impl_convertUStringToString() 246 pSource, nLength, in rtl_impl_convertUStringToString() 265 nNotConvertedChars = nLength-nSrcChars; in rtl_impl_convertUStringToString() [all …]
|
H A D | byteseq.c | 149 void SAL_CALL rtl_byte_sequence_construct( sal_Sequence **ppSequence , sal_Int32 nLength ) in rtl_byte_sequence_construct() argument 158 if( nLength ) in rtl_byte_sequence_construct() 160 *ppSequence = (sal_Sequence *) rtl_allocateZeroMemory( SAL_SEQUENCE_HEADER_SIZE + nLength ); in rtl_byte_sequence_construct() 165 (*ppSequence)->nElements = nLength; in rtl_byte_sequence_construct() 176 void SAL_CALL rtl_byte_sequence_constructNoDefault( sal_Sequence **ppSequence , sal_Int32 nLength ) in rtl_byte_sequence_constructNoDefault() argument 185 *ppSequence = (sal_Sequence *) rtl_allocateMemory( SAL_SEQUENCE_HEADER_SIZE + nLength ); in rtl_byte_sequence_constructNoDefault() 190 (*ppSequence)->nElements = nLength; in rtl_byte_sequence_constructNoDefault() 196 sal_Sequence **ppSequence, const sal_Int8 *pData , sal_Int32 nLength ) in rtl_byte_sequence_constructFromArray() argument 198 rtl_byte_sequence_constructNoDefault( ppSequence , nLength ); in rtl_byte_sequence_constructFromArray() 200 rtl_copyMemory( (*ppSequence)->elements, pData, nLength ); in rtl_byte_sequence_constructFromArray()
|
/trunk/main/sw/source/core/access/ |
H A D | accportions.cxx | 125 if( nLength == 0 ) in Text() 140 nLength ) ) ); in Text() 141 nModelPosition += nLength; in Text() 234 if( ( nLength == 0 ) && ( nModelPosition == 0 ) ) in Special() 250 nModelPosition += nLength; in Special() 265 void SwAccessiblePortionData::Skip(sal_uInt16 nLength) in Skip() argument 271 nModelPosition += nLength; in Skip() 552 nNew = nLength; in GetSentenceBoundary() 558 while (nCurrent < nLength); in GetSentenceBoundary() 561 pSentences->push_back( nLength ); in GetSentenceBoundary() [all …]
|
/trunk/main/reportdesign/source/ui/dlg/ |
H A D | DateTime.cxx | 160 sal_Int32 nLength = 0; in Execute() local 162 aValues[nLength].Name = PROPERTY_SECTION; in Execute() 163 aValues[nLength++].Value <<= m_xHoldAlive; in Execute() 165 aValues[nLength].Name = PROPERTY_TIME_STATE; in Execute() 166 aValues[nLength++].Value <<= m_aTime.IsChecked(); in Execute() 168 aValues[nLength].Name = PROPERTY_DATE_STATE; in Execute() 169 aValues[nLength++].Value <<= m_aDate.IsChecked(); in Execute() 171 aValues[nLength].Name = PROPERTY_FORMATKEYDATE; in Execute() 174 aValues[nLength].Name = PROPERTY_FORMATKEYTIME; in Execute() 191 aValues[nLength].Name = PROPERTY_WIDTH; in Execute() [all …]
|
/trunk/main/sc/source/filter/lotus/ |
H A D | filter.cxx | 109 sal_uInt16 nOpcode, nLength; in generate_Opcodes() local 111 aStream >> nOpcode >> nLength; in generate_Opcodes() 120 pOps[ nOpcode ] ( aStream, nLength ); in generate_Opcodes() 126 aStream.SeekRel(nLength); in generate_Opcodes() 127 aStream >> nOpcode >> nLength; in generate_Opcodes() 130 aStream.SeekRel(nLength); in generate_Opcodes() 131 aStream >> nOpcode >> nLength; in generate_Opcodes() 134 aStream.SeekRel(nLength); in generate_Opcodes() 138 aStream.SeekRel(nLength); in generate_Opcodes() 141 aStream.SeekRel(nLength); in generate_Opcodes() [all …]
|
/trunk/main/filter/source/placeware/ |
H A D | Base64Codec.cxx | 145 void FourByteToThreeByte (sal_uInt8* pBuffer, sal_Int32& nLength, const sal_Int32 nStart, const rtl… 147 nLength = 0; 157 nLength = 1; 159 nLength = 2; 161 nLength = 3; 171 if (nLength == 1) 177 if (nLength == 2) 189 sal_Int32 nLength(0); 194 FourByteToThreeByte (pBuffer, nLength, k, sBuffer.copy(i, 4)); 195 nSecondLength += nLength; [all …]
|
H A D | tempfile.cxx | 94 DWORD nLength; in my_getTempDirURL() local 99 nLength = GetTempPathW( elementsof(szBuffer), lpBuffer ); in my_getTempDirURL() 100 if ( nLength > nBufferLength ) in my_getTempDirURL() 102 nLength++; in my_getTempDirURL() 103 lpBuffer = (LPWSTR)alloca( sizeof(WCHAR) * nLength ); in my_getTempDirURL() 104 nBufferLength = nLength - 1; in my_getTempDirURL() 106 } while ( nLength > nBufferLength ); in my_getTempDirURL() 108 if ( nLength ) in my_getTempDirURL() 112 if ( '\\' == lpBuffer[nLength-1] ) in my_getTempDirURL() 113 lpBuffer[nLength-1] = 0; in my_getTempDirURL()
|
/trunk/main/filter/source/xsltfilter/ |
H A D | XMLBase64Codec.cxx | 148 void FourByteToThreeByte (sal_uInt8* pBuffer, sal_Int32& nLength, const sal_Int32 nStart, const rtl… 150 nLength = 0; 160 nLength = 1; 162 nLength = 2; 164 nLength = 3; 174 if (nLength == 1) 180 if (nLength == 2) 192 sal_Int32 nLength(0); 197 FourByteToThreeByte (pBuffer, nLength, k, sBuffer.copy(i, 4)); 198 nSecondLength += nLength; [all …]
|
/trunk/main/xmloff/source/style/ |
H A D | MultiPropertySetHelper.cxx | 56 nLength( 0 ), in MultiPropertySetHelper() 64 nLength++; in MultiPropertySetHelper() 67 pPropertyNames = new OUString[nLength]; in MultiPropertySetHelper() 68 for( sal_Int16 i = 0; i < nLength; i++ ) in MultiPropertySetHelper() 75 nLength( 0 ), in MultiPropertySetHelper() 83 nLength++; in MultiPropertySetHelper() 86 pPropertyNames = new OUString[nLength]; in MultiPropertySetHelper() 87 for( sal_Int16 i = 0; i < nLength; i++ ) in MultiPropertySetHelper() 109 pSequenceIndex = new sal_Int16[nLength] ; in hasProperties() 115 for( i = 0; i < nLength; i++ ) in hasProperties() [all …]
|
/trunk/main/unotools/source/config/ |
H A D | historyoptions.cxx | 325 if (nSize < nLength) in impl_truncateList() 327 for (sal_uInt32 i=nLength-1; i>=nSize; --i) in impl_truncateList() 387 const sal_Int32 nLength = lOrders.getLength(); in Clear() local 388 for(sal_Int32 i=0; i<nLength; ++i) in Clear() 394 for(sal_Int32 j=0; j<nLength; ++j) in Clear() 460 Sequence< Sequence< PropertyValue > > aRet(nLength); in GetList() 462 for(sal_Int32 nItem=0; nItem<nLength; ++nItem) in GetList() 541 for (sal_Int32 i=0; i<nLength; ++i) in AppendItem() 581 if ( nLength == nMaxSize ) in AppendItem() 588 if ( nLength != nMaxSize ) in AppendItem() [all …]
|
/trunk/main/vbahelper/source/msforms/ |
H A D | vbalistbox.cxx | 91 sal_Int16 nLength = static_cast<sal_Int16>( sList.getLength() ); in setValue() local 94 for( i = 0; i < nLength; i++ ) in setValue() 149 if( nIndex < 0 || nIndex >= nLength ) in Selected() 188 sal_Int16 nLength = static_cast<sal_Int16>( nList.getLength() ); in setValueEvent() local 190 for( sal_Int16 i = 0; i < nLength; i++ ) in setValueEvent() 198 for( ; i < nLength - 1; i++ ) in setValueEvent() 202 nList.realloc( nLength - 1 ); in setValueEvent() 213 nList.realloc( nLength + 1 ); in setValueEvent() 214 nList[nLength] = nIndex; in setValueEvent() 235 sal_Int32 nLength = nList.getLength(); in getValueEvent() local [all …]
|
/trunk/main/drawinglayer/source/primitive2d/ |
H A D | textlayoutdevice.cxx | 215 sal_uInt32 nLength) const in getTextWidth() 217 return mrDevice.GetTextWidth(rText, nIndex, nLength); in getTextWidth() 224 sal_uInt32 nLength, in getTextOutlines() argument 228 sal_uInt32 nTextLength(nLength); in getTextOutlines() 251 nLength, in getTextOutlines() 263 nLength, in getTextOutlines() 273 sal_uInt32 nLength) const in getTextBoundRect() 275 sal_uInt32 nTextLength(nLength); in getTextBoundRect() 292 nLength); in getTextBoundRect() 331 sal_uInt32 nLength) const in getTextArray() [all …]
|
/trunk/main/package/source/package/zipapi/ |
H A D | Deflater.cxx | 77 , nLength(0) in Deflater() 89 pStream->avail_in = nLength; in doDeflateBytes() 101 nOffset += nLength - pStream->avail_in; in doDeflateBytes() 102 nLength = pStream->avail_in; in doDeflateBytes() 115 pStream->avail_in = nLength; in doDeflateBytes() 128 nOffset += nLength - pStream->avail_in; in doDeflateBytes() 129 nLength = pStream->avail_in; in doDeflateBytes() 146 nLength = nNewLength; in setInputSegment() 162 return nLength <=0; in needsInput() 194 nOffset = nLength = 0; in reset()
|
/trunk/main/sw/source/core/unocore/ |
H A D | unotextmarkup.cxx | 123 ::sal_Int32 nLength, in commitStringMarkup() argument 130 if ( !mpTxtNode || nLength <= 0 ) in commitStringMarkup() 189 ModelToViewHelper::ConvertToModelPosition( mpConversionMap, nStart + nLength - 1); in commitStringMarkup() 218 nLength = aEndPos.mnPos + 1 - aStartPos.mnPos; in commitStringMarkup() 267 nLength = nEnd - nStart; in commitStringMarkup() 278 static_cast< xub_StrLen >(nStart), static_cast< xub_StrLen >(nLength) ); in commitStringMarkup() 292 ::sal_Int32 nLength, in lcl_commitGrammarMarkUp() argument 325 nLength = aEndPos.mnPos + 1 - aStartPos.mnPos; in lcl_commitGrammarMarkUp() 366 nLength = nEnd - nStart; in lcl_commitGrammarMarkUp() 377 static_cast< xub_StrLen >(nStart), static_cast< xub_StrLen >(nLength) ); in lcl_commitGrammarMarkUp() [all …]
|
/trunk/main/i18npool/inc/ |
H A D | textconversion.hxx | 50 getConversions( const ::rtl::OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength, 57 getConversion( const ::rtl::OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength, 64 … getConversionWithOffset( const ::rtl::OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength, 110 getConversions( const ::rtl::OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength, 117 getConversion( const ::rtl::OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength, 124 … getConversionWithOffset( const ::rtl::OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength, 146 …getCharConversions(const rtl::OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength, sal_Bool to… 166 getConversions( const ::rtl::OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength, 173 getConversion( const ::rtl::OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength, 180 … getConversionWithOffset( const ::rtl::OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength, [all …]
|