Home
last modified time | relevance | path

Searched refs:findAttr (Results 1 – 9 of 9) sorted by relevance

/external/skia/tests/
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(patternNode, "height"), "100%") == 0); in DEF_TEST()
[all …]
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()
/external/skqp/tests/
DSVGDeviceTest.cpp72 const char* x = dom.findAttr(textElem, "x");
92 const char* y = dom.findAttr(textElem, "y");
258 REPORTER_ASSERT(reporter, atoi(dom.findAttr(imageNode, "width")) == imageWidth); in DEF_TEST()
259 REPORTER_ASSERT(reporter, atoi(dom.findAttr(imageNode, "height")) == imageHeight); in DEF_TEST()
263 REPORTER_ASSERT(reporter, strcmp(dom.findAttr(patternNode, "width"), "100%") == 0); in DEF_TEST()
264 REPORTER_ASSERT(reporter, strcmp(dom.findAttr(patternNode, "height"), "100%") == 0); in DEF_TEST()
288 REPORTER_ASSERT(reporter, atoi(dom.findAttr(imageNode, "width")) == imageWidth); in DEF_TEST()
289 REPORTER_ASSERT(reporter, atoi(dom.findAttr(imageNode, "height")) == imageHeight); in DEF_TEST()
293 REPORTER_ASSERT(reporter, atoi(dom.findAttr(patternNode, "width")) == imageWidth); in DEF_TEST()
294 REPORTER_ASSERT(reporter, strcmp(dom.findAttr(patternNode, "height"), "100%") == 0); in DEF_TEST()
[all …]
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()
/external/skqp/src/xml/
DSkDOM.cpp115 const char* SkDOM::findAttr(const Node* node, const char name[]) const { in findAttr() function in SkDOM
378 const char* vstr = this->findAttr(node, name); in findS32()
383 const char* vstr = this->findAttr(node, name); in findScalars()
388 const char* vstr = this->findAttr(node, name); in findHex()
393 const char* vstr = this->findAttr(node, name); in findBool()
398 const char* vstr = this->findAttr(node, name); in findList()
403 const char* vstr = this->findAttr(node, name); in hasAttr()
408 const char* vstr = this->findAttr(node, name); in hasS32()
414 const char* vstr = this->findAttr(node, name); in hasScalar()
420 const char* vstr = this->findAttr(node, name); in hasHex()
[all …]
DSkDOM.h52 const char* findAttr(const Node*, const char attrName[]) const;
/external/skia/src/xml/
DSkDOM.cpp117 const char* SkDOM::findAttr(const Node* node, const char name[]) const { in findAttr() function in SkDOM
379 const char* vstr = this->findAttr(node, name); in findS32()
384 const char* vstr = this->findAttr(node, name); in findScalars()
389 const char* vstr = this->findAttr(node, name); in findHex()
394 const char* vstr = this->findAttr(node, name); in findBool()
399 const char* vstr = this->findAttr(node, name); in findList()
404 const char* vstr = this->findAttr(node, name); in hasAttr()
409 const char* vstr = this->findAttr(node, name); in hasS32()
415 const char* vstr = this->findAttr(node, name); in hasScalar()
421 const char* vstr = this->findAttr(node, name); in hasHex()
[all …]
DSkDOM.h52 const char* findAttr(const Node*, const char attrName[]) const;
/external/llvm-project/mlir/lib/IR/
DOperationSupport.cpp102 static auto *findAttr(SmallVectorImpl<NamedAttribute> &attrs, T name, in findAttr() function
117 auto *it = findAttr(attrs, name, isSorted()); in get()
123 auto *it = findAttr(attrs, name, isSorted()); in get()
129 auto *it = findAttr(attrs, name, isSorted()); in getNamed()
133 auto *it = findAttr(attrs, name, isSorted()); in getNamed()
143 auto *it = findAttr(attrs, name, isSorted()); in set()
176 return eraseImpl(findAttr(attrs, name, isSorted())); in erase()
180 return eraseImpl(findAttr(attrs, name, isSorted())); in erase()