Home
last modified time | relevance | path

Searched refs:nsLen (Results 1 – 4 of 4) sorted by relevance

/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/util/
DPack.java216 public static void littleEndianToLong(byte[] bs, int bsOff, long[] ns, int nsOff, int nsLen) in littleEndianToLong() argument
218 for (int i = 0; i < nsLen; ++i) in littleEndianToLong()
254 public static void longToLittleEndian(long[] ns, int nsOff, int nsLen, byte[] bs, int bsOff) in longToLittleEndian() argument
256 for (int i = 0; i < nsLen; ++i) in longToLittleEndian()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/
DPack.java214 public static void littleEndianToLong(byte[] bs, int bsOff, long[] ns, int nsOff, int nsLen) in littleEndianToLong() argument
216 for (int i = 0; i < nsLen; ++i) in littleEndianToLong()
252 public static void longToLittleEndian(long[] ns, int nsOff, int nsLen, byte[] bs, int bsOff) in longToLittleEndian() argument
254 for (int i = 0; i < nsLen; ++i) in longToLittleEndian()
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/
DResXMLParser.java393 public int indexOfAttribute(final String ns, int nsLen, in indexOfAttribute() argument
404 ns8 = new String8(ns, nsLen); in indexOfAttribute()
408 ALOGI("indexOfAttribute UTF8 %s (0x%x) / %s (0x%x)", ns8.string(), nsLen, in indexOfAttribute()
418 if (curAttr != null && curNsLen.get() == nsLen && curAttrLen.get() == attrLen in indexOfAttribute()
430 if (memcmp(ns8.string(), curNs, nsLen) == 0) { in indexOfAttribute()
442 ns /*String8(ns, nsLen).string()*/, nsLen, in indexOfAttribute()
454 if (curAttr != null && curNsLen.get() == nsLen && curAttrLen.get() == attrLen in indexOfAttribute()
466 if (memcmp(ns, curNs, nsLen*SIZEOF_CHAR/*sizeof(char16_t)*/) == 0) { in indexOfAttribute()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowXmlBlock.java324 int nsLen = 0; in nativeGetAttributeIndex() local
326 nsLen = ns.length(); in nativeGetAttributeIndex()
329 return st.indexOfAttribute(ns, nsLen, name, name.length()); in nativeGetAttributeIndex()