/aoo42x/main/oox/source/xls/ |
H A D | richstring.cxx | 559 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() 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() 616 sal_Int32 nStrLen = rText.getLength(); in createPhoneticPortions() local 617 if( nStrLen > 0 ) in createPhoneticPortions() [all …]
|
/aoo42x/main/tools/source/string/ |
H A D | strascii.cxx | 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() 441 sal_Int32 n = ImplGetCopyLen( mpData->mnLen-nCount, nStrLen ); in ReplaceAscii() 564 xub_StrLen nStrLen = ImplStringLen( pAsciiStr ); in SearchAscii() local 568 if ( !nStrLen || (nIndex >= nLen) ) in SearchAscii() 574 if ( nStrLen == 1 ) in SearchAscii() [all …]
|
H A D | strimp.cxx | 238 if ( nCopyLen > STRING_MAXLEN-nStrLen ) in ImplGetCopyLen() 239 nCopyLen = STRING_MAXLEN-nStrLen; in ImplGetCopyLen() 823 if ( !nStrLen ) in Replace() 835 if ( nCount == nStrLen ) in Replace() 843 nStrLen = ImplGetCopyLen( mpData->mnLen-nCount, nStrLen ); in Replace() 1542 if ( !nStrLen || (nIndex >= nLen) ) in Search() 1548 if ( nStrLen == 1 ) in Search() 1564 while ( nLen - nIndex >= nStrLen ) in Search() 1588 if ( !nStrLen || (nIndex >= nLen) ) in Search() 1594 if ( nStrLen == 1 ) in Search() [all …]
|
/aoo42x/main/formula/source/ui/dlg/ |
H A D | FormulaHelper.cxx | 201 xub_StrLen nStrLen = rFormula.Len(); in GetFunctionStart() local 203 if ( nStrLen < nStart ) in GetFunctionStart() 233 while ( !bFound && (nParPos < nStrLen) ) 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() 359 while ( !bFound && (nStart < nStrLen) ) in GetArgStart() [all …]
|
/aoo42x/main/sal/rtl/source/ |
H A D | strtmpl.c | 408 while ( nStrLen > 0 ) in IMPL_RTL_STRNAME() 414 nStrLen--; in IMPL_RTL_STRNAME() 421 while ( nStrLen > 0 ) in IMPL_RTL_STRNAME() 448 nStrLen--; in IMPL_RTL_STRNAME() 479 pStr += nStrLen; in IMPL_RTL_STRNAME() 482 nStrLen--; in IMPL_RTL_STRNAME() 492 pStr += nStrLen; in IMPL_RTL_STRNAME() 493 nStrLen -= nSubLen; in IMPL_RTL_STRNAME() 495 while ( nStrLen >= 0 ) in IMPL_RTL_STRNAME() 511 return nStrLen; in IMPL_RTL_STRNAME() [all …]
|
/aoo42x/main/sw/source/core/text/ |
H A D | frmform.cxx | 1082 nEnd < nStrLen && in FormatAdjust() 1092 !IsFollow() && nStrLen == 1 && in FormatAdjust() 1172 ( nStrLen > 0 || 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() 1448 if( nEnd > nStrLen ) in _Format() 1451 nEnd = nStrLen; in _Format() 1827 const xub_StrLen nStrLen = GetTxt().Len(); in _Format() local 1834 if ( !nStrLen ) in _Format() [all …]
|
/aoo42x/main/sw/source/filter/ww8/ |
H A D | WW8Sttbf.hxx | 112 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()
|
/aoo42x/main/sot/source/sdstor/ |
H A D | stgole.cxx | 128 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()
|
/aoo42x/main/vcl/source/gdi/ |
H A D | cvtsvm.cxx | 918 sal_Int32 nStrLen( aStr.Len() ); in ImplConvertFromSVM1() local 926 if( nAryLen != nStrLen ) in ImplConvertFromSVM1() 928 if( nAryLen+1 == 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() 1757 rOStm << (sal_Int32) nStrLen; in ImplWriteActions() 1810 const sal_uLong nStrLen = aText.Len(); in ImplWriteActions() local [all …]
|
/aoo42x/main/sc/source/core/data/ |
H A D | stlpool.cxx | 257 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 D | global.cxx | 1222 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()
|
/aoo42x/main/svtools/source/svrtf/ |
H A D | parrtf.cxx | 108 xub_StrLen nStrLen = 0; in _GetNextToken() local 110 *(pStr + nStrLen++) = nNextCh; in _GetNextToken() 111 if( MAX_TOKEN_LEN == nStrLen ) in _GetNextToken() 115 nStrLen = 0; in _GetNextToken() 119 if( nStrLen ) in _GetNextToken() 121 aStrBuffer.ReleaseBufferAccess( nStrLen ); in _GetNextToken()
|
/aoo42x/main/rsc/source/tools/ |
H A D | rsctools.cxx | 471 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()
|
/aoo42x/main/sc/source/filter/excel/ |
H A D | xicontent.cxx | 298 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 D | excimp8.cxx | 508 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()
|
/aoo42x/main/sal/qa/rtl_strings/ |
H A D | rtl_String_Utils.cxx | 62 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()
|
/aoo42x/main/sal/qa/OStringBuffer/ |
H A D | rtl_String_Utils.cxx | 62 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()
|
/aoo42x/main/sw/source/ui/docvw/ |
H A D | srcedtw.cxx | 92 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()
|
/aoo42x/main/filter/source/xsltdialog/ |
H A D | xmlfileview.cxx | 687 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()
|
/aoo42x/main/sysui/source/win32/misc/ |
H A D | resourceprovider.cxx | 163 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()
|
/aoo42x/main/io/source/stm/ |
H A D | odata.cxx | 350 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()
|
/aoo42x/main/fpicker/source/win32/misc/ |
H A D | WinImplHelper.cxx | 560 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()
|
/aoo42x/main/filter/source/msfilter/ |
H A D | dffpropset.cxx | 1316 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()
|
/aoo42x/main/sc/source/filter/lotus/ |
H A D | lotform.cxx | 384 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()
|
/aoo42x/main/oox/source/dump/ |
H A D | biffdumper.cxx | 440 sal_Int32 nStrLen = aString.getLength(); in dumpByteString() local 441 if( nStrLen > 0 ) in dumpByteString() 446 if( aPortions.back().mnPos < nStrLen ) in dumpByteString() 447 aPortions.push_back( FontPortionModel( nStrLen, -1 ) ); in dumpByteString() 3308 sal_uInt8 nStrLen = 0; in dumpFilterColumnOperator() local 3324 nStrLen = dumpDec< sal_uInt8 >( "length" ); in dumpFilterColumnOperator() 3335 return nStrLen; in dumpFilterColumnOperator() 3341 if( nStrLen != BIFF_PT_NOSTRING ) in dumpPivotString() 3344 getBiffStream().readUniStringBody( nStrLen ) : in dumpPivotString() 3353 sal_uInt16 nStrLen = dumpDec< sal_uInt16 >( "string-len", "PIVOT-NAMELEN" ); in dumpPivotString() local [all …]
|