/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/dynarray/dynarray.overview/ |
D | begin_end.pass.cpp | 42 void dyn_test_const ( const dynarray<T> &dyn ) { in dyn_test_const() argument 43 const T *data = dyn.data (); in dyn_test_const() 44 assert ( data == &*dyn.begin ()); in dyn_test_const() 45 assert ( data == &*dyn.cbegin ()); in dyn_test_const() 47 assert ( data + dyn.size() - 1 == &*dyn.rbegin ()); in dyn_test_const() 48 assert ( data + dyn.size() - 1 == &*dyn.crbegin ()); in dyn_test_const() 50 assert ( dyn.size () == std::distance ( dyn.begin(), dyn.end())); in dyn_test_const() 51 assert ( dyn.size () == std::distance ( dyn.cbegin(), dyn.cend())); in dyn_test_const() 52 assert ( dyn.size () == std::distance ( dyn.rbegin(), dyn.rend())); in dyn_test_const() 53 assert ( dyn.size () == std::distance ( dyn.crbegin(), dyn.crend())); in dyn_test_const() [all …]
|
D | at.pass.cpp | 29 void dyn_at_fail ( dynarray<T> &dyn, size_t sz ) { in dyn_at_fail() argument 30 try { dyn.at (sz); } in dyn_at_fail() 36 void dyn_at_fail_const ( const dynarray<T> &dyn, size_t sz ) { in dyn_at_fail_const() argument 37 try { dyn.at (sz); } in dyn_at_fail_const() 44 void dyn_test_const ( const dynarray<T> &dyn, const std::initializer_list<T> &vals ) { in dyn_test_const() argument 45 const T *data = dyn.data (); in dyn_test_const() 47 for ( size_t i = 0; i < dyn.size(); ++i, ++it ) { in dyn_test_const() 48 assert ( data + i == &dyn.at(i)); in dyn_test_const() 49 assert ( *it == dyn.at(i)); in dyn_test_const() 52 dyn_at_fail_const ( dyn, dyn.size ()); in dyn_test_const() [all …]
|
D | front_back.pass.cpp | 32 void dyn_test_const ( const dynarray<T> &dyn ) { in dyn_test_const() argument 33 const T *data = dyn.data (); in dyn_test_const() 34 assert ( *data == dyn.front ()); in dyn_test_const() 35 assert ( *(data + dyn.size() - 1 ) == dyn.back ()); in dyn_test_const() 39 void dyn_test ( dynarray<T> &dyn ) { in dyn_test() argument 40 T *data = dyn.data (); in dyn_test() 41 assert ( *data == dyn.front ()); in dyn_test() 42 assert ( *(data + dyn.size() - 1 ) == dyn.back ()); in dyn_test()
|
D | indexing.pass.cpp | 29 void dyn_test_const ( const dynarray<T> &dyn, const std::initializer_list<T> &vals ) { in dyn_test_const() argument 30 const T *data = dyn.data (); in dyn_test_const() 32 for ( size_t i = 0; i < dyn.size(); ++i, ++it ) { in dyn_test_const() 33 assert ( data + i == &dyn[i]); in dyn_test_const() 34 assert ( *it == dyn[i]); in dyn_test_const() 39 void dyn_test ( dynarray<T> &dyn, const std::initializer_list<T> &vals ) { in dyn_test() argument 40 T *data = dyn.data (); in dyn_test() 42 for ( size_t i = 0; i < dyn.size(); ++i, ++it ) { in dyn_test() 43 assert ( data + i == &dyn[i]); in dyn_test() 44 assert ( *it == dyn[i]); in dyn_test()
|
D | capacity.pass.cpp | 30 void dyn_test ( const dynarray<T> &dyn, size_t sz ) { in dyn_test() argument 31 assert ( dyn.size () == sz ); in dyn_test() 32 assert ( dyn.max_size () == sz ); in dyn_test() 33 assert ( dyn.empty () == ( sz == 0 )); in dyn_test()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/dynarray/dynarray.data/ |
D | default.pass.cpp | 30 void dyn_test_const ( const dynarray<T> &dyn ) { in dyn_test_const() argument 31 const T *data = dyn.data (); in dyn_test_const() 33 assert ( std::equal ( dyn.begin(), dyn.end(), data )); in dyn_test_const() 37 void dyn_test ( dynarray<T> &dyn ) { in dyn_test() argument 38 T *data = dyn.data (); in dyn_test() 40 assert ( std::equal ( dyn.begin(), dyn.end(), data )); in dyn_test()
|
/ndk/sources/android/crazy_linker/src/ |
D | crazy_linker_elf_symbols.cpp | 31 ElfView::DynamicIterator dyn(view); in Init() local 32 for (; dyn.HasNext(); dyn.GetNext()) { in Init() 33 uintptr_t dyn_addr = dyn.GetAddress(view->load_bias()); in Init() 34 switch (dyn.GetTag()) { in Init()
|
D | crazy_linker_shared_library.cpp | 215 ElfView::DynamicIterator dyn(&view_); in Load() local 216 for (; dyn.HasNext(); dyn.GetNext()) { in Load() 217 ELF::Addr dyn_value = dyn.GetValue(); in Load() 218 uintptr_t dyn_addr = dyn.GetAddress(load_bias()); in Load() 219 switch (dyn.GetTag()) { in Load() 222 *dyn.GetValuePointer() = in Load() 274 *dyn.GetValuePointer() = in Load()
|
D | crazy_linker_elf_relocations.cpp | 148 ElfView::DynamicIterator dyn(view); in Init() local 149 for (; dyn.HasNext(); dyn.GetNext()) { in Init() 150 ELF::Addr dyn_value = dyn.GetValue(); in Init() 151 uintptr_t dyn_addr = dyn.GetAddress(view->load_bias()); in Init() 153 const ELF::Addr tag = dyn.GetTag(); in Init()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/dynarray/dynarray.cons/ |
D | alloc.pass.cpp | 39 void check_allocator ( const dynarray<T> &dyn, const Allocator &alloc ) { in check_allocator() argument 40 for ( int i = 0; i < dyn.size (); ++i ) in check_allocator() 41 assert ( dyn[i].get_allocator() == alloc ); in check_allocator()
|