Home
last modified time | relevance | path

Searched refs:avals (Results 1 – 21 of 21) sorted by relevance

/external/python/cpython2/Modules/_ctypes/libffi/testsuite/libffi.call/
Dcls_multi_uchar.c23 static void test_func_gn(ffi_cif *cif __UNUSED__, void *rval, void **avals, in test_func_gn() argument
28 a1 = *(unsigned char *)avals[0]; in test_func_gn()
29 a2 = *(unsigned char *)avals[1]; in test_func_gn()
30 a3 = *(unsigned char *)avals[2]; in test_func_gn()
31 a4 = *(unsigned char *)avals[3]; in test_func_gn()
40 void test_func(ffi_cif *cif __UNUSED__, void *rval __UNUSED__, void **avals, in test_func() argument
43 printf("%d %d %d %d\n", *(unsigned char *)avals[0], in test_func()
44 *(unsigned char *)avals[1], *(unsigned char *)avals[2], in test_func()
45 *(unsigned char *)avals[3]); in test_func()
Dcls_multi_ushortchar.c23 static void test_func_gn(ffi_cif *cif __UNUSED__, void *rval, void **avals, in test_func_gn() argument
29 a1 = *(unsigned char *)avals[0]; in test_func_gn()
30 a2 = *(unsigned short *)avals[1]; in test_func_gn()
31 a3 = *(unsigned char *)avals[2]; in test_func_gn()
32 a4 = *(unsigned short *)avals[3]; in test_func_gn()
Dcls_multi_sshortchar.c23 static void test_func_gn(ffi_cif *cif __UNUSED__, void *rval, void **avals, in test_func_gn() argument
29 a1 = *(signed char *)avals[0]; in test_func_gn()
30 a2 = *(signed short *)avals[1]; in test_func_gn()
31 a3 = *(signed char *)avals[2]; in test_func_gn()
32 a4 = *(signed short *)avals[3]; in test_func_gn()
Dcls_multi_sshort.c22 static void test_func_gn(ffi_cif *cif __UNUSED__, void *rval, void **avals, in test_func_gn() argument
27 a1 = *(signed short *)avals[0]; in test_func_gn()
28 a2 = *(signed short *)avals[1]; in test_func_gn()
Dcls_multi_schar.c22 static void test_func_gn(ffi_cif *cif __UNUSED__, void *rval, void **avals, in test_func_gn() argument
27 a1 = *(signed char *)avals[0]; in test_func_gn()
28 a2 = *(signed char *)avals[1]; in test_func_gn()
Dcls_multi_ushort.c22 static void test_func_gn(ffi_cif *cif __UNUSED__, void *rval, void **avals, in test_func_gn() argument
27 a1 = *(unsigned short *)avals[0]; in test_func_gn()
28 a2 = *(unsigned short *)avals[1]; in test_func_gn()
/external/libffi/testsuite/libffi.call/
Dcls_multi_uchar.c23 static void test_func_gn(ffi_cif *cif __UNUSED__, void *rval, void **avals, in test_func_gn() argument
28 a1 = *(unsigned char *)avals[0]; in test_func_gn()
29 a2 = *(unsigned char *)avals[1]; in test_func_gn()
30 a3 = *(unsigned char *)avals[2]; in test_func_gn()
31 a4 = *(unsigned char *)avals[3]; in test_func_gn()
40 void test_func(ffi_cif *cif __UNUSED__, void *rval __UNUSED__, void **avals, in test_func() argument
43 printf("%d %d %d %d\n", *(unsigned char *)avals[0], in test_func()
44 *(unsigned char *)avals[1], *(unsigned char *)avals[2], in test_func()
45 *(unsigned char *)avals[3]); in test_func()
Dcls_multi_ushortchar.c23 static void test_func_gn(ffi_cif *cif __UNUSED__, void *rval, void **avals, in test_func_gn() argument
29 a1 = *(unsigned char *)avals[0]; in test_func_gn()
30 a2 = *(unsigned short *)avals[1]; in test_func_gn()
31 a3 = *(unsigned char *)avals[2]; in test_func_gn()
32 a4 = *(unsigned short *)avals[3]; in test_func_gn()
Dcls_multi_sshortchar.c23 static void test_func_gn(ffi_cif *cif __UNUSED__, void *rval, void **avals, in test_func_gn() argument
29 a1 = *(signed char *)avals[0]; in test_func_gn()
30 a2 = *(signed short *)avals[1]; in test_func_gn()
31 a3 = *(signed char *)avals[2]; in test_func_gn()
32 a4 = *(signed short *)avals[3]; in test_func_gn()
Dcls_multi_sshort.c22 static void test_func_gn(ffi_cif *cif __UNUSED__, void *rval, void **avals, in test_func_gn() argument
27 a1 = *(signed short *)avals[0]; in test_func_gn()
28 a2 = *(signed short *)avals[1]; in test_func_gn()
Dcls_multi_schar.c22 static void test_func_gn(ffi_cif *cif __UNUSED__, void *rval, void **avals, in test_func_gn() argument
27 a1 = *(signed char *)avals[0]; in test_func_gn()
28 a2 = *(signed char *)avals[1]; in test_func_gn()
Dcls_multi_ushort.c22 static void test_func_gn(ffi_cif *cif __UNUSED__, void *rval, void **avals, in test_func_gn() argument
27 a1 = *(unsigned short *)avals[0]; in test_func_gn()
28 a2 = *(unsigned short *)avals[1]; in test_func_gn()
/external/libffi/testsuite/libffi.closures/
Dcls_multi_uchar.c23 static void test_func_gn(ffi_cif *cif __UNUSED__, void *rval, void **avals, in test_func_gn() argument
28 a1 = *(unsigned char *)avals[0]; in test_func_gn()
29 a2 = *(unsigned char *)avals[1]; in test_func_gn()
30 a3 = *(unsigned char *)avals[2]; in test_func_gn()
31 a4 = *(unsigned char *)avals[3]; in test_func_gn()
40 void test_func(ffi_cif *cif __UNUSED__, void *rval __UNUSED__, void **avals, in test_func() argument
43 printf("%d %d %d %d\n", *(unsigned char *)avals[0], in test_func()
44 *(unsigned char *)avals[1], *(unsigned char *)avals[2], in test_func()
45 *(unsigned char *)avals[3]); in test_func()
Dcls_multi_ushortchar.c23 static void test_func_gn(ffi_cif *cif __UNUSED__, void *rval, void **avals, in test_func_gn() argument
29 a1 = *(unsigned char *)avals[0]; in test_func_gn()
30 a2 = *(unsigned short *)avals[1]; in test_func_gn()
31 a3 = *(unsigned char *)avals[2]; in test_func_gn()
32 a4 = *(unsigned short *)avals[3]; in test_func_gn()
Dcls_multi_sshortchar.c23 static void test_func_gn(ffi_cif *cif __UNUSED__, void *rval, void **avals, in test_func_gn() argument
29 a1 = *(signed char *)avals[0]; in test_func_gn()
30 a2 = *(signed short *)avals[1]; in test_func_gn()
31 a3 = *(signed char *)avals[2]; in test_func_gn()
32 a4 = *(signed short *)avals[3]; in test_func_gn()
Dcls_multi_ushort.c22 static void test_func_gn(ffi_cif *cif __UNUSED__, void *rval, void **avals, in test_func_gn() argument
27 a1 = *(unsigned short *)avals[0]; in test_func_gn()
28 a2 = *(unsigned short *)avals[1]; in test_func_gn()
Dcls_multi_sshort.c22 static void test_func_gn(ffi_cif *cif __UNUSED__, void *rval, void **avals, in test_func_gn() argument
27 a1 = *(signed short *)avals[0]; in test_func_gn()
28 a2 = *(signed short *)avals[1]; in test_func_gn()
Dcls_multi_schar.c22 static void test_func_gn(ffi_cif *cif __UNUSED__, void *rval, void **avals, in test_func_gn() argument
27 a1 = *(signed char *)avals[0]; in test_func_gn()
28 a2 = *(signed char *)avals[1]; in test_func_gn()
/external/tensorflow/tensorflow/compiler/xla/tests/
Dtriangular_solve_test.cc423 Array3D<float> avals = bvals; in XLA_TEST_F() local
424 avals.Each([](absl::Span<const int64> indices, float* value) { in XLA_TEST_F()
431 auto a_data = CreateR3Parameter<float>(avals, 0, "a", &builder, &a); in XLA_TEST_F()
434 ConstantR3FromArray3D(&builder, avals), in XLA_TEST_F()
463 Array<float> avals(a_dims); in XLA_TEST_P() local
464 avals.FillRandom(1.0); in XLA_TEST_P()
465 avals.Each([](absl::Span<const int64> dims, float* v) { in XLA_TEST_P()
479 auto a_data = CreateParameter<float>(avals, 0, "a", &builder, &a); in XLA_TEST_P()
/external/tensorflow/tensorflow/compiler/xla/python/
Djax_jit.cc1086 auto avals = py::cast<py::list>(executable_handlers_out_tree[3]); in AddCacheEntry() local
1088 CHECK_EQ(avals.size(), lazy_exprs.size()); in AddCacheEntry()
1090 cache_entry->out_avals.reserve(avals.size()); in AddCacheEntry()
1091 cache_entry->out_lazy_exprs.reserve(avals.size()); in AddCacheEntry()
1092 for (int i = 0; i < avals.size(); ++i) { in AddCacheEntry()
1093 py::object shaped_array = py::reinterpret_borrow<py::object>(avals[i]); in AddCacheEntry()
/external/tensorflow/tensorflow/python/kernel_tests/
Dfunctional_ops_test.py963 avals = [Poly(a), Grad(a)]
966 self.assertAllEqual(self.evaluate(avals), [8., 4.])