Lines Matching refs:nPrefixLen
308 sal_Int32 FastSaxParser::GetTokenWithPrefix( const sal_Char*pPrefix, int nPrefixLen, const sal_Char… in GetTokenWithPrefix() argument
317 if( (rPrefix.getLength() == nPrefixLen) && in GetTokenWithPrefix()
318 (strncmp( rPrefix.getStr(), pPrefix, nPrefixLen ) == 0 ) ) in GetTokenWithPrefix()
365 OUString FastSaxParser::GetNamespaceURL( const sal_Char*pPrefix, int nPrefixLen ) throw(SAXExceptio… in GetNamespaceURL() argument
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()
742 aAttribs.back().maPrefix = OString( pPrefix, nPrefixLen ); in callbackStartElement()
785 splitName( pwName, pPrefix, nPrefixLen, pName, nNameLen ); in callbackStartElement()
786 if( nPrefixLen > 0 ) in callbackStartElement()
787 nElementToken = GetTokenWithPrefix( pPrefix, nPrefixLen, pName, nNameLen ); in callbackStartElement()
798 if( nPrefixLen > 0 ) in callbackStartElement()
799 rEntity.maContextStack.top()->maNamespace = GetNamespaceURL( pPrefix, nPrefixLen ); in callbackStartElement()
802 const OUString aElementName( pPrefix, nPrefixLen, RTL_TEXTENCODING_UTF8 ); in callbackStartElement()