Home
last modified time | relevance | path

Searched refs:nNewLen (Results 1 – 25 of 36) sorted by relevance

12

/aoo42x/main/io/source/stm/
H A Dstreamhelper.cxx103 sal_Int32 nNewLen = 1; in resizeBuffer() local
105 while( nMinSize > nNewLen ) { in resizeBuffer()
106 nNewLen = nNewLen << 1; in resizeBuffer()
110 if( nNewLen < m_nBufferLen ) { in resizeBuffer()
111 nNewLen = m_nBufferLen; in resizeBuffer()
114 if( nNewLen != m_nBufferLen ) { in resizeBuffer()
115 m_p = ( sal_Int8 * ) rtl_reallocateMemory( m_p , nNewLen ); in resizeBuffer()
121 memmove( &( m_p[m_nStart+(nNewLen-m_nBufferLen)]) , &(m_p[m_nStart]) , m_nBufferLen - m_nStart ); in resizeBuffer()
122 m_nStart += nNewLen - m_nBufferLen; in resizeBuffer()
124 m_nBufferLen = nNewLen; in resizeBuffer()
/aoo42x/main/sal/rtl/source/
H A Dstring.c188 sal_Size nNewLen; in rtl_impl_convertUStringToString() local
196 nNewLen = rtl_ImplGetFastUTF8ByteLen( pSource, nLength ); in rtl_impl_convertUStringToString()
199 if ( nNewLen == (sal_Size)nLength ) in rtl_impl_convertUStringToString()
234 nNewLen = nLength*aTextEncInfo.AverageCharSize; in rtl_impl_convertUStringToString()
243 pTemp = IMPL_RTL_STRINGNAME( ImplAlloc )( nNewLen ); in rtl_impl_convertUStringToString()
247 pTemp->buffer, nNewLen, in rtl_impl_convertUStringToString()
266 nNewLen = nDestBytes+(nNotConvertedChars*nMaxCharLen)+nNotConvertedChars+4; in rtl_impl_convertUStringToString()
271 if ( nNewLen > nDestBytes+8 ) in rtl_impl_convertUStringToString()
H A Dustring.c602 sal_Size nNewLen; in rtl_string2UString_status() local
609 nNewLen = rtl_ImplGetFastUTF8UnicodeLen( pStr, nLen ); in rtl_string2UString_status()
612 if ( nNewLen == (sal_Size)nLen ) in rtl_string2UString_status()
644 nNewLen = nLen; in rtl_string2UString_status()
649 pTemp = IMPL_RTL_STRINGNAME( ImplAlloc )( nNewLen ); in rtl_string2UString_status()
659 pTemp->buffer, nNewLen, in rtl_string2UString_status()
670 nNewLen += 8; in rtl_string2UString_status()
671 pTemp = IMPL_RTL_STRINGNAME( ImplAlloc )( nNewLen ); in rtl_string2UString_status()
681 pTemp->buffer, nNewLen, in rtl_string2UString_status()
691 if ( nNewLen > nDestChars+8 ) in rtl_string2UString_status()
H A Dstrtmpl.c1256 sal_Int32 nNewLen; in IMPL_RTL_STRINGNAME() local
1259 nNewLen = pStr->length-nCount; in IMPL_RTL_STRINGNAME()
1261 nNewLen += pNewSubStr->length; in IMPL_RTL_STRINGNAME()
1264 *ppThis = IMPL_RTL_STRINGNAME( ImplAlloc )( nNewLen ); in IMPL_RTL_STRINGNAME()
/aoo42x/main/svtools/source/control/
H A Dfmtfield.cxx460 aNewSel.Max() = nNewLen; in SetTextFormatted()
473 aNewSel.Max() = nNewLen; in SetTextFormatted()
474 aNewSel.Min() = nNewLen; in SetTextFormatted()
477 else if (aNewSel.Max() > nNewLen) in SetTextFormatted()
478 aNewSel.Max() = nNewLen; in SetTextFormatted()
568 sal_uInt16 nNewLen = rNew.Len(); in ImplSetTextImpl() local
575 aSel.Max() = nNewLen; in ImplSetTextImpl()
588 aSel.Max() = nNewLen; in ImplSetTextImpl()
589 aSel.Min() = nNewLen; in ImplSetTextImpl()
592 else if (aSel.Max() > nNewLen) in ImplSetTextImpl()
[all …]
/aoo42x/main/sw/source/filter/basflt/
H A Diodetect.cxx476 sal_Size nNewLen; in IsDetectableText() local
479 nNewLen = rLen; in IsDetectableText()
487 nNewLen = rtl_convertTextToUnicode( hConverter, hContext, pBuf, in IsDetectableText()
488 rLen, pNewBuf, nNewLen, in IsDetectableText()
498 nNewLen = rLen/2; in IsDetectableText()
510 for(xub_StrLen n = 0; n < nNewLen; ++n, pF+=2, pN+=2) in IsDetectableText()
519 sWork.ReleaseBufferAccess( static_cast< xub_StrLen >(nNewLen) ); in IsDetectableText()
522 for (sal_uLong nCnt = 0; nCnt < nNewLen; ++nCnt, ++pNewBuf) in IsDetectableText()
/aoo42x/main/fpicker/source/win32/filepicker/
H A Dgetfilenamewrapper.cxx88 DWORD nNewLen = m_nBufLen + 8; in ~CurDirGuard() local
89 wchar_t* pNewBuffer = new wchar_t[nNewLen]; in ~CurDirGuard()
93 _snwprintf( pNewBuffer, nNewLen, L"%s", m_pBuffer ); in ~CurDirGuard()
95 _snwprintf( pNewBuffer, nNewLen, L"\\\\?\\UNC\\%s", m_pBuffer+2 ); in ~CurDirGuard()
98 _snwprintf( pNewBuffer, nNewLen, L"\\\\?\\%s", m_pBuffer ); in ~CurDirGuard()
/aoo42x/main/sw/source/filter/ascii/
H A Dparasc.cxx339 sal_Size nNewLen = lGCount, nCntBytes; in ReadChars() local
340 sal_Unicode* pBuf = sWork.AllocBuffer( static_cast< xub_StrLen >(nNewLen) ); in ReadChars()
342 nNewLen = rtl_convertTextToUnicode( hConverter, hContext, in ReadChars()
343 pArr, lGCount, pBuf, nNewLen, in ReadChars()
354 sWork.ReleaseBufferAccess( static_cast< xub_StrLen >(nNewLen) ); in ReadChars()
357 pEnd = pStt + nNewLen; in ReadChars()
/aoo42x/main/basic/source/classes/
H A Dimage.cxx422 sal_uInt32 nNewLen = needed + 1024; in AddString() local
423 nNewLen &= 0xFFFFFC00; // trim to 1K border in AddString()
424 if( nNewLen > 0xFFFFFF00L ) in AddString()
425 nNewLen = 0xFFFFFF00L; in AddString()
427 if( (p = new sal_Unicode[ nNewLen ]) != NULL ) in AddString()
432 nStringSize = sal::static_int_cast< sal_uInt16 >(nNewLen); in AddString()
/aoo42x/main/xmloff/source/script/
H A Dxmlscripti.cxx160 sal_Int32 nNewLen = aMedDescr.getLength() + 1; in CreateChildContext() local
161 aMedDescr.realloc( nNewLen ); in CreateChildContext()
162 …aMedDescr[nNewLen-1].Name = ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "BreakMacroSignature" ) … in CreateChildContext()
163 aMedDescr[nNewLen-1].Value <<= (sal_Bool)sal_True; in CreateChildContext()
/aoo42x/main/sw/source/core/inc/
H A Dwrong.hxx259 xub_StrLen nNewPos, xub_StrLen nNewLen, sal_uInt16 nWhere ) in Insert() argument
267 maList.insert(i, SwWrongArea( rType, meType, xPropertyBag, nNewPos, nNewLen) ); in Insert()
272 xub_StrLen nNewPos, xub_StrLen nNewLen );
279 …void InsertSubList( xub_StrLen nNewPos, xub_StrLen nNewLen, sal_uInt16 nWhere, SwWrongList* pSubLi…
/aoo42x/main/sw/source/core/text/
H A Dwrong.cxx524 void SwWrongList::InsertSubList( xub_StrLen nNewPos, xub_StrLen nNewLen, sal_uInt16 nWhere, SwWrong… in InsertSubList() argument
535 maList.insert(i, SwWrongArea( rtl::OUString(), 0, nNewPos, nNewLen, pSubList ) ); in InsertSubList()
630 xub_StrLen nNewPos, xub_StrLen nNewLen ) in Insert() argument
649 if ( nNewLen < nSTLen ) in Insert()
664 maList.insert(aIter, SwWrongArea( rType, meType, xPropertyBag, nNewPos, nNewLen) ); in Insert()
H A Dinftxt.hxx828 const xub_StrLen nNewLen, in GetTxtSize() argument
831 return GetTxtSize( pOut, pSI, *pTxt, nNewIdx, nNewLen, nCompress ); in GetTxtSize()
/aoo42x/main/linguistic/source/
H A Dconvdiclist.cxx564 sal_Int32 nNewLen = aNewConv.getLength(); in queryConversions() local
565 if (nNewLen > 0) in queryConversions()
567 if (nCount + nNewLen > aRes.getLength()) in queryConversions()
569 aRes.realloc( nCount + nNewLen + 20 ); in queryConversions()
573 for (sal_Int32 k = 0; k < nNewLen; ++k) in queryConversions()
/aoo42x/main/sal/osl/w32/
H A Dfile_url.cxx776 … sal_uInt32 nNewLen = GetCaseCorrectPathName( reinterpret_cast<LPCTSTR>(pDecodedURL + nSkip), in _osl_getSystemPathFromFileURL() local
781 if ( nNewLen <= MAX_PATH - 12 in _osl_getSystemPathFromFileURL()
785 rtl_uString_newFromStr_WithLength( &strTempPath, aBuf, nNewLen ); in _osl_getSystemPathFromFileURL()
793 rtl_uString_newFromStr_WithLength( &strSuffix, aBuf + 2, nNewLen - 2 ); in _osl_getSystemPathFromFileURL()
805 rtl_uString_newFromStr_WithLength( &strSuffix, aBuf, nNewLen ); in _osl_getSystemPathFromFileURL()
/aoo42x/main/reportdesign/source/ui/dlg/
H A DFormula.cxx149 const xub_StrLen nNewLen = _sReplacement.Len(); in setCurrentFormula() local
152 if (nNewLen) in setCurrentFormula()
154 m_nEnd = m_nStart + nNewLen; in setCurrentFormula()
/aoo42x/main/cppuhelper/source/
H A Dinterfacecontainer.cxx52 static void realloc( Sequence< Reference< XInterface > > & rSeq, sal_Int32 nNewLen ) in realloc() argument
55 rSeq.realloc( nNewLen ); in realloc()
64 sal_Int32 nNewLen = rSeq.getLength() - 1; in sequenceRemoveElementAt() local
73 for( sal_Int32 j = i ; j < nNewLen; j++ ) in sequenceRemoveElementAt()
/aoo42x/main/editeng/source/misc/
H A Dsplwrap.cxx75 nNewLen = rNewText.Len(); in SvxPrepareAutoCorrect() local
76 if (nOldLen && nNewLen) in SvxPrepareAutoCorrect()
79 bNewHasDot = sal_Unicode( '.' ) == rNewText.GetChar( nNewLen - 1 ); in SvxPrepareAutoCorrect()
/aoo42x/main/cppuhelper/qa/ifcontainer/
H A Dcppu_ifcontainer.cxx146 int nNewLen = pContainer->addInterface(xRef); in TEST_F() local
148 ASSERT_TRUE(nNewLen == i + 1) << "addition length mismatch"; in TEST_F()
/aoo42x/main/sw/source/core/doc/
H A Dacmplwrd.cxx413 sal_uInt16 nMyLen = aWordLst.Count(), nNewLen = rNewLst.Count(); in CheckChangedList() local
416 for( ; nMyPos < nMyLen && nNewPos < nNewLen; ++nMyPos, ++nNewPos ) in CheckChangedList()
/aoo42x/main/oox/source/dump/
H A Doledumper.cxx585 sal_Int32 nNewLen = getLimitedValue< sal_Int32, sal_Int32 >( nLen, 0, 1024 ); in dumpCharArray8() local
586 OUString aData = mxStrm->readCharArrayUC( nNewLen, meTextEnc ); in dumpCharArray8()
599 sal_Int32 nNewLen = getLimitedValue< sal_Int32, sal_Int32 >( nLen, 0, 1024 ); in dumpCharArray16() local
600 OUString aData = mxStrm->readUnicodeArray( nNewLen ); in dumpCharArray16()
602 if( nNewLen & 1 ) dumpUnused( 2 ); // always padding to 32bit in dumpCharArray16()
/aoo42x/main/sc/source/filter/excel/
H A Dxestring.cxx541 void XclExpString::SetStrLen( sal_Int32 nNewLen ) in SetStrLen() argument
544 mnLen = limit_cast< sal_uInt16 >( nNewLen, 0, nAllowedLen ); in SetStrLen()
/aoo42x/main/sfx2/source/doc/
H A Ddoctemplates.cxx1361 sal_Int32 nNewLen = 0; in RemoveUINamesForTemplateDir_Impl() local
1369 nNewLen++; in RemoveUINamesForTemplateDir_Impl()
1370 aNewUINames[nNewLen-1].First = aUINames[nInd].First; in RemoveUINamesForTemplateDir_Impl()
1371 aNewUINames[nNewLen-1].Second = aUINames[nInd].Second; in RemoveUINamesForTemplateDir_Impl()
1374 aNewUINames.realloc( nNewLen ); in RemoveUINamesForTemplateDir_Impl()
/aoo42x/main/toolkit/source/controls/
H A Dunocontrols.cxx2415 sal_uInt16 nNewLen = nOldLen + nNewItems; in addItems() local
2417 uno::Sequence< ::rtl::OUString> aNewSeq( nNewLen ); in addItems()
2453 sal_uInt16 nNewLen = nOldLen - nCount; in removeItems() local
2455 uno::Sequence< ::rtl::OUString> aNewSeq( nNewLen ); in removeItems()
3020 sal_uInt16 nNewLen = nOldLen + nNewItems; in addItems() local
3022 uno::Sequence< ::rtl::OUString> aNewSeq( nNewLen ); in addItems()
3058 sal_uInt16 nNewLen = nOldLen - nCount; in removeItems() local
3060 uno::Sequence< ::rtl::OUString> aNewSeq( nNewLen ); in removeItems()
/aoo42x/main/sc/source/filter/inc/
H A Dxestring.hxx259 void SetStrLen( sal_Int32 nNewLen );

Completed in 228 milliseconds

12