Home
last modified time | relevance | path

Searched refs:long_array (Results 1 – 4 of 4) sorted by relevance

/external/libchrome/base/android/
Djni_array.cc83 jlongArray long_array = env->NewLongArray(len); in ToJavaLongArray() local
85 DCHECK(long_array); in ToJavaLongArray()
88 long_array, 0, len, reinterpret_cast<const jlong*>(longs)); in ToJavaLongArray()
91 return ScopedJavaLocalRef<jlongArray>(env, long_array); in ToJavaLongArray()
247 jlongArray long_array, in JavaLongArrayToInt64Vector() argument
251 JavaLongArrayToLongVector(env, long_array, &temp); in JavaLongArrayToInt64Vector()
257 jlongArray long_array, in JavaLongArrayToLongVector() argument
260 size_t len = SafeGetArrayLength(env, long_array); in JavaLongArrayToLongVector()
264 env->GetLongArrayRegion(long_array, 0, len, out->data()); in JavaLongArrayToLongVector()
Djni_array.h101 jlongArray long_array,
107 jlongArray long_array,
Djni_array_unittest.cc102 const int64_t* long_array, in CheckLongConversion() argument
113 ASSERT_EQ(long_array[i], value); in CheckLongConversion()
/external/tensorflow/tensorflow/lite/java/src/main/native/
Dtensor_jni.cc133 jlongArray long_array = static_cast<jlongArray>(array); in WriteOneDimensionalArray() local
135 env->GetLongArrayRegion(long_array, 0, num_elements, long_dst); in WriteOneDimensionalArray()
189 jlongArray long_array = static_cast<jlongArray>(dst); in ReadOneDimensionalArray() local
190 env->SetLongArrayRegion(long_array, 0, len, in ReadOneDimensionalArray()