Home
last modified time | relevance | path

Searched refs:outLen (Results 1 – 25 of 25) 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/native/libs/binder/tests/parcel_fuzzer/
Dbinder.cpp150 size_t outLen = 0; in __anon9dbf283a0702() local
151 const char* str = p.readString8Inplace(&outLen); in __anon9dbf283a0702()
152 std::string bytes = hexString(str, sizeof(char) * (outLen + 1)); in __anon9dbf283a0702()
153 FUZZ_LOG() << "readString8Inplace: " << bytes << " size: " << outLen; in __anon9dbf283a0702()
160 size_t outLen = 0; in __anon9dbf283a0802() local
161 const char16_t* str = p.readString16Inplace(&outLen); in __anon9dbf283a0802()
162 std::string bytes = hexString(str, sizeof(char16_t) * (outLen + 1)); in __anon9dbf283a0802()
163 FUZZ_LOG() << "readString16Inplace: " << bytes << " size: " << outLen; in __anon9dbf283a0802()
/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.cpp523 int outLen = env->GetArrayLength(outUssSwapPssRss); in android_os_Debug_getPssPid() local
524 if (outLen >= 1) { in android_os_Debug_getPssPid()
528 if (outLen >= 2) { in android_os_Debug_getPssPid()
531 if (outLen >= 3) { in android_os_Debug_getPssPid()
540 int outLen = env->GetArrayLength(outMemtrack); in android_os_Debug_getPssPid() local
541 if (outLen >= 1) { in android_os_Debug_getPssPid()
545 if (outLen >= 2) { in android_os_Debug_getPssPid()
548 if (outLen >= 3) { in android_os_Debug_getPssPid()
551 if (outLen >= 4) { in android_os_Debug_getPssPid()
599 int outLen = env->GetArrayLength(out); in android_os_Debug_getMemInfo() local
[all …]
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.h751 const char16_t* getComment(size_t* outLen) const;
756 const char16_t* getText(size_t* outLen) const;
761 const char16_t* getNamespacePrefix(size_t* outLen) const;
763 const char16_t* getNamespaceUri(size_t* outLen) const;
767 const char16_t* getElementNamespace(size_t* outLen) const;
769 const char16_t* getElementName(size_t* outLen) const;
778 const char16_t* getAttributeNamespace(size_t idx, size_t* outLen) const;
781 const char16_t* getAttributeName(size_t idx, size_t* outLen) const;
785 const char* getAttributeNamespace8(size_t idx, size_t* outLen) const;
786 const char* getAttributeName8(size_t idx, size_t* outLen) const;
[all …]
/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/base/core/java/android/content/pm/
DSignature.java177 public char[] toChars(char[] existingArray, int[] outLen) { in toChars() argument
190 if (outLen != null) outLen[0] = N; in toChars()
/frameworks/rs/cpu_ref/
DrsCpuCoreRuntime.h49 uint32_t outLen; member
DrsCpuScript.cpp609 mtls->redp.outLen = 1; in reduceMtlsSetup()
/frameworks/base/keystore/java/android/security/keystore2/
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/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/libs/androidfw/
DResourceTypes.cpp1234 const char16_t* ResXMLParser::getComment(size_t* outLen) const in getComment()
1237 return id >= 0 ? UnpackOptionalString(mTree.mStrings.stringAt(id), outLen) : NULL; in getComment()
1253 const char16_t* ResXMLParser::getText(size_t* outLen) const in getText()
1256 return id >= 0 ? UnpackOptionalString(mTree.mStrings.stringAt(id), outLen) : NULL; in getText()
1276 const char16_t* ResXMLParser::getNamespacePrefix(size_t* outLen) const in getNamespacePrefix()
1280 return id >= 0 ? UnpackOptionalString(mTree.mStrings.stringAt(id), outLen) : NULL; in getNamespacePrefix()
1291 const char16_t* ResXMLParser::getNamespaceUri(size_t* outLen) const in getNamespaceUri()
1295 return id >= 0 ? UnpackOptionalString(mTree.mStrings.stringAt(id), outLen) : NULL; in getNamespaceUri()
1309 const char16_t* ResXMLParser::getElementNamespace(size_t* outLen) const in getElementNamespace()
1312 return id >= 0 ? UnpackOptionalString(mTree.mStrings.stringAt(id), outLen) : NULL; in getElementNamespace()
[all …]
/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/native/libs/binder/
DParcel.cpp1728 const char* Parcel::readString8Inplace(size_t* outLen) const in readString8Inplace()
1733 *outLen = size; in readString8Inplace()
1742 *outLen = 0; in readString8Inplace()
1769 const char16_t* Parcel::readString16Inplace(size_t* outLen) const in readString16Inplace()
1774 *outLen = size; in readString16Inplace()
1783 *outLen = 0; in readString16Inplace()
/frameworks/base/services/core/java/com/android/server/locksettings/
DSyntheticPasswordManager.java1392 protected byte[] scrypt(byte[] password, byte[] salt, int n, int r, int p, int outLen) { in scrypt() argument
1393 return new Scrypt().scrypt(password, salt, n, r, p, outLen); in scrypt()
/frameworks/native/include/binder/
DParcel.h355 const char* readString8Inplace(size_t* outLen) const;
360 const char16_t* readString16Inplace(size_t* outLen) const;
/frameworks/native/libs/binder/include/binder/
DParcel.h355 const char* readString8Inplace(size_t* outLen) const;
360 const char16_t* readString16Inplace(size_t* outLen) const;
/frameworks/base/core/java/com/android/internal/app/procstats/
DProcessStats.java987 static byte[] readFully(InputStream stream, int[] outLen) throws IOException { in readFully() argument
998 outLen[0] = pos; in readFully()
/frameworks/base/services/core/java/com/android/server/stats/pull/
DStatsPullAtomService.java3843 static byte[] readFully(InputStream stream, int[] outLen) throws IOException {
3856 outLen[0] = pos;