Home
last modified time | relevance | path

Searched refs:max_size (Results 1 – 25 of 93) sorted by relevance

1234

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/allocator.traits/allocator.traits.members/
Dmax_size.pass.cpp36 size_t max_size() const in max_size() function
47 assert(std::allocator_traits<A<int> >::max_size(a) == in main()
52 assert(std::allocator_traits<A<int> >::max_size(a) == in main()
58 assert(std::allocator_traits<B<int> >::max_size(b) == 100); in main()
62 assert(std::allocator_traits<B<int> >::max_size(b) == 100); in main()
67 … static_assert(noexcept(std::allocator_traits<std::allocator<int>>::max_size(a)) == true, ""); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/array/array.size/
Dsize.pass.cpp24 assert(c.max_size() == 3); in main()
32 assert(c.max_size() == 0); in main()
41 static_assert(c.max_size() == 3, ""); in main()
49 static_assert(c.max_size() == 0, ""); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/allocator.adaptor/allocator.adaptor.members/
Dmax_size.pass.cpp29 assert(a.max_size() == 100); in main()
34 assert(a.max_size() == 20); in main()
39 assert(a.max_size() == 200); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/basic.string/string.capacity/
Dmax_size.pass.cpp24 const size_t sz = s2.max_size() - 1; in test1()
35 const size_t sz = s2.max_size(); in test2()
46 const size_t sz = s2.max_size() + 1; in test3()
56 assert(s.max_size() >= s.size()); in test()
Dresize_size.pass.cpp28 assert(n <= s.max_size()); in test()
33 assert(n > s.max_size()); in test()
Dresize_size_char.pass.cpp28 assert(n <= s.max_size()); in test()
33 assert(n > s.max_size()); in test()
Dreserve.pass.cpp42 assert(res_arg <= s.max_size()); in test()
49 assert(res_arg > s.max_size()); in test()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.set/
Dmax_size.pass.cpp27 assert(u.max_size() > 0); in main()
33 assert(u.max_size() > 0); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.multiset/
Dmax_size.pass.cpp27 assert(u.max_size() > 0); in main()
33 assert(u.max_size() > 0); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.multimap/
Dmax_size.pass.cpp27 assert(u.max_size() > 0); in main()
33 assert(u.max_size() > 0); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.map/
Dmax_size.pass.cpp27 assert(u.max_size() > 0); in main()
33 assert(u.max_size() > 0); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/set/
Dmax_size.pass.cpp26 assert(m.max_size() != 0); in main()
32 assert(m.max_size() != 0); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/multiset/
Dmax_size.pass.cpp26 assert(m.max_size() != 0); in main()
32 assert(m.max_size() != 0); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/map/map.access/
Dmax_size.pass.cpp26 assert(m.max_size() != 0); in main()
32 assert(m.max_size() != 0); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/multimap/
Dmax_size.pass.cpp26 assert(m.max_size() != 0); in main()
32 assert(m.max_size() != 0); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/forwardlist/
Dmax_size.pass.cpp25 assert(c.max_size() > 0); in main()
32 assert(c.max_size() > 0); in main()
/ndk/sources/cxx-stl/stlport/stlport/stl/
D_string_io.c89 __n = __s.max_size();
95 (__width > __STATIC_CAST(streamsize, __s.max_size())))
144 while (__nread < __s.max_size()) { in getline()
160 if (__nread == 0 || __nread >= __s.max_size()) in getline()
D_pthread_alloc.h130 if (__n > max_size()) {
155 size_type max_size() const _STLP_NOTHROW in max_size() function
169 if (__n > max_size()) { in allocate()
313 if (__n > max_size()) {
338 size_type max_size() const _STLP_NOTHROW
355 if (__n > max_size()) {
D_string_sum_methods.h106 if (__s_size > this->max_size() || __old_size > (this->max_size() - __s_size)) in _M_append_sum()
130 if (__s_size > this->max_size() || __old_size > (this->max_size() - __s_size)) in _M_append_sum_pos()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/re/re.results/re.results.size/
Dmax_size.pass.cpp24 assert(m.max_size() > 0); in test()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/default.allocator/allocator.members/
Dmax_size.pass.cpp25 std::size_t M = a.max_size() * sizeof(int); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/dynarray/dynarray.overview/
Dcapacity.pass.cpp32 assert ( dyn.max_size () == sz ); in dyn_test()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/
Dstack_allocator.h58 size_type max_size() const {return N;} in max_size() function
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/support/
Dtest_allocator.h79 size_type max_size() const throw() in max_size() function
139 size_type max_size() const throw() in max_size() function
218 std::size_t max_size() const in max_size() function
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/futures/
Dtest_allocator.h72 size_type max_size() const throw() in max_size() function
151 std::size_t max_size() const in max_size() function

1234