/external/skqp/src/xml/ |
D | SkDOM.cpp | 15 bool SkXMLParser::parse(const SkDOM& dom, const SkDOMNode* node) { in parse() 22 SkDOM::AttrIter iter(dom, node); in parse() 70 SkDOM::SkDOM() : fAlloc(kMinChunkSize), fRoot(nullptr) {} in SkDOM() function in SkDOM 72 SkDOM::~SkDOM() {} in ~SkDOM() 74 const SkDOM::Node* SkDOM::getRootNode() const { in getRootNode() 78 const SkDOM::Node* SkDOM::getFirstChild(const Node* node, const char name[]) const { in getFirstChild() 92 const SkDOM::Node* SkDOM::getNextSibling(const Node* node, const char name[]) const { in getNextSibling() 105 SkDOM::Type SkDOM::getType(const Node* node) const { in getType() 110 const char* SkDOM::getName(const Node* node) const { in getName() 115 const char* SkDOM::findAttr(const Node* node, const char name[]) const { in findAttr() [all …]
|
D | SkDOM.h | 24 class SkDOM : public SkNoncopyable { 26 SkDOM(); 27 ~SkDOM(); 35 const Node* copy(const SkDOM& dom, const Node* node); 80 AttrIter(const SkDOM&, const Node*);
|
D | SkXMLWriter.cpp | 152 static void write_dom(const SkDOM& dom, const SkDOM::Node* node, SkXMLWriter* w, bool skipRoot) { in write_dom() 155 if (dom.getType(node) == SkDOM::kText_Type) { in write_dom() 163 SkDOM::AttrIter iter(dom, node); in write_dom() 182 void SkXMLWriter::writeDOM(const SkDOM& dom, const SkDOM::Node* node, bool skipRoot) { in writeDOM()
|
D | SkXMLParser.h | 17 class SkDOM; variable 63 bool parse(const SkDOM&, const SkDOMNode*);
|
D | SkXMLWriter.h | 32 void writeDOM(const SkDOM&, const SkDOM::Node*, bool skipRoot);
|
/external/skia/src/xml/ |
D | SkDOM.cpp | 15 bool SkXMLParser::parse(const SkDOM& dom, const SkDOMNode* node) { in parse() 22 SkDOM::AttrIter iter(dom, node); in parse() 70 SkDOM::SkDOM() : fAlloc(kMinChunkSize), fRoot(nullptr) {} in SkDOM() function in SkDOM 72 SkDOM::~SkDOM() {} in ~SkDOM() 74 const SkDOM::Node* SkDOM::getRootNode() const { in getRootNode() 78 const SkDOM::Node* SkDOM::getFirstChild(const Node* node, const char name[]) const { in getFirstChild() 92 const SkDOM::Node* SkDOM::getNextSibling(const Node* node, const char name[]) const { in getNextSibling() 105 SkDOM::Type SkDOM::getType(const Node* node) const { in getType() 110 const char* SkDOM::getName(const Node* node) const { in getName() 115 const char* SkDOM::findAttr(const Node* node, const char name[]) const { in findAttr() [all …]
|
D | SkDOM.h | 24 class SkDOM : public SkNoncopyable { 26 SkDOM(); 27 ~SkDOM(); 35 const Node* copy(const SkDOM& dom, const Node* node); 80 AttrIter(const SkDOM&, const Node*);
|
D | SkXMLWriter.cpp | 152 static void write_dom(const SkDOM& dom, const SkDOM::Node* node, SkXMLWriter* w, bool skipRoot) { in write_dom() 155 if (dom.getType(node) == SkDOM::kText_Type) { in write_dom() 163 SkDOM::AttrIter iter(dom, node); in write_dom() 182 void SkXMLWriter::writeDOM(const SkDOM& dom, const SkDOM::Node* node, bool skipRoot) { in writeDOM()
|
D | SkXMLParser.h | 17 class SkDOM; variable 63 bool parse(const SkDOM&, const SkDOMNode*);
|
D | SkXMLWriter.h | 32 void writeDOM(const SkDOM&, const SkDOM::Node*, bool skipRoot);
|
/external/skia/tests/ |
D | SVGDeviceTest.cpp | 37 static std::unique_ptr<SkCanvas> MakeDOMCanvas(SkDOM* dom) { in MakeDOMCanvas() 51 const SkDOM& dom, 52 const SkDOM::Node* root, 61 const SkDOM::Node* textElem = dom.getFirstChild(root, "text"); 66 REPORTER_ASSERT(reporter, dom.getType(textElem) == SkDOM::kElement_Type); 68 const SkDOM::Node* textNode= dom.getFirstChild(textElem); 71 REPORTER_ASSERT(reporter, dom.getType(textNode) == SkDOM::kText_Type); 123 SkDOM dom; 197 bool FindImageShaderNodes(skiatest::Reporter* reporter, const SkDOM* dom, const SkDOM::Node* root, in FindImageShaderNodes() 198 const SkDOM::Node** patternOut, const SkDOM::Node** imageOut, in FindImageShaderNodes() [all …]
|
D | SkDOMTest.cpp | 15 static const SkDOM::Node* check_node(skiatest::Reporter* r, const SkDOM& dom, in check_node() 16 const SkDOM::Node* node, const char* expectedName, in check_node() 17 SkDOM::Type expectedType) { in check_node() 42 SkDOM dom; in DEF_TEST() 45 const SkDOM::Node* root = dom.build(docStream); in DEF_TEST() 60 "elem1", SkDOM::kElement_Type); in DEF_TEST() 62 "elem2", SkDOM::kElement_Type); in DEF_TEST() 64 "elem3", SkDOM::kElement_Type); in DEF_TEST() 67 "subelem1", SkDOM::kElement_Type); in DEF_TEST() 70 "Some text.", SkDOM::kText_Type); in DEF_TEST() [all …]
|
/external/skqp/tests/ |
D | SkDOMTest.cpp | 15 static const SkDOM::Node* check_node(skiatest::Reporter* r, const SkDOM& dom, in check_node() 16 const SkDOM::Node* node, const char* expectedName, in check_node() 17 SkDOM::Type expectedType) { in check_node() 42 SkDOM dom; in DEF_TEST() 45 const SkDOM::Node* root = dom.build(docStream); in DEF_TEST() 60 "elem1", SkDOM::kElement_Type); in DEF_TEST() 62 "elem2", SkDOM::kElement_Type); in DEF_TEST() 64 "elem3", SkDOM::kElement_Type); in DEF_TEST() 67 "subelem1", SkDOM::kElement_Type); in DEF_TEST() 70 "Some text.", SkDOM::kText_Type); in DEF_TEST() [all …]
|
D | SVGDeviceTest.cpp | 43 const SkDOM& dom, 44 const SkDOM::Node* root, 53 const SkDOM::Node* textElem = dom.getFirstChild(root, "text"); 58 REPORTER_ASSERT(reporter, dom.getType(textElem) == SkDOM::kElement_Type); 60 const SkDOM::Node* textNode= dom.getFirstChild(textElem); 63 REPORTER_ASSERT(reporter, dom.getType(textNode) == SkDOM::kText_Type); 115 SkDOM dom; 191 bool FindImageShaderNodes(skiatest::Reporter* reporter, const SkDOM* dom, const SkDOM::Node* root, in FindImageShaderNodes() 192 const SkDOM::Node** patternOut, const SkDOM::Node** imageOut, in FindImageShaderNodes() 193 const SkDOM::Node** rectOut) { in FindImageShaderNodes() [all …]
|
/external/skia/experimental/svg/model/ |
D | SkSVGDOM.cpp | 402 void parse_node_attributes(const SkDOM& xmlDom, const SkDOM::Node* xmlNode, in parse_node_attributes() 405 SkDOM::AttrIter attrIter(xmlDom, xmlNode); in parse_node_attributes() 416 sk_sp<SkSVGNode> construct_svg_node(const SkDOM& dom, const ConstructionContext& ctx, in construct_svg_node() 417 const SkDOM::Node* xmlNode) { in construct_svg_node() 419 const SkDOM::Type elemType = dom.getType(xmlNode); in construct_svg_node() 421 if (elemType == SkDOM::kText_Type) { in construct_svg_node() 427 SkASSERT(elemType == SkDOM::kElement_Type); in construct_svg_node() 461 sk_sp<SkSVGDOM> SkSVGDOM::MakeFromDOM(const SkDOM& xmlDom) { in MakeFromDOM() 474 SkDOM xmlDom; in MakeFromStream()
|
D | SkSVGDOM.h | 17 class SkDOM; variable 26 static sk_sp<SkSVGDOM> MakeFromDOM(const SkDOM&);
|
/external/skqp/experimental/svg/model/ |
D | SkSVGDOM.cpp | 402 void parse_node_attributes(const SkDOM& xmlDom, const SkDOM::Node* xmlNode, in parse_node_attributes() 405 SkDOM::AttrIter attrIter(xmlDom, xmlNode); in parse_node_attributes() 416 sk_sp<SkSVGNode> construct_svg_node(const SkDOM& dom, const ConstructionContext& ctx, in construct_svg_node() 417 const SkDOM::Node* xmlNode) { in construct_svg_node() 419 const SkDOM::Type elemType = dom.getType(xmlNode); in construct_svg_node() 421 if (elemType == SkDOM::kText_Type) { in construct_svg_node() 427 SkASSERT(elemType == SkDOM::kElement_Type); in construct_svg_node() 461 sk_sp<SkSVGDOM> SkSVGDOM::MakeFromDOM(const SkDOM& xmlDom) { in MakeFromDOM() 474 SkDOM xmlDom; in MakeFromStream()
|
D | SkSVGDOM.h | 17 class SkDOM; variable 26 static sk_sp<SkSVGDOM> MakeFromDOM(const SkDOM&);
|
/external/skqp/samplecode/ |
D | SampleSVGFile.cpp | 36 SkDOM xmlDom; in onOnceBeforeDraw()
|
D | SampleCowboy.cpp | 51 SkDOM xmlDom; in onOnceBeforeDraw()
|
/external/skia/samplecode/ |
D | SampleSVGFile.cpp | 36 SkDOM xmlDom; in onOnceBeforeDraw()
|
D | SampleCowboy.cpp | 51 SkDOM xmlDom; in onOnceBeforeDraw()
|
/external/skia/tools/viewer/ |
D | BisectSlide.cpp | 31 SkDOM xml; in Create()
|
/external/skqp/tools/viewer/ |
D | BisectSlide.cpp | 31 SkDOM xml; in Create()
|
/external/skqp/tools/skpbench/ |
D | skpbench.cpp | 514 SkDOM xml; in create_skp_from_svg()
|