/external/tensorflow/tensorflow/lite/java/src/main/native/ |
D | nativeinterpreterwrapper_jni.h | 45 JNIEnv* env, jclass clazz, jlong handle, jlong error_handle); 54 JNIEnv* env, jclass clazz, jlong handle, jint input_index); 63 JNIEnv* env, jclass clazz, jlong handle, jint output_index); 73 jlong handle); 83 jlong handle); 93 jlong handle); 103 jlong handle); 113 jlong handle, 123 JNIEnv* env, jclass clazz, jlong handle, jboolean allow); 133 jlong handle, [all …]
|
D | nativeinterpreterwrapper_jni.cc | 19 tflite::Interpreter* convertLongToInterpreter(JNIEnv* env, jlong handle) { in convertLongToInterpreter() 28 tflite::FlatBufferModel* convertLongToModel(JNIEnv* env, jlong handle) { in convertLongToModel() 37 BufferErrorReporter* convertLongToErrorReporter(JNIEnv* env, jlong handle) { in convertLongToErrorReporter() 46 TfLiteDelegate* convertLongToDelegate(JNIEnv* env, jlong handle) { in convertLongToDelegate() 135 jlong handle) { in Java_org_tensorflow_lite_NativeInterpreterWrapper_getInputNames() 157 JNIEnv* env, jclass clazz, jlong handle, jlong error_handle) { in Java_org_tensorflow_lite_NativeInterpreterWrapper_allocateTensors() 175 JNIEnv* env, jclass clazz, jlong handle, jint input_index) { in Java_org_tensorflow_lite_NativeInterpreterWrapper_getInputTensorIndex() 183 JNIEnv* env, jclass clazz, jlong handle, jint output_index) { in Java_org_tensorflow_lite_NativeInterpreterWrapper_getOutputTensorIndex() 192 jlong handle) { in Java_org_tensorflow_lite_NativeInterpreterWrapper_getInputCount() 201 jlong handle) { in Java_org_tensorflow_lite_NativeInterpreterWrapper_getOutputCount() [all …]
|
D | tensor_jni.h | 31 JNIEXPORT jlong JNICALL Java_org_tensorflow_lite_Tensor_create( 32 JNIEnv* env, jclass clazz, jlong interpreter_handle, jint tensor_index); 41 jlong handle); 50 jlong handle); 58 JNIEnv* env, jclass clazz, jlong handle, jobject src); 67 jlong handle); 76 jlong handle); 85 jlong handle); 95 jlong handle); 105 jlong handle, [all …]
|
D | tensor_jni.cc | 45 TfLiteTensor* GetTensorFromHandle(JNIEnv* env, jlong handle) { in GetTensorFromHandle() 54 int GetTensorIndexFromHandle(JNIEnv* env, jlong handle) { in GetTensorIndexFromHandle() 83 static_assert(sizeof(jlong) == 8, in ElementByteSize() 119 jlong* long_dst = static_cast<jlong*>(dst); in WriteOneDimensionalArray() 168 static_cast<const jlong*>(src)); in ReadOneDimensionalArray() 297 JNIEXPORT jlong JNICALL Java_org_tensorflow_lite_Tensor_create( in Java_org_tensorflow_lite_Tensor_create() 298 JNIEnv* env, jclass clazz, jlong interpreter_handle, jint tensor_index) { in Java_org_tensorflow_lite_Tensor_create() 301 return reinterpret_cast<jlong>(new TensorHandle(interpreter, tensor_index)); in Java_org_tensorflow_lite_Tensor_create() 306 jlong handle) { in Java_org_tensorflow_lite_Tensor_delete() 312 jlong handle) { in Java_org_tensorflow_lite_Tensor_buffer() [all …]
|
/external/tensorflow/tensorflow/java/src/main/native/ |
D | operation_builder_jni.h | 30 JNIEXPORT jlong JNICALL Java_org_tensorflow_OperationBuilder_allocate( 31 JNIEnv *, jclass, jlong, jstring, jstring); 38 JNIEXPORT jlong JNICALL Java_org_tensorflow_OperationBuilder_finish(JNIEnv *, 40 jlong); 48 JNIEnv *, jclass, jlong, jlong, jint); 56 JNIEnv *, jclass, jlong, jlongArray, jintArray); 64 JNIEnv *, jclass, jlong, jlong); 73 jlong, 82 JNIEnv *, jclass, jlong, jstring, jbyteArray); 90 JNIEnv *, jclass, jlong, jstring, jlong); [all …]
|
D | tensor_jni.h | 30 JNIEXPORT jlong JNICALL Java_org_tensorflow_Tensor_allocate(JNIEnv *, jclass, 32 jlong); 39 JNIEXPORT jlong JNICALL 47 JNIEXPORT jlong JNICALL Java_org_tensorflow_Tensor_allocateNonScalarBytes( 56 jlong); 64 jlong); 72 jlong); 80 jlong); 91 jlong, jobject); 100 jclass, jlong); [all …]
|
D | graph_jni.cc | 26 T* requireHandleImpl(JNIEnv* env, jlong handle) { in requireHandleImpl() 27 static_assert(sizeof(jlong) >= sizeof(T*), in requireHandleImpl() 37 TF_Graph* requireHandle(JNIEnv* env, jlong handle) { in requireHandle() 41 TF_Operation* requireOperationHandle(JNIEnv* env, jlong handle) { in requireOperationHandle() 46 JNIEXPORT jlong JNICALL Java_org_tensorflow_Graph_allocate(JNIEnv*, jclass) { in Java_org_tensorflow_Graph_allocate() 47 return reinterpret_cast<jlong>(TF_NewGraph()); in Java_org_tensorflow_Graph_allocate() 51 jlong handle) { in Java_org_tensorflow_Graph_delete() 56 JNIEXPORT jlong JNICALL Java_org_tensorflow_Graph_operation(JNIEnv* env, in Java_org_tensorflow_Graph_operation() 58 jlong handle, in Java_org_tensorflow_Graph_operation() 65 return reinterpret_cast<jlong>(op); in Java_org_tensorflow_Graph_operation() [all …]
|
D | operation_jni.cc | 24 T* requireHandleImpl(JNIEnv* env, jlong handle) { in requireHandleImpl() 25 static_assert(sizeof(jlong) >= sizeof(T*), in requireHandleImpl() 36 TF_Operation* requireHandle(JNIEnv* env, jlong handle) { in requireHandle() 40 TF_Graph* requireGraphHandle(JNIEnv* env, jlong handle) { in requireGraphHandle() 47 jlong handle) { in Java_org_tensorflow_Operation_name() 55 jlong handle) { in Java_org_tensorflow_Operation_type() 63 jlong handle) { in Java_org_tensorflow_Operation_numOutputs() 71 jlong handle, in Java_org_tensorflow_Operation_outputListLength() 88 JNIEnv* env, jclass clazz, jlong graph_handle, jlong op_handle, in Java_org_tensorflow_Operation_shape() 112 static_assert(sizeof(jlong) == sizeof(int64_t), in Java_org_tensorflow_Operation_shape() [all …]
|
D | operation_jni.h | 31 jlong); 39 jlong); 47 jclass, jlong); 56 jlong, 65 jclass, jlong, 66 jlong, jint); 74 jlong, jlong, jint); 84 jlong,
|
D | operation_builder_jni.cc | 24 TF_OperationDescription* requireHandle(JNIEnv* env, jlong handle) { in requireHandle() 33 bool resolveOutput(JNIEnv* env, jlong op_handle, jint index, TF_Output* out) { in resolveOutput() 44 TF_Tensor* requireTensor(JNIEnv* env, jlong handle) { in requireTensor() 54 JNIEXPORT jlong JNICALL Java_org_tensorflow_OperationBuilder_allocate( in Java_org_tensorflow_OperationBuilder_allocate() 55 JNIEnv* env, jclass clazz, jlong graph_handle, jstring type, jstring name) { in Java_org_tensorflow_OperationBuilder_allocate() 67 static_assert(sizeof(jlong) >= sizeof(TF_OperationDescription*), in Java_org_tensorflow_OperationBuilder_allocate() 69 return reinterpret_cast<jlong>(d); in Java_org_tensorflow_OperationBuilder_allocate() 72 JNIEXPORT jlong JNICALL Java_org_tensorflow_OperationBuilder_finish( in Java_org_tensorflow_OperationBuilder_finish() 73 JNIEnv* env, jclass clazz, jlong handle) { in Java_org_tensorflow_OperationBuilder_finish() 80 return reinterpret_cast<jlong>(op); in Java_org_tensorflow_OperationBuilder_finish() [all …]
|
D | graph_jni.h | 30 JNIEXPORT jlong JNICALL Java_org_tensorflow_Graph_allocate(JNIEnv *, jclass); 38 jlong); 45 JNIEXPORT jlong JNICALL Java_org_tensorflow_Graph_operation(JNIEnv *, jclass, 46 jlong, jstring); 55 jlong, 64 jclass, jlong, 75 jlong); 83 JNIEnv *, jclass, jlong, jstring, jlongArray, jintArray, jlongArray, 93 JNIEnv *, jclass, jlong, jlongArray, jintArray, jstring, jobject, jobject);
|
D | session_jni.h | 30 JNIEXPORT jlong JNICALL Java_org_tensorflow_Session_allocate(JNIEnv *, jclass, 31 jlong); 38 JNIEXPORT jlong JNICALL Java_org_tensorflow_Session_allocate2(JNIEnv *, jclass, 39 jlong, jstring, 48 jlong); 56 JNIEnv *, jclass, jlong, jbyteArray, jlongArray, jlongArray, jintArray,
|
D | server_jni.cc | 23 TF_Server* requireHandle(JNIEnv* env, jlong handle) { in requireHandle() 24 static_assert(sizeof(jlong) >= sizeof(TF_Server*), in requireHandle() 37 JNIEXPORT jlong JNICALL Java_org_tensorflow_Server_allocate( in Java_org_tensorflow_Server_allocate() 52 return ok ? reinterpret_cast<jlong>(server) : 0; in Java_org_tensorflow_Server_allocate() 57 jlong handle) { in Java_org_tensorflow_Server_start() 71 jlong handle) { in Java_org_tensorflow_Server_stop() 85 jlong handle) { in Java_org_tensorflow_Server_join() 99 jlong handle) { in Java_org_tensorflow_Server_delete()
|
D | tensor_jni.cc | 29 TF_Tensor* requireHandle(JNIEnv* env, jlong handle) { in requireHandle() 60 static_assert(sizeof(jlong) == 8, in elemByteSize() 95 CASE(TF_INT64, jlong, "longValue", "()J", Long); in writeScalar() 139 CASE(TF_INT64, jlong, Long); in write1DArray() 174 CASE(TF_INT64, jlong, Long); in read1DArray() 326 JNIEXPORT jlong JNICALL Java_org_tensorflow_Tensor_allocate(JNIEnv* env, in Java_org_tensorflow_Tensor_allocate() 330 jlong sizeInBytes) { in Java_org_tensorflow_Tensor_allocate() 332 jlong* dims = nullptr; in Java_org_tensorflow_Tensor_allocate() 337 static_assert(sizeof(jlong) == sizeof(int64_t), in Java_org_tensorflow_Tensor_allocate() 362 return reinterpret_cast<jlong>(t); in Java_org_tensorflow_Tensor_allocate() [all …]
|
/external/libtextclassifier/annotator/ |
D | annotator_jni.h | 31 TC3_JNI_METHOD(jlong, TC3_ANNOTATOR_CLASS_NAME, nativeNewAnnotator) 34 TC3_JNI_METHOD(jlong, TC3_ANNOTATOR_CLASS_NAME, nativeNewAnnotatorFromPath) 37 TC3_JNI_METHOD(jlong, TC3_ANNOTATOR_CLASS_NAME, 39 (JNIEnv* env, jobject thiz, jobject afd, jlong offset, jlong size); 43 (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); 53 TC3_JNI_METHOD(jlong, TC3_ANNOTATOR_CLASS_NAME, nativeGetNativeModelPtr) 54 (JNIEnv* env, jobject thiz, jlong ptr); 57 (JNIEnv* env, jobject thiz, jlong ptr, jstring context, jint selection_begin, [all …]
|
/external/skqp/platform_tools/android/apps/arcore/src/main/cpp/ |
D | jni_interface.cc | 33 inline jlong jptr(hello_ar::HelloArApplication *native_hello_ar_application) { in jptr() 37 inline hello_ar::HelloArApplication *native(jlong ptr) { in native() 48 JNI_METHOD(jlong, createNativeApplication) in JNI_METHOD() argument 55 (JNIEnv *, jclass, jlong native_application) { in JNI_METHOD() 60 (JNIEnv *, jclass, jlong native_application) { in JNI_METHOD() 65 (JNIEnv *env, jclass, jlong native_application, jobject context, in JNI_METHOD() 71 (JNIEnv *, jclass, jlong native_application) { in JNI_METHOD() 76 (JNIEnv *, jobject, jlong native_application, int display_rotation, int width, in JNI_METHOD() 83 (JNIEnv *, jobject, jlong native_application, int rotation) { in JNI_METHOD() 89 (JNIEnv *, jobject, jlong native_application, jfloat value) { in JNI_METHOD() [all …]
|
/external/skia/platform_tools/android/apps/arcore/src/main/cpp/ |
D | jni_interface.cc | 33 inline jlong jptr(hello_ar::HelloArApplication *native_hello_ar_application) { in jptr() 37 inline hello_ar::HelloArApplication *native(jlong ptr) { in native() 48 JNI_METHOD(jlong, createNativeApplication) in JNI_METHOD() argument 55 (JNIEnv *, jclass, jlong native_application) { in JNI_METHOD() 60 (JNIEnv *, jclass, jlong native_application) { in JNI_METHOD() 65 (JNIEnv *env, jclass, jlong native_application, jobject context, in JNI_METHOD() 71 (JNIEnv *, jclass, jlong native_application) { in JNI_METHOD() 76 (JNIEnv *, jobject, jlong native_application, int display_rotation, int width, in JNI_METHOD() 83 (JNIEnv *, jobject, jlong native_application, int rotation) { in JNI_METHOD() 89 (JNIEnv *, jobject, jlong native_application, jfloat value) { in JNI_METHOD() [all …]
|
/external/drrickorang/LoopbackApp/app/src/main/cpp/ |
D | jni_native.h | 32 JNIEXPORT jlong JNICALL Java_org_drrickorang_loopback_NativeAudioThread_nativeInit 37 (JNIEnv *, jobject, jlong, jdoubleArray, jlong); 40 (JNIEnv *, jobject, jlong); 44 (JNIEnv *, jobject, jlong); 48 (JNIEnv *, jobject, jlong); 52 (JNIEnv *, jobject, jlong); 56 (JNIEnv *, jobject, jlong); 60 (JNIEnv *, jobject, jlong); 64 (JNIEnv *, jobject, jlong); 68 (JNIEnv *, jobject, jlong);
|
/external/webrtc/talk/app/webrtc/java/jni/ |
D | peerconnection_jni.cc | 280 reinterpret_cast<jlong>(stream)); in OnAddStream() 290 reinterpret_cast<jlong>(track.get()), id); in OnAddStream() 313 reinterpret_cast<jlong>(track.get()), id); in OnAddStream() 352 *j_data_channel_class_, j_data_channel_ctor_, (jlong)channel); in OnDataChannel() 784 static jlong javaShallowCopy(const cricket::VideoFrame* frame) { in javaShallowCopy() 843 jlong j_d = GetLongField(jni, j_dc, native_dc_id); in ExtractNativeDC() 847 JOW(jlong, DataChannel_registerObserverNative)( in JOW() argument 856 JNIEnv* jni, jobject j_dc, jlong native_observer) { in JOW() 870 JOW(jlong, DataChannel_bufferedAmount)(JNIEnv* jni, jobject j_dc) { in JOW() argument 874 return static_cast<jlong>(buffered_amount); in JOW() [all …]
|
/external/oj-libjdwp/src/share/back/ |
D | commonRef.h | 32 jlong commonRef_refToID(JNIEnv *env, jobject ref); 33 jobject commonRef_idToRef(JNIEnv *env, jlong id); 35 jvmtiError commonRef_pin(jlong id); 36 jvmtiError commonRef_unpin(jlong id); 37 void commonRef_releaseMultiple(JNIEnv *env, jlong id, jint refCount); 38 void commonRef_release(JNIEnv *env, jlong id); 42 void commonRef_handleFreedObject(jlong tag);
|
/external/skqp/platform_tools/android/apps/skottie/src/main/cpp/ |
D | native-lib.cpp | 62 extern "C" JNIEXPORT jlong 81 return (jlong) skottie; in Java_org_skia_skottie_SkottieRunner_nCreateProxy() 86 Java_org_skia_skottie_SkottieRunner_nDeleteProxy(JNIEnv *env, jclass clazz, jlong nativeProxy) { in Java_org_skia_skottie_SkottieRunner_nDeleteProxy() 106 extern "C" JNIEXPORT jlong 109 jlong runner, jobject is, in Java_org_skia_skottie_SkottieRunner_00024SkottieAnimationImpl_nCreateProxy() 136 return (jlong) skottieAnimation; in Java_org_skia_skottie_SkottieRunner_00024SkottieAnimationImpl_nCreateProxy() 142 jlong nativeProxy) { in Java_org_skia_skottie_SkottieRunner_00024SkottieAnimationImpl_nDeleteProxy() 153 jlong nativeProxy, jint width, in Java_org_skia_skottie_SkottieRunner_00024SkottieAnimationImpl_nDrawFrame() 201 extern "C" JNIEXPORT jlong 205 jlong nativeProxy) { in Java_org_skia_skottie_SkottieRunner_00024SkottieAnimationImpl_nGetDuration() [all …]
|
/external/skia/platform_tools/android/apps/skottie/src/main/cpp/ |
D | native-lib.cpp | 62 extern "C" JNIEXPORT jlong 81 return (jlong) skottie; in Java_org_skia_skottie_SkottieRunner_nCreateProxy() 86 Java_org_skia_skottie_SkottieRunner_nDeleteProxy(JNIEnv *env, jclass clazz, jlong nativeProxy) { in Java_org_skia_skottie_SkottieRunner_nDeleteProxy() 106 extern "C" JNIEXPORT jlong 109 jlong runner, jobject is, in Java_org_skia_skottie_SkottieRunner_00024SkottieAnimationImpl_nCreateProxy() 136 return (jlong) skottieAnimation; in Java_org_skia_skottie_SkottieRunner_00024SkottieAnimationImpl_nCreateProxy() 142 jlong nativeProxy) { in Java_org_skia_skottie_SkottieRunner_00024SkottieAnimationImpl_nDeleteProxy() 153 jlong nativeProxy, jint width, in Java_org_skia_skottie_SkottieRunner_00024SkottieAnimationImpl_nDrawFrame() 201 extern "C" JNIEXPORT jlong 205 jlong nativeProxy) { in Java_org_skia_skottie_SkottieRunner_00024SkottieAnimationImpl_nGetDuration() [all …]
|
/external/libtextclassifier/lang_id/ |
D | lang-id_jni.cc | 66 TC3_JNI_METHOD(jlong, TC3_LANG_ID_CLASS_NAME, nativeNew) in TC3_JNI_METHOD() argument 70 return reinterpret_cast<jlong>(nullptr); in TC3_JNI_METHOD() 72 return reinterpret_cast<jlong>(lang_id.release()); in TC3_JNI_METHOD() 75 TC3_JNI_METHOD(jlong, TC3_LANG_ID_CLASS_NAME, nativeNewFromPath) in TC3_JNI_METHOD() argument 80 return reinterpret_cast<jlong>(nullptr); in TC3_JNI_METHOD() 82 return reinterpret_cast<jlong>(lang_id.release()); in TC3_JNI_METHOD() 86 (JNIEnv* env, jobject clazz, jlong ptr, jstring text) { in TC3_JNI_METHOD() 100 (JNIEnv* env, jobject clazz, jlong ptr) { in TC3_JNI_METHOD() 110 (JNIEnv* env, jobject clazz, jlong ptr) { in TC3_JNI_METHOD() 128 (JNIEnv* env, jobject thizz, jlong ptr) { in TC3_JNI_METHOD()
|
/external/conscrypt/common/src/jni/main/cpp/conscrypt/ |
D | native_crypto.cc | 75 static SSL_CTX* to_SSL_CTX(JNIEnv* env, jlong ssl_ctx_address, bool throwIfNull) { in to_SSL_CTX() 84 static SSL* to_SSL(JNIEnv* env, jlong ssl_address, bool throwIfNull) { in to_SSL() 93 static BIO* to_SSL_BIO(JNIEnv* env, jlong bio_address, bool throwIfNull) { in to_SSL_BIO() 102 static SSL_SESSION* to_SSL_SESSION(JNIEnv* env, jlong ssl_session_address, bool throwIfNull) { in to_SSL_SESSION() 112 static SSL_CIPHER* to_SSL_CIPHER(JNIEnv* env, jlong ssl_cipher_address, bool throwIfNull) { in to_SSL_CIPHER() 891 static jlong NativeCrypto_EVP_PKEY_new_RSA(JNIEnv* env, jclass, jbyteArray n, jbyteArray e, in NativeCrypto_EVP_PKEY_new_RSA() 984 static jlong NativeCrypto_EVP_PKEY_new_EC_KEY(JNIEnv* env, jclass, jobject groupRef, in NativeCrypto_EVP_PKEY_new_EC_KEY() 1127 static void NativeCrypto_EVP_PKEY_free(JNIEnv* env, jclass, jlong pkeyRef) { in NativeCrypto_EVP_PKEY_free() 1188 static jlong NativeCrypto_EVP_parse_private_key(JNIEnv* env, jclass, jbyteArray keyJavaBytes) { in NativeCrypto_EVP_parse_private_key() 1246 static jlong NativeCrypto_EVP_parse_public_key(JNIEnv* env, jclass, jbyteArray keyJavaBytes) { in NativeCrypto_EVP_parse_public_key() [all …]
|
/external/oj-libjdwp/src/share/javavm/export/ |
D | jvmti.h | 74 typedef jlong jlocation; 481 (jlong class_tag, jlong size, jlong* tag_ptr, jint length, void* user_data); 484 …mtiHeapReferenceInfo* reference_info, jlong class_tag, jlong referrer_class_tag, jlong size, jlong… 487 …(jvmtiHeapReferenceKind kind, const jvmtiHeapReferenceInfo* info, jlong object_class_tag, jlong* o… 490 …(jlong class_tag, jlong size, jlong* tag_ptr, jint element_count, jvmtiPrimitiveType element_type,… 493 …(jlong class_tag, jlong size, jlong* tag_ptr, const jchar* value, jint value_length, void* user_da… 499 (jlong class_tag, jlong size, jlong* tag_ptr, void* user_data); 502 (jvmtiHeapRootKind root_kind, jlong class_tag, jlong size, jlong* tag_ptr, void* user_data); 505 …(jvmtiHeapRootKind root_kind, jlong class_tag, jlong size, jlong* tag_ptr, jlong thread_tag, jint … 508 …(jvmtiObjectReferenceKind reference_kind, jlong class_tag, jlong size, jlong* tag_ptr, jlong refer… [all …]
|