Home
last modified time | relevance | path

Searched refs:CFX_CSSSyntaxStatus (Results 1 – 6 of 6) sorted by relevance

/external/pdfium/core/fxcrt/css/
Dcfx_cssstylesheet.cpp43 CFX_CSSSyntaxStatus eStatus; in LoadBuffer()
46 case CFX_CSSSyntaxStatus::StyleRule: in LoadBuffer()
52 } while (eStatus >= CFX_CSSSyntaxStatus::None); in LoadBuffer()
55 return eStatus != CFX_CSSSyntaxStatus::Error; in LoadBuffer()
58 CFX_CSSSyntaxStatus CFX_CSSStyleSheet::LoadStyleRule( in LoadStyleRule()
69 case CFX_CSSSyntaxStatus::Selector: { in LoadStyleRule()
76 case CFX_CSSSyntaxStatus::PropertyName: { in LoadStyleRule()
83 case CFX_CSSSyntaxStatus::PropertyValue: { in LoadStyleRule()
97 case CFX_CSSSyntaxStatus::DeclOpen: { in LoadStyleRule()
105 return CFX_CSSSyntaxStatus::None; in LoadStyleRule()
[all …]
Dcfx_csssyntaxparser.cpp35 m_eStatus(CFX_CSSSyntaxStatus::None) { in CFX_CSSSyntaxParser()
45 CFX_CSSSyntaxStatus CFX_CSSSyntaxParser::DoSyntaxParse() { in DoSyntaxParse()
46 while (m_eStatus >= CFX_CSSSyntaxStatus::None) { in DoSyntaxParse()
51 m_eStatus = CFX_CSSSyntaxStatus::PropertyValue; in DoSyntaxParse()
54 m_eStatus = CFX_CSSSyntaxStatus::EOS; in DoSyntaxParse()
66 return CFX_CSSSyntaxStatus::DeclClose; in DoSyntaxParse()
68 m_eStatus = CFX_CSSSyntaxStatus::Error; in DoSyntaxParse()
81 return CFX_CSSSyntaxStatus::StyleRule; in DoSyntaxParse()
83 m_eStatus = CFX_CSSSyntaxStatus::Error; in DoSyntaxParse()
95 return CFX_CSSSyntaxStatus::Selector; in DoSyntaxParse()
[all …]
Dcfx_csssyntaxparser.h28 enum class CFX_CSSSyntaxStatus : uint8_t { enum
49 CFX_CSSSyntaxStatus DoSyntaxParse();
71 CFX_CSSSyntaxStatus m_eStatus;
Dcfx_cssstylesheet.h31 CFX_CSSSyntaxStatus LoadStyleRule(
Dcfx_cssstyleselector.cpp149 CFX_CSSSyntaxStatus eStatus = pSyntax->DoSyntaxParse(); in AppendInlineStyle()
150 if (eStatus == CFX_CSSSyntaxStatus::PropertyName) { in AppendInlineStyle()
155 } else if (eStatus == CFX_CSSSyntaxStatus::PropertyValue) { in AppendInlineStyle()
/external/pdfium/testing/libfuzzer/
Dpdf_css_fuzzer.cc22 CFX_CSSSyntaxStatus status; in LLVMFuzzerTestOneInput()
25 } while (status != CFX_CSSSyntaxStatus::Error && in LLVMFuzzerTestOneInput()
26 status != CFX_CSSSyntaxStatus::EOS); in LLVMFuzzerTestOneInput()