Home
last modified time | relevance | path

Searched refs:IsXMLNameChar (Results 1 – 3 of 3) sorted by relevance

/external/pdfium/core/fxcrt/xml/
Dcfx_xmlparser_unittest.cpp289 TEST_F(CFX_XMLParserTest, IsXMLNameChar) { in TEST_F() argument
290 EXPECT_FALSE(CFX_XMLParser::IsXMLNameChar(L'-', true)); in TEST_F()
291 EXPECT_TRUE(CFX_XMLParser::IsXMLNameChar(L'-', false)); in TEST_F()
293 EXPECT_FALSE(CFX_XMLParser::IsXMLNameChar(0x2069, true)); in TEST_F()
294 EXPECT_TRUE(CFX_XMLParser::IsXMLNameChar(0x2070, true)); in TEST_F()
295 EXPECT_TRUE(CFX_XMLParser::IsXMLNameChar(0x2073, true)); in TEST_F()
296 EXPECT_TRUE(CFX_XMLParser::IsXMLNameChar(0x218F, true)); in TEST_F()
297 EXPECT_FALSE(CFX_XMLParser::IsXMLNameChar(0x2190, true)); in TEST_F()
299 EXPECT_FALSE(CFX_XMLParser::IsXMLNameChar(0xFDEF, true)); in TEST_F()
300 EXPECT_TRUE(CFX_XMLParser::IsXMLNameChar(0xFDF0, true)); in TEST_F()
[all …]
Dcfx_xmlparser.cpp55 bool CFX_XMLParser::IsXMLNameChar(wchar_t ch, bool bFirstChar) { in IsXMLNameChar() function in CFX_XMLParser
163 if (!IsXMLNameChar(ch, current_text_.empty())) { in DoSyntaxParse()
182 if (!IsXMLNameChar(ch, current_text_.empty())) { in DoSyntaxParse()
201 if (!IsXMLNameChar(ch, current_text_.empty())) { in DoSyntaxParse()
312 if (!IsXMLNameChar(ch, current_text_.empty())) { in DoSyntaxParse()
Dcfx_xmlparser.h25 static bool IsXMLNameChar(wchar_t ch, bool bFirstChar);