Home
last modified time | relevance | path

Searched refs:findAttr (Results 1 - 4 of 4) sorted by relevance

/third_party/skia/tests/
H A DSVGDeviceTest.cpp79 const char* x = dom.findAttr(textElem, "x"); in check_text_node()
100 const char* y = dom.findAttr(textElem, "y"); in check_text_node()
256 REPORTER_ASSERT(reporter, atoi(dom.findAttr(imageNode, "width")) == imageWidth); in DEF_TEST()
257 REPORTER_ASSERT(reporter, atoi(dom.findAttr(imageNode, "height")) == imageHeight); in DEF_TEST()
261 REPORTER_ASSERT(reporter, strcmp(dom.findAttr(patternNode, "width"), "100%") == 0); in DEF_TEST()
262 REPORTER_ASSERT(reporter, strcmp(dom.findAttr(patternNode, "height"), "100%") == 0); in DEF_TEST()
286 REPORTER_ASSERT(reporter, atoi(dom.findAttr(imageNode, "width")) == imageWidth); in DEF_TEST()
287 REPORTER_ASSERT(reporter, atoi(dom.findAttr(imageNode, "height")) == imageHeight); in DEF_TEST()
291 REPORTER_ASSERT(reporter, atoi(dom.findAttr(patternNode, "width")) == imageWidth); in DEF_TEST()
292 REPORTER_ASSERT(reporter, strcmp(dom.findAttr(patternNod in DEF_TEST()
[all...]
H A DSkDOMTest.cpp48 const char* v = dom.findAttr(root, "a"); in DEF_TEST()
50 v = dom.findAttr(root, "b"); in DEF_TEST()
52 v = dom.findAttr(root, "c"); in DEF_TEST()
/third_party/skia/src/xml/
H A DSkDOM.cpp92 const char* SkDOM::findAttr(const Node* node, const char name[]) const { in findAttr() function in SkDOM
239 const char* vstr = this->findAttr(node, name); in findS32()
244 const char* vstr = this->findAttr(node, name); in findScalars()
249 const char* vstr = this->findAttr(node, name); in findHex()
254 const char* vstr = this->findAttr(node, name); in findBool()
259 const char* vstr = this->findAttr(node, name); in findList()
264 const char* vstr = this->findAttr(node, name); in hasAttr()
269 const char* vstr = this->findAttr(node, name); in hasS32()
275 const char* vstr = this->findAttr(node, name); in hasScalar()
281 const char* vstr = this->findAttr(nod in hasHex()
[all...]
H A DSkDOM.h72 const char* findAttr(const Node*, const char attrName[]) const;

Completed in 2 milliseconds