Home
last modified time | relevance | path

Searched refs:outLen (Results 1 – 24 of 24) sorted by relevance

/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/
DBase64.cpp49 size_t outLen = (n / 4) * 3 - padding; in decodeBase64() local
51 sp<Buffer> buffer = new Buffer(outLen); in decodeBase64()
53 if (out == nullptr || buffer->size() < outLen) { in decodeBase64()
85 if (j < outLen) { out[j++] = (accum >> 16); } in decodeBase64()
86 if (j < outLen) { out[j++] = (accum >> 8) & 0xff; } in decodeBase64()
87 if (j < outLen) { out[j++] = accum & 0xff; } in decodeBase64()
155 size_t outLen = out->size(); in encodeBase64Url() local
156 char *base64url = new char[outLen]; in encodeBase64Url()
157 for (size_t i = 0; i < outLen; ++i) { in encodeBase64Url()
166 out->assign(base64url, outLen); in encodeBase64Url()
/frameworks/av/media/libstagefright/foundation/
Dbase64.cpp63 size_t outLen = (n / 4) * 3 - padding; in decodeBase64() local
65 if (out == NULL || *inOutBufSize < outLen) { in decodeBase64()
96 if (j < outLen) { out[j++] = (accum >> 16); } in decodeBase64()
97 if (j < outLen) { out[j++] = (accum >> 8) & 0xff; } in decodeBase64()
98 if (j < outLen) { out[j++] = accum & 0xff; } in decodeBase64()
168 size_t outLen = out->size(); in encodeBase64Url() local
169 char *base64url = new char[outLen]; in encodeBase64Url()
170 for (size_t i = 0; i < outLen; ++i) { in encodeBase64Url()
179 out->setTo(base64url, outLen); in encodeBase64Url()
/frameworks/base/core/java/android/security/
DScrypt.java26 native byte[] nativeScrypt(byte[] password, byte[] salt, int n, int r, int p, int outLen); in nativeScrypt() argument
29 public byte[] scrypt(byte[] password, byte[] salt, int n, int r, int p, int outLen) { in scrypt() argument
30 return nativeScrypt(password, salt, n, r, p, outLen); in scrypt()
/frameworks/native/opengl/tools/glgen/stubs/gles11/
DglGetShaderInfoLog.cpp15 GLsizei outLen = 0; in android_glGetShaderInfoLog() local
16 glGetShaderInfoLog(shader, infoLen, &outLen, buf); in android_glGetShaderInfoLog()
17 jstring result = _env->NewStringUTF(outLen == 0 ? "" : buf); in android_glGetShaderInfoLog()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
DMockScrypt.java31 public byte[] scrypt(byte[] password, byte[] salt, int n, int r, int p, int outLen) { in scrypt() argument
32 assertEquals(32, outLen); in scrypt()
44 byteBuffer.putInt(outLen); in scrypt()
/frameworks/base/core/jni/
Dandroid_security_Scrypt.cpp34 …(JNIEnv* env, jobject, jbyteArray password, jbyteArray salt, jint N, jint r, jint p, jint outLen) { in android_security_Scrypt_nativeScrypt() argument
41 jbyteArray ret = env->NewByteArray(outLen); in android_security_Scrypt_nativeScrypt()
49 outLen); in android_security_Scrypt_nativeScrypt()
Dandroid_os_Debug.cpp579 int outLen = env->GetArrayLength(out); in android_os_Debug_getMemInfo() local
580 if (outLen < MEMINFO_COUNT) { in android_os_Debug_getMemInfo()
598 outLen = MEMINFO_COUNT; in android_os_Debug_getMemInfo()
599 for (int i = 0; i < outLen; i++) { in android_os_Debug_getMemInfo()
Dandroid_opengl_GLES20.cpp3205 GLsizei outLen = 0; in android_glGetShaderInfoLog() local
3206 glGetShaderInfoLog(shader, infoLen, &outLen, buf); in android_glGetShaderInfoLog()
3207 jstring result = _env->NewStringUTF(outLen == 0 ? "" : buf); in android_glGetShaderInfoLog()
/frameworks/base/libs/androidfw/include/androidfw/
DResourceTypes.h506 inline const char16_t* stringAt(const ResStringPool_ref& ref, size_t* outLen) const { in stringAt() argument
507 return stringAt(ref.index, outLen); in stringAt()
509 const char16_t* stringAt(size_t idx, size_t* outLen) const;
512 const char* string8At(size_t idx, size_t* outLen) const;
545 size_t* outLen) const;
557 const char* string8(size_t* outLen) const;
558 const char16_t* string16(size_t* outLen) const;
730 const char16_t* getComment(size_t* outLen) const;
735 const char16_t* getText(size_t* outLen) const;
740 const char16_t* getNamespacePrefix(size_t* outLen) const;
[all …]
/frameworks/base/core/java/android/content/pm/
DSignature.java158 public char[] toChars(char[] existingArray, int[] outLen) { in toChars() argument
171 if (outLen != null) outLen[0] = N; in toChars()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DMockSyntheticPasswordManager.java98 protected byte[] scrypt(byte[] password, byte[] salt, int n, int r, int p, int outLen) { in scrypt() argument
104 PBEKeySpec spec = new PBEKeySpec(passwordChars, salt, 10, outLen * 8); in scrypt()
/frameworks/rs/cpu_ref/
DrsCpuCoreRuntime.h49 uint32_t outLen; member
DrsCpuScript.cpp609 mtls->redp.outLen = 1; in reduceMtlsSetup()
/frameworks/base/keystore/java/android/security/keystore/
DAndroidKeyStoreSignatureSpiBase.java310 protected final int engineSign(byte[] out, int outOffset, int outLen) in engineSign() argument
312 return super.engineSign(out, outOffset, outLen); in engineSign()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp822 const char* ResStringPool::string8At(size_t idx, size_t* outLen) const in string8At()
838 *outLen = encLen; in string8At()
841 return stringDecodeAt(idx, str, encLen, outLen); in string8At()
864 const size_t encLen, size_t* outLen) const { in stringDecodeAt()
875 *outLen = end; in stringDecodeAt()
1117 const char16_t* ResXMLParser::getComment(size_t* outLen) const in getComment()
1120 return id >= 0 ? mTree.mStrings.stringAt(id, outLen) : NULL; in getComment()
1136 const char16_t* ResXMLParser::getText(size_t* outLen) const in getText()
1139 return id >= 0 ? mTree.mStrings.stringAt(id, outLen) : NULL; in getText()
1159 const char16_t* ResXMLParser::getNamespacePrefix(size_t* outLen) const in getNamespacePrefix()
[all …]
/frameworks/av/media/libstagefright/rtsp/
DAMPEG4AudioAssembler.cpp68 size_t outLen = s.size() / 2; in decodeHex() local
69 sp<ABuffer> buffer = new ABuffer(outLen); in decodeHex()
DAPacketSource.cpp76 size_t outLen = s.size() / 2; in decodeHex() local
77 sp<ABuffer> buffer = new ABuffer(outLen); in decodeHex()
/frameworks/base/tools/aapt2/compile/
DNinePatch.cpp608 std::unique_ptr<uint8_t[]> NinePatch::SerializeBase(size_t* outLen) const { in SerializeBase()
626 *outLen = data.serializedSize(); in SerializeBase()
/frameworks/base/services/core/java/com/android/server/locksettings/
DSyntheticPasswordManager.java1195 protected byte[] scrypt(byte[] password, byte[] salt, int n, int r, int p, int outLen) { in scrypt() argument
1196 return new Scrypt().scrypt(password, salt, n, r, p, outLen); in scrypt()
/frameworks/native/libs/binder/
DParcel.cpp2128 const char16_t* Parcel::readString16Inplace(size_t* outLen) const in readString16Inplace()
2133 *outLen = size; in readString16Inplace()
2139 *outLen = 0; in readString16Inplace()
/frameworks/base/core/java/com/android/internal/app/procstats/
DProcessStats.java961 static byte[] readFully(InputStream stream, int[] outLen) throws IOException { in readFully() argument
972 outLen[0] = pos; in readFully()
/frameworks/base/services/core/java/com/android/server/stats/
DStatsCompanionService.java1691 static byte[] readFully(InputStream stream, int[] outLen) throws IOException { in readFully() argument
1704 outLen[0] = pos; in readFully()
/frameworks/native/include/binder/
DParcel.h319 const char16_t* readString16Inplace(size_t* outLen) const;
/frameworks/native/libs/binder/include/binder/
DParcel.h319 const char16_t* readString16Inplace(size_t* outLen) const;