Home
last modified time | relevance | path

Searched refs:n3 (Results 1 – 25 of 291) sorted by relevance

12345678910>>...12

/external/fft2d/src/fft2d/fft2d/sample2d/
Dfftsg3dt.c18 void putdata3d(int n1, int n2, int n3, double ***a); in main()
19 double errorcheck3d(int n1, int n2, int n3, double scale, double ***a); in main()
20 int *ip, n1, n2, n3, n, nt, i, j; in main() local
28 scanf("%d", &n3); in main()
30 a = alloc_3d_double(n1, n2, n3); in main()
32 n = MAX(nt, n3 / 2); in main()
34 n = MAX(nt, n3) * 3 / 2; in main()
39 putdata3d(n1, n2, n3, a); in main()
40 cdft3d(n1, n2, n3, 1, a, NULL, ip, w); in main()
41 cdft3d(n1, n2, n3, -1, a, NULL, ip, w); in main()
[all …]
Dfftsg3dt.f7 integer ip(0 : nmaxsqrt + 1), n1, n2, n3, i, j variable
17 read (*, *) n3
21 call putdata3d(nmax, nmax, n1, n2, n3, a)
22 call cdft3d(nmax, nmax, n1, n2, n3, 1, a, t, ip, w)
23 call cdft3d(nmax, nmax, n1, n2, n3, -1, a, t, ip, w)
24 err = errorcheck3d(nmax, nmax, n1, n2, n3,
25 & 2.0d0 / n1 / n2 / n3, a)
29 call putdata3d(nmax, nmax, n1, n2, n3, a)
30 call rdft3d(nmax, nmax, n1, n2, n3, 1, a, t, ip, w)
31 call rdft3d(nmax, nmax, n1, n2, n3, -1, a, t, ip, w)
[all …]
/external/fft2d/src/fft2d/fft2d/
Dfftsg3d.f400 subroutine cdft3d(n1max, n2max, n1, n2, n3, isgn, a, argument
402 integer n1max, n2max, n1, n2, n3, isgn, ip(0 : *), n local
403 real*8 a(0 : n1max - 1, 0 : n2max - 1, 0 : n3 - 1),
405 n = 2 * max(n2, n3)
410 call xdft3da_sub(n1max, n2max, n1, n2, n3, 0,
412 call cdft3db_sub(n1max, n2max, n1, n2, n3,
416 subroutine rdft3d(n1max, n2max, n1, n2, n3, isgn, a, argument
418 integer n1max, n2max, n1, n2, n3, isgn, ip(0 : *), local
420 real*8 a(0 : n1max - 1, 0 : n2max - 1, 0 : n3 - 1),
422 n = 2 * max(n2, n3)
[all …]
Dfftsg3d.c493 void cdft3d(int n1, int n2, int n3, int isgn, double ***a, in cdft3d() argument
497 void xdft3da_sub(int n1, int n2, int n3, int icr, int isgn, in cdft3d()
499 void cdft3db_sub(int n1, int n2, int n3, int isgn, double ***a, in cdft3d()
502 void xdft3da_subth(int n1, int n2, int n3, int icr, int isgn, in cdft3d()
504 void cdft3db_subth(int n1, int n2, int n3, int isgn, double ***a, in cdft3d()
514 if (n < n3) { in cdft3d()
515 n = n3; in cdft3d()
531 if (n3 == 4) { in cdft3d()
533 } else if (n3 < 4) { in cdft3d()
540 if ((double) n1 * n2 * n3 >= (double) FFT3D_THREADS_BEGIN_N) { in cdft3d()
[all …]
Dalloc.c93 int ***alloc_3d_int(int n1, int n2, int n3) in alloc_3d_int() argument
106 i = (int *) malloc(sizeof(int) * n1 * n2 * n3); in alloc_3d_int()
110 ii[j] = ii[j - 1] + n3; in alloc_3d_int()
124 double ***alloc_3d_double(int n1, int n2, int n3) in alloc_3d_double() argument
137 d = (double *) malloc(sizeof(double) * n1 * n2 * n3); in alloc_3d_double()
141 dd[j] = dd[j - 1] + n3; in alloc_3d_double()
/external/tensorflow/tensorflow/compiler/xla/
Darray3d_test.cc30 EXPECT_EQ(uninit.n3(), 4); in TEST()
39 EXPECT_EQ(fullof7.n3(), 4); in TEST()
43 for (int64 n3 = 0; n3 < fullof7.n3(); ++n3) { in TEST() local
44 EXPECT_EQ(fullof7(n1, n2, n3), 7); in TEST()
57 EXPECT_EQ(arr.n3(), 2); in TEST()
80 EXPECT_EQ(arr.n3(), 2); in TEST()
99 for (int64 n3 = 0; n3 < fullof7.n3(); ++n3) { in TEST() local
100 EXPECT_EQ(fullof7(n1, n2, n3), 7); in TEST()
108 for (int64 n3 = 0; n3 < fullof7.n3(); ++n3) { in TEST() local
109 EXPECT_EQ(fullof7(n1, n2, n3), 11); in TEST()
Darray3d.h42 Array3D(const int64 n1, const int64 n2, const int64 n3) in Array3D() argument
43 : Array<T>(std::vector<int64>{n1, n2, n3}) {} in Array3D()
46 Array3D(const int64 n1, const int64 n2, const int64 n3, const T value) in Array3D() argument
47 : Array<T>(std::vector<int64>{n1, n2, n3}, value) {} in Array3D()
75 int64 n3() const { return this->dim(2); } in n3() function
Darray4d_test.cc32 return (idx[3] + idx[2] * arr.n4() + idx[1] * arr.n3() * arr.n4() + in Array4DLinearIndex()
33 idx[0] * arr.n2() * arr.n3() * arr.n4()); in Array4DLinearIndex()
40 EXPECT_EQ(empty.n3(), 4); in TEST()
50 EXPECT_EQ(fullof7.n3(), 4); in TEST()
67 EXPECT_EQ(arr.n3(), 4); in TEST()
82 EXPECT_EQ(arr.n3(), 2); in TEST()
112 EXPECT_EQ(arr.n3(), 2); in TEST()
/external/bc/tests/bc/
Dmisc3_results.txt1 n3
4 n3
7 n3
10 n3
13 n3
16 n3
19 n3
22 n3
25 n3
28 n3
/external/tensorflow/tensorflow/core/kernels/data/
Dhash_utils_test.cc206 NodeDef* n3 = gd.add_node(); in TEST_F() local
211 .Finalize(n3)); in TEST_F()
232 uint64 hash1 = GetHash(gd, *n3); in TEST_F()
235 TF_EXPECT_OK(CheckSubgraphsEqual(gd, n3, gd, n6)); in TEST_F()
253 NodeDef* n3 = gd.add_node(); in TEST_F() local
258 .Finalize(n3)); in TEST_F()
267 uint64 hash1 = GetHash(gd, *n3); in TEST_F()
271 Status s = CheckSubgraphsEqual(gd, n3, gd, n4); in TEST_F()
365 NodeDef* n3 = gd.add_node(); in TEST_F() local
370 .Finalize(n3)); in TEST_F()
[all …]
/external/bc/tests/
Dbcl.c51 BclNumber n, n2, n3, n4, n5, n6; in main() local
102 n3 = bcl_parse("2938"); in main()
103 err(bcl_err(n3)); in main()
110 n3 = bcl_add(n3, n4); in main()
111 err(bcl_err(n3)); in main()
113 res = bcl_string(bcl_dup(n3)); in main()
121 e = bcl_divmod(bcl_dup(n4), n3, &n5, &n6); in main()
189 n3 = bcl_irand(n4); in main()
190 err(bcl_err(n3)); in main()
192 n2 = bcl_ifrand(bcl_dup(n3), 10); in main()
[all …]
/external/libchrome/base/containers/
Dlinked_list_unittest.cc107 Node n3(3); in TEST() local
108 list.Append(&n3); in TEST()
111 EXPECT_EQ(&n3, list.tail()); in TEST()
123 Node n3(3); in TEST() local
129 list.Append(&n3); in TEST()
141 n3.RemoveFromList(); in TEST()
181 list.Append(&n3); in TEST()
198 Node n3(3); in TEST() local
211 n3.InsertBefore(&n2); in TEST()
235 Node n3(3); in TEST() local
[all …]
/external/skia/tests/sksl/shared/
DStructsInFunctions.metal28 void _skOutParamHelper1_modifies_a_struct_vS(thread Nested& n3) {
29 S _var0 = n3.b;
31 n3.b = _var0;
73 Nested n3;
77 n3 = n2;
78 _skOutParamHelper1_modifies_a_struct_vS(n3);
79 … && s == S{2.0, 3}) && s != returns_a_struct_S()) && n1 == n2) && n1 != n3) && n3 == Nested{S{1.0,…
DStructsInFunctions.glsl36 Nested n3;
40 n3 = n2;
41 modifies_a_struct_vS(n3.b);
42 … && s == S(2.0, 3)) && s != returns_a_struct_S()) && n1 == n2) && n1 != n3) && n3 == Nested(S(1.0,…
/external/tensorflow/tensorflow/compiler/xla/tests/
Dcopy_test.cc55 void TestCopyConstantLayout021(size_t n1, size_t n2, size_t n3);
56 void TestCopyConstantLayoutR4(size_t n1, size_t n2, size_t n3, size_t n4,
158 void CopyOpTest::TestCopyConstantLayout021(size_t n1, size_t n2, size_t n3) { in TestCopyConstantLayout021() argument
159 Array3D<int32> a(n1, n2, n3); in TestCopyConstantLayout021()
162 for (size_t k = 0; k < n3; ++k) { in TestCopyConstantLayout021()
163 a(i, j, k) = i * n3 * n2 + j * n3 + k; in TestCopyConstantLayout021()
188 void CopyOpTest::TestCopyConstantLayoutR4(size_t n1, size_t n2, size_t n3, in TestCopyConstantLayoutR4() argument
191 Array4D<int32> a(n1, n2, n3, n4); in TestCopyConstantLayoutR4()
194 for (size_t k = 0; k < n3; ++k) { in TestCopyConstantLayoutR4()
196 a(i, j, k, l) = i * n4 * n3 * n2 + j * n4 * n3 + k * n4 + l; in TestCopyConstantLayoutR4()
Dtranspose_test.cc36 void TestTransposeConstant021(size_t n1, size_t n2, size_t n3);
157 void TransposeTest::TestTransposeConstant021(size_t n1, size_t n2, size_t n3) { in TestTransposeConstant021() argument
158 Array3D<int32> aoperand(n1, n2, n3); in TestTransposeConstant021()
159 Array3D<int32> expected(n1, n3, n2); in TestTransposeConstant021()
162 for (size_t k = 0; k < n3; ++k) { in TestTransposeConstant021()
163 aoperand(i, j, k) = i * n3 * n2 + j * n3 + k; in TestTransposeConstant021()
/external/skia/resources/sksl/shared/
DStructsInFunctions.sksl36 Nested n1, n2, n3;
40 n3 = n2;
41 modifies_a_struct(n3.b);
45 (n1 == n2) && (n1 != n3) && (n3 == Nested(S(1, 2), S(2, 3)));
/external/rust/crates/memchr/src/tests/
Dmemchr.rs105 n1: u8, n2: u8, n3: u8,
108 memchr3(n1, n2, n3, &corpus) == naive::memchr3(n1, n2, n3, &corpus)
126 n1: u8, n2: u8, n3: u8,
129 memrchr3(n1, n2, n3, &corpus) == naive::memrchr3(n1, n2, n3, &corpus)
/external/dtc/tests/
Dpath-references.c56 int n1, n2, n3, n4; in main() local
83 n3 = fdt_path_offset(fdt, "/foo/baz"); in main()
84 if (n3 < 0) in main()
85 FAIL("fdt_path_offset(/foo/baz): %s", fdt_strerror(n3)); in main()
89 check_ref(fdt, n3, "/foobar/baz"); in main()
/external/tensorflow/tensorflow/lite/delegates/gpu/gl/compiler/
Dfuse_auto_input_test.cc53 auto* n3 = graph.NewNode(); in TEST() local
56 n3->operation.attributes = std::move(a3); in TEST()
57 ASSERT_OK(graph.AddConsumer(n3->id, v1->id)); in TEST()
58 ASSERT_OK(graph.AddConsumer(n3->id, v2->id)); in TEST()
59 ASSERT_OK(graph.SetProducer(n3->id, v3->id)); in TEST()
62 EXPECT_EQ(fuse_auto_input.ApplyToNode(n3, &graph).status, in TEST()
/external/rust/crates/memchr/src/
Dlib.rs256 fn imp(n1: u8, n2: u8, n3: u8, haystack: &[u8]) -> Option<usize> { in memchr3()
257 naive::memchr3(n1, n2, n3, haystack) in memchr3()
262 fn imp(n1: u8, n2: u8, n3: u8, haystack: &[u8]) -> Option<usize> { in memchr3()
263 x86::memchr3(n1, n2, n3, haystack) in memchr3()
271 fn imp(n1: u8, n2: u8, n3: u8, haystack: &[u8]) -> Option<usize> { in memchr3()
272 fallback::memchr3(n1, n2, n3, haystack) in memchr3()
427 fn imp(n1: u8, n2: u8, n3: u8, haystack: &[u8]) -> Option<usize> { in memrchr3()
428 naive::memrchr3(n1, n2, n3, haystack) in memrchr3()
433 fn imp(n1: u8, n2: u8, n3: u8, haystack: &[u8]) -> Option<usize> { in memrchr3()
434 x86::memrchr3(n1, n2, n3, haystack) in memrchr3()
[all …]
Dnaive.rs11 pub fn memchr3(n1: u8, n2: u8, n3: u8, haystack: &[u8]) -> Option<usize> { in memchr3()
12 haystack.iter().position(|&b| b == n1 || b == n2 || b == n3) in memchr3()
23 pub fn memrchr3(n1: u8, n2: u8, n3: u8, haystack: &[u8]) -> Option<usize> { in memrchr3()
24 haystack.iter().rposition(|&b| b == n1 || b == n2 || b == n3) in memrchr3()
/external/libvpx/libvpx/vp8/common/mips/dspr2/
Dfilter_dspr2.c108 unsigned int n1, n2, n3; in vp8_filter_block2d_first_pass_4() local
195 [n1] "=&r"(n1), [n2] "=&r"(n2), [n3] "=&r"(n3), in vp8_filter_block2d_first_pass_4()
262 [n2] "=&r"(n2), [n3] "=&r"(n3), [Temp1] "=&r"(Temp1), in vp8_filter_block2d_first_pass_4()
287 unsigned int n1, n2, n3, n4; in vp8_filter_block2d_first_pass_8_all() local
372 [n2] "=&r"(n2), [n3] "=&r"(n3), [Temp1] "=&r"(Temp1), in vp8_filter_block2d_first_pass_8_all()
424 [n3] "r"(n3), [src_ptr] "r"(src_ptr)); in vp8_filter_block2d_first_pass_8_all()
491 [n1] "=&r"(n1), [n2] "=&r"(n2), [n3] "=&r"(n3), [n4] "=&r"(n4), in vp8_filter_block2d_first_pass_8_all()
536 [vector4a] "r"(vector4a), [src_ptr] "r"(src_ptr), [n3] "r"(n3), in vp8_filter_block2d_first_pass_8_all()
565 unsigned int n1, n2, n3, n4; in vp8_filter_block2d_first_pass16_6tap() local
626 [n3] "=&r"(n3), [Temp1] "=&r"(Temp1), [Temp2] "=&r"(Temp2), in vp8_filter_block2d_first_pass16_6tap()
[all …]
/external/libchrome/base/third_party/nspr/
Dprtime.cc836 int n1, n2, n3; in PR_ParseTimeString() local
875 n3 = (*s++ - '0'); in PR_ParseTimeString()
877 n3 = n3*10 + (*s++ - '0'); in PR_ParseTimeString()
881 n3 = n3*10 + (*s++ - '0'); in PR_ParseTimeString()
884 n3 = n3*10 + (*s++ - '0'); in PR_ParseTimeString()
886 n3 = n3*10 + (*s++ - '0'); in PR_ParseTimeString()
906 if (n3 > 31) break; in PR_ParseTimeString()
913 date = n3; in PR_ParseTimeString()
924 if (n3 < 70) in PR_ParseTimeString()
925 n3 += 2000; in PR_ParseTimeString()
[all …]
/external/libxml2/result/c14n/without-comments/
Dtest-21 <n1:elem2 xmlns:n0="foo://bar" xmlns:n1="http://example.net" xmlns:n3="ftp://example.org" xml:lang=…
2 <n3:stuff></n3:stuff>

12345678910>>...12