Home
last modified time | relevance | path

Searched refs:jbyteArray (Results 1 – 25 of 57) sorted by relevance

123

/external/libjpeg-turbo/java/
Dorg_libjpegturbo_turbojpeg_TJDecompressor.h32 (JNIEnv *, jobject, jbyteArray, jint);
40 (JNIEnv *, jobject, jbyteArray, jint, jbyteArray, jint, jint, jint, jint, jint);
48 (JNIEnv *, jobject, jbyteArray, jint, jbyteArray, jint, jint, jint, jint, jint, jint, jint);
56 (JNIEnv *, jobject, jbyteArray, jint, jintArray, jint, jint, jint, jint, jint);
64 (JNIEnv *, jobject, jbyteArray, jint, jintArray, jint, jint, jint, jint, jint, jint, jint);
72 (JNIEnv *, jobject, jbyteArray, jint, jbyteArray, jint);
80 (JNIEnv *, jobject, jbyteArray, jint, jobjectArray, jintArray, jint, jintArray, jint, jint);
88 …(JNIEnv *, jobject, jobjectArray, jintArray, jintArray, jint, jbyteArray, jint, jint, jint, jint, …
Dorg_libjpegturbo_turbojpeg_TJCompressor.h32 (JNIEnv *, jobject, jbyteArray, jint, jint, jint, jint, jbyteArray, jint, jint, jint);
40 (JNIEnv *, jobject, jbyteArray, jint, jint, jint, jint, jint, jint, jbyteArray, jint, jint, jint);
48 (JNIEnv *, jobject, jintArray, jint, jint, jint, jint, jbyteArray, jint, jint, jint);
56 (JNIEnv *, jobject, jintArray, jint, jint, jint, jint, jint, jint, jbyteArray, jint, jint, jint);
64 (JNIEnv *, jobject, jobjectArray, jintArray, jint, jintArray, jint, jint, jbyteArray, jint, jint);
72 (JNIEnv *, jobject, jbyteArray, jint, jint, jint, jint, jbyteArray, jint, jint);
80 …(JNIEnv *, jobject, jbyteArray, jint, jint, jint, jint, jint, jint, jobjectArray, jintArray, jintA…
88 (JNIEnv *, jobject, jintArray, jint, jint, jint, jint, jbyteArray, jint, jint);
/external/tensorflow/tensorflow/examples/android/jni/
Dimageutils_jni.cc35 JNIEnv* env, jclass clazz, jbyteArray input, jintArray output,
39 JNIEnv* env, jclass clazz, jbyteArray y, jbyteArray u, jbyteArray v,
44 JNIEnv* env, jclass clazz, jbyteArray input, jbyteArray output, jint width,
49 JNIEnv* env, jclass clazz, jintArray input, jbyteArray output,
54 JNIEnv* env, jclass clazz, jbyteArray input, jbyteArray output,
63 JNIEnv* env, jclass clazz, jbyteArray input, jintArray output, in IMAGEUTILS_METHOD()
86 JNIEnv* env, jclass clazz, jbyteArray y, jbyteArray u, jbyteArray v, in IMAGEUTILS_METHOD()
116 JNIEnv* env, jclass clazz, jbyteArray input, jbyteArray output, jint width, in IMAGEUTILS_METHOD()
133 JNIEnv* env, jclass clazz, jintArray input, jbyteArray output, in IMAGEUTILS_METHOD()
150 JNIEnv* env, jclass clazz, jbyteArray input, jbyteArray output, in IMAGEUTILS_METHOD()
/external/conscrypt/common/src/jni/main/cpp/conscrypt/
Dnative_crypto.cc144 static bool arrayToBignum(JNIEnv* env, jbyteArray source, BIGNUM** dest) { in arrayToBignum()
206 static bool arrayToBignumSize(JNIEnv* env, jbyteArray source, size_t* out_size) { in arrayToBignumSize()
240 static jbyteArray bignumToArray(JNIEnv* env, const BIGNUM* source, const char* sourceName) { in bignumToArray()
249 jbyteArray javaBytes = env->NewByteArray(static_cast<jsize>(numBytes)); in bignumToArray()
286 jbyteArray ASN1ToByteArray(JNIEnv* env, T* obj, int (*i2d_func)(T*, unsigned char**)) { in ASN1ToByteArray()
300 ScopedLocalRef<jbyteArray> byteArray(env, env->NewByteArray(derLen)); in ASN1ToByteArray()
327 jbyteArray CBBToByteArray(JNIEnv* env, CBB* cbb) { in CBBToByteArray()
338 ScopedLocalRef<jbyteArray> byteArray(env, env->NewByteArray(static_cast<jsize>(len))); in CBBToByteArray()
354 jbyteArray CryptoBufferToByteArray(JNIEnv* env, const CRYPTO_BUFFER* buf) { in CryptoBufferToByteArray()
362 jbyteArray ret = env->NewByteArray(length); in CryptoBufferToByteArray()
[all …]
/external/tensorflow/tensorflow/examples/android/jni/object_tracking/
Dobject_tracker_jni.cc66 jfloat x2, jfloat y2, jbyteArray frame_data);
107 jbyteArray y_data,
108 jbyteArray uv_data,
117 jbyteArray JNICALL OBJECT_TRACKER_METHOD(getKeypointsPacked)(
138 jbyteArray input, jint factor, jbyteArray output);
172 jfloat x2, jfloat y2, jbyteArray frame_data) { in OBJECT_TRACKER_METHOD()
297 jbyteArray y_data, in OBJECT_TRACKER_METHOD()
298 jbyteArray uv_data, in OBJECT_TRACKER_METHOD()
375 jbyteArray JNICALL OBJECT_TRACKER_METHOD(getKeypointsPacked)( in OBJECT_TRACKER_METHOD()
386 jbyteArray keypoints = in OBJECT_TRACKER_METHOD()
[all …]
/external/tensorflow/tensorflow/java/src/main/native/
Dtensorflow_jni.cc27 JNIEXPORT jbyteArray JNICALL
31 jbyteArray ret = env->NewByteArray(length); in Java_org_tensorflow_TensorFlow_registeredOpList()
55 JNIEXPORT jbyteArray JNICALL Java_org_tensorflow_TensorFlow_libraryOpList( in Java_org_tensorflow_TensorFlow_libraryOpList()
64 jbyteArray ret = env->NewByteArray(ret_len); in Java_org_tensorflow_TensorFlow_libraryOpList()
Dsession_jni.h40 jbyteArray);
55 JNIEXPORT jbyteArray JNICALL Java_org_tensorflow_Session_run(
56 JNIEnv *, jclass, jlong, jbyteArray, jlongArray, jlongArray, jintArray,
Dsaved_model_bundle_jni.h32 JNIEnv *, jclass, jstring, jobjectArray, jbyteArray, jbyteArray);
Dtensorflow_jni.h38 JNIEXPORT jbyteArray JNICALL
64 JNIEXPORT jbyteArray JNICALL
Dsaved_model_bundle_jni.cc25 jbyteArray config, jbyteArray run_options) { in Java_org_tensorflow_SavedModelBundle_load()
93 jbyteArray jmetagraph_def = env->NewByteArray(jmetagraph_len); in Java_org_tensorflow_SavedModelBundle_load()
Dtensor_jni.cc223 jbyteArray TF_StringDecodeTojbyteArray(JNIEnv* env, const char* src, in TF_StringDecodeTojbyteArray()
231 jbyteArray ret = env->NewByteArray(dst_len); in TF_StringDecodeTojbyteArray()
278 jbyteArray Next(JNIEnv* env, TF_Status* status) { in Next()
311 jbyteArray elem = reader->Next(env, status); in readNDStringArray()
366 JNIEnv* env, jclass clazz, jbyteArray value) { in Java_org_tensorflow_Tensor_allocateScalarBytes()
419 env->GetByteArrayElements(static_cast<jbyteArray>(value), nullptr); in fillNonScalarTF_STRINGTensorData()
422 env->ReleaseByteArrayElements(static_cast<jbyteArray>(value), jsrc, in fillNonScalarTF_STRINGTensorData()
562 JNIEXPORT jbyteArray JNICALL Java_org_tensorflow_Tensor_scalarBytes( in Java_org_tensorflow_Tensor_scalarBytes()
586 jbyteArray ret = TF_StringDecodeTojbyteArray(env, src, src_len, status); in Java_org_tensorflow_Tensor_scalarBytes()
Dgraph_jni.h65 jbyteArray,
73 JNIEXPORT jbyteArray JNICALL Java_org_tensorflow_Graph_toGraphDef(JNIEnv *,
Dsession_jni.cc81 jbyteArray config) { in Java_org_tensorflow_Session_allocate2()
132 JNIEXPORT jbyteArray JNICALL Java_org_tensorflow_Session_run( in Java_org_tensorflow_Session_run()
133 JNIEnv* env, jclass clazz, jlong handle, jbyteArray jrun_options, in Java_org_tensorflow_Session_run()
195 jbyteArray ret = nullptr; in Java_org_tensorflow_Session_run()
Dtensor_jni.h40 Java_org_tensorflow_Tensor_allocateScalarBytes(JNIEnv *, jclass, jbyteArray);
141 JNIEXPORT jbyteArray JNICALL Java_org_tensorflow_Tensor_scalarBytes(JNIEnv *,
Doperation_builder_jni.cc145 JNIEnv* env, jclass clazz, jlong handle, jstring name, jbyteArray value) { in Java_org_tensorflow_OperationBuilder_setAttrString()
310 std::unique_ptr<jbyteArray[]> jarrays(new jbyteArray[num_values]); in Java_org_tensorflow_OperationBuilder_setAttrStringList()
316 jbyteArray v = in Java_org_tensorflow_OperationBuilder_setAttrStringList()
317 static_cast<jbyteArray>(env->GetObjectArrayElement(values, i)); in Java_org_tensorflow_OperationBuilder_setAttrStringList()
/external/skqp/platform_tools/android/apps/skottie/src/main/cpp/
DJavaInputStreamAdaptor.cpp51 JavaInputStreamAdaptor(JavaVM* jvm, jobject js, jbyteArray ar, jint capacity, in JavaInputStreamAdaptor()
62 static JavaInputStreamAdaptor* Create(JNIEnv* env, jobject js, jbyteArray ar, in Create()
74 ar = (jbyteArray) env->NewGlobalRef(ar); in Create()
201 jbyteArray fJavaByteArray;
208 static SkStream* CreateJavaInputStreamAdaptor(JNIEnv* env, jobject stream, jbyteArray storage, in CreateJavaInputStreamAdaptor()
236 jbyteArray storage) { in CopyJavaInputStream()
/external/skia/platform_tools/android/apps/skottie/src/main/cpp/
DJavaInputStreamAdaptor.cpp51 JavaInputStreamAdaptor(JavaVM* jvm, jobject js, jbyteArray ar, jint capacity, in JavaInputStreamAdaptor()
62 static JavaInputStreamAdaptor* Create(JNIEnv* env, jobject js, jbyteArray ar, in Create()
74 ar = (jbyteArray) env->NewGlobalRef(ar); in Create()
201 jbyteArray fJavaByteArray;
208 static SkStream* CreateJavaInputStreamAdaptor(JNIEnv* env, jobject stream, jbyteArray storage, in CreateJavaInputStreamAdaptor()
236 jbyteArray storage) { in CopyJavaInputStream()
/external/libjpeg-turbo/
Dturbojpeg-jni.c214 jint width, jint pitch, jint height, jint pf, jbyteArray dst, in TJCompressor_compress()
256 (JNIEnv *env, jobject obj, jbyteArray src, jint x, jint y, jint width, in Java_org_libjpegturbo_turbojpeg_TJCompressor_compress___3BIIIIII_3BIII()
257 jint pitch, jint height, jint pf, jbyteArray dst, jint jpegSubsamp, in Java_org_libjpegturbo_turbojpeg_TJCompressor_compress___3BIIIIII_3BIII()
266 (JNIEnv *env, jobject obj, jbyteArray src, jint width, jint pitch, in Java_org_libjpegturbo_turbojpeg_TJCompressor_compress___3BIIII_3BIII()
267 jint height, jint pf, jbyteArray dst, jint jpegSubsamp, jint jpegQual, in Java_org_libjpegturbo_turbojpeg_TJCompressor_compress___3BIIII_3BIII()
277 jint stride, jint height, jint pf, jbyteArray dst, jint jpegSubsamp, in Java_org_libjpegturbo_turbojpeg_TJCompressor_compress___3IIIIIII_3BIII()
296 jint height, jint pf, jbyteArray dst, jint jpegSubsamp, jint jpegQual, in Java_org_libjpegturbo_turbojpeg_TJCompressor_compress___3IIIII_3BIII()
316 jbyteArray dst, jint jpegQual, jint flags) in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII()
320 jbyteArray jSrcPlanes[3] = { NULL, NULL, NULL }; in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII()
396 jbyteArray jDstPlanes[3] = { NULL, NULL, NULL }; in TJCompressor_encodeYUV()
[all …]
/external/libchrome/base/android/
Djni_array.cc28 ScopedJavaLocalRef<jbyteArray> ToJavaByteArray(JNIEnv* env, in ToJavaByteArray()
31 jbyteArray byte_array = env->NewByteArray(len); in ToJavaByteArray()
39 return ScopedJavaLocalRef<jbyteArray>(env, byte_array); in ToJavaByteArray()
42 ScopedJavaLocalRef<jbyteArray> ToJavaByteArray( in ToJavaByteArray()
129 ScopedJavaLocalRef<jbyteArray> byte_array = ToJavaByteArray( in ToJavaArrayOfByteArray()
195 jbyteArray byte_array, in AppendJavaByteArrayToByteVector()
210 jbyteArray byte_array, in JavaByteArrayToByteVector()
286 ScopedJavaLocalRef<jbyteArray> bytes_array( in JavaArrayOfByteArrayToStringVector()
287 env, static_cast<jbyteArray>( in JavaArrayOfByteArrayToStringVector()
Djni_array.h21 BASE_EXPORT ScopedJavaLocalRef<jbyteArray> ToJavaByteArray(JNIEnv* env,
25 BASE_EXPORT ScopedJavaLocalRef<jbyteArray> ToJavaByteArray(
80 jbyteArray byte_array,
85 jbyteArray byte_array,
/external/libtextclassifier/utils/java/
Dstring_utils.cc23 bool JByteArrayToString(JNIEnv* env, const jbyteArray& array, in JByteArrayToString()
56 jbyteArray array = reinterpret_cast<jbyteArray>( in JStringToUtf8String()
/external/libtextclassifier/annotator/
Dannotator_jni.h43 (JNIEnv* env, jobject thiz, jlong ptr, jbyteArray serialized_config);
47 (JNIEnv* env, jobject thiz, jlong ptr, jbyteArray serialized_config);
51 (JNIEnv* env, jobject thiz, jlong ptr, jbyteArray serialized_config);
68 TC3_JNI_METHOD(jbyteArray, TC3_ANNOTATOR_CLASS_NAME,
/external/libchrome/base/android/jni_generator/
DtestNatives.golden86 const base::android::JavaParamRef<jbyteArray>& state,
92 jbyteArray state,
95 jcaller), base::android::JavaParamRef<jbyteArray>(env, state), tab_index);
98 static base::android::ScopedJavaLocalRef<jbyteArray> JNI_TestJni_GetStateAsByteArray(JNIEnv* env,
102 JNI_GENERATOR_EXPORT jbyteArray Java_org_chromium_TestJni_nativeGetStateAsByteArray(
142 jbyteArray favicon,
151 base::android::JavaParamRef<jobject>(env, date), base::android::JavaParamRef<jbyteArray>(env,
/external/javasqlite/src/main/native/
Dsqlite_jni.h342 (JNIEnv *, jobject, jbyteArray);
449 (JNIEnv *, jobject, jint, jbyteArray);
528 JNIEXPORT jbyteArray JNICALL Java_SQLite_Stmt_column_1bytes
628 (JNIEnv *, jobject, jbyteArray, jint, jint, jint);
636 (JNIEnv *, jobject, jbyteArray, jint, jint, jint);
/external/libtextclassifier/actions/
Dactions_jni.h35 (JNIEnv* env, jobject thiz, jint fd, jbyteArray serialized_preconditions);
38 (JNIEnv* env, jobject thiz, jstring path, jbyteArray serialized_preconditions);

123