Searched refs:nsLen (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/core/jni/ |
D | android_util_XmlBlock.cpp | 268 jsize nsLen = 0; in android_content_XmlBlock_nativeGetAttributeIndex() local 271 nsLen = env->GetStringLength(ns); in android_content_XmlBlock_nativeGetAttributeIndex() 278 jint idx = static_cast<jint>(st->indexOfAttribute(ns16, nsLen, name16, nameLen)); in android_content_XmlBlock_nativeGetAttributeIndex()
|
/frameworks/base/libs/androidfw/ |
D | ResourceTypes.cpp | 1339 ssize_t ResXMLParser::indexOfAttribute(const char16_t* ns, size_t nsLen, in indexOfAttribute() argument 1350 ns8 = String8(ns, nsLen); in indexOfAttribute() 1354 ALOGI("indexOfAttribute UTF8 %s (%zu) / %s (%zu)", ns8.string(), nsLen, in indexOfAttribute() 1364 if (curAttr != NULL && curNsLen == nsLen && curAttrLen == attrLen in indexOfAttribute() 1376 if (memcmp(ns8.string(), curNs, nsLen) == 0) { in indexOfAttribute() 1388 String8(ns, nsLen).string(), nsLen, in indexOfAttribute() 1400 if (curAttr != NULL && curNsLen == nsLen && curAttrLen == attrLen in indexOfAttribute() 1412 if (memcmp(ns, curNs, nsLen*sizeof(char16_t)) == 0) { in indexOfAttribute()
|
/frameworks/base/include/androidfw/ |
D | ResourceTypes.h | 768 ssize_t indexOfAttribute(const char16_t* ns, size_t nsLen,
|