Home
last modified time | relevance | path

Searched refs:int_array (Results 1 – 18 of 18) sorted by relevance

/external/autotest/client/cros/i2c/
Dusb_to_i2c.py53 def send_and_check_status(self, slave_addr, int_array): argument
62 self.send(slave_addr, int_array)
69 def send(self, slave_addr, int_array): argument
153 def send(self, slave_addr, int_array): argument
156 len(int_array)] +
157 int_array + [ord('P')])
/external/libchrome/base/android/
Djni_array.cc64 jintArray int_array = env->NewIntArray(len); in ToJavaIntArray() local
66 DCHECK(int_array); in ToJavaIntArray()
69 int_array, 0, len, reinterpret_cast<const jint*>(ints)); in ToJavaIntArray()
72 return ScopedJavaLocalRef<jintArray>(env, int_array); in ToJavaIntArray()
236 jintArray int_array, in JavaIntArrayToIntVector() argument
239 size_t len = SafeGetArrayLength(env, int_array); in JavaIntArrayToIntVector()
243 env->GetIntArrayRegion(int_array, 0, len, out->data()); in JavaIntArrayToIntVector()
304 ScopedJavaLocalRef<jintArray> int_array( in JavaArrayOfIntArrayToIntVector() local
306 JavaIntArrayToIntVector(env, int_array.obj(), &out->at(i)); in JavaArrayOfIntArrayToIntVector()
Djni_array.h96 jintArray int_array,
/external/swiftshader/third_party/llvm-7.0/llvm/test/DebugInfo/PDB/Inputs/
Dsymbolformat.cpp62 typedef int int_array[3]; typedef
63 int_array g_array = { 1, 2, 3 };
64 int_array *g_pointer_to_array = &g_array;
/external/compiler-rt/lib/asan/tests/
Dasan_benchmarks_test.cc46 int *int_array = new int[kLen]; in TEST() local
47 ManyAccessFunc(int_array, kLen, 1 << 24); in TEST()
48 delete [] int_array; in TEST()
/external/python/cpython2/Lib/ctypes/test/
Dtest_arrays.py20 int_array = ARRAY(fmt, alen)
22 ia = int_array(*init)
42 ia = int_array()
47 self.assertRaises(IndexError, int_array, *range(alen*2))
/external/tensorflow/tensorflow/lite/
Dcontext_util.h31 explicit TfLiteIntArrayView(const TfLiteIntArray* int_array) in TfLiteIntArrayView() argument
32 : int_array_(int_array) {} in TfLiteIntArrayView()
Dgraph_info.cc31 explicit TfLiteIntArrayView(const TfLiteIntArray* int_array) in TfLiteIntArrayView() argument
32 : int_array_(int_array) {} in TfLiteIntArrayView()
Darena_planner_test.cc63 auto int_array = [](const std::vector<int>& x) { in TestGraph() local
70 nodes_.back().inputs = int_array(node.inputs()); in TestGraph()
74 nodes_.back().outputs = int_array(node.outputs()); in TestGraph()
78 nodes_.back().temporaries = int_array(node.temporaries()); in TestGraph()
/external/python/cpython3/Lib/ctypes/test/
Dtest_arrays.py22 int_array = ARRAY(fmt, alen)
24 ia = int_array(*init)
44 ia = int_array()
49 self.assertRaises(IndexError, int_array, *range(alen*2))
/external/tensorflow/tensorflow/lite/tools/benchmark/
Dbenchmark_tflite_model.cc180 std::vector<int> TfLiteIntArrayToVector(const TfLiteIntArray* int_array) { in TfLiteIntArrayToVector() argument
182 values.reserve(int_array->size); in TfLiteIntArrayToVector()
183 for (size_t i = 0; i < int_array->size; i++) { in TfLiteIntArrayToVector()
184 values.push_back(int_array->data[i]); in TfLiteIntArrayToVector()
/external/tensorflow/tensorflow/lite/java/src/main/native/
Dtensor_jni.cc112 jintArray int_array = static_cast<jintArray>(array); in WriteOneDimensionalArray() local
114 env->GetIntArrayRegion(int_array, 0, num_elements, int_dst); in WriteOneDimensionalArray()
161 jintArray int_array = static_cast<jintArray>(dst); in ReadOneDimensionalArray() local
162 env->SetIntArrayRegion(int_array, 0, len, static_cast<const jint*>(src)); in ReadOneDimensionalArray()
/external/tensorflow/tensorflow/lite/experimental/micro/testing/
Dtest_utils.h97 inline TfLiteIntArray* IntArrayFromInts(const int* int_array) { in IntArrayFromInts() argument
99 reinterpret_cast<const TfLiteIntArray*>(int_array)); in IntArrayFromInts()
/external/tensorflow/tensorflow/lite/core/
Dsubgraph.cc60 const TensorIntArray& int_array) { in HasDynamicTensorImpl() argument
61 for (int i : int_array) { in HasDynamicTensorImpl()
71 const TfLiteIntArray* int_array) { in HasDynamicTensor() argument
72 return HasDynamicTensorImpl(context, TfLiteIntArrayView{int_array}); in HasDynamicTensor()
/external/libbrillo/brillo/
Dany_unittest.cc169 int int_array[] = {1, 2, 3}; // int* in TEST() local
170 Any val = int_array; in TEST()
/external/libbrillo/brillo/dbus/
Ddata_serialization_unittest.cc471 std::vector<int> int_array{1, 2, 3}; in TEST() local
476 AppendValueToWriterAsVariant(&writer, int_array); in TEST()
498 EXPECT_EQ(int_array, int_array_out.Get<std::vector<int>>()); in TEST()
/external/google-breakpad/src/testing/test/
Dgmock-generated-matchers_test.cc1069 int int_array[] = { 1, 2, 3, 4 }; in TEST() local
1070 EXPECT_THAT(int_array, Not(Contains(5))); in TEST()
/external/googletest/googlemock/test/
Dgmock-generated-matchers_test.cc1074 int int_array[] = { 1, 2, 3, 4 }; in TEST() local
1075 EXPECT_THAT(int_array, Not(Contains(5))); in TEST()