Home
last modified time | relevance | path

Searched refs:jarray (Results 1 – 21 of 21) sorted by relevance

/external/webrtc/sdk/android/native_api/jni/
Djava_types.cc228 ScopedJavaLocalRef<jbyteArray> jarray(env, in NativeToJavaByteArray() local
231 env->GetByteArrayElements(jarray.obj(), /*isCopy=*/nullptr); in NativeToJavaByteArray()
233 env->ReleaseByteArrayElements(jarray.obj(), array_ptr, /*mode=*/0); in NativeToJavaByteArray()
234 return jarray; in NativeToJavaByteArray()
240 ScopedJavaLocalRef<jintArray> jarray(env, env->NewIntArray(container.size())); in NativeToJavaIntArray() local
242 env->GetIntArrayElements(jarray.obj(), /*isCopy=*/nullptr); in NativeToJavaIntArray()
244 env->ReleaseIntArrayElements(jarray.obj(), array_ptr, /*mode=*/0); in NativeToJavaIntArray()
245 return jarray; in NativeToJavaIntArray()
249 const JavaRef<jbyteArray>& jarray) { in JavaToNativeByteArray() argument
251 env->GetByteArrayElements(jarray.obj(), /*isCopy=*/nullptr); in JavaToNativeByteArray()
[all …]
Djava_types.h240 const JavaRef<jbyteArray>& jarray);
242 const JavaRef<jintArray>& jarray);
/external/oj-libjdwp/src/share/back/
DArrayReferenceImpl.c37 jarray array = inStream_readArrayRef(env, in); in length()
71 jarray array, jint index, jint length) in writeBooleanComponents()
88 jarray array, jint index, jint length) in writeByteComponents()
105 jarray array, jint index, jint length) in writeCharComponents()
122 jarray array, jint index, jint length) in writeShortComponents()
139 jarray array, jint index, jint length) in writeIntComponents()
156 jarray array, jint index, jint length) in writeLongComponents()
173 jarray array, jint index, jint length) in writeFloatComponents()
190 jarray array, jint index, jint length) in writeDoubleComponents()
207 jarray array, jint index, jint length) in writeObjectComponents()
[all …]
DArrayTypeImpl.c114 jarray array; in writeNewObjectArray()
149 jarray array = NULL; in writeNewPrimitiveArray()
DinStream.h69 jarray inStream_readArrayRef(JNIEnv *env, PacketInputStream *stream);
DinStream.c303 jarray
/external/tensorflow/tensorflow/java/src/main/native/
Dtensor_jni.cc114 size_t write1DArray(JNIEnv* env, jarray array, TF_DataType dtype, void* dst, in write1DArray()
153 size_t src_size, jarray dst) { in read1DArray()
185 size_t writeNDArray(JNIEnv* env, jarray src, TF_DataType dtype, int dims_left, in writeNDArray()
194 jarray row = static_cast<jarray>(env->GetObjectArrayElement(ndarray, i)); in writeNDArray()
205 size_t src_size, int dims_left, jarray dst) { in readNDArray()
213 jarray row = static_cast<jarray>(env->GetObjectArrayElement(ndarray, i)); in readNDArray()
350 void checkForNullEntries(JNIEnv* env, jarray value, int num_dims) { in checkForNullEntries()
353 jarray elem = static_cast<jarray>( in checkForNullEntries()
364 void fillNonScalarTF_STRINGTensorData(JNIEnv* env, jarray value, int num_dims, in fillNonScalarTF_STRINGTensorData()
378 jarray elem = static_cast<jarray>( in fillNonScalarTF_STRINGTensorData()
[all …]
/external/skia/modules/canvaskit/
DWasmCommon.h39 emscripten::val jarray = emscripten::val::global(arrayType).new_(count); in MakeTypedArray() local
40 jarray.call<void>("set", val(typed_memory_view(count, src))); in MakeTypedArray()
41 return jarray; in MakeTypedArray()
/external/tensorflow/tensorflow/lite/java/src/main/native/
Dtensor_jni.cc109 jarray array = static_cast<jarray>(object); in WriteOneDimensionalArray()
165 const void* src, size_t src_size, jarray dst) { in ReadOneDimensionalArray()
216 size_t src_size, int dims_left, jarray dst) { in ReadMultiDimensionalArray()
224 jarray row = static_cast<jarray>(env->GetObjectArrayElement(ndarray, i)); in ReadMultiDimensionalArray()
237 jarray dst) { in ReadMultiDimensionalStringArray()
258 jarray row = in ReadMultiDimensionalStringArray()
259 static_cast<jarray>(env->GetObjectArrayElement(object_array, i)); in ReadMultiDimensionalStringArray()
466 static_cast<jarray>(value)); in Java_org_tensorflow_lite_Tensor_readMultiDimensionalArray()
470 static_cast<jarray>(value)); in Java_org_tensorflow_lite_Tensor_readMultiDimensionalArray()
/external/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/
DDateFormatSymbolsTest.java120 private void compareArrays(Object jarray, Object iarray, Locale loc, String method) { in compareArrays() argument
121 if (jarray instanceof String[][]) { in compareArrays()
122 String[][] jaa = (String[][])jarray; in compareArrays()
142 String[] ja = (String[])jarray; in compareArrays()
/external/skia/tools/skqp/src/
Djni_skqp.cpp87 jobjectArray jarray = env->NewObjectArray((jint)array.size(), stringClass, nullptr); in to_java_string_array() local
88 jassert(env, jarray != nullptr, nullptr); in to_java_string_array()
90 set_string_array_element(env, jarray, std::string(toString(array[i])).c_str(), i); in to_java_string_array()
92 return jarray; in to_java_string_array()
/external/skqp/tools/skqp/src/
Djni_skqp.cpp87 jobjectArray jarray = env->NewObjectArray((jint)array.size(), stringClass, nullptr); in to_java_string_array() local
88 jassert(env, jarray != nullptr, nullptr); in to_java_string_array()
90 set_string_array_element(env, jarray, std::string(toString(array[i])).c_str(), i); in to_java_string_array()
92 return jarray; in to_java_string_array()
/external/libchrome/base/android/
Dpath_utils.cc54 auto jarray = Java_PathUtils_getAllPrivateDownloadsDirectories(env); in GetAllPrivateDownloadsDirectories() local
55 base::android::AppendJavaStringArrayToStringVector(env, jarray.obj(), &dirs); in GetAllPrivateDownloadsDirectories()
Djni_array.cc19 size_t SafeGetArrayLength(JNIEnv* env, JavaArrayType jarray) { in SafeGetArrayLength() argument
20 DCHECK(jarray); in SafeGetArrayLength()
21 jsize length = env->GetArrayLength(jarray); in SafeGetArrayLength()
/external/oj-libjdwp/src/share/javavm/export/
Djni.h86 typedef _jarray *jarray; typedef
105 typedef jobject jarray; typedef
106 typedef jarray jbooleanArray;
107 typedef jarray jbyteArray;
108 typedef jarray jcharArray;
109 typedef jarray jshortArray;
110 typedef jarray jintArray;
111 typedef jarray jlongArray;
112 typedef jarray jfloatArray;
113 typedef jarray jdoubleArray;
[all …]
/external/libtextclassifier/native/utils/java/
Djni-helper.h118 static StatusOr<jsize> GetArrayLength(JNIEnv* env, jarray array);
Djni-helper.cc196 StatusOr<jsize> JniHelper::GetArrayLength(JNIEnv* env, jarray array) { in GetArrayLength()
/external/icing/icing/text_classifier/lib3/utils/java/
Djni-helper.h116 static StatusOr<jsize> GetArrayLength(JNIEnv* env, jarray array);
Djni-helper.cc194 StatusOr<jsize> JniHelper::GetArrayLength(JNIEnv* env, jarray array) { in GetArrayLength()
/external/libjpeg-turbo/
Dturbojpeg-jni.c218 (JNIEnv *env, jobject obj, jarray src, jint srcElementSize, jint x, jint y, in TJCompressor_compress()
403 (JNIEnv *env, jobject obj, jarray src, jint srcElementSize, jint x, jint y, in TJCompressor_encodeYUV()
514 (JNIEnv *env, jobject obj, jarray src, jint srcElementSize, jint width, in TJCompressor_encodeYUV_12()
682 (JNIEnv *env, jobject obj, jbyteArray src, jint jpegSize, jarray dst, in TJDecompressor_decompress()
904 jintArray jSrcStrides, jint subsamp, jarray dst, jint dstElementSize, in TJDecompressor_decodeYUV()
/external/libabigail/tests/data/test-read-dwarf/
Dtest-libandroid.so.abi3478 …<typedef-decl name='jarray' type-id='85c463b1' filepath='libnativehelper/include_jni/jni.h' line='…