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.cpp1587 const char16_t* attr, size_t attrLen) const in indexOfAttribute()
1599 attr8 = String8(attr, attrLen); in indexOfAttribute()
1602 attr8.c_str(), attrLen); in indexOfAttribute()
1611 if (curAttr != NULL && curNsLen == nsLen && curAttrLen == attrLen in indexOfAttribute()
1612 && memcmp(attr8.c_str(), curAttr, attrLen) == 0) { in indexOfAttribute()
1636 String8(attr, attrLen).c_str(), attrLen); in indexOfAttribute()
1647 if (curAttr != NULL && curNsLen == nsLen && curAttrLen == attrLen in indexOfAttribute()
1648 && (memcmp(attr, curAttr, attrLen*sizeof(char16_t)) == 0)) { in indexOfAttribute()
/frameworks/base/libs/androidfw/include/androidfw/
DResourceTypes.h807 const char16_t* attr, size_t attrLen) const;