Searched defs:nsLen (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/core/jni/
H A Dandroid_util_XmlBlock.cpp268 jsize nsLen = 0; local
271 nsLen = env->GetStringLength(ns);
278 jint idx = static_cast<jint>(st->indexOfAttribute(ns16, nsLen, name16, nameLen));
/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp1400 ssize_t ResXMLParser::indexOfAttribute(const char16_t* ns, size_t nsLen, argument
1411 ns8 = String8(ns, nsLen);
1415 ALOGI("indexOfAttribute UTF8 %s (%zu) / %s (%zu)", ns8.string(), nsLen,
1425 if (curAttr != NULL && curNsLen == nsLen && curAttrLen == attrLen
1437 if (memcmp(ns8.string(), curNs, nsLen) == 0) {
1449 String8(ns, nsLen).string(), nsLen,
1461 if (curAttr != NULL && curNsLen == nsLen && curAttrLen == attrLen
1473 if (memcmp(ns, curNs, nsLen*sizeof(char16_t)) == 0) {

Completed in 80 milliseconds