Home
last modified time | relevance | path

Searched refs:GetArrayLength (Results 1 – 25 of 47) sorted by relevance

12

/external/tensorflow/tensorflow/java/src/main/native/
Doperation_builder_jni.cc100 const size_t n = static_cast<size_t>(env->GetArrayLength(op_handles)); in Java_org_tensorflow_OperationBuilder_addInputList()
101 if (env->GetArrayLength(indices) != n) { in Java_org_tensorflow_OperationBuilder_addInputList()
105 n, env->GetArrayLength(indices)); in Java_org_tensorflow_OperationBuilder_addInputList()
152 TF_SetAttrString(d, cname, cvalue, env->GetArrayLength(value)); in Java_org_tensorflow_OperationBuilder_setAttrString()
183 const int n = env->GetArrayLength(value); \
226 const int n = env->GetArrayLength(tensor_handles); in Java_org_tensorflow_OperationBuilder_setAttrTensorList()
274 const int num_dims_length = env->GetArrayLength(num_dims); in Java_org_tensorflow_OperationBuilder_setAttrShapeList()
276 const int shapes_length = env->GetArrayLength(shapes); in Java_org_tensorflow_OperationBuilder_setAttrShapeList()
307 int num_values = env->GetArrayLength(values); in Java_org_tensorflow_OperationBuilder_setAttrStringList()
321 lengths[i] = static_cast<size_t>(env->GetArrayLength(v)); in Java_org_tensorflow_OperationBuilder_setAttrStringList()
Dsession_jni.cc40 jint len = env->GetArrayLength(src_array); in resolveHandles()
93 static_cast<size_t>(env->GetArrayLength(config)), status); in Java_org_tensorflow_Session_allocate2()
141 const jint ninputs = env->GetArrayLength(input_tensor_handles); in Java_org_tensorflow_Session_run()
142 const jint noutputs = env->GetArrayLength(output_tensor_handles); in Java_org_tensorflow_Session_run()
143 const jint ntargets = env->GetArrayLength(target_op_handles); in Java_org_tensorflow_Session_run()
168 size_t sz = env->GetArrayLength(jrun_options); in Java_org_tensorflow_Session_run()
Dtensor_jni.cc116 const int nelems = env->GetArrayLength(array); in write1DArray()
154 const int len = env->GetArrayLength(dst); in read1DArray()
191 int len = env->GetArrayLength(ndarray); in writeNDArray()
210 int len = env->GetArrayLength(ndarray); in readNDArray()
308 jsize len = env->GetArrayLength(dst); in readNDStringArray()
331 int num_dims = static_cast<int>(env->GetArrayLength(shape)); in Java_org_tensorflow_Tensor_allocate()
369 size_t src_len = static_cast<int>(env->GetArrayLength(value)); in Java_org_tensorflow_Tensor_allocateScalarBytes()
396 static_cast<size_t>(env->GetArrayLength(value))); in nonScalarTF_STRINGTensorSize()
398 jsize len = env->GetArrayLength(value); in nonScalarTF_STRINGTensorSize()
420 writer->Add(reinterpret_cast<const char*>(jsrc), env->GetArrayLength(value), in fillNonScalarTF_STRINGTensorData()
[all …]
Dsaved_model_bundle_jni.cc32 size_t sz = env->GetArrayLength(config); in Java_org_tensorflow_SavedModelBundle_load()
46 size_t sz = env->GetArrayLength(run_options); in Java_org_tensorflow_SavedModelBundle_load()
56 size_t tags_len = env->GetArrayLength(tags); in Java_org_tensorflow_SavedModelBundle_load()
Dgraph_jni.cc102 TF_NewBufferFromString(bytes, env->GetArrayLength(graph_def)); in Java_org_tensorflow_Graph_importGraphDef()
150 const jint ny = env->GetArrayLength(y_handles); in Java_org_tensorflow_Graph_addGradients()
151 const jint nx = env->GetArrayLength(x_handles); in Java_org_tensorflow_Graph_addGradients()
161 if (env->GetArrayLength(dx_handles) != ny) { in Java_org_tensorflow_Graph_addGradients()
164 env->GetArrayLength(dx_handles)); in Java_org_tensorflow_Graph_addGradients()
264 int ninputs = env->GetArrayLength(input_handles); in Java_org_tensorflow_Graph_whileLoop()
Dutils_jni.cc23 jint len = env->GetArrayLength(src_op); in resolveOutputs()
29 len = env->GetArrayLength(src_index); in resolveOutputs()
Dserver_jni.cc44 server_def_ptr, static_cast<size_t>(env->GetArrayLength(server_def)), in Java_org_tensorflow_Server_allocate()
/external/libjpeg-turbo/
Dturbojpeg-jni.c232 if ((*env)->GetArrayLength(env, src) * srcElementSize < arraySize) in TJCompressor_compress()
235 if ((*env)->GetArrayLength(env, dst) < (jsize)jpegSize) in TJCompressor_compress()
333 if ((*env)->GetArrayLength(env, srcobjs) < nc) in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII()
335 if ((*env)->GetArrayLength(env, jSrcOffsets) < nc) in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII()
337 if ((*env)->GetArrayLength(env, jSrcStrides) < nc) in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII()
341 if ((*env)->GetArrayLength(env, dst) < (jsize)jpegSize) in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII()
361 if ((*env)->GetArrayLength(env, jSrcPlanes[i]) < srcOffsets[i] + planeSize) in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII()
411 if ((*env)->GetArrayLength(env, dstobjs) < nc) in TJCompressor_encodeYUV()
413 if ((*env)->GetArrayLength(env, jDstOffsets) < nc) in TJCompressor_encodeYUV()
415 if ((*env)->GetArrayLength(env, jDstStrides) < nc) in TJCompressor_encodeYUV()
[all …]
/external/sl4a/ScriptingLayerForAndroid/jni/
Dcom_googlecode_android_scripting_Exec.cpp99 jint len = env->GetArrayLength(bytes); in JNU_GetStringNativeChars()
130 len = env->GetArrayLength(argArray); in Java_com_googlecode_android_1scripting_Exec_createSubprocess()
143 len = env->GetArrayLength(varArray); in Java_com_googlecode_android_1scripting_Exec_createSubprocess()
155 if (env->GetArrayLength(processIdArray) > 0) { in Java_com_googlecode_android_1scripting_Exec_createSubprocess()
/external/tensorflow/tensorflow/lite/java/src/main/native/
Dtensor_jni.cc95 const int num_elements = env->GetArrayLength(array); in WriteOneDimensionalArray()
143 const int len = env->GetArrayLength(dst); in ReadOneDimensionalArray()
191 int len = env->GetArrayLength(ndarray); in ReadMultiDimensionalArray()
209 int len = env->GetArrayLength(object_array); in ReadMultiDimensionalStringArray()
243 int len = env->GetArrayLength(ndarray); in WriteMultiDimensionalArray()
261 const int num_elements = env->GetArrayLength(object_array); in PopulateStringDynamicBuffer()
/external/conscrypt/common/src/jni/unbundled/include/nativehelper/
Dscoped_primitive_array.h58 return static_cast<size_t>(mEnv->GetArrayLength(mJavaArray)); \
122 return static_cast<size_t>(mEnv->GetArrayLength(mJavaArray)); \
/external/pdfium/fxjs/
Dfxjs_v8_embeddertest.cpp182 EXPECT_EQ(0u, engine()->GetArrayLength(array)); in TEST_F()
185 EXPECT_EQ(0u, engine()->GetArrayLength(array)); in TEST_F()
192 EXPECT_EQ(4u, engine()->GetArrayLength(array)); in TEST_F()
Dcjs_v8.h60 unsigned GetArrayLength(v8::Local<v8::Array> pArray);
/external/libtextclassifier/utils/java/
Dstring_utils.cc30 const int array_length = env->GetArrayLength(array); in JByteArrayToString()
/external/tensorflow/tensorflow/contrib/android/jni/
Drun_stats_jni.cc60 int size = static_cast<int>(env->GetArrayLength(run_metadata)); in RUN_STATS_METHOD()
/external/oj-libjdwp/src/share/back/
DArrayReferenceImpl.c42 arrayLength = JNI_FUNC_PTR(env,GetArrayLength)(env, array); in length()
250 arrayLength = JNI_FUNC_PTR(env,GetArrayLength)(env, array); in getValues()
498 arrayLength = JNI_FUNC_PTR(env,GetArrayLength)(env, array); in setValues()
/external/deqp-deps/SPIRV-Tools/source/opt/
Dscalar_replacement_pass.h165 size_t GetArrayLength(const Instruction* arrayInst) const;
Dscalar_replacement_pass.cpp281 for (uint32_t i = 0; i != GetArrayLength(type); ++i) { in CreateReplacementVariables()
483 size_t ScalarReplacementPass::GetArrayLength( in GetArrayLength() function in spvtools::opt::ScalarReplacementPass
548 if (IsLargerThanSizeLimit(GetArrayLength(typeInst))) { in CheckType()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dscalar_replacement_pass.h166 size_t GetArrayLength(const Instruction* arrayInst) const;
/external/dexmaker/dexmaker-mockito-inline-tests/src/main/jni/multiplejvmtiagentsinterferenceagent/
Dagent.cc134 jsize numTransformedClasses = env->GetArrayLength(classes); in Java_com_android_dx_mockito_inline_tests_MultipleJvmtiAgentsInterference_nativeRetransformClasses()
/external/conscrypt/common/src/jni/main/include/conscrypt/
Dapp_data.h186 static_cast<size_t>(e->GetArrayLength(applicationProtocolsJava)); in setApplicationProtocols()
/external/libchrome/base/android/
Djni_array.cc21 jsize length = env->GetArrayLength(jarray); in SafeGetArrayLength()
289 jsize bytes_len = env->GetArrayLength(bytes_array.obj()); in JavaArrayOfByteArrayToStringVector()
/external/tensorflow/tensorflow/lite/models/smartreply/demo/app/src/main/
Dsmartreply_jni.cc39 int count = env->GetArrayLength(string_array); in jniStringArrayToVector()
/external/webrtc/talk/app/webrtc/java/jni/
Dnative_handle_impl.cc89 RTC_CHECK_EQ(16, jni->GetArrayLength(j_transform_matrix)); in NativeHandleImpl()
/external/libtextclassifier/annotator/
Dannotator_jni_common.cc29 const int size = env->GetArrayLength(jentity_types); in EntityTypesFromJObject()

12