/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/ |
D | Base64.cpp | 49 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/drm/mediadrm/plugins/clearkey/common/ |
D | Base64.cpp | 46 size_t outLen = (n / 4) * 3 - padding; in decodeBase64() local 48 ::android::sp<Buffer> buffer = new Buffer(outLen); in decodeBase64() 50 if (out == nullptr || buffer->size() < outLen) { in decodeBase64() 82 if (j < outLen) { in decodeBase64() 85 if (j < outLen) { in decodeBase64() 88 if (j < outLen) { 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/ |
D | base64.cpp | 63 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/ |
D | Scrypt.java | 26 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/ |
D | glGetShaderInfoLog.cpp | 15 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/ |
D | MockScrypt.java | 31 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/ |
D | android_security_Scrypt.cpp | 34 …(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()
|
D | android_os_Debug.cpp | 524 int outLen = env->GetArrayLength(outUssSwapPssRss); in android_os_Debug_getPssPid() local 525 if (outLen >= 1) { in android_os_Debug_getPssPid() 529 if (outLen >= 2) { in android_os_Debug_getPssPid() 532 if (outLen >= 3) { in android_os_Debug_getPssPid() 541 int outLen = env->GetArrayLength(outMemtrack); in android_os_Debug_getPssPid() local 542 if (outLen >= 1) { in android_os_Debug_getPssPid() 546 if (outLen >= 2) { in android_os_Debug_getPssPid() 549 if (outLen >= 3) { in android_os_Debug_getPssPid() 552 if (outLen >= 4) { in android_os_Debug_getPssPid() 600 int outLen = env->GetArrayLength(out); in android_os_Debug_getMemInfo() local [all …]
|
D | android_opengl_GLES20.cpp | 3205 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/ |
D | ResourceTypes.h | 751 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/native/libs/binder/tests/parcel_fuzzer/ |
D | binder.cpp | 160 size_t outLen = 0; in __anon3dab1bff0702() local 161 const char* str = p.readString8Inplace(&outLen); in __anon3dab1bff0702() 162 std::string bytes = str ? HexString(str, sizeof(char) * (outLen + 1)) : "null"; in __anon3dab1bff0702() 163 FUZZ_LOG() << "readString8Inplace: " << bytes << " size: " << outLen; in __anon3dab1bff0702() 170 size_t outLen = 0; in __anon3dab1bff0802() local 171 const char16_t* str = p.readString16Inplace(&outLen); in __anon3dab1bff0802() 172 std::string bytes = str ? HexString(str, sizeof(char16_t) * (outLen + 1)) : "null"; in __anon3dab1bff0802() 173 FUZZ_LOG() << "readString16Inplace: " << bytes << " size: " << outLen; in __anon3dab1bff0802()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | MockSyntheticPasswordManager.java | 98 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/ |
D | rsCpuCoreRuntime.h | 49 uint32_t outLen; member
|
D | rsCpuScript.cpp | 609 mtls->redp.outLen = 1; in reduceMtlsSetup()
|
/frameworks/base/core/java/android/content/pm/ |
D | Signature.java | 177 public char[] toChars(char[] existingArray, int[] outLen) { in toChars() argument 190 if (outLen != null) outLen[0] = N; in toChars()
|
/frameworks/base/keystore/java/android/security/keystore2/ |
D | AndroidKeyStoreSignatureSpiBase.java | 310 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/ |
D | AMPEG4AudioAssembler.cpp | 68 size_t outLen = s.size() / 2; in decodeHex() local 69 sp<ABuffer> buffer = new ABuffer(outLen); in decodeHex()
|
D | APacketSource.cpp | 75 size_t outLen = s.size() / 2; in decodeHex() local 76 sp<ABuffer> buffer = new ABuffer(outLen); in decodeHex()
|
/frameworks/base/libs/androidfw/ |
D | ResourceTypes.cpp | 1234 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/ |
D | NinePatch.cpp | 608 std::unique_ptr<uint8_t[]> NinePatch::SerializeBase(size_t* outLen) const { in SerializeBase() 626 *outLen = data.serializedSize(); in SerializeBase()
|
/frameworks/native/libs/binder/ |
D | Parcel.cpp | 1844 const char* Parcel::readString8Inplace(size_t* outLen) const in readString8Inplace() 1849 *outLen = size; in readString8Inplace() 1858 *outLen = 0; in readString8Inplace() 1885 const char16_t* Parcel::readString16Inplace(size_t* outLen) const in readString16Inplace() 1890 *outLen = size; in readString16Inplace() 1899 *outLen = 0; in readString16Inplace()
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | SyntheticPasswordManager.java | 1522 protected byte[] scrypt(byte[] password, byte[] salt, int n, int r, int p, int outLen) { in scrypt() argument 1523 return new Scrypt().scrypt(password, salt, n, r, p, outLen); in scrypt()
|
/frameworks/native/include/binder/ |
D | Parcel.h | 399 const char* readString8Inplace(size_t* outLen) const; 404 const char16_t* readString16Inplace(size_t* outLen) const;
|
/frameworks/native/libs/binder/include/binder/ |
D | Parcel.h | 399 const char* readString8Inplace(size_t* outLen) const; 404 const char16_t* readString16Inplace(size_t* outLen) const;
|
/frameworks/base/core/java/com/android/internal/app/procstats/ |
D | ProcessStats.java | 1034 static byte[] readFully(InputStream stream, int[] outLen) throws IOException { in readFully() argument 1045 outLen[0] = pos; in readFully()
|