/external/openthread/tests/unit/ |
D | test_network_data.cpp | 169 rlocsLength = GetArrayLength(rlocs); in TestNetworkDataIterator() 172 VerifyOrQuit(netData.CountBorderRouters(kAnyRole) == GetArrayLength(kRlocs)); in TestNetworkDataIterator() 174 rlocsLength = GetArrayLength(rlocs); in TestNetworkDataIterator() 177 VerifyOrQuit(netData.CountBorderRouters(kRouterRoleOnly) == GetArrayLength(kRlocs)); in TestNetworkDataIterator() 179 rlocsLength = GetArrayLength(rlocs); in TestNetworkDataIterator() 285 rlocsLength = GetArrayLength(rlocs); in TestNetworkDataIterator() 288 VerifyOrQuit(netData.CountBorderRouters(kAnyRole) == GetArrayLength(kRlocsAnyRole)); in TestNetworkDataIterator() 290 rlocsLength = GetArrayLength(rlocs); in TestNetworkDataIterator() 293 … VerifyOrQuit(netData.CountBorderRouters(kRouterRoleOnly) == GetArrayLength(kRlocsRouterRole)); in TestNetworkDataIterator() 295 rlocsLength = GetArrayLength(rlocs); in TestNetworkDataIterator() [all …]
|
/external/webp/swig/ |
D | libwebp_java_wrap.c | 310 sz = (*jenv)->GetArrayLength(jenv, input); in SWIG_JavaArrayInSchar() 326 jsize sz = (*jenv)->GetArrayLength(jenv, input); in SWIG_JavaArrayArgoutSchar() 356 sz = (*jenv)->GetArrayLength(jenv, input); in SWIG_JavaArrayInUchar() 372 jsize sz = (*jenv)->GetArrayLength(jenv, input); in SWIG_JavaArrayArgoutUchar() 402 sz = (*jenv)->GetArrayLength(jenv, input); in SWIG_JavaArrayInShort() 418 jsize sz = (*jenv)->GetArrayLength(jenv, input); in SWIG_JavaArrayArgoutShort() 448 sz = (*jenv)->GetArrayLength(jenv, input); in SWIG_JavaArrayInUshort() 464 jsize sz = (*jenv)->GetArrayLength(jenv, input); in SWIG_JavaArrayArgoutUshort() 494 sz = (*jenv)->GetArrayLength(jenv, input); in SWIG_JavaArrayInInt() 510 jsize sz = (*jenv)->GetArrayLength(jenv, input); in SWIG_JavaArrayArgoutInt() [all …]
|
/external/tensorflow/tensorflow/java/src/main/native/ |
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 | graph_operation_builder_jni.cc | 99 const size_t n = static_cast<size_t>(env->GetArrayLength(op_handles)); in Java_org_tensorflow_GraphOperationBuilder_addInputList() 100 if (env->GetArrayLength(indices) != n) { in Java_org_tensorflow_GraphOperationBuilder_addInputList() 104 n, env->GetArrayLength(indices)); in Java_org_tensorflow_GraphOperationBuilder_addInputList() 154 TF_SetAttrString(d, cname, cvalue, env->GetArrayLength(value)); in Java_org_tensorflow_GraphOperationBuilder_setAttrString() 187 const int n = env->GetArrayLength(value); \ 231 const int n = env->GetArrayLength(tensor_handles); in Java_org_tensorflow_GraphOperationBuilder_setAttrTensorList() 280 const int num_dims_length = env->GetArrayLength(num_dims); in Java_org_tensorflow_GraphOperationBuilder_setAttrShapeList() 282 const int shapes_length = env->GetArrayLength(shapes); in Java_org_tensorflow_GraphOperationBuilder_setAttrShapeList() 314 int num_values = env->GetArrayLength(values); in Java_org_tensorflow_GraphOperationBuilder_setAttrStringList() 328 lengths[i] = static_cast<size_t>(env->GetArrayLength(v)); in Java_org_tensorflow_GraphOperationBuilder_setAttrStringList()
|
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() 268 jsize len = env->GetArrayLength(dst); in readNDStringArray() 293 int num_dims = static_cast<int>(env->GetArrayLength(shape)); in Java_org_tensorflow_Tensor_allocate() 331 size_t src_len = static_cast<int>(env->GetArrayLength(value)); in Java_org_tensorflow_Tensor_allocateScalarBytes() 353 jsize len = env->GetArrayLength(value); in checkForNullEntries() 373 writer->Add(reinterpret_cast<const char*>(jsrc), env->GetArrayLength(value), in fillNonScalarTF_STRINGTensorData() 379 jsize len = env->GetArrayLength(value); in fillNonScalarTF_STRINGTensorData() [all …]
|
D | eager_operation_builder_jni.cc | 145 size_t num_inputs = static_cast<size_t>(env->GetArrayLength(input_handles)); in Java_org_tensorflow_EagerOperationBuilder_addInputList() 171 TFE_OpSetAttrString(op, cname, cvalue, env->GetArrayLength(value)); in Java_org_tensorflow_EagerOperationBuilder_setAttrString() 183 int num_values = env->GetArrayLength(values); in Java_org_tensorflow_EagerOperationBuilder_setAttrStringList() 197 lengths[i] = static_cast<size_t>(env->GetArrayLength(v)); in Java_org_tensorflow_EagerOperationBuilder_setAttrStringList() 234 const int n = env->GetArrayLength(value); \ 306 const int num_dims_length = env->GetArrayLength(num_dims); in Java_org_tensorflow_EagerOperationBuilder_setAttrShapeList() 308 const int shapes_length = env->GetArrayLength(shapes); in Java_org_tensorflow_EagerOperationBuilder_setAttrShapeList()
|
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 | utils_jni.cc | 23 jint len = env->GetArrayLength(src_op); in resolveOutputs() 29 len = env->GetArrayLength(src_index); in resolveOutputs()
|
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()
|
/external/libjpeg-turbo/ |
D | turbojpeg-jni.c | 237 if ((*env)->GetArrayLength(env, src) * srcElementSize < arraySize) in TJCompressor_compress() 240 if ((*env)->GetArrayLength(env, dst) < (jsize)jpegSize) in TJCompressor_compress() 343 if ((*env)->GetArrayLength(env, srcobjs) < nc) in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII() 345 if ((*env)->GetArrayLength(env, jSrcOffsets) < nc) in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII() 347 if ((*env)->GetArrayLength(env, jSrcStrides) < nc) in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII() 351 if ((*env)->GetArrayLength(env, dst) < (jsize)jpegSize) in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII() 379 if ((*env)->GetArrayLength(env, jSrcPlanes[i]) < in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII() 427 if ((*env)->GetArrayLength(env, dstobjs) < nc) in TJCompressor_encodeYUV() 429 if ((*env)->GetArrayLength(env, jDstOffsets) < nc) in TJCompressor_encodeYUV() 431 if ((*env)->GetArrayLength(env, jDstStrides) < nc) in TJCompressor_encodeYUV() [all …]
|
/external/icing/icing/jni/ |
D | scoped-primitive-array-critical_test.cc | 63 ON_CALL(*env_mock, GetArrayLength(Eq(fake_jarray))).WillByDefault(Return(4)); in TEST() 83 ON_CALL(*env_mock, GetArrayLength(Eq(fake_jarray))).WillByDefault(Return(4)); in TEST() 109 ON_CALL(*env_mock, GetArrayLength(Eq(fake_jarray1))).WillByDefault(Return(4)); in TEST() 115 ON_CALL(*env_mock, GetArrayLength(Eq(fake_jarray2))).WillByDefault(Return(3)); in TEST()
|
/external/libchrome/base/android/ |
D | jni_array_unittest.cc | 54 jsize java_array_len = env->GetArrayLength(booleans.obj()); in CheckBoolConversion() 79 jsize java_array_len = env->GetArrayLength(ints.obj()); in CheckIntConversion() 107 jsize java_array_len = env->GetArrayLength(longs.obj()); in CheckLongConversion() 158 jsize java_array_len = env->GetArrayLength(floats.obj()); in CheckFloatConversion() 198 env->GetArrayLength(jbooleans.obj())); in TEST() 220 ASSERT_EQ(static_cast<jsize>(ints.size()), env->GetArrayLength(jints.obj())); in TEST() 243 env->GetArrayLength(jlongs.obj())); in TEST() 271 env->GetArrayLength(jlongs.obj())); in TEST() 298 env->GetArrayLength(jfloats.obj())); in TEST()
|
/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/jazzer-api/agent/src/jmh/native/com/code_intelligence/jazzer/runtime/ |
D | fuzzer_callbacks.cpp | 127 jint b1_length = env->GetArrayLength(b1); in Java_com_code_1intelligence_jazzer_runtime_FuzzerCallbacks_traceMemcmp() 129 jint b2_length = env->GetArrayLength(b2); in Java_com_code_1intelligence_jazzer_runtime_FuzzerCallbacks_traceMemcmp() 146 jint b1_length = env->GetArrayLength(b1); in Java_com_code_1intelligence_jazzer_runtime_FuzzerCallbacksOptimizedNonCritical_traceMemcmp() 147 jint b2_length = env->GetArrayLength(b2); in Java_com_code_1intelligence_jazzer_runtime_FuzzerCallbacksOptimizedNonCritical_traceMemcmp() 196 jint needle_length = env->GetArrayLength(needle); in Java_com_code_1intelligence_jazzer_runtime_FuzzerCallbacksOptimizedNonCritical_traceStrstrInternal()
|
/external/openthread/src/core/mac/ |
D | mac_filter.cpp | 127 for (; aIterator < GetArrayLength(mFilterEntries); aIterator++) in GetNextAddress() 189 for (; aIterator < GetArrayLength(mFilterEntries); aIterator++) in GetNextRssIn() 204 if ((aIterator == GetArrayLength(mFilterEntries)) && (mDefaultRssIn != kFixedRssDisabled)) in GetNextRssIn()
|
/external/pigweed/pw_tokenizer/java/dev/pigweed/tokenizer/ |
D | detokenizer.cc | 58 const jsize size = env->GetArrayLength(array); in DETOKENIZER_METHOD() 79 const jsize size = env->GetArrayLength(array); in DETOKENIZER_METHOD()
|
/external/cronet/base/android/ |
D | jni_array_unittest.cc | 87 jsize java_array_len = env->GetArrayLength(booleans.obj()); in CheckBoolConversion() 112 jsize java_array_len = env->GetArrayLength(ints.obj()); in CheckIntConversion() 140 jsize java_array_len = env->GetArrayLength(longs.obj()); in CheckLongConversion() 191 jsize java_array_len = env->GetArrayLength(floats.obj()); in CheckFloatConversion() 255 env->GetArrayLength(jbooleans.obj())); in TEST() 277 ASSERT_EQ(static_cast<jsize>(ints.size()), env->GetArrayLength(jints.obj())); in TEST() 300 env->GetArrayLength(jlongs.obj())); in TEST() 328 env->GetArrayLength(jlongs.obj())); in TEST() 355 env->GetArrayLength(jfloats.obj())); in TEST()
|
/external/skia/modules/jetski/src/ |
D | ColorFilters.cpp | 16 SkASSERT(env->GetArrayLength(jcm) == 20); in MakeMatrix() 24 SkASSERT(env->GetArrayLength(jcm) == 20); in MakeHSLAMatrix()
|
/external/openthread/src/core/utils/ |
D | srp_client_buffers.hpp | 169 aArrayLength = GetArrayLength(mSubTypeLabels); in GetSubTypeLabelsArray() 217 aArrayLength = static_cast<uint8_t>(GetArrayLength(mHostAddresses)); in GetHostAddressesArray()
|
/external/jazzer-api/driver/src/main/native/com/code_intelligence/jazzer/driver/ |
D | jazzer_fuzzer_callbacks.cpp | 41 jint needle_length = env->GetArrayLength(needle); in Java_com_code_1intelligence_jazzer_runtime_TraceDataFlowNativeCallbacks_traceStrstr0() 60 jint b1_length = env->GetArrayLength(b1); in Java_com_code_1intelligence_jazzer_runtime_TraceDataFlowNativeCallbacks_traceMemcmp() 61 jint b2_length = env->GetArrayLength(b2); in Java_com_code_1intelligence_jazzer_runtime_TraceDataFlowNativeCallbacks_traceMemcmp()
|
D | fuzz_target_runner.cpp | 97 int argc = env->GetArrayLength(args); in Java_com_code_1intelligence_jazzer_driver_FuzzTargetRunner_startLibFuzzer() 116 std::size_t arg_size = env->GetArrayLength(arg_jni); in Java_com_code_1intelligence_jazzer_driver_FuzzTargetRunner_startLibFuzzer()
|
/external/tensorflow/tensorflow/lite/java/src/main/native/ |
D | jni_utils.cc | 104 int num_dims = static_cast<int>(env->GetArrayLength(dims)); in AreDimsDifferent() 127 int size = static_cast<int>(env->GetArrayLength(inputs)); in ConvertJIntArrayToVector()
|
D | tensor_jni.cc | 171 const int num_elements = env->GetArrayLength(array); in WriteOneDimensionalArray() 233 const int len = env->GetArrayLength(dst); in ReadOneDimensionalArray() 294 int len = env->GetArrayLength(ndarray); in ReadMultiDimensionalArray() 312 int len = env->GetArrayLength(object_array); in ReadMultiDimensionalStringArray() 349 int len = env->GetArrayLength(ndarray); in WriteMultiDimensionalArray() 375 jsize byte_array_length = env->GetArrayLength(byte_array); in AddStringDynamicBuffer() 387 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/openthread/src/core/common/ |
D | error.cpp | 84 return aError < GetArrayLength(kErrorStrings) ? kErrorStrings[aError] : "UnknownErrorType"; in ErrorToString()
|