Home
last modified time | relevance | path

Searched refs:nPrefixLen (Results 1 – 25 of 35) sorted by relevance

12

/dports/editors/libreoffice/libreoffice-7.2.6.2/reportdesign/source/core/misc/
H A Dreportformula.cxx53 sal_Int32 nPrefixLen = strlen(sFieldPrefix); in ReportFormula() local
54 if ( ( m_sCompleteFormula.getLength() >= nPrefixLen + 2 ) in ReportFormula()
55 && ( m_sCompleteFormula[ nPrefixLen ] == '[' ) in ReportFormula()
60 …sUndecoratedContent = m_sCompleteFormula.copy( nPrefixLen + 1, m_sCompleteFormula.getLength() - nP… in ReportFormula()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/reportdesign/source/core/misc/
H A Dreportformula.cxx90 sal_Int32 nPrefixLen = strlen(sFieldPrefix); in impl_construct() local
91 if ( ( m_sCompleteFormula.getLength() >= nPrefixLen + 2 ) in impl_construct()
92 && ( m_sCompleteFormula[ nPrefixLen ] == '[' ) in impl_construct()
97 …sUndecoratedContent = m_sCompleteFormula.copy( nPrefixLen + 1, m_sCompleteFormula.getLength() - nP… in impl_construct()
/dports/editors/libreoffice/libreoffice-7.2.6.2/xmloff/source/forms/
H A Deventexport.cxx52 sal_Int32 nPrefixLen = sLocalMacroName.indexOf( ':' ); in OEventDescriptorMapper() local
53 …SAL_WARN_IF( 0 > nPrefixLen, "xmloff", "OEventDescriptorMapper::OEventDescriptorMapper: invalid sc… in OEventDescriptorMapper()
54 if ( 0 <= nPrefixLen ) in OEventDescriptorMapper()
57 sLibrary = sLocalMacroName.copy( 0, nPrefixLen ); in OEventDescriptorMapper()
61 sLocalMacroName = sLocalMacroName.copy( nPrefixLen + 1 ); in OEventDescriptorMapper()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/xmloff/source/forms/
H A Deventexport.cxx52 sal_Int32 nPrefixLen = sLocalMacroName.indexOf( ':' ); in OEventDescriptorMapper() local
53 …SAL_WARN_IF( 0 > nPrefixLen, "xmloff", "OEventDescriptorMapper::OEventDescriptorMapper: invalid sc… in OEventDescriptorMapper()
54 if ( 0 <= nPrefixLen ) in OEventDescriptorMapper()
57 sLibrary = sLocalMacroName.copy( 0, nPrefixLen ); in OEventDescriptorMapper()
61 sLocalMacroName = sLocalMacroName.copy( nPrefixLen + 1 ); in OEventDescriptorMapper()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sc/source/filter/excel/
H A Dxltools.cxx483 sal_Int32 nPrefixLen = 0; in GetBuiltInDefNameIndex() local
485 nPrefixLen = strlen(maDefNamePrefix); in GetBuiltInDefNameIndex()
487 nPrefixLen = strlen(maDefNamePrefixXml); in GetBuiltInDefNameIndex()
488 if( nPrefixLen > 0 ) in GetBuiltInDefNameIndex()
497 sal_Int32 nNextCharPos = nPrefixLen + nBuiltInLen; in GetBuiltInDefNameIndex()
567 sal_Int32 nPrefixLen = 0; in IsBuiltInStyleName() local
569 nPrefixLen = strlen(maStyleNamePrefix1); in IsBuiltInStyleName()
571 nPrefixLen = strlen(maStyleNamePrefix2); in IsBuiltInStyleName()
572 if( nPrefixLen > 0 ) in IsBuiltInStyleName()
580 (nNextChar < nPrefixLen + aShortName.getLength())) in IsBuiltInStyleName()
[all …]
/dports/editors/libreoffice/libreoffice-7.2.6.2/sc/source/filter/excel/
H A Dxltools.cxx511 sal_Int32 nPrefixLen = 0; in GetBuiltInDefNameIndex() local
513 nPrefixLen = strlen(maDefNamePrefix); in GetBuiltInDefNameIndex()
515 nPrefixLen = strlen(maDefNamePrefixXml); in GetBuiltInDefNameIndex()
516 if( nPrefixLen > 0 ) in GetBuiltInDefNameIndex()
525 sal_Int32 nNextCharPos = nPrefixLen + nBuiltInLen; in GetBuiltInDefNameIndex()
595 sal_Int32 nPrefixLen = 0; in IsBuiltInStyleName() local
597 nPrefixLen = strlen(maStyleNamePrefix1); in IsBuiltInStyleName()
599 nPrefixLen = strlen(maStyleNamePrefix2); in IsBuiltInStyleName()
600 if( nPrefixLen > 0 ) in IsBuiltInStyleName()
608 (nNextChar < nPrefixLen + aShortName.getLength())) in IsBuiltInStyleName()
[all …]
/dports/editors/libreoffice/libreoffice-7.2.6.2/sal/textenc/
H A Dconverter.cxx85 sal_Size nPrefixLen, bool * pPrefixWritten) in handleBadInputUnicodeToTextConversion() argument
145 if (o3tl::make_unsigned(pDestBufEnd - *pDestBufPtr) > nPrefixLen) in handleBadInputUnicodeToTextConversion()
147 while (nPrefixLen-- > 0) in handleBadInputUnicodeToTextConversion()
H A Dconverter.hxx47 sal_Size nPrefixLen, bool * pPrefixWritten);
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sal/textenc/
H A Dconverter.cxx84 sal_Size nPrefixLen, bool * pPrefixWritten) in handleBadInputUnicodeToTextConversion() argument
144 if (static_cast<sal_Size>(pDestBufEnd - *pDestBufPtr) > nPrefixLen) in handleBadInputUnicodeToTextConversion()
146 while (nPrefixLen-- > 0) in handleBadInputUnicodeToTextConversion()
H A Dconverter.hxx47 sal_Size nPrefixLen, bool * pPrefixWritten);
/dports/graphics/p5-Geo-GDAL/gdal-3.3.3/frmts/derived/
H A Dderiveddataset.cpp76 const size_t nPrefixLen = strlen("DERIVED_SUBDATASET:"); in Open() local
85 const size_t alg_pos = filename.find(":",nPrefixLen+1); in Open()
92 CPLString odDerivedName = filename.substr(nPrefixLen,alg_pos-nPrefixLen); in Open()
/dports/graphics/gdal/gdal-3.3.3/frmts/derived/
H A Dderiveddataset.cpp76 const size_t nPrefixLen = strlen("DERIVED_SUBDATASET:"); in Open() local
85 const size_t alg_pos = filename.find(":",nPrefixLen+1); in Open()
92 CPLString odDerivedName = filename.substr(nPrefixLen,alg_pos-nPrefixLen); in Open()
/dports/graphics/py-gdal/gdal-3.3.3/frmts/derived/
H A Dderiveddataset.cpp76 const size_t nPrefixLen = strlen("DERIVED_SUBDATASET:"); in Open() local
85 const size_t alg_pos = filename.find(":",nPrefixLen+1); in Open()
92 CPLString odDerivedName = filename.substr(nPrefixLen,alg_pos-nPrefixLen); in Open()
/dports/editors/libreoffice/libreoffice-7.2.6.2/xmlsecurity/source/xmlsec/nss/
H A Dciphercontext.cxx232 sal_Int32 nPrefixLen = aResult.getLength(); in finalizeCipherContextAndDispose() local
233 aResult.realloc( nPrefixLen + m_nBlockSize * 2 ); in finalizeCipherContextAndDispose()
235 …t_cast< unsigned char* >( aResult.getArray() + nPrefixLen ), &nFinalLen, aResult.getLength() - nPr… in finalizeCipherContextAndDispose()
242 aResult.realloc( nPrefixLen + nFinalLen ); in finalizeCipherContextAndDispose()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/xmlsecurity/source/xmlsec/nss/
H A Dciphercontext.cxx232 sal_Int32 nPrefixLen = aResult.getLength(); in finalizeCipherContextAndDispose() local
233 aResult.realloc( nPrefixLen + m_nBlockSize * 2 ); in finalizeCipherContextAndDispose()
235 …t_cast< unsigned char* >( aResult.getArray() + nPrefixLen ), &nFinalLen, aResult.getLength() - nPr… in finalizeCipherContextAndDispose()
242 aResult.realloc( nPrefixLen + nFinalLen ); in finalizeCipherContextAndDispose()
/dports/editors/libreoffice/libreoffice-7.2.6.2/xmlhelp/source/cxxhelp/provider/
H A Durlparameter.cxx391 for( sal_Int32 nPrefixLen = 20 ; nPrefixLen >= 18 ; --nPrefixLen ) in scheme() local
393 if( m_aExpr.matchAsciiL( "vnd.sun.star.help://", nPrefixLen ) ) in scheme()
395 m_aExpr = m_aExpr.copy( nPrefixLen ); in scheme()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/xmlhelp/source/cxxhelp/provider/
H A Durlparameter.cxx388 for( sal_Int32 nPrefixLen = 20 ; nPrefixLen >= 18 ; --nPrefixLen ) in scheme() local
390 if( m_aExpr.matchAsciiL( "vnd.sun.star.help://", nPrefixLen ) ) in scheme()
392 m_aExpr = m_aExpr.copy( nPrefixLen ); in scheme()
/dports/editors/libreoffice/libreoffice-7.2.6.2/svx/source/form/
H A Dfmscriptingenv.cxx866 sal_Int32 nPrefixLen = sScriptCode.indexOf( ':' ); in doFireScriptEvent()
867 …DBG_ASSERT( 0 <= nPrefixLen, "FormScriptingEnvironment::doFireScriptEvent: Basic script name in ol… in doFireScriptEvent()
869 if ( 0 <= nPrefixLen ) in doFireScriptEvent()
872 sMacroLocation = sScriptCode.copy( 0, nPrefixLen ); in doFireScriptEvent()
878 sScriptCode = sScriptCode.copy( nPrefixLen + 1 ); in doFireScriptEvent()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/svx/source/form/
H A Dfmscriptingenv.cxx1014 sal_Int32 nPrefixLen = sScriptCode.indexOf( ':' ); in doFireScriptEvent()
1015 …DBG_ASSERT( 0 <= nPrefixLen, "FormScriptingEnvironment::doFireScriptEvent: Basic script name in ol… in doFireScriptEvent()
1017 if ( 0 <= nPrefixLen ) in doFireScriptEvent()
1020 sMacroLocation = sScriptCode.copy( 0, nPrefixLen ); in doFireScriptEvent()
1026 sScriptCode = sScriptCode.copy( nPrefixLen + 1 ); in doFireScriptEvent()
/dports/editors/libreoffice/libreoffice-7.2.6.2/extensions/source/propctrlr/
H A Deventhandler.cxx237 sal_Int32 nPrefixLen = aScriptEvent.ScriptCode.indexOf( ':' ); in lcl_getAssignedScriptEvent() local
238 OSL_ENSURE( nPrefixLen > 0, "lcl_getAssignedScriptEvent: illegal location!" ); in lcl_getAssignedScriptEvent()
239 OUString sLocation = aScriptEvent.ScriptCode.copy( 0, nPrefixLen ); in lcl_getAssignedScriptEvent()
240 OUString sMacroPath = aScriptEvent.ScriptCode.copy( nPrefixLen + 1 ); in lcl_getAssignedScriptEvent()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/extensions/source/propctrlr/
H A Deventhandler.cxx248 sal_Int32 nPrefixLen = aScriptEvent.ScriptCode.indexOf( ':' ); in lcl_getAssignedScriptEvent() local
249 OSL_ENSURE( nPrefixLen > 0, "lcl_getAssignedScriptEvent: illegal location!" ); in lcl_getAssignedScriptEvent()
250 OUString sLocation = aScriptEvent.ScriptCode.copy( 0, nPrefixLen ); in lcl_getAssignedScriptEvent()
251 OUString sMacroPath = aScriptEvent.ScriptCode.copy( nPrefixLen + 1 ); in lcl_getAssignedScriptEvent()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sfx2/source/doc/
H A Ddocfile.cxx2432 sal_Int32 nPrefixLen = aFileName.lastIndexOf( '.' ); in DoInternalBackup_Impl() local
2433 OUString aPrefix = ( nPrefixLen == -1 ) ? aFileName : aFileName.copy( 0, nPrefixLen ); in DoInternalBackup_Impl()
2434 OUString aExtension = ( nPrefixLen == -1 ) ? OUString() : aFileName.copy( nPrefixLen ); in DoInternalBackup_Impl()
4101 sal_Int32 nPrefixLen = aURL.lastIndexOf( '.' ); in CreateTempCopyWithExt() local
4102 OUString aExt = ( nPrefixLen == -1 ) ? OUString() : aURL.copy( nPrefixLen ); in CreateTempCopyWithExt()
4172 sal_Int32 nPrefixLen = aOrigURL.lastIndexOf( '.' ); in SwitchDocumentToTempFile() local
4173 OUString const aExt = (nPrefixLen == -1) in SwitchDocumentToTempFile()
4175 : aOrigURL.copy(nPrefixLen); in SwitchDocumentToTempFile()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sax/source/fastparser/
H A Dfastparser.cxx670 sal_Int32 FastSaxParserImpl::GetTokenWithPrefix( const xmlChar* pPrefix, int nPrefixLen, const xmlC… in GetTokenWithPrefix() argument
683 if( (rPrefix.getLength() == nPrefixLen) && in GetTokenWithPrefix()
684 …e_WithLength(rPrefix.pData->buffer, rPrefix.pData->length, XML_CAST( pPrefix ), nPrefixLen ) == 0 ) in GetTokenWithPrefix()
692 nPrefixLen, RTL_TEXTENCODING_UTF8), Reference< XInterface >(), Any()); in GetTokenWithPrefix()
/dports/editors/libreoffice/libreoffice-7.2.6.2/sfx2/source/doc/
H A Ddocfile.cxx2558 sal_Int32 nPrefixLen = aFileName.lastIndexOf( '.' ); in DoInternalBackup_Impl() local
2559 OUString aPrefix = ( nPrefixLen == -1 ) ? aFileName : aFileName.copy( 0, nPrefixLen ); in DoInternalBackup_Impl()
2560 OUString aExtension = ( nPrefixLen == -1 ) ? OUString() : aFileName.copy( nPrefixLen ); in DoInternalBackup_Impl()
4268 sal_Int32 nPrefixLen = aURL.lastIndexOf( '.' ); in CreateTempCopyWithExt() local
4269 OUString aExt = ( nPrefixLen == -1 ) ? OUString() : aURL.copy( nPrefixLen ); in CreateTempCopyWithExt()
4339 sal_Int32 nPrefixLen = aOrigURL.lastIndexOf( '.' ); in SwitchDocumentToTempFile() local
4340 OUString const aExt = (nPrefixLen == -1) in SwitchDocumentToTempFile()
4342 : aOrigURL.copy(nPrefixLen); in SwitchDocumentToTempFile()
/dports/editors/libreoffice/libreoffice-7.2.6.2/sax/source/fastparser/
H A Dfastparser.cxx706 sal_Int32 FastSaxParserImpl::GetTokenWithPrefix( const xmlChar* pPrefix, int nPrefixLen, const xmlC… in GetTokenWithPrefix() argument
719 if( (rPrefix.getLength() == nPrefixLen) && in GetTokenWithPrefix()
720 …e_WithLength(rPrefix.pData->buffer, rPrefix.pData->length, XML_CAST( pPrefix ), nPrefixLen ) == 0 ) in GetTokenWithPrefix()
728 nPrefixLen, RTL_TEXTENCODING_UTF8), Reference< XInterface >(), Any()); in GetTokenWithPrefix()

12