Lines Matching refs:nToken
69 for( sal_Int32 nToken = 0; bOk && (nToken < XML_TOKEN_COUNT); ++nToken ) in TokenMap() local
72 … OString aUtf8Name = OUStringToOString( maTokenNames[ nToken ].maUniName, RTL_TEXTENCODING_UTF8 ); in TokenMap()
74 bOk = pToken && (pToken->nToken == nToken); in TokenMap()
76 append( nToken ).append( ", '" ).append( aUtf8Name ).append( '\'' ).getStr() ); in TokenMap()
85 OUString TokenMap::getUnicodeTokenName( sal_Int32 nToken ) const in getUnicodeTokenName()
87 if( (0 <= nToken) && (static_cast< size_t >( nToken ) < maTokenNames.size()) ) in getUnicodeTokenName()
88 return maTokenNames[ static_cast< size_t >( nToken ) ].maUniName; in getUnicodeTokenName()
96 return pToken ? pToken->nToken : XML_TOKEN_INVALID; in getTokenFromUnicode()
99 Sequence< sal_Int8 > TokenMap::getUtf8TokenName( sal_Int32 nToken ) const in getUtf8TokenName()
101 if( (0 <= nToken) && (static_cast< size_t >( nToken ) < maTokenNames.size()) ) in getUtf8TokenName()
102 return maTokenNames[ static_cast< size_t >( nToken ) ].maUtf8Name; in getUtf8TokenName()
110 return pToken ? pToken->nToken : XML_TOKEN_INVALID; in getTokenFromUtf8()