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);
277 jint idx = static_cast<jint>(st->indexOfAttribute(ns16, nsLen, name16, nameLen));
/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp1288 ssize_t ResXMLParser::indexOfAttribute(const char16_t* ns, size_t nsLen, argument
1299 ns8 = String8(ns, nsLen);
1302 STRING_POOL_NOISY(ALOGI("indexOfAttribute UTF8 %s (%d) / %s (%d)", ns8.string(), nsLen,
1310 if (curAttr != NULL && curNsLen == nsLen && curAttrLen == attrLen
1320 if (memcmp(ns8.string(), curNs, nsLen) == 0) {
1329 String8(ns, nsLen).string(), nsLen,
1338 if (curAttr != NULL && curNsLen == nsLen && curAttrLen == attrLen
1348 if (memcmp(ns, curNs, nsLen*sizeof(char16_t)) == 0) {

Completed in 396 milliseconds