Home
last modified time | relevance | path

Searched refs:list (Results 1 – 25 of 277) sorted by relevance

12345678910>>...12

/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/preprocessor/list/
Dadt.hpp32 # define BOOST_PP_LIST_FIRST(list) BOOST_PP_LIST_FIRST_D(list) argument
35 # define BOOST_PP_LIST_FIRST_D(list) BOOST_PP_LIST_FIRST_I list argument
37 # define BOOST_PP_LIST_FIRST_D(list) BOOST_PP_LIST_FIRST_I ## list argument
44 # define BOOST_PP_LIST_REST(list) BOOST_PP_LIST_REST_D(list) argument
47 # define BOOST_PP_LIST_REST_D(list) BOOST_PP_LIST_REST_I list argument
49 # define BOOST_PP_LIST_REST_D(list) BOOST_PP_LIST_REST_I ## list argument
57 # define BOOST_PP_LIST_IS_CONS(list) BOOST_PP_LIST_IS_CONS_D(list) argument
58 # define BOOST_PP_LIST_IS_CONS_D(list) BOOST_PP_LIST_IS_CONS_ ## list argument
62 # define BOOST_PP_LIST_IS_CONS(list) BOOST_PP_IS_BINARY(list) argument
68 # define BOOST_PP_LIST_IS_NIL(list) BOOST_PP_COMPL(BOOST_PP_IS_BINARY(list)) argument
[all …]
Dreverse.hpp23 # define BOOST_PP_LIST_REVERSE(list) BOOST_PP_LIST_FOLD_LEFT(BOOST_PP_LIST_REVERSE_O, BOOST_PP_N… argument
25 # define BOOST_PP_LIST_REVERSE(list) BOOST_PP_LIST_REVERSE_I(list) argument
26 # define BOOST_PP_LIST_REVERSE_I(list) BOOST_PP_LIST_FOLD_LEFT(BOOST_PP_LIST_REVERSE_O, BOOST_PP… argument
34 … define BOOST_PP_LIST_REVERSE_D(d, list) BOOST_PP_LIST_FOLD_LEFT_ ## d(BOOST_PP_LIST_REVERSE_O, … argument
36 # define BOOST_PP_LIST_REVERSE_D(d, list) BOOST_PP_LIST_REVERSE_D_I(d, list) argument
37 … define BOOST_PP_LIST_REVERSE_D_I(d, list) BOOST_PP_LIST_FOLD_LEFT_ ## d(BOOST_PP_LIST_REVERSE_O, … argument
Dtransform.hpp25 …RANSFORM(op, data, list) BOOST_PP_TUPLE_ELEM(3, 2, BOOST_PP_LIST_FOLD_RIGHT(BOOST_PP_LIST_TRANSFOR… argument
27 # define BOOST_PP_LIST_TRANSFORM(op, data, list) BOOST_PP_LIST_TRANSFORM_I(op, data, list) argument
28 …NSFORM_I(op, data, list) BOOST_PP_TUPLE_ELEM(3, 2, BOOST_PP_LIST_FOLD_RIGHT(BOOST_PP_LIST_TRANSFOR… argument
43 …_D(d, op, data, list) BOOST_PP_TUPLE_ELEM(3, 2, BOOST_PP_LIST_FOLD_RIGHT_ ## d(BOOST_PP_LIST_TRANS… argument
45 # define BOOST_PP_LIST_TRANSFORM_D(d, op, data, list) BOOST_PP_LIST_TRANSFORM_D_I(d, op, data, l… argument
46 …_I(d, op, data, list) BOOST_PP_TUPLE_ELEM(3, 2, BOOST_PP_LIST_FOLD_RIGHT_ ## d(BOOST_PP_LIST_TRANS… argument
Dfor_each_i.hpp27 # define BOOST_PP_LIST_FOR_EACH_I(macro, data, list) BOOST_PP_FOR((macro, data, list, 0), BOOST_… argument
29 # define BOOST_PP_LIST_FOR_EACH_I(macro, data, list) BOOST_PP_LIST_FOR_EACH_I_I(macro, data, lis… argument
30 # define BOOST_PP_LIST_FOR_EACH_I_I(macro, data, list) BOOST_PP_FOR((macro, data, list, 0), BOOS… argument
59 # define BOOST_PP_LIST_FOR_EACH_I_R(r, macro, data, list) BOOST_PP_FOR_ ## r((macro, data, list,… argument
61 …efine BOOST_PP_LIST_FOR_EACH_I_R(r, macro, data, list) BOOST_PP_LIST_FOR_EACH_I_R_I(r, macro, data… argument
62 … define BOOST_PP_LIST_FOR_EACH_I_R_I(r, macro, data, list) BOOST_PP_FOR_ ## r((macro, data, list argument
/ndk/sources/android/crazy_linker/src/
Dcrazy_linker_search_path_list_unittest.cpp33 SearchPathList list; in TEST() local
34 EXPECT_FALSE(list.FindFile("/foo")); in TEST()
35 EXPECT_FALSE(list.FindFile("/tmp/zoo")); in TEST()
36 EXPECT_FALSE(list.FindFile("/tmp/foo/bar")); in TEST()
41 SearchPathList list; in TEST() local
42 list.AddPaths("/tmp/foo"); in TEST()
43 EXPECT_STREQ("/tmp/foo/bar", list.FindFile("bar")); in TEST()
44 EXPECT_FALSE(list.FindFile("zoo")); in TEST()
45 EXPECT_FALSE(list.FindFile("foo")); in TEST()
50 SearchPathList list; in TEST() local
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/list/list.special/
Dswap.pass.cpp25 std::list<int> c1(a1, a1+sizeof(a1)/sizeof(a1[0])); in main()
26 std::list<int> c2(a2, a2+sizeof(a2)/sizeof(a2[0])); in main()
28 assert(c1 == std::list<int>(a2, a2+sizeof(a2)/sizeof(a2[0]))); in main()
29 assert(c2 == std::list<int>(a1, a1+sizeof(a1)/sizeof(a1[0]))); in main()
34 std::list<int> c1(a1, a1); in main()
35 std::list<int> c2(a2, a2+sizeof(a2)/sizeof(a2[0])); in main()
37 assert(c1 == std::list<int>(a2, a2+sizeof(a2)/sizeof(a2[0]))); in main()
44 std::list<int> c1(a1, a1+sizeof(a1)/sizeof(a1[0])); in main()
45 std::list<int> c2(a2, a2); in main()
49 assert(c2 == std::list<int>(a1, a1+sizeof(a1)/sizeof(a1[0]))); in main()
[all …]
Ddb_swap_1.pass.cpp31 std::list<int> c1(a1, a1+sizeof(a1)/sizeof(a1[0])); in main()
32 std::list<int> c2(a2, a2+sizeof(a2)/sizeof(a2[0])); in main()
33 std::list<int>::iterator i1 = c1.begin(); in main()
34 std::list<int>::iterator i2 = c2.begin(); in main()
38 std::list<int>::iterator j = i1; in main()
46 std::list<int, min_allocator<int>> c1(a1, a1+sizeof(a1)/sizeof(a1[0])); in main()
47 std::list<int, min_allocator<int>> c2(a2, a2+sizeof(a2)/sizeof(a2[0])); in main()
48 std::list<int, min_allocator<int>>::iterator i1 = c1.begin(); in main()
49 std::list<int, min_allocator<int>>::iterator i2 = c2.begin(); in main()
53 std::list<int, min_allocator<int>>::iterator j = i1; in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/list/list.ops/
Dsplice_pos_list_iter.pass.cpp28 std::list<int> l1; in main()
29 std::list<int> l2(a2, a2+1); in main()
35 std::list<int>::const_iterator i = l1.begin(); in main()
39 std::list<int> l1; in main()
40 std::list<int> l2(a2, a2+2); in main()
46 std::list<int>::const_iterator i = l1.begin(); in main()
52 std::list<int> l1; in main()
53 std::list<int> l2(a2, a2+2); in main()
59 std::list<int>::const_iterator i = l1.begin(); in main()
65 std::list<int> l1; in main()
[all …]
Dsplice_pos_list.pass.cpp28 std::list<int> l1; in main()
29 std::list<int> l2; in main()
37 std::list<int> l1; in main()
38 std::list<int> l2(a2, a2+1); in main()
44 std::list<int>::const_iterator i = l1.begin(); in main()
48 std::list<int> l1; in main()
49 std::list<int> l2(a2, a2+2); in main()
55 std::list<int>::const_iterator i = l1.begin(); in main()
61 std::list<int> l1; in main()
62 std::list<int> l2(a2, a2+3); in main()
[all …]
Dsplice_pos_list_iter_iter.pass.cpp28 std::list<int> l1(a1, a1+3); in main()
32 std::list<int>::const_iterator i = l1.begin(); in main()
40 std::list<int> l1(a1, a1+3); in main()
44 std::list<int>::const_iterator i = l1.begin(); in main()
52 std::list<int> l1(a1, a1+3); in main()
56 std::list<int>::const_iterator i = l1.begin(); in main()
64 std::list<int> l1(a1, a1+3); in main()
65 std::list<int> l2(a2, a2+3); in main()
69 std::list<int>::const_iterator i = l1.begin(); in main()
84 std::list<int> l1(a1, a1+3); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/list/
Dtypes.pass.cpp32 static_assert((std::is_same<std::list<int>::value_type, int>::value), ""); in main()
33 static_assert((std::is_same<std::list<int>::allocator_type, std::allocator<int> >::value), ""); in main()
34 …static_assert((std::is_same<std::list<int>::reference, std::allocator<int>::reference>::value), ""… in main()
35 …static_assert((std::is_same<std::list<int>::const_reference, std::allocator<int>::const_reference>… in main()
36 static_assert((std::is_same<std::list<int>::pointer, std::allocator<int>::pointer>::value), ""); in main()
37 …static_assert((std::is_same<std::list<int>::const_pointer, std::allocator<int>::const_pointer>::va… in main()
39 static_assert((std::is_same<std::list<int, min_allocator<int>>::value_type, int>::value), ""); in main()
40 …static_assert((std::is_same<std::list<int, min_allocator<int>>::allocator_type, min_allocator<int>… in main()
41 static_assert((std::is_same<std::list<int, min_allocator<int>>::reference, int&>::value), ""); in main()
42 …static_assert((std::is_same<std::list<int, min_allocator<int>>::const_reference, const int&>::valu… in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/list/list.cons/
Dcopy.pass.cpp23 std::list<int> l(3, 2); in main()
24 std::list<int> l2 = l; in main()
28 std::list<int, test_allocator<int> > l(3, 2, test_allocator<int>(5)); in main()
29 std::list<int, test_allocator<int> > l2 = l; in main()
35 std::list<int, other_allocator<int> > l(3, 2, other_allocator<int>(5)); in main()
36 std::list<int, other_allocator<int> > l2 = l; in main()
43 std::list<int, min_allocator<int>> l(3, 2); in main()
44 std::list<int, min_allocator<int>> l2 = l; in main()
48 std::list<int, min_allocator<int> > l(3, 2, min_allocator<int>()); in main()
49 std::list<int, min_allocator<int> > l2 = l; in main()
Dmove.pass.cpp24 std::list<MoveOnly, test_allocator<MoveOnly> > l(test_allocator<MoveOnly>(5)); in main()
25 std::list<MoveOnly, test_allocator<MoveOnly> > lo(test_allocator<MoveOnly>(5)); in main()
31 std::list<MoveOnly, test_allocator<MoveOnly> > l2 = std::move(l); in main()
37 std::list<MoveOnly, other_allocator<MoveOnly> > l(other_allocator<MoveOnly>(5)); in main()
38 std::list<MoveOnly, other_allocator<MoveOnly> > lo(other_allocator<MoveOnly>(5)); in main()
44 std::list<MoveOnly, other_allocator<MoveOnly> > l2 = std::move(l); in main()
51 std::list<MoveOnly, min_allocator<MoveOnly> > l(min_allocator<MoveOnly>{}); in main()
52 std::list<MoveOnly, min_allocator<MoveOnly> > lo(min_allocator<MoveOnly>{}); in main()
58 std::list<MoveOnly, min_allocator<MoveOnly> > l2 = std::move(l); in main()
66 std::list<int> l1 = {1, 2, 3}; in main()
[all …]
Dassign_move.pass.cpp24 std::list<MoveOnly, test_allocator<MoveOnly> > l(test_allocator<MoveOnly>(5)); in main()
25 std::list<MoveOnly, test_allocator<MoveOnly> > lo(test_allocator<MoveOnly>(5)); in main()
31 std::list<MoveOnly, test_allocator<MoveOnly> > l2(test_allocator<MoveOnly>(5)); in main()
38 std::list<MoveOnly, test_allocator<MoveOnly> > l(test_allocator<MoveOnly>(5)); in main()
39 std::list<MoveOnly, test_allocator<MoveOnly> > lo(test_allocator<MoveOnly>(5)); in main()
45 std::list<MoveOnly, test_allocator<MoveOnly> > l2(test_allocator<MoveOnly>(6)); in main()
52 std::list<MoveOnly, other_allocator<MoveOnly> > l(other_allocator<MoveOnly>(5)); in main()
53 std::list<MoveOnly, other_allocator<MoveOnly> > lo(other_allocator<MoveOnly>(5)); in main()
59 std::list<MoveOnly, other_allocator<MoveOnly> > l2(other_allocator<MoveOnly>(6)); in main()
67 std::list<MoveOnly, min_allocator<MoveOnly> > l(min_allocator<MoveOnly>{}); in main()
[all …]
Dmove_alloc.pass.cpp24 std::list<MoveOnly, test_allocator<MoveOnly> > l(test_allocator<MoveOnly>(5)); in main()
25 std::list<MoveOnly, test_allocator<MoveOnly> > lo(test_allocator<MoveOnly>(5)); in main()
31 … std::list<MoveOnly, test_allocator<MoveOnly> > l2(std::move(l), test_allocator<MoveOnly>(6)); in main()
37 std::list<MoveOnly, test_allocator<MoveOnly> > l(test_allocator<MoveOnly>(5)); in main()
38 std::list<MoveOnly, test_allocator<MoveOnly> > lo(test_allocator<MoveOnly>(5)); in main()
44 … std::list<MoveOnly, test_allocator<MoveOnly> > l2(std::move(l), test_allocator<MoveOnly>(5)); in main()
50 std::list<MoveOnly, other_allocator<MoveOnly> > l(other_allocator<MoveOnly>(5)); in main()
51 std::list<MoveOnly, other_allocator<MoveOnly> > lo(other_allocator<MoveOnly>(5)); in main()
57 … std::list<MoveOnly, other_allocator<MoveOnly> > l2(std::move(l), other_allocator<MoveOnly>(4)); in main()
64 std::list<MoveOnly, min_allocator<MoveOnly> > l(min_allocator<MoveOnly>{}); in main()
[all …]
Dsize_value_alloc.pass.cpp23 std::list<int> l(3, 2); in main()
26 std::list<int>::const_iterator i = l.begin(); in main()
34 std::list<int> l(3, 2, std::allocator<int>()); in main()
37 std::list<int>::const_iterator i = l.begin(); in main()
45 std::list<int, stack_allocator<int, 3> > l(3, 2); in main()
48 std::list<int>::const_iterator i = l.begin(); in main()
57 std::list<int, min_allocator<int>> l(3, 2); in main()
60 std::list<int, min_allocator<int>>::const_iterator i = l.begin(); in main()
68 std::list<int, min_allocator<int>> l(3, 2, min_allocator<int>()); in main()
71 std::list<int, min_allocator<int>>::const_iterator i = l.begin(); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/list/list.modifiers/
Dinsert_iter_size_value.pass.cpp47 std::list<int> l1(a1, a1+3); in main()
48 std::list<int>::iterator i = l1.insert(next(l1.cbegin()), 5, 4); in main()
50 assert(l1 == std::list<int>(a2, a2+8)); in main()
63 assert(l1 == std::list<int>(a2, a2+8)); in main()
67 std::list<int> c1(100); in main()
68 std::list<int> c2; in main()
69 std::list<int>::iterator i = c1.insert(next(c2.cbegin(), 10), 5, 1); in main()
77 std::list<int, min_allocator<int>> l1(a1, a1+3); in main()
78 std::list<int, min_allocator<int>>::iterator i = l1.insert(next(l1.cbegin()), 5, 4); in main()
80 assert((l1 == std::list<int, min_allocator<int>>(a2, a2+8))); in main()
[all …]
Derase_iter_iter.pass.cpp23 std::list<int> l1(a1, a1+3); in main()
24 std::list<int>::iterator i = l1.erase(l1.cbegin(), l1.cbegin()); in main()
30 std::list<int> l1(a1, a1+3); in main()
31 std::list<int>::iterator i = l1.erase(l1.cbegin(), next(l1.cbegin())); in main()
35 assert(l1 == std::list<int>(a1+1, a1+3)); in main()
38 std::list<int> l1(a1, a1+3); in main()
39 std::list<int>::iterator i = l1.erase(l1.cbegin(), next(l1.cbegin(), 2)); in main()
43 assert(l1 == std::list<int>(a1+2, a1+3)); in main()
46 std::list<int> l1(a1, a1+3); in main()
47 std::list<int>::iterator i = l1.erase(l1.cbegin(), next(l1.cbegin(), 3)); in main()
[all …]
Dinsert_iter_value.pass.cpp47 std::list<int> l1(a1, a1+3); in main()
48 std::list<int>::iterator i = l1.insert(next(l1.cbegin()), 4); in main()
52 assert(l1 == std::list<int>(a2, a2+4)); in main()
65 assert(l1 == std::list<int>(a2, a2+4)); in main()
69 std::list<int> v1(3); in main()
70 std::list<int> v2(3); in main()
80 std::list<int, min_allocator<int>> l1(a1, a1+3); in main()
81 std::list<int, min_allocator<int>>::iterator i = l1.insert(next(l1.cbegin()), 4); in main()
85 assert((l1 == std::list<int, min_allocator<int>>(a2, a2+4))); in main()
98 assert((l1 == std::list<int, min_allocator<int>>(a2, a2+4))); in main()
[all …]
Derase_iter_db2.pass.cpp29 std::list<int> l1(a1, a1+3); in main()
30 std::list<int> l2(a1, a1+3); in main()
31 std::list<int>::const_iterator i = l2.begin(); in main()
38 std::list<int, min_allocator<int>> l1(a1, a1+3); in main()
39 std::list<int, min_allocator<int>> l2(a1, a1+3); in main()
40 std::list<int, min_allocator<int>>::const_iterator i = l2.begin(); in main()
Derase_iter_iter_db2.pass.cpp29 std::list<int> l1(a1, a1+3); in main()
30 std::list<int> l2(a1, a1+3); in main()
31 std::list<int>::iterator i = l1.erase(l1.cbegin(), next(l2.cbegin())); in main()
37 std::list<int, min_allocator<int>> l1(a1, a1+3); in main()
38 std::list<int, min_allocator<int>> l2(a1, a1+3); in main()
39 std::list<int, min_allocator<int>>::iterator i = l1.erase(l1.cbegin(), next(l2.cbegin())); in main()
/ndk/tests/device/test-stlport/unit/
Dlist_test.cpp60 list<int> l1(array1, array1 + 3); in list1()
61 list<int> l2(array2, array2 + 2); in list1()
62 list<int>::iterator i1 = l1.begin(); in list1()
63 list<int>::iterator i2 = l2.begin(); in list1()
64 list<int>::const_iterator ci(i1); in list1()
65 list<int>::const_iterator ci1(ci); in list1()
80 list<int> l(2); in list1()
88 list<char>::iterator l_char_ite; in list1()
89 list<int>::iterator l_int_ite; in list1()
100 list<int> l1(array1, array1 + 2); in list2()
[all …]
/ndk/tests/device/test-gnustl-full/unit/
Dlist_test.cpp60 list<int> l1(array1, array1 + 3); in list1()
61 list<int> l2(array2, array2 + 2); in list1()
62 list<int>::iterator i1 = l1.begin(); in list1()
63 list<int>::iterator i2 = l2.begin(); in list1()
64 list<int>::const_iterator ci(i1); in list1()
65 list<int>::const_iterator ci1(ci); in list1()
80 list<int> l(2); in list1()
88 list<char>::iterator l_char_ite; in list1()
89 list<int>::iterator l_int_ite; in list1()
100 list<int> l1(array1, array1 + 2); in list2()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/list/list.capacity/
Dresize_size.pass.cpp22 std::list<int> l(5, 2); in main()
26 assert(l == std::list<int>(2, 2)); in main()
29 std::list<int> l(5, 2); in main()
38 std::list<DefaultOnly> l(10); in main()
44 std::list<DefaultOnly> l(10); in main()
52 std::list<int, min_allocator<int>> l(5, 2); in main()
56 assert((l == std::list<int, min_allocator<int>>(2, 2))); in main()
59 std::list<int, min_allocator<int>> l(5, 2); in main()
68 std::list<DefaultOnly, min_allocator<DefaultOnly>> l(10); in main()
74 std::list<DefaultOnly, min_allocator<DefaultOnly>> l(10); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/
Dlist2 //===---------------------------- list ------------------------------------===//
15 list synopsis
21 class list
39 list()
41 explicit list(const allocator_type& a);
42 explicit list(size_type n);
43 explicit list(size_type n, const allocator_type& a); // C++14
44 list(size_type n, const value_type& value);
45 list(size_type n, const value_type& value, const allocator_type& a);
47 list(Iter first, Iter last);
[all …]

12345678910>>...12