/aoo4110/main/sc/source/filter/excel/ |
H A D | xltools.cxx | 503 xub_StrLen nPrefixLen = maDefNamePrefix.Len(); in GetBuiltInDefNameIndex() local 585 xub_StrLen nPrefixLen = 0; in IsBuiltInStyleName() local 587 nPrefixLen = maStyleNamePrefix1.Len(); in IsBuiltInStyleName() 589 nPrefixLen = maStyleNamePrefix2.Len(); in IsBuiltInStyleName() 590 if( nPrefixLen > 0 ) in IsBuiltInStyleName() 602 nNextChar = nPrefixLen + aShortName.Len(); in IsBuiltInStyleName() 663 xub_StrLen nPrefixLen = 0; in IsCondFormatStyleName() local 665 nPrefixLen = maCFStyleNamePrefix1.Len(); in IsCondFormatStyleName() 667 nPrefixLen = maCFStyleNamePrefix2.Len(); in IsCondFormatStyleName() 668 if( pnNextChar ) *pnNextChar = nPrefixLen; in IsCondFormatStyleName() [all …]
|
/aoo4110/main/sax/source/fastparser/ |
H A D | fastparser.cxx | 317 if( (rPrefix.getLength() == nPrefixLen) && in GetTokenWithPrefix() 318 (strncmp( rPrefix.getStr(), pPrefix, nPrefixLen ) == 0 ) ) in GetTokenWithPrefix() 374 if( (rPrefix.getLength() == nPrefixLen) && in GetNamespaceURL() 375 (strncmp( rPrefix.getStr(), pPrefix, nPrefixLen ) == 0 ) ) in GetNamespaceURL() 715 sal_Int32 nNameLen, nPrefixLen; in callbackStartElement() local 732 splitName( awAttributes[i], pPrefix, nPrefixLen, pName, nNameLen ); in callbackStartElement() 733 if( nPrefixLen ) in callbackStartElement() 735 if( (nPrefixLen == 5) && (strncmp( pPrefix, "xmlns", 5 ) == 0) ) in callbackStartElement() 785 splitName( pwName, pPrefix, nPrefixLen, pName, nNameLen ); in callbackStartElement() 786 if( nPrefixLen > 0 ) in callbackStartElement() [all …]
|
H A D | fastparser.hxx | 135 …sal_Int32 GetTokenWithPrefix( const sal_Char*pPrefix, int nPrefixLen, const sal_Char* pName, int n… 137 …::rtl::OUString GetNamespaceURL( const sal_Char*pPrefix, int nPrefixLen ) throw (::com::sun::star:…
|
/aoo4110/main/reportdesign/source/core/misc/ |
H A D | reportformula.cxx | 112 sal_Int32 nPrefixLen( -1 ); in impl_construct() local 114 if ( m_sCompleteFormula.indexOf( lcl_getExpressionPrefix( &nPrefixLen ) ) == 0 ) in impl_construct() 117 m_sUndecoratedContent = m_sCompleteFormula.copy( nPrefixLen ); in impl_construct() 122 if ( m_sCompleteFormula.indexOf( lcl_getFieldPrefix( &nPrefixLen ) ) == 0 ) in impl_construct() 124 if ( ( m_sCompleteFormula.getLength() >= nPrefixLen + 2 ) in impl_construct() 125 && ( m_sCompleteFormula[ nPrefixLen ] == '[' ) in impl_construct() 130 …sUndecoratedContent = m_sCompleteFormula.copy( nPrefixLen + 1, m_sCompleteFormula.getLength() - nP… in impl_construct()
|
/aoo4110/main/xmloff/source/forms/ |
H A D | eventexport.cxx | 67 sal_Int32 nPrefixLen = sLocalMacroName.indexOf( ':' ); in OEventDescriptorMapper() local 68 …DBG_ASSERT( 0 <= nPrefixLen, "OEventDescriptorMapper::OEventDescriptorMapper: invalid script code … in OEventDescriptorMapper() 69 if ( 0 <= nPrefixLen ) in OEventDescriptorMapper() 72 sLibrary = sLocalMacroName.copy( 0, nPrefixLen ); in OEventDescriptorMapper() 76 sLocalMacroName = sLocalMacroName.copy( nPrefixLen + 1 ); in OEventDescriptorMapper()
|
/aoo4110/main/xmlsecurity/source/xmlsec/nss/ |
H A D | ciphercontext.cxx | 239 sal_Int32 nPrefixLen = aResult.getLength(); in finalizeCipherContextAndDispose() local 240 aResult.realloc( nPrefixLen + m_nBlockSize * 2 ); in finalizeCipherContextAndDispose() 242 …t_cast< unsigned char* >( aResult.getArray() + nPrefixLen ), &nFinalLen, aResult.getLength() - nPr… in finalizeCipherContextAndDispose() 249 aResult.realloc( nPrefixLen + nFinalLen ); in finalizeCipherContextAndDispose()
|
/aoo4110/main/svx/source/form/ |
H A D | fmscriptingenv.cxx | 447 sal_Int32 nPrefixLen = sScriptCode.indexOf( ':' ); in doFireScriptEvent() local 448 …DBG_ASSERT( 0 <= nPrefixLen, "FormScriptingEnvironment::doFireScriptEvent: Basic script name in ol… in doFireScriptEvent() 450 if ( 0 <= nPrefixLen ) in doFireScriptEvent() 453 sMacroLocation = sScriptCode.copy( 0, nPrefixLen ); in doFireScriptEvent() 459 sScriptCode = sScriptCode.copy( nPrefixLen + 1 ); in doFireScriptEvent()
|
/aoo4110/main/sal/osl/os2/ |
H A D | pipeimpl.cxx | 704 int nPrefixLen = _tcslen( LOCAL_PIPE_PREFIX ); in CreateSimplePipe() local 705 if ( 0 == _tcsnicmp( lpName, LOCAL_PIPE_PREFIX, nPrefixLen ) ) in CreateSimplePipe() 706 lpName += nPrefixLen; in CreateSimplePipe() 712 int nPrefixLen = _tcslen( LOCAL_PIPE_PREFIX ); in OpenSimplePipe() local 713 if ( 0 == _tcsnicmp( lpName, LOCAL_PIPE_PREFIX, nPrefixLen ) ) in OpenSimplePipe() 714 lpName += nPrefixLen; in OpenSimplePipe()
|
/aoo4110/main/sal/osl/w32/ |
H A D | pipeimpl.cxx | 709 int nPrefixLen = _tcslen( LOCAL_PIPE_PREFIX ); in CreateSimplePipe() local 710 if ( 0 == _tcsnicmp( lpName, LOCAL_PIPE_PREFIX, nPrefixLen ) ) in CreateSimplePipe() 711 lpName += nPrefixLen; in CreateSimplePipe() 717 int nPrefixLen = _tcslen( LOCAL_PIPE_PREFIX ); in OpenSimplePipe() local 718 if ( 0 == _tcsnicmp( lpName, LOCAL_PIPE_PREFIX, nPrefixLen ) ) in OpenSimplePipe() 719 lpName += nPrefixLen; in OpenSimplePipe()
|
/aoo4110/main/sal/textenc/ |
H A D | converter.c | 88 sal_Size nPrefixLen, in ImplHandleBadInputUnicodeToTextConversion() argument 149 if ((sal_Size) (pDestBufEnd - *pDestBufPtr) > nPrefixLen) in ImplHandleBadInputUnicodeToTextConversion() 151 while (nPrefixLen-- > 0) in ImplHandleBadInputUnicodeToTextConversion()
|
H A D | converter.h | 54 sal_Size nPrefixLen,
|
/aoo4110/main/xmlhelp/source/cxxhelp/provider/ |
H A D | urlparameter.cxx | 569 for( sal_Int32 nPrefixLen = 20 ; nPrefixLen >= 18 ; --nPrefixLen ) in scheme() local 571 if( m_aExpr.compareToAscii( "vnd.sun.star.help://", nPrefixLen ) == 0 ) in scheme() 573 m_aExpr = m_aExpr.copy( nPrefixLen ); in scheme()
|
/aoo4110/main/sfx2/source/doc/ |
H A D | docfile.cxx | 2274 sal_Int32 nPrefixLen = aFileName.lastIndexOf( '.' ); in DoInternalBackup_Impl() local 2275 String aPrefix = ( nPrefixLen == -1 ) ? aFileName : aFileName.copy( 0, nPrefixLen ); in DoInternalBackup_Impl() 2276 String aExtension = ( nPrefixLen == -1 ) ? String() : String(aFileName.copy( nPrefixLen )); in DoInternalBackup_Impl() 4057 sal_Int32 nPrefixLen = aURL.lastIndexOf( '.' ); in CreateTempCopyWithExt() local 4058 String aExt = ( nPrefixLen == -1 ) ? String() : String( aURL.copy( nPrefixLen ) ); in CreateTempCopyWithExt() 4131 sal_Int32 nPrefixLen = aOrigURL.lastIndexOf( '.' ); in SwitchDocumentToTempFile() local 4132 String aExt = ( nPrefixLen == -1 ) ? String() : String( aOrigURL.copy( nPrefixLen ) ); in SwitchDocumentToTempFile()
|
/aoo4110/main/forms/source/component/ |
H A D | Button.cxx | 664 const sal_Int32 nPrefixLen = URL_CONTROLLER_PREFIX.length; in isFormControllerURL() local 665 return ( _rURL.getLength() > nPrefixLen ) in isFormControllerURL() 666 && ( _rURL.compareToAscii( URL_CONTROLLER_PREFIX, nPrefixLen ) == 0 ); in isFormControllerURL()
|
/aoo4110/main/oox/source/xls/ |
H A D | defnamesbuffer.cxx | 135 sal_Int32 nPrefixLen = aPrefix.getLength(); in lclGetBuiltinIdFromPrefixedName() local 142 …if( (rModelName.getLength() == nPrefixLen + nBaseNameLen) && rModelName.matchIgnoreAsciiCase( aBas… in lclGetBuiltinIdFromPrefixedName()
|
H A D | stylesbuffer.cxx | 2781 sal_Int32 nPrefixLen = aPrefix.getLength(); in lclIsBuiltinStyleName() local 2792 if( rStyleName.matchIgnoreAsciiCase( aShortName, nPrefixLen ) && in lclIsBuiltinStyleName() 2793 (nNextChar < nPrefixLen + aShortName.getLength()) ) in lclIsBuiltinStyleName() 2796 nNextChar = nPrefixLen + aShortName.getLength(); in lclIsBuiltinStyleName()
|
/aoo4110/main/extensions/source/propctrlr/ |
H A D | eventhandler.cxx | 278 sal_Int32 nPrefixLen = aScriptEvent.ScriptCode.indexOf( ':' ); in lcl_getAssignedScriptEvent() local 279 OSL_ENSURE( nPrefixLen > 0, "lcl_getAssignedScriptEvent: illegal location!" ); in lcl_getAssignedScriptEvent() 280 ::rtl::OUString sLocation = aScriptEvent.ScriptCode.copy( 0, nPrefixLen ); in lcl_getAssignedScriptEvent() 281 ::rtl::OUString sMacroPath = aScriptEvent.ScriptCode.copy( nPrefixLen + 1 ); in lcl_getAssignedScriptEvent()
|
/aoo4110/main/cppuhelper/source/ |
H A D | factory.cxx | 918 sal_Int32 nPrefixLen = xKey->getKeyName().getLength() + 1; in getSupportedServiceNames() local 924 pKeys[i] = pKeys[i].copy(nPrefixLen); in getSupportedServiceNames()
|