Home
last modified time | relevance | path

Searched refs:nStrLen (Results 1 – 25 of 60) sorted by relevance

123

/AOO41X/main/oox/source/xls/
H A Drichstring.cxx559 sal_Int32 nStrLen = rText.getLength(); in createTextPortions() local
560 if( nStrLen > 0 ) in createTextPortions()
565 if( rPortions.back().mnPos < nStrLen ) in createTextPortions()
566 rPortions.push_back( FontPortionModel( nStrLen, -1 ) ); in createTextPortions()
569 … for( FontPortionModelList::const_iterator aIt = rPortions.begin(); aIt->mnPos < nStrLen; ++aIt ) in createTextPortions()
572 if( (0 < nPortionLen) && (aIt->mnPos + nPortionLen <= nStrLen) ) in createTextPortions()
590 sal_Int32 nStrLen = rText.getLength(); in createTextPortions() local
591 if( nStrLen > 0 ) in createTextPortions()
596 if( rPortions.back().mnPos < nStrLen ) in createTextPortions()
597 rPortions.push_back( FontPortionModel( nStrLen, -1 ) ); in createTextPortions()
[all …]
H A Dworkbooksettings.cxx231 sal_uInt16 nStrLen = rStrm.readuInt16(); in importFileSharing() local
233 if( nStrLen > 0 ) in importFileSharing()
234 maFileSharing.maUserName = rStrm.readUniStringBody( nStrLen ); in importFileSharing()
/AOO41X/main/formula/source/ui/dlg/
H A DFormulaHelper.cxx201 xub_StrLen nStrLen = rFormula.Len(); in GetFunctionStart() local
203 if ( nStrLen < nStart ) in GetFunctionStart()
233 while ( !bFound && (nParPos < nStrLen) ) in GetFunctionStart()
238 while ( (nParPos < nStrLen) && rFormula.GetChar(nParPos) != '"' ) in GetFunctionStart()
292 xub_StrLen nStrLen = rStr.Len(); in GetFunctionEnd() local
294 if ( nStrLen < nStart ) in GetFunctionEnd()
301 while ( !bFound && (nStart < nStrLen) ) in GetFunctionEnd()
308 while ( (nStart < nStrLen) && rStr.GetChar(nStart) != '"' ) in GetFunctionEnd()
350 xub_StrLen nStrLen = rStr.Len(); in GetArgStart() local
352 if ( nStrLen < nStart ) in GetArgStart()
[all …]
/AOO41X/main/tools/source/string/
H A Dstrascii.cxx403 const sal_Char* pAsciiStr, xub_StrLen nStrLen ) in ReplaceAscii() argument
411 AppendAscii( pAsciiStr, nStrLen ); in ReplaceAscii()
418 AssignAscii( pAsciiStr, nStrLen ); in ReplaceAscii()
423 if ( nStrLen == STRING_LEN ) in ReplaceAscii()
424 nStrLen = ImplStringLen( pAsciiStr ); in ReplaceAscii()
425 if ( !nStrLen ) in ReplaceAscii()
433 if ( nCount == nStrLen ) in ReplaceAscii()
436 ImplCopyAsciiStr( mpData->maStr+nIndex, pAsciiStr, nStrLen ); in ReplaceAscii()
441 sal_Int32 n = ImplGetCopyLen( mpData->mnLen-nCount, nStrLen ); in ReplaceAscii()
564 xub_StrLen nStrLen = ImplStringLen( pAsciiStr ); in SearchAscii() local
[all …]
H A Dstrimp.cxx235 inline sal_Int32 ImplGetCopyLen( sal_Int32 nStrLen, sal_Int32 nCopyLen ) in ImplGetCopyLen() argument
237 OSL_ASSERT(nStrLen <= STRING_MAXLEN && nCopyLen <= STRING_MAXLEN); in ImplGetCopyLen()
238 if ( nCopyLen > STRING_MAXLEN-nStrLen ) in ImplGetCopyLen()
239 nCopyLen = STRING_MAXLEN-nStrLen; in ImplGetCopyLen()
822 sal_Int32 nStrLen = rStr.mpData->mnLen; in Replace() local
823 if ( !nStrLen ) in Replace()
835 if ( nCount == nStrLen ) in Replace()
843 nStrLen = ImplGetCopyLen( mpData->mnLen-nCount, nStrLen ); in Replace()
846 STRINGDATA* pNewData = ImplAllocData( mpData->mnLen-nCount+nStrLen ); in Replace()
850 memcpy( pNewData->maStr+nIndex, rStr.mpData->maStr, nStrLen*sizeof( STRCODE ) ); in Replace()
[all …]
/AOO41X/main/sal/rtl/source/
H A Dstrtmpl.c396 sal_Int32 nStrLen, in IMPL_RTL_STRNAME()
408 while ( nStrLen > 0 ) in IMPL_RTL_STRNAME()
414 nStrLen--; in IMPL_RTL_STRNAME()
421 while ( nStrLen > 0 ) in IMPL_RTL_STRNAME()
426 if ( nSubLen <= nStrLen ) in IMPL_RTL_STRNAME()
448 nStrLen--; in IMPL_RTL_STRNAME()
468 sal_Int32 nStrLen, in IMPL_RTL_STRNAME()
479 pStr += nStrLen; in IMPL_RTL_STRNAME()
480 while ( nStrLen > 0 ) in IMPL_RTL_STRNAME()
482 nStrLen--; in IMPL_RTL_STRNAME()
[all …]
/AOO41X/main/sw/source/core/text/
H A Dfrmform.cxx1065 const xub_StrLen nStrLen, in FormatAdjust() argument
1082 nEnd < nStrLen && in FormatAdjust()
1092 !IsFollow() && nStrLen == 1 && in FormatAdjust()
1158 ( nStrLen == 0 && GetTxtNode()->GetNumRule() ) ) in FormatAdjust()
1172 ( nStrLen > 0 || in FormatAdjust()
1173 ( nStrLen == 0 && GetTxtNode()->GetNumRule() ) ) in FormatAdjust()
1255 _AdjustFollow( rLine, nEnd, nStrLen, nNew ); in FormatAdjust()
1435 const xub_StrLen nStrLen = rString.Len(); in _Format() local
1443 if( rReformat.Len() > nStrLen ) in _Format()
1444 rReformat.Len() = nStrLen; in _Format()
[all …]
/AOO41X/main/sw/source/filter/ww8/
H A DWW8Sttbf.hxx112 sal_uInt16 nStrLen = getU16(nOffset); in WW8Sttb() local
114 m_Strings.push_back(getUString(nOffset +2, nStrLen)); in WW8Sttb()
116 nOffset += 2 + 2 * nStrLen; in WW8Sttb()
120 sal_uInt8 nStrLen = getU8(nOffset); in WW8Sttb() local
122 m_Strings.push_back(getUString(nOffset, nStrLen)); in WW8Sttb()
124 nOffset += 1 + nStrLen; in WW8Sttb()
/AOO41X/main/sot/source/sdstor/
H A Dstgole.cxx128 sal_uLong nStrLen = ::std::min( nLen1, (sal_Int32)0xFFFE ); in Load() local
130 sal_Char* p = new sal_Char[ nStrLen+1 ]; in Load()
131 p[nStrLen] = 0; in Load()
132 if( Read( p, nStrLen ) == nStrLen ) in Load()
134 aUserName = nStrLen ? String( p, gsl_getSystemTextEncoding() ) : String(); in Load()
/AOO41X/main/vcl/source/gdi/
H A Dcvtsvm.cxx918 sal_Int32 nStrLen( aStr.Len() ); in ImplConvertFromSVM1() local
920 pDXAry = new sal_Int32[ Max( nAryLen, nStrLen ) ]; in ImplConvertFromSVM1()
926 if( nAryLen != nStrLen ) in ImplConvertFromSVM1()
928 if( nAryLen+1 == nStrLen ) in ImplConvertFromSVM1()
930 sal_Int32* pTmpAry = new sal_Int32[nStrLen]; in ImplConvertFromSVM1()
941 if( nStrLen > 1 ) in ImplConvertFromSVM1()
942 … pDXAry[ nStrLen-1 ] = pDXAry[ nStrLen-2 ] + pTmpAry[ nStrLen-1 ] - pTmpAry[ nStrLen-2 ]; in ImplConvertFromSVM1()
944 … pDXAry[ nStrLen-1 ] = pTmpAry[ nStrLen-1 ]; // len=1: 0th position taken to be 0 in ImplConvertFromSVM1()
1747 const sal_uLong nStrLen = aText.Len(); in ImplWriteActions() local
1753 rOStm << (sal_Int32) ( 24 + ( nStrLen + 1 ) ); in ImplWriteActions()
[all …]
/AOO41X/main/sc/source/core/data/
H A Dstlpool.cxx257 xub_StrLen nStrLen; in CreateStandardStyles() local
416 nStrLen = aStr.Len(); in CreateStandardStyles()
417 …uickInsertField( SvxFieldItem(SvxPageField(), EE_FEATURE_FIELD), ESelection(0,nStrLen,0,nStrLen) ); in CreateStandardStyles()
486 nStrLen = aStr.Len(); in CreateStandardStyles()
491 …uickInsertField( SvxFieldItem(SvxPageField(), EE_FEATURE_FIELD), ESelection(0,nStrLen,0,nStrLen) ); in CreateStandardStyles()
H A Dglobal.cxx1222 xub_StrLen nStrLen = 0; in ScFunctionList() local
1261 nStrLen = (*(pDesc->pFuncName)).Len(); in ScFunctionList()
1262 if (nStrLen > nMaxFuncNameLen) in ScFunctionList()
1263 nMaxFuncNameLen = nStrLen; in ScFunctionList()
1369 nStrLen = (*(pDesc->pFuncName)).Len(); in ScFunctionList()
1370 if ( nStrLen > nMaxFuncNameLen) in ScFunctionList()
1371 nMaxFuncNameLen = nStrLen; in ScFunctionList()
1386 nStrLen = (*(pDesc->pFuncName)).Len(); in ScFunctionList()
1387 if (nStrLen > nMaxFuncNameLen) in ScFunctionList()
1388 nMaxFuncNameLen = nStrLen; in ScFunctionList()
/AOO41X/main/svtools/source/svrtf/
H A Dparrtf.cxx110 xub_StrLen nStrLen = 0; in _GetNextToken() local
112 *(pStr + nStrLen++) = nNextCh; in _GetNextToken()
113 if( MAX_TOKEN_LEN == nStrLen ) in _GetNextToken()
117 nStrLen = 0; in _GetNextToken()
121 if( nStrLen ) in _GetNextToken()
123 aStrBuffer.ReleaseBufferAccess( nStrLen ); in _GetNextToken()
/AOO41X/main/rsc/source/tools/
H A Drsctools.cxx471 sal_uInt32 nStrLen = 0; in PutUTF8() local
473 nStrLen = strlen( pStr ); in PutUTF8()
475 sal_uInt32 n = nStrLen +1; in PutUTF8()
481 rtl_copyMemory( GetPointer( nOldLen ), pStr, nStrLen ); in PutUTF8()
483 pMem[ nOldLen + nStrLen ] = '\0'; in PutUTF8()
/AOO41X/main/sal/qa/OStringBuffer/
H A Drtl_String_Utils.cxx62 sal_uInt32 nStrLen = 0; in AStringLen() local
73 nStrLen = (sal_uInt32)( pTempStr - pAStr ); in AStringLen()
76 return nStrLen; in AStringLen()
340 const sal_uInt32 nStrLen in AStringNIsValid() argument
343 sal_uInt32 nLen = nStrLen; in AStringNIsValid()
/AOO41X/main/sal/qa/rtl_strings/
H A Drtl_String_Utils.cxx62 sal_uInt32 nStrLen = 0; in AStringLen() local
73 nStrLen = (sal_uInt32)( pTempStr - pAStr ); in AStringLen()
76 return nStrLen; in AStringLen()
318 const sal_uInt32 nStrLen in AStringNIsValid() argument
321 sal_uInt32 nLen = nStrLen; in AStringNIsValid()
/AOO41X/main/sc/source/filter/excel/
H A Dxicontent.cxx298 sal_uInt32 nStrLen; in ReadEmbeddedData() local
299 rStrm >> nStrLen; in ReadEmbeddedData()
300 if( nStrLen ) in ReadEmbeddedData()
302 rStrm >> nStrLen; in ReadEmbeddedData()
303 nStrLen /= 2; // it's byte count here... in ReadEmbeddedData()
306 lclAppendString32( *xLongName, rStrm, nStrLen, true ); in ReadEmbeddedData()
314 sal_uInt32 nStrLen; in ReadEmbeddedData() local
315 rStrm >> nStrLen; in ReadEmbeddedData()
316 nStrLen /= 2; // it's byte count here... in ReadEmbeddedData()
318 lclAppendString32( *xLongName, rStrm, nStrLen, true ); in ReadEmbeddedData()
H A Dexcimp8.cxx508 sal_uInt8 nStrLen[ 2 ] = { 0, 0 }; in ReadAutoFilter() local
557 rStrm >> nStrLen[ nE ]; in ReadAutoFilter()
604 if( nStrLen[ nE ] && pQueryEntries[ nE ] ) in ReadAutoFilter()
606 pQueryEntries[ nE ]->pStr->Assign ( rStrm.ReadUniString( nStrLen[ nE ] ) ); in ReadAutoFilter()
/AOO41X/main/sw/source/ui/docvw/
H A Dsrcedtw.cxx92 const sal_uInt16 nStrLen = rSource.Len(); in lcl_Highlight() local
99 while(nActPos < nStrLen) in lcl_Highlight()
102 if(rSource.GetChar(nActPos) == cOpenBracket && nActPos < nStrLen - 2 ) in lcl_Highlight()
123 nActPos < nStrLen - 3 && cMinus == rSource.GetChar((xub_StrLen)(nActPos + 3))) in lcl_Highlight()
143 while(++nSrchPos < nStrLen - 1) in lcl_Highlight()
184 for(sal_uInt16 i = nPortEnd; i < nStrLen; i++) in lcl_Highlight()
195 nPortEnd = nStrLen - 1; in lcl_Highlight()
/AOO41X/main/filter/source/xsltdialog/
H A Dxmlfileview.cxx687 const sal_uInt16 nStrLen = rSource.Len(); in lcl_Highlight() local
694 while(nActPos < nStrLen) in lcl_Highlight()
697 if(rSource.GetChar(nActPos) == cOpenBracket && nActPos < nStrLen - 2 ) in lcl_Highlight()
718 nActPos < nStrLen - 3 && cMinus == rSource.GetChar((xub_StrLen)(nActPos + 3))) in lcl_Highlight()
738 while(++nSrchPos < nStrLen - 1) in lcl_Highlight()
781 for(sal_uInt16 i = nPortEnd; i < nStrLen; i++) in lcl_Highlight()
792 nPortEnd = nStrLen - 1; in lcl_Highlight()
/AOO41X/main/sysui/source/win32/misc/
H A Dresourceprovider.cxx163 sal_Int32 nStrLen = aResOUString.getLength( ); in getResString() local
164 rtl::OUStringBuffer aBuffer( nStrLen ); in getResString()
168 const sal_Unicode* pEnd = aResOUString.getStr( ) + nStrLen; in getResString()
/AOO41X/main/fpicker/source/win32/misc/
H A DWinImplHelper.cxx560 sal_Int32 nStrLen = aWinLabel.getLength( ); in SOfficeToWindowsLabel() local
566 rtl::OUStringBuffer aBuffer( nStrLen * 2 ); in SOfficeToWindowsLabel()
591 sal_Int32 nStrLen = aSOLabel.getLength( ); in WindowsToSOfficeLabel() local
597 rtl::OUStringBuffer aBuffer( nStrLen * 2 ); in WindowsToSOfficeLabel()
/AOO41X/main/io/source/stm/
H A Dodata.cxx350 sal_Int32 nStrLen = 0; in readUTF() local
360 pStr[nStrLen++] = c; in readUTF()
377 pStr[nStrLen++] = (sal_Unicode(c & 0x1F) << 6) | (char2 & 0x3F); in readUTF()
394 pStr[nStrLen++] = (sal_Unicode(c & 0x0F) << 12) | in readUTF()
405 return OUString( pStr, nStrLen ); in readUTF()
760 sal_Int32 nStrLen = Value.getLength(); in writeUTF() local
765 for( i = 0 ; i < nStrLen ; i++ ) in writeUTF()
794 for( i = 0 ; i < nStrLen ; i++ ) in writeUTF()
/AOO41X/main/filter/source/msfilter/
H A Ddffpropset.cxx1316 sal_Int32 nStrLen = static_cast< sal_Int32 >( nBufferSize / 2 ); in GetPropertyString() local
1317 aBuffer.ensureCapacity( nStrLen ); in GetPropertyString()
1318 for( sal_Int32 nCharIdx = 0; nCharIdx < nStrLen; ++nCharIdx ) in GetPropertyString()
/AOO41X/main/sc/source/filter/lotus/
H A Dlotform.cxx384 sal_uInt16 nStrLen; in Convert() local
605 Read( nStrLen ); in Convert()
607 if( nStrLen ) in Convert()
609 sal_Char* p = new (::std::nothrow) sal_Char[ nStrLen + 1 ]; in Convert()
612 aIn.Read( p, nStrLen ); in Convert()
613 p[ nStrLen ] = 0x00; in Convert()

123