Home
last modified time | relevance | path

Searched refs:v1 (Results 1 – 25 of 1738) sorted by relevance

12345678910>>...70

/external/stlport/test/unit/
Dperm_test.cpp44 int v1[3] = { 0, 1, 2 }; in prevprm0() local
45 prev_permutation(v1, v1 + 3); in prevprm0()
47 CPPUNIT_ASSERT(v1[0]==2); in prevprm0()
48 CPPUNIT_ASSERT(v1[1]==1); in prevprm0()
49 CPPUNIT_ASSERT(v1[2]==0); in prevprm0()
53 vector <int> v1(3); in prevprm1() local
54 __iota(v1.begin(), v1.end(), 0); in prevprm1()
56 prev_permutation(v1.begin(), v1.end()); in prevprm1()
57 CPPUNIT_ASSERT(v1[0]==2); in prevprm1()
58 CPPUNIT_ASSERT(v1[1]==1); in prevprm1()
[all …]
/external/valgrind/main/none/tests/s390x/
Dspechelper-icm-1.c27 unsigned v1; in icm_mask_0() local
31 v1 = 0xFFFFFFFF; in icm_mask_0()
34 if (branch(0, 0, v1)) ++wrong; else ++ok; in icm_mask_0()
35 if (branch(1, 0, v1)) ++wrong; else ++ok; in icm_mask_0()
36 if (branch(2, 0, v1)) ++wrong; else ++ok; in icm_mask_0()
37 if (branch(3, 0, v1)) ++wrong; else ++ok; in icm_mask_0()
38 if (branch(4, 0, v1)) ++wrong; else ++ok; in icm_mask_0()
39 if (branch(5, 0, v1)) ++wrong; else ++ok; in icm_mask_0()
40 if (branch(6, 0, v1)) ++wrong; else ++ok; in icm_mask_0()
41 if (branch(7, 0, v1)) ++wrong; else ++ok; in icm_mask_0()
[all …]
Dspechelper-icm-2.c27 unsigned v1; in icm_mask_0() local
31 v1 = 0xFFFFFFFF; in icm_mask_0()
34 if (branch(0, 0, v1)) ++wrong; else ++ok; in icm_mask_0()
35 if (branch(1, 0, v1)) ++wrong; else ++ok; in icm_mask_0()
36 if (branch(2, 0, v1)) ++wrong; else ++ok; in icm_mask_0()
37 if (branch(3, 0, v1)) ++wrong; else ++ok; in icm_mask_0()
38 if (branch(4, 0, v1)) ++wrong; else ++ok; in icm_mask_0()
39 if (branch(5, 0, v1)) ++wrong; else ++ok; in icm_mask_0()
40 if (branch(6, 0, v1)) ++wrong; else ++ok; in icm_mask_0()
41 if (branch(7, 0, v1)) ++wrong; else ++ok; in icm_mask_0()
[all …]
/external/llvm/test/MC/AArch64/
Dneon-simd-shift.s8 sshr v0.8b, v1.8b, #3
9 sshr v0.4h, v1.4h, #3
10 sshr v0.2s, v1.2s, #3
11 sshr v0.16b, v1.16b, #3
12 sshr v0.8h, v1.8h, #3
13 sshr v0.4s, v1.4s, #3
14 sshr v0.2d, v1.2d, #3
26 ushr v0.8b, v1.8b, #3
27 ushr v0.4h, v1.4h, #3
28 ushr v0.2s, v1.2s, #3
[all …]
/external/libcxx/test/numerics/numarray/template.indirect.array/indirect.array.fill/
Dassign_value.pass.cpp29 std::valarray<int> v1(a1, N1); in main() local
31 v1[ia] = 51; in main()
32 assert(v1.size() == 41); in main()
33 assert(v1[ 0] == 0); in main()
34 assert(v1[ 1] == 1); in main()
35 assert(v1[ 2] == 2); in main()
36 assert(v1[ 3] == 51); in main()
37 assert(v1[ 4] == 51); in main()
38 assert(v1[ 5] == 51); in main()
39 assert(v1[ 6] == 6); in main()
[all …]
/external/libcxx/test/numerics/numarray/template.indirect.array/indirect.array.comp.assign/
Dand.pass.cpp31 std::valarray<int> v1(a1, N1); in main() local
34 v1[ia] &= v2; in main()
35 assert(v1.size() == 41); in main()
36 assert(v1[ 0] == 0); in main()
37 assert(v1[ 1] == 1); in main()
38 assert(v1[ 2] == 2); in main()
39 assert(v1[ 3] == 1); in main()
40 assert(v1[ 4] == 0); in main()
41 assert(v1[ 5] == 1); in main()
42 assert(v1[ 6] == 6); in main()
[all …]
Daddition.pass.cpp31 std::valarray<int> v1(a1, N1); in main() local
34 v1[ia] += v2; in main()
35 assert(v1.size() == 41); in main()
36 assert(v1[ 0] == 0); in main()
37 assert(v1[ 1] == 1); in main()
38 assert(v1[ 2] == 2); in main()
39 assert(v1[ 3] == 3); in main()
40 assert(v1[ 4] == 3); in main()
41 assert(v1[ 5] == 3); in main()
42 assert(v1[ 6] == 6); in main()
[all …]
Dshift_left.pass.cpp31 std::valarray<int> v1(a1, N1); in main() local
34 v1[ia] <<= v2; in main()
35 assert(v1.size() == 41); in main()
36 assert(v1[ 0] == 0); in main()
37 assert(v1[ 1] == 1); in main()
38 assert(v1[ 2] == 2); in main()
39 assert(v1[ 3] == 6); in main()
40 assert(v1[ 4] == 16); in main()
41 assert(v1[ 5] == 40); in main()
42 assert(v1[ 6] == 6); in main()
[all …]
Ddivide.pass.cpp31 std::valarray<int> v1(a1, N1); in main() local
34 v1[ia] /= v2; in main()
35 assert(v1.size() == 41); in main()
36 assert(v1[ 0] == 0); in main()
37 assert(v1[ 1] == 1); in main()
38 assert(v1[ 2] == 2); in main()
39 assert(v1[ 3] == 3); in main()
40 assert(v1[ 4] == 2); in main()
41 assert(v1[ 5] == 1); in main()
42 assert(v1[ 6] == 6); in main()
[all …]
Dxor.pass.cpp31 std::valarray<int> v1(a1, N1); in main() local
34 v1[ia] ^= v2; in main()
35 assert(v1.size() == 41); in main()
36 assert(v1[ 0] == 0); in main()
37 assert(v1[ 1] == 1); in main()
38 assert(v1[ 2] == 2); in main()
39 assert(v1[ 3] == 2); in main()
40 assert(v1[ 4] == 6); in main()
41 assert(v1[ 5] == 6); in main()
42 assert(v1[ 6] == 6); in main()
[all …]
Dshift_right.pass.cpp31 std::valarray<int> v1(a1, N1); in main() local
34 v1[ia] >>= v2; in main()
35 assert(v1.size() == 41); in main()
36 assert(v1[ 0] == 0); in main()
37 assert(v1[ 1] == 1); in main()
38 assert(v1[ 2] == 2); in main()
39 assert(v1[ 3] == 1); in main()
40 assert(v1[ 4] == 1); in main()
41 assert(v1[ 5] == 0); in main()
42 assert(v1[ 6] == 6); in main()
[all …]
Dor.pass.cpp31 std::valarray<int> v1(a1, N1); in main() local
34 v1[ia] |= v2; in main()
35 assert(v1.size() == 41); in main()
36 assert(v1[ 0] == 0); in main()
37 assert(v1[ 1] == 1); in main()
38 assert(v1[ 2] == 2); in main()
39 assert(v1[ 3] == 3); in main()
40 assert(v1[ 4] == 6); in main()
41 assert(v1[ 5] == 7); in main()
42 assert(v1[ 6] == 6); in main()
[all …]
Dmultiply.pass.cpp31 std::valarray<int> v1(a1, N1); in main() local
34 v1[ia] *= v2; in main()
35 assert(v1.size() == 41); in main()
36 assert(v1[ 0] == 0); in main()
37 assert(v1[ 1] == 1); in main()
38 assert(v1[ 2] == 2); in main()
39 assert(v1[ 3] == 3); in main()
40 assert(v1[ 4] == 8); in main()
41 assert(v1[ 5] == 15); in main()
42 assert(v1[ 6] == 6); in main()
[all …]
Dsubtraction.pass.cpp31 std::valarray<int> v1(a1, N1); in main() local
34 v1[ia] -= v2; in main()
35 assert(v1.size() == 41); in main()
36 assert(v1[ 0] == 0); in main()
37 assert(v1[ 1] == 1); in main()
38 assert(v1[ 2] == 2); in main()
39 assert(v1[ 3] == 2); in main()
40 assert(v1[ 4] == 2); in main()
41 assert(v1[ 5] == 2); in main()
42 assert(v1[ 6] == 6); in main()
[all …]
Dmodulo.pass.cpp31 std::valarray<int> v1(a1, N1); in main() local
34 v1[ia] %= v2; in main()
35 assert(v1.size() == 41); in main()
36 assert(v1[ 0] == 0); in main()
37 assert(v1[ 1] == 1); in main()
38 assert(v1[ 2] == 2); in main()
39 assert(v1[ 3] == 0); in main()
40 assert(v1[ 4] == 0); in main()
41 assert(v1[ 5] == 2); in main()
42 assert(v1[ 6] == 6); in main()
[all …]
/external/libcxx/test/numerics/numarray/template.indirect.array/indirect.array.assign/
Dvalarray.pass.cpp31 std::valarray<int> v1(a1, N1); in main() local
34 v1[ia] = v2; in main()
35 assert(v1.size() == 41); in main()
36 assert(v1[ 0] == 0); in main()
37 assert(v1[ 1] == 1); in main()
38 assert(v1[ 2] == 2); in main()
39 assert(v1[ 3] == 0); in main()
40 assert(v1[ 4] == -1); in main()
41 assert(v1[ 5] == -2); in main()
42 assert(v1[ 6] == 6); in main()
[all …]
Dindirect_array.pass.cpp34 std::valarray<int> v1(a1, N1); in main() local
37 v1[ia] = v2[ia]; in main()
38 assert(v1.size() == 41); in main()
39 assert(v1[ 0] == 0); in main()
40 assert(v1[ 1] == 1); in main()
41 assert(v1[ 2] == 2); in main()
42 assert(v1[ 3] == -3); in main()
43 assert(v1[ 4] == -4); in main()
44 assert(v1[ 5] == -5); in main()
45 assert(v1[ 6] == 6); in main()
[all …]
/external/libcxx/test/numerics/numarray/template.gslice.array/gslice.array.fill/
Dassign_value.pass.cpp25 std::valarray<int> v1(a1, sizeof(a1)/sizeof(a1[0])); in main() local
30 v1[std::gslice(3, sizes(sz, sizeof(sz)/sizeof(sz[0])), in main()
32 assert(v1.size() == 41); in main()
33 assert(v1[ 0] == 0); in main()
34 assert(v1[ 1] == 1); in main()
35 assert(v1[ 2] == 2); in main()
36 assert(v1[ 3] == 51); in main()
37 assert(v1[ 4] == 51); in main()
38 assert(v1[ 5] == 51); in main()
39 assert(v1[ 6] == 6); in main()
[all …]
/external/libcxx/test/numerics/numarray/template.gslice.array/gslice.array.comp.assign/
Ddivide.pass.cpp27 std::valarray<int> v1(a1, sizeof(a1)/sizeof(a1[0])); in main() local
33 v1[std::gslice(3, sizes(sz, sizeof(sz)/sizeof(sz[0])), in main()
35 assert(v1.size() == 41); in main()
36 assert(v1[ 0] == 0); in main()
37 assert(v1[ 1] == 1); in main()
38 assert(v1[ 2] == 2); in main()
39 assert(v1[ 3] == 3); in main()
40 assert(v1[ 4] == 2); in main()
41 assert(v1[ 5] == 1); in main()
42 assert(v1[ 6] == 6); in main()
[all …]
Dsubtraction.pass.cpp27 std::valarray<int> v1(a1, sizeof(a1)/sizeof(a1[0])); in main() local
33 v1[std::gslice(3, sizes(sz, sizeof(sz)/sizeof(sz[0])), in main()
35 assert(v1.size() == 41); in main()
36 assert(v1[ 0] == 0); in main()
37 assert(v1[ 1] == 1); in main()
38 assert(v1[ 2] == 2); in main()
39 assert(v1[ 3] == 2); in main()
40 assert(v1[ 4] == 2); in main()
41 assert(v1[ 5] == 2); in main()
42 assert(v1[ 6] == 6); in main()
[all …]
Dand.pass.cpp27 std::valarray<int> v1(a1, sizeof(a1)/sizeof(a1[0])); in main() local
33 v1[std::gslice(3, sizes(sz, sizeof(sz)/sizeof(sz[0])), in main()
35 assert(v1.size() == 41); in main()
36 assert(v1[ 0] == 0); in main()
37 assert(v1[ 1] == 1); in main()
38 assert(v1[ 2] == 2); in main()
39 assert(v1[ 3] == 1); in main()
40 assert(v1[ 4] == 0); in main()
41 assert(v1[ 5] == 1); in main()
42 assert(v1[ 6] == 6); in main()
[all …]
Dshift_right.pass.cpp27 std::valarray<int> v1(a1, sizeof(a1)/sizeof(a1[0])); in main() local
33 v1[std::gslice(3, sizes(sz, sizeof(sz)/sizeof(sz[0])), in main()
35 assert(v1.size() == 41); in main()
36 assert(v1[ 0] == 0); in main()
37 assert(v1[ 1] == 1); in main()
38 assert(v1[ 2] == 2); in main()
39 assert(v1[ 3] == 1); in main()
40 assert(v1[ 4] == 1); in main()
41 assert(v1[ 5] == 0); in main()
42 assert(v1[ 6] == 6); in main()
[all …]
Dmultiply.pass.cpp27 std::valarray<int> v1(a1, sizeof(a1)/sizeof(a1[0])); in main() local
33 v1[std::gslice(3, sizes(sz, sizeof(sz)/sizeof(sz[0])), in main()
35 assert(v1.size() == 41); in main()
36 assert(v1[ 0] == 0); in main()
37 assert(v1[ 1] == 1); in main()
38 assert(v1[ 2] == 2); in main()
39 assert(v1[ 3] == 3); in main()
40 assert(v1[ 4] == 8); in main()
41 assert(v1[ 5] == 15); in main()
42 assert(v1[ 6] == 6); in main()
[all …]
/external/libcxx/test/numerics/numarray/template.gslice.array/gslice.array.assign/
Dvalarray.pass.cpp27 std::valarray<int> v1(a1, sizeof(a1)/sizeof(a1[0])); in main() local
33 v1[std::gslice(3, sizes(sz, sizeof(sz)/sizeof(sz[0])), in main()
35 assert(v1.size() == 41); in main()
36 assert(v1[ 0] == 0); in main()
37 assert(v1[ 1] == 1); in main()
38 assert(v1[ 2] == 2); in main()
39 assert(v1[ 3] == 0); in main()
40 assert(v1[ 4] == -1); in main()
41 assert(v1[ 5] == -2); in main()
42 assert(v1[ 6] == 6); in main()
[all …]
/external/libcxx/test/numerics/numarray/template.valarray/valarray.sub/
Dgslice_const.pass.cpp27 std::valarray<int> v1(a1, sizeof(a1)/sizeof(a1[0])); in main() local
33 v1[std::gslice(3, sizes(sz, sizeof(sz)/sizeof(sz[0])), in main()
35 assert(v1.size() == 41); in main()
36 assert(v1[ 0] == 0); in main()
37 assert(v1[ 1] == 1); in main()
38 assert(v1[ 2] == 2); in main()
39 assert(v1[ 3] == 0); in main()
40 assert(v1[ 4] == -1); in main()
41 assert(v1[ 5] == -2); in main()
42 assert(v1[ 6] == 6); in main()
[all …]

12345678910>>...70