Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/foundation/
Dbase64.cpp46 size_t outLen = (n / 4) * 3 - padding; in decodeBase64() local
48 sp<ABuffer> buffer = new ABuffer(outLen); in decodeBase64()
50 if (out == NULL || buffer->size() < outLen) { in decodeBase64()
81 if (j < outLen) { out[j++] = (accum >> 16); } in decodeBase64()
82 if (j < outLen) { out[j++] = (accum >> 8) & 0xff; } in decodeBase64()
83 if (j < outLen) { out[j++] = accum & 0xff; } in decodeBase64()
152 size_t outLen = out->size(); in encodeBase64Url() local
153 char *base64url = new char[outLen]; in encodeBase64Url()
154 for (size_t i = 0; i < outLen; ++i) { in encodeBase64Url()
163 out->setTo(base64url, outLen); in encodeBase64Url()
/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/libs/androidfw/include/androidfw/
DResourceTypes.h501 inline const char16_t* stringAt(const ResStringPool_ref& ref, size_t* outLen) const { in stringAt() argument
502 return stringAt(ref.index, outLen); in stringAt()
504 const char16_t* stringAt(size_t idx, size_t* outLen) const;
507 const char* string8At(size_t idx, size_t* outLen) const;
549 const char* string8(size_t* outLen) const;
550 const char16_t* string16(size_t* outLen) const;
722 const char16_t* getComment(size_t* outLen) const;
727 const char16_t* getText(size_t* outLen) const;
732 const char16_t* getNamespacePrefix(size_t* outLen) const;
734 const char16_t* getNamespaceUri(size_t* outLen) const;
[all …]
/frameworks/base/services/core/jni/
Dcom_android_server_locksettings_SyntheticPasswordManager.cpp51 …(JNIEnv* env, jobject, jbyteArray password, jbyteArray salt, jint N, jint r, jint p, jint outLen) { in android_server_SyntheticPasswordManager_nativeScrypt() argument
58 jbyteArray ret = env->NewByteArray(outLen); in android_server_SyntheticPasswordManager_nativeScrypt()
66 outLen); in android_server_SyntheticPasswordManager_nativeScrypt()
/frameworks/base/core/java/android/content/pm/
DSignature.java127 public char[] toChars(char[] existingArray, int[] outLen) { in toChars() argument
140 if (outLen != null) outLen[0] = N; in toChars()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DMockSyntheticPasswordManager.java96 protected byte[] scrypt(String password, byte[] salt, int N, int r, int p, int outLen) { in scrypt() argument
98 PBEKeySpec spec = new PBEKeySpec(password.toCharArray(), salt, 10, outLen * 8); in scrypt()
/frameworks/rs/cpu_ref/
DrsCpuCoreRuntime.h49 uint32_t outLen; member
DrsCpuScript.cpp608 mtls->redp.outLen = 1; in reduceMtlsSetup()
/frameworks/base/tools/aapt2/proto/
DProtoSerialize.h55 bool ReadDataMetaData(uint64_t* outOffset, uint64_t* outLen);
/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.cpp815 const char* ResStringPool::string8At(size_t idx, size_t* outLen) const in string8At()
831 *outLen = encLen; in string8At()
1083 const char16_t* ResXMLParser::getComment(size_t* outLen) const in getComment()
1086 return id >= 0 ? mTree.mStrings.stringAt(id, outLen) : NULL; in getComment()
1102 const char16_t* ResXMLParser::getText(size_t* outLen) const in getText()
1105 return id >= 0 ? mTree.mStrings.stringAt(id, outLen) : NULL; in getText()
1125 const char16_t* ResXMLParser::getNamespacePrefix(size_t* outLen) const in getNamespacePrefix()
1129 return id >= 0 ? mTree.mStrings.stringAt(id, outLen) : NULL; in getNamespacePrefix()
1140 const char16_t* ResXMLParser::getNamespaceUri(size_t* outLen) const in getNamespaceUri()
1144 return id >= 0 ? mTree.mStrings.stringAt(id, outLen) : NULL; in getNamespaceUri()
[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.cpp77 size_t outLen = s.size() / 2; in decodeHex() local
78 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.java1113 protected byte[] scrypt(String password, byte[] salt, int N, int r, int p, int outLen) { in scrypt() argument
1114 return nativeScrypt(password.getBytes(), salt, N, r, p, outLen); in scrypt()
1118 native byte[] nativeScrypt(byte[] password, byte[] salt, int N, int r, int p, int outLen); in nativeScrypt() argument
/frameworks/native/libs/binder/
DParcel.cpp2111 const char16_t* Parcel::readString16Inplace(size_t* outLen) const in readString16Inplace()
2116 *outLen = size; in readString16Inplace()
2122 *outLen = 0; in readString16Inplace()
/frameworks/base/core/java/com/android/internal/app/procstats/
DProcessStats.java847 static byte[] readFully(InputStream stream, int[] outLen) throws IOException { in readFully() argument
858 outLen[0] = pos; in readFully()
/frameworks/native/libs/binder/include/binder/
DParcel.h276 const char16_t* readString16Inplace(size_t* outLen) const;
/frameworks/base/core/jni/
Dandroid_opengl_GLES20.cpp3239 GLsizei outLen = 0; in android_glGetShaderInfoLog() local
3240 glGetShaderInfoLog(shader, infoLen, &outLen, buf); in android_glGetShaderInfoLog()
3241 jstring result = _env->NewStringUTF(outLen == 0 ? "" : buf); in android_glGetShaderInfoLog()