Lines Matching refs:idx
239 ssize_t idx = tree.indexOfAttribute(ns, attr);
240 if (idx < 0) {
244 if (tree.getAttributeValue(idx, &value) != NO_ERROR) {
251 const uint16_t* str = tree.getAttributeStringValue(idx, &len);
257 ssize_t idx = indexOfAttribute(tree, attrRes);
258 if (idx < 0) {
262 if (tree.getAttributeValue(idx, &value) != NO_ERROR) {
269 const uint16_t* str = tree.getAttributeStringValue(idx, &len);
276 ssize_t idx = indexOfAttribute(tree, attrRes);
277 if (idx < 0) {
281 if (tree.getAttributeValue(idx, &value) != NO_ERROR) {
294 ssize_t idx = indexOfAttribute(tree, attrRes);
295 if (idx < 0) {
299 if (tree.getAttributeValue(idx, &value) != NO_ERROR) {
302 const uint16_t* str = tree.getAttributeStringValue(idx, &len);
343 ssize_t idx = componentName.find(".");
345 if (idx == 0) {
347 } else if (idx < 0) {