Home
last modified time | relevance | path

Searched refs:v (Results 1 – 25 of 384) sorted by relevance

12345678910>>...16

/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/mpl/aux_/preprocessor/
Ddefault_params.hpp28 # define BOOST_MPL_PP_DEFAULT_PARAMS(n,p,v) \ argument
29 BOOST_PP_CAT(BOOST_MPL_PP_DEFAULT_PARAMS_,n)(p,v) \
32 # define BOOST_MPL_PP_DEFAULT_PARAMS_0(p,v) argument
33 # define BOOST_MPL_PP_DEFAULT_PARAMS_1(p,v) p##1=v argument
34 # define BOOST_MPL_PP_DEFAULT_PARAMS_2(p,v) p##1=v,p##2=v argument
35 # define BOOST_MPL_PP_DEFAULT_PARAMS_3(p,v) p##1=v,p##2=v,p##3=v argument
36 # define BOOST_MPL_PP_DEFAULT_PARAMS_4(p,v) p##1=v,p##2=v,p##3=v,p##4=v argument
37 # define BOOST_MPL_PP_DEFAULT_PARAMS_5(p,v) p##1=v,p##2=v,p##3=v,p##4=v,p##5=v argument
38 # define BOOST_MPL_PP_DEFAULT_PARAMS_6(p,v) p##1=v,p##2=v,p##3=v,p##4=v,p##5=v,p##6=v argument
39 # define BOOST_MPL_PP_DEFAULT_PARAMS_7(p,v) p##1=v,p##2=v,p##3=v,p##4=v,p##5=v,p##6=v,p##7=v argument
[all …]
Ddef_params_tail.hpp53 …F_PARAMS_TAIL_0(i,p,v) BOOST_MPL_PP_FILTER_PARAMS_##i(p##1 v(),p##2 v(),p##3 v(),p##4 v(),p##5 v()… argument
54 …PP_DEF_PARAMS_TAIL_1(i,p,v) BOOST_MPL_PP_FILTER_PARAMS_##i(p##2 v(),p##3 v(),p##4 v(),p##5 v(),p##… argument
55 …MPL_PP_DEF_PARAMS_TAIL_2(i,p,v) BOOST_MPL_PP_FILTER_PARAMS_##i(p##3 v(),p##4 v(),p##5 v(),p##6 v()… argument
56 …OOST_MPL_PP_DEF_PARAMS_TAIL_3(i,p,v) BOOST_MPL_PP_FILTER_PARAMS_##i(p##4 v(),p##5 v(),p##6 v(),p##… argument
57 …ne BOOST_MPL_PP_DEF_PARAMS_TAIL_4(i,p,v) BOOST_MPL_PP_FILTER_PARAMS_##i(p##5 v(),p##6 v(),p##7 v()… argument
58 … define BOOST_MPL_PP_DEF_PARAMS_TAIL_5(i,p,v) BOOST_MPL_PP_FILTER_PARAMS_##i(p##6 v(),p##7 v(),p##… argument
59 # define BOOST_MPL_PP_DEF_PARAMS_TAIL_6(i,p,v) BOOST_MPL_PP_FILTER_PARAMS_##i(p##7 v(),p##8 v(),p… argument
60 # define BOOST_MPL_PP_DEF_PARAMS_TAIL_7(i,p,v) BOOST_MPL_PP_FILTER_PARAMS_##i(p##8 v(),p##9 v(),p… argument
61 # define BOOST_MPL_PP_DEF_PARAMS_TAIL_8(i,p,v) BOOST_MPL_PP_FILTER_PARAMS_##i(p##9 v(),p1,p2,p3,p… argument
62 # define BOOST_MPL_PP_DEF_PARAMS_TAIL_9(i,p,v) BOOST_MPL_PP_FILTER_PARAMS_##i(p1,p2,p3,p4,p5,p6,p… argument
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/vector/vector.modifiers/
Demplace_extra.pass.cpp24 std::vector<int> v; in main() local
25 v.reserve(3); in main()
26 assert(is_contiguous_container_asan_correct(v)); in main()
27 v = { 1, 2, 3 }; in main()
28 v.emplace(v.begin(), v.back()); in main()
29 assert(v[0] == 3); in main()
30 assert(is_contiguous_container_asan_correct(v)); in main()
33 std::vector<int> v; in main() local
34 v.reserve(4); in main()
35 assert(is_contiguous_container_asan_correct(v)); in main()
[all …]
Dinsert_iter_iter_iter.pass.cpp29 std::vector<int> v(100); in main() local
32 std::vector<int>::iterator i = v.insert(v.cbegin() + 10, input_iterator<const int*>(a), in main()
34 assert(v.size() == 100 + N); in main()
35 assert(is_contiguous_container_asan_correct(v)); in main()
36 assert(i == v.begin() + 10); in main()
39 assert(v[j] == 0); in main()
41 assert(v[j] == a[k]); in main()
43 assert(v[j] == 0); in main()
46 std::vector<int> v(100); in main() local
49 std::vector<int>::iterator i = v.insert(v.cbegin() + 10, forward_iterator<const int*>(a), in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/vector/vector.capacity/
Dresize_size.pass.cpp25 std::vector<MoveOnly> v(100); in main() local
26 v.resize(50); in main()
27 assert(v.size() == 50); in main()
28 assert(v.capacity() == 100); in main()
29 assert(is_contiguous_container_asan_correct(v)); in main()
30 v.resize(200); in main()
31 assert(v.size() == 200); in main()
32 assert(v.capacity() >= 200); in main()
33 assert(is_contiguous_container_asan_correct(v)); in main()
36 std::vector<MoveOnly, stack_allocator<MoveOnly, 300> > v(100); in main() local
[all …]
Dreserve.pass.cpp23 std::vector<int> v; in main() local
24 v.reserve(10); in main()
25 assert(v.capacity() >= 10); in main()
26 assert(is_contiguous_container_asan_correct(v)); in main()
29 std::vector<int> v(100); in main() local
30 assert(v.capacity() == 100); in main()
31 v.reserve(50); in main()
32 assert(v.size() == 100); in main()
33 assert(v.capacity() == 100); in main()
34 v.reserve(150); in main()
[all …]
Dresize_size_value.pass.cpp23 std::vector<int> v(100); in main() local
24 v.resize(50, 1); in main()
25 assert(v.size() == 50); in main()
26 assert(v.capacity() == 100); in main()
27 assert(v == std::vector<int>(50)); in main()
28 v.resize(200, 1); in main()
29 assert(v.size() == 200); in main()
30 assert(v.capacity() >= 200); in main()
31 assert(is_contiguous_container_asan_correct(v)); in main()
33 assert(v[i] == 0); in main()
[all …]
Dshrink_to_fit.pass.cpp23 std::vector<int> v(100); in main() local
24 v.push_back(1); in main()
25 assert(is_contiguous_container_asan_correct(v)); in main()
26 v.shrink_to_fit(); in main()
27 assert(v.capacity() == 101); in main()
28 assert(v.size() == 101); in main()
29 assert(is_contiguous_container_asan_correct(v)); in main()
32 std::vector<int, stack_allocator<int, 401> > v(100); in main() local
33 v.push_back(1); in main()
34 assert(is_contiguous_container_asan_correct(v)); in main()
[all …]
/ndk/tests/device/test-stlport/unit/
Dfill_test.cpp32 vector <int> v(10); in fill1() local
33 fill(v.begin(), v.end(), 42); in fill1()
35 CPPUNIT_ASSERT(v[0]==42); in fill1()
36 CPPUNIT_ASSERT(v[1]==42); in fill1()
37 CPPUNIT_ASSERT(v[2]==42); in fill1()
38 CPPUNIT_ASSERT(v[3]==42); in fill1()
39 CPPUNIT_ASSERT(v[4]==42); in fill1()
40 CPPUNIT_ASSERT(v[5]==42); in fill1()
41 CPPUNIT_ASSERT(v[6]==42); in fill1()
42 CPPUNIT_ASSERT(v[7]==42); in fill1()
[all …]
Dfunc_test.cpp45 vector<int>v; in func1() local
46 v.push_back(4); in func1()
47 v.push_back(1); in func1()
48 v.push_back(5); in func1()
49 int n = count_if(v.begin(), v.end(), bigger); in func1()
55 vector<int> v; in func2() local
56 v.push_back(4); in func2()
57 v.push_back(1); in func2()
58 v.push_back(5); in func2()
59 sort(v.begin(), v.end(), bigger_than); in func2()
[all …]
/ndk/tests/device/test-gnustl-full/unit/
Dfill_test.cpp32 vector <int> v(10); in fill1() local
33 fill(v.begin(), v.end(), 42); in fill1()
35 CPPUNIT_ASSERT(v[0]==42); in fill1()
36 CPPUNIT_ASSERT(v[1]==42); in fill1()
37 CPPUNIT_ASSERT(v[2]==42); in fill1()
38 CPPUNIT_ASSERT(v[3]==42); in fill1()
39 CPPUNIT_ASSERT(v[4]==42); in fill1()
40 CPPUNIT_ASSERT(v[5]==42); in fill1()
41 CPPUNIT_ASSERT(v[6]==42); in fill1()
42 CPPUNIT_ASSERT(v[7]==42); in fill1()
[all …]
Dfunc_test.cpp45 vector<int>v; in func1() local
46 v.push_back(4); in func1()
47 v.push_back(1); in func1()
48 v.push_back(5); in func1()
49 int n = count_if(v.begin(), v.end(), bigger); in func1()
55 vector<int> v; in func2() local
56 v.push_back(4); in func2()
57 v.push_back(1); in func2()
58 v.push_back(5); in func2()
59 sort(v.begin(), v.end(), bigger_than); in func2()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/numarray/template.valarray/valarray.assign/
Dindirect_array_assign.pass.cpp31 std::valarray<int> v(24); in main() local
32 v = v1[ia]; in main()
33 assert(v.size() == 24); in main()
34 assert(v[ 0] == 3); in main()
35 assert(v[ 1] == 4); in main()
36 assert(v[ 2] == 5); in main()
37 assert(v[ 3] == 7); in main()
38 assert(v[ 4] == 8); in main()
39 assert(v[ 5] == 9); in main()
40 assert(v[ 6] == 11); in main()
[all …]
Dgslice_array_assign.pass.cpp30 std::valarray<int> v(24); in main() local
31 v = v1[std::gslice(3, sizes(sz, sizeof(sz)/sizeof(sz[0])), in main()
33 assert(v.size() == 24); in main()
34 assert(v[ 0] == 3); in main()
35 assert(v[ 1] == 4); in main()
36 assert(v[ 2] == 5); in main()
37 assert(v[ 3] == 7); in main()
38 assert(v[ 4] == 8); in main()
39 assert(v[ 5] == 9); in main()
40 assert(v[ 6] == 11); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/numarray/template.valarray/valarray.sub/
Dindirect_array_non_const.pass.cpp31 std::valarray<int> v(24); in main() local
32 v = v1[ia]; in main()
33 assert(v.size() == 24); in main()
34 assert(v[ 0] == 3); in main()
35 assert(v[ 1] == 4); in main()
36 assert(v[ 2] == 5); in main()
37 assert(v[ 3] == 7); in main()
38 assert(v[ 4] == 8); in main()
39 assert(v[ 5] == 9); in main()
40 assert(v[ 6] == 11); in main()
[all …]
Dindirect_array_const.pass.cpp31 std::valarray<int> v = v1[ia]; in main() local
32 assert(v.size() == 24); in main()
33 assert(v[ 0] == 3); in main()
34 assert(v[ 1] == 4); in main()
35 assert(v[ 2] == 5); in main()
36 assert(v[ 3] == 7); in main()
37 assert(v[ 4] == 8); in main()
38 assert(v[ 5] == 9); in main()
39 assert(v[ 6] == 11); in main()
40 assert(v[ 7] == 12); in main()
[all …]
Dgslice_non_const.pass.cpp30 std::valarray<int> v(v1[std::gslice(3, sizes(sz, sizeof(sz)/sizeof(sz[0])), in main() local
32 assert(v.size() == 24); in main()
33 assert(v[ 0] == 3); in main()
34 assert(v[ 1] == 4); in main()
35 assert(v[ 2] == 5); in main()
36 assert(v[ 3] == 7); in main()
37 assert(v[ 4] == 8); in main()
38 assert(v[ 5] == 9); in main()
39 assert(v[ 6] == 11); in main()
40 assert(v[ 7] == 12); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/numarray/template.valarray/valarray.cons/
Dindirect_array.pass.cpp31 std::valarray<int> v(v1[ia]); in main() local
32 assert(v.size() == 24); in main()
33 assert(v[ 0] == 3); in main()
34 assert(v[ 1] == 4); in main()
35 assert(v[ 2] == 5); in main()
36 assert(v[ 3] == 7); in main()
37 assert(v[ 4] == 8); in main()
38 assert(v[ 5] == 9); in main()
39 assert(v[ 6] == 11); in main()
40 assert(v[ 7] == 12); in main()
[all …]
Dgslice_array.pass.cpp30 std::valarray<int> v(v1[std::gslice(3, sizes(sz, sizeof(sz)/sizeof(sz[0])), in main() local
32 assert(v.size() == 24); in main()
33 assert(v[ 0] == 3); in main()
34 assert(v[ 1] == 4); in main()
35 assert(v[ 2] == 5); in main()
36 assert(v[ 3] == 7); in main()
37 assert(v[ 4] == 8); in main()
38 assert(v[ 5] == 9); in main()
39 assert(v[ 6] == 11); in main()
40 assert(v[ 7] == 12); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.monetary/locale.money.get/locale.money.get.members/
Dget_long_double_en_US.pass.cpp61 std::string v = "0.00"; in main() local
65 I iter = f.get(I(v.data()), I(v.data() + v.size()), in main()
67 assert(iter.base() == v.data() + v.size()); in main()
72 std::string v = "-0.01"; in main() local
76 I iter = f.get(I(v.data()), I(v.data() + v.size()), in main()
78 assert(iter.base() == v.data() + v.size()); in main()
83 std::string v = "1,234,567.89"; in main() local
87 I iter = f.get(I(v.data()), I(v.data() + v.size()), in main()
89 assert(iter.base() == v.data() + v.size()); in main()
94 std::string v = "-1,234,567.89"; in main() local
[all …]
Dget_long_double_zh_CN.pass.cpp61 std::string v = "0.00"; in main() local
65 I iter = f.get(I(v.data()), I(v.data() + v.size()), in main()
67 assert(iter.base() == v.data() + v.size()); in main()
72 std::string v = "-0.01"; in main() local
76 I iter = f.get(I(v.data()), I(v.data() + v.size()), in main()
78 assert(iter.base() == v.data() + v.size()); in main()
83 std::string v = "1,234,567.89"; in main() local
87 I iter = f.get(I(v.data()), I(v.data() + v.size()), in main()
89 assert(iter.base() == v.data() + v.size()); in main()
94 std::string v = "-1,234,567.89"; in main() local
[all …]
Dget_long_double_fr_FR.pass.cpp63 std::string v = "0,00"; in main() local
67 I iter = f.get(I(v.data()), I(v.data() + v.size()), in main()
69 assert(iter.base() == v.data() + v.size()); in main()
74 std::string v = "-0,01"; in main() local
78 I iter = f.get(I(v.data()), I(v.data() + v.size()), in main()
80 assert(iter.base() == v.data() + v.size()); in main()
85 std::string v = "1 234 567,89 "; in main() local
89 I iter = f.get(I(v.data()), I(v.data() + v.size()), in main()
91 assert(iter.base() == v.data() + v.size()); in main()
96 std::string v = "-1 234 567,89"; in main() local
[all …]
Dget_long_double_ru_RU.pass.cpp63 std::string v = "0,00 "; in main() local
67 I iter = f.get(I(v.data()), I(v.data() + v.size()), in main()
69 assert(iter.base() == v.data() + v.size()); in main()
74 std::string v = "-0,01 "; in main() local
78 I iter = f.get(I(v.data()), I(v.data() + v.size()), in main()
80 assert(iter.base() == v.data() + v.size()); in main()
85 std::string v = "1 234 567,89 "; in main() local
89 I iter = f.get(I(v.data()), I(v.data() + v.size()), in main()
91 assert(iter.base() == v.data() + v.size()); in main()
96 std::string v = "-1 234 567,89 "; in main() local
[all …]
Dget_string_en_US.pass.cpp61 std::string v = "0.00"; in main() local
65 I iter = f.get(I(v.data()), I(v.data() + v.size()), in main()
67 assert(iter.base() == v.data() + v.size()); in main()
72 std::string v = "-0.01"; in main() local
76 I iter = f.get(I(v.data()), I(v.data() + v.size()), in main()
78 assert(iter.base() == v.data() + v.size()); in main()
83 std::string v = "1,234,567.89"; in main() local
87 I iter = f.get(I(v.data()), I(v.data() + v.size()), in main()
89 assert(iter.base() == v.data() + v.size()); in main()
94 std::string v = "-1,234,567.89"; in main() local
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/vector.bool/
Dreserve.pass.cpp23 std::vector<bool> v; in main() local
24 v.reserve(10); in main()
25 assert(v.capacity() >= 10); in main()
28 std::vector<bool> v(100); in main() local
29 assert(v.capacity() >= 100); in main()
30 v.reserve(50); in main()
31 assert(v.size() == 100); in main()
32 assert(v.capacity() >= 100); in main()
33 v.reserve(150); in main()
34 assert(v.size() == 100); in main()
[all …]

12345678910>>...16