/external/tensorflow/tensorflow/java/src/main/native/ |
D | operation_builder_jni.cc | 100 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()
|
D | session_jni.cc | 40 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()
|
D | tensor_jni.cc | 116 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 …]
|
D | saved_model_bundle_jni.cc | 32 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()
|
D | graph_jni.cc | 102 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()
|
D | utils_jni.cc | 23 jint len = env->GetArrayLength(src_op); in resolveOutputs() 29 len = env->GetArrayLength(src_index); in resolveOutputs()
|
D | server_jni.cc | 44 server_def_ptr, static_cast<size_t>(env->GetArrayLength(server_def)), in Java_org_tensorflow_Server_allocate()
|
/external/libjpeg-turbo/ |
D | turbojpeg-jni.c | 232 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/ |
D | com_googlecode_android_scripting_Exec.cpp | 99 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/ |
D | tensor_jni.cc | 95 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/ |
D | scoped_primitive_array.h | 58 return static_cast<size_t>(mEnv->GetArrayLength(mJavaArray)); \ 122 return static_cast<size_t>(mEnv->GetArrayLength(mJavaArray)); \
|
/external/pdfium/fxjs/ |
D | fxjs_v8_embeddertest.cpp | 182 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()
|
D | cjs_v8.h | 60 unsigned GetArrayLength(v8::Local<v8::Array> pArray);
|
/external/libtextclassifier/utils/java/ |
D | string_utils.cc | 30 const int array_length = env->GetArrayLength(array); in JByteArrayToString()
|
/external/tensorflow/tensorflow/contrib/android/jni/ |
D | run_stats_jni.cc | 60 int size = static_cast<int>(env->GetArrayLength(run_metadata)); in RUN_STATS_METHOD()
|
/external/oj-libjdwp/src/share/back/ |
D | ArrayReferenceImpl.c | 42 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/ |
D | scalar_replacement_pass.h | 165 size_t GetArrayLength(const Instruction* arrayInst) const;
|
D | scalar_replacement_pass.cpp | 281 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/ |
D | scalar_replacement_pass.h | 166 size_t GetArrayLength(const Instruction* arrayInst) const;
|
/external/dexmaker/dexmaker-mockito-inline-tests/src/main/jni/multiplejvmtiagentsinterferenceagent/ |
D | agent.cc | 134 jsize numTransformedClasses = env->GetArrayLength(classes); in Java_com_android_dx_mockito_inline_tests_MultipleJvmtiAgentsInterference_nativeRetransformClasses()
|
/external/conscrypt/common/src/jni/main/include/conscrypt/ |
D | app_data.h | 186 static_cast<size_t>(e->GetArrayLength(applicationProtocolsJava)); in setApplicationProtocols()
|
/external/libchrome/base/android/ |
D | jni_array.cc | 21 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/ |
D | smartreply_jni.cc | 39 int count = env->GetArrayLength(string_array); in jniStringArrayToVector()
|
/external/webrtc/talk/app/webrtc/java/jni/ |
D | native_handle_impl.cc | 89 RTC_CHECK_EQ(16, jni->GetArrayLength(j_transform_matrix)); in NativeHandleImpl()
|
/external/libtextclassifier/annotator/ |
D | annotator_jni_common.cc | 29 const int size = env->GetArrayLength(jentity_types); in EntityTypesFromJObject()
|