Home
last modified time | relevance | path

Searched refs:attrLen (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/content/
DDefaultDataHandler.java152 int attrLen = atts.getLength(); in startElement() local
153 if (attrLen == 0) { in startElement()
161 int attrLen = atts.getLength(); in startElement() local
162 if (attrLen != 2) { in startElement()
163 throw new SAXException("illegal attributes number " + attrLen); in startElement()
181 int attrLen = atts.getLength() - 2; in startElement() local
182 if (attrLen > 0) { in startElement()
183 String[] selectionArgs = new String[attrLen]; in startElement()
184 for (int i = 0; i < attrLen; i++) { in startElement()
188 } else if (attrLen == 0){ in startElement()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp1404 const char16_t* attr, size_t attrLen) const in indexOfAttribute()
1416 attr8 = String8(attr, attrLen); in indexOfAttribute()
1419 attr8.string(), attrLen); in indexOfAttribute()
1428 if (curAttr != NULL && curNsLen == nsLen && curAttrLen == attrLen in indexOfAttribute()
1429 && memcmp(attr8.string(), curAttr, attrLen) == 0) { in indexOfAttribute()
1453 String8(attr, attrLen).string(), attrLen); in indexOfAttribute()
1464 if (curAttr != NULL && curNsLen == nsLen && curAttrLen == attrLen in indexOfAttribute()
1465 && (memcmp(attr, curAttr, attrLen*sizeof(char16_t)) == 0)) { in indexOfAttribute()
/frameworks/base/libs/androidfw/include/androidfw/
DResourceTypes.h776 const char16_t* attr, size_t attrLen) const;