Home | History | Annotate | Download | only in cpp

Lines Matching full:outbytes

2684     ScopedByteArrayRW outBytes(env, outJavaBytes);
2685 if (outBytes.get() == nullptr) {
2694 if (ARRAY_OFFSET_INVALID(outBytes, outOffset)) {
2695 Errors::jniThrowException(env, "java/lang/ArrayIndexOutOfBoundsException", "outBytes");
2704 uint8_t* outBuf = reinterpret_cast<uint8_t*>(outBytes.get());
2706 size_t outLength = outBytes.size() - outOffset;
2997 ScopedByteArrayRW outBytes(env, outArray);
2998 if (outBytes.get() == nullptr) {
3001 if (ARRAY_OFFSET_LENGTH_INVALID(outBytes, outOffset, inLength)) {
3002 Errors::jniThrowException(env, "java/lang/ArrayIndexOutOfBoundsException", "outBytes");
3007 ctx, inBytes.get(), inBytes.size(), inOffset, inLength, outBytes.get(), outBytes.size(), outOffset);
3009 unsigned char* out = reinterpret_cast<unsigned char*>(outBytes.get());
3034 ScopedByteArrayRW outBytes(env, outArray);
3035 if (outBytes.get() == nullptr) {
3039 unsigned char* out = reinterpret_cast<unsigned char*>(outBytes.get());
3222 ScopedByteArrayRW outBytes(env, outArray);
3223 if (outBytes.get() == nullptr) {
3227 if (ARRAY_OFFSET_INVALID(outBytes, outOffset)) {
3279 uint8_t* outTmp = reinterpret_cast<uint8_t*>(outBytes.get());
3283 if (!realFunc(aeadCtx.get(), outTmp + outOffset, &actualOutLength, outBytes.size() - outOffset,
4395 ScopedByteArrayRW outBytes(env, out.get());
4396 if (outBytes.get() == nullptr) {
4400 memcpy(outBytes.get(), CBS_data(str.get()), CBS_len(str.get()));
4507 ScopedByteArrayRW outBytes(env, out.get());
4508 if (outBytes.get() == nullptr) {
4512 memcpy(outBytes.get(), data, data_len);