/external/libcxx/include/ |
D | span | 218 …{ (void)__count; _LIBCPP_ASSERT(_Extent == __count, "size mismatch in span's constructor (ptr, len… 220 …{ (void)__l; _LIBCPP_ASSERT(_Extent == distance(__f, __l), "size mismatch in span's constructo… 231 …{ _LIBCPP_ASSERT(_Extent == _VSTD::size(__c), "size mismatch in span's constructor (container)"); } 238 …{ _LIBCPP_ASSERT(_Extent == _VSTD::size(__c), "size mismatch in span's constructor (const containe… 254 …: __data{__other.data()} { _LIBCPP_ASSERT(_Extent == __other.size(), "size mismatch in span's cons… 280 … _LIBCPP_ASSERT(__count >= 0 && __count <= size(), "Count out of range in span::first(count)"); 287 … _LIBCPP_ASSERT(__count >= 0 && __count <= size(), "Count out of range in span::last(count)"); 296 _LIBCPP_ASSERT(_Offset >= 0 && _Offset <= size(), "Offset out of range in span::subspan()"); 305 …_LIBCPP_ASSERT( __offset >= 0 && __offset <= size(), "Offset out of range in span::subspan(offset,… 306 …_LIBCPP_ASSERT((__count >= 0 && __count <= size()) || __count == dynamic_extent, "Count out of r… [all …]
|
D | string_view | 233 // _LIBCPP_ASSERT(__len == 0 || __s != nullptr, "string_view::string_view(_CharT *, size_t)… 294 return _LIBCPP_ASSERT(!empty(), "string_view::front(): string is empty"), __data[0]; 300 return _LIBCPP_ASSERT(!empty(), "string_view::back(): string is empty"), __data[__size-1]; 310 _LIBCPP_ASSERT(__n <= size(), "remove_prefix() can't remove more than size()"); 318 _LIBCPP_ASSERT(__n <= size(), "remove_suffix() can't remove more than size()"); 396 … _LIBCPP_ASSERT(__s.size() == 0 || __s.data() != nullptr, "string_view::find(): received nullptr"); 411 _LIBCPP_ASSERT(__n == 0 || __s != nullptr, "string_view::find(): received nullptr"); 419 _LIBCPP_ASSERT(__s != nullptr, "string_view::find(): received nullptr"); 428 … _LIBCPP_ASSERT(__s.size() == 0 || __s.data() != nullptr, "string_view::find(): received nullptr"); 443 _LIBCPP_ASSERT(__n == 0 || __s != nullptr, "string_view::rfind(): received nullptr"); [all …]
|
D | __debug | 31 #if _LIBCPP_DEBUG_LEVEL >= 1 && !defined(_LIBCPP_ASSERT) 32 # define _LIBCPP_ASSERT(x, m) ((x) ? (void)0 : \ 38 #define _LIBCPP_DEBUG_ASSERT(x, m) _LIBCPP_ASSERT(x, m) 43 #ifndef _LIBCPP_ASSERT 44 # define _LIBCPP_ASSERT(x, m) ((void)0) 75 /// __libcpp_debug_function - The handler function called when a _LIBCPP_ASSERT
|
D | list | 358 _LIBCPP_ASSERT(__get_const_db()->__dereferenceable(this), 367 _LIBCPP_ASSERT(__get_const_db()->__dereferenceable(this), 377 _LIBCPP_ASSERT(__get_const_db()->__dereferenceable(this), 390 _LIBCPP_ASSERT(__get_const_db()->__decrementable(this), 485 _LIBCPP_ASSERT(__get_const_db()->__dereferenceable(this), 494 _LIBCPP_ASSERT(__get_const_db()->__dereferenceable(this), 504 _LIBCPP_ASSERT(__get_const_db()->__dereferenceable(this), 517 _LIBCPP_ASSERT(__get_const_db()->__decrementable(this), 779 _LIBCPP_ASSERT(__alloc_traits::propagate_on_container_swap::value || 973 _LIBCPP_ASSERT(!empty(), "list::front called on empty list"); [all …]
|
D | array | 308 _LIBCPP_ASSERT(false, "cannot call array<T, 0>::operator[] on a zero-sized array"); 314 _LIBCPP_ASSERT(false, "cannot call array<T, 0>::operator[] on a zero-sized array"); 332 _LIBCPP_ASSERT(false, "cannot call array<T, 0>::front() on a zero-sized array"); 338 _LIBCPP_ASSERT(false, "cannot call array<T, 0>::front() on a zero-sized array"); 344 _LIBCPP_ASSERT(false, "cannot call array<T, 0>::back() on a zero-sized array"); 350 _LIBCPP_ASSERT(false, "cannot call array<T, 0>::back() on a zero-sized array");
|
/external/libcxx/src/ |
D | debug.cpp | 180 _LIBCPP_ASSERT(i != nullptr, "iterator not found in debug database."); in __find_c_from_i() 349 _LIBCPP_ASSERT(p != nullptr, "debug mode internal logic error __find_c A"); in __find_c() 353 _LIBCPP_ASSERT(p != nullptr, "debug mode internal logic error __find_c B"); in __find_c() 379 _LIBCPP_ASSERT(p != nullptr, "debug mode internal logic error __erase_c A"); in __erase_c() 386 _LIBCPP_ASSERT(p != nullptr, "debug mode internal logic error __erase_c B"); in __erase_c() 492 _LIBCPP_ASSERT(p1 != nullptr, "debug mode internal logic error swap A"); in swap() 496 _LIBCPP_ASSERT(p1 != nullptr, "debug mode internal logic error swap B"); in swap() 500 _LIBCPP_ASSERT(p2 != nullptr, "debug mode internal logic error swap C"); in swap() 504 _LIBCPP_ASSERT(p2 != nullptr, "debug mode internal logic error swap D"); in swap() 613 _LIBCPP_ASSERT(r != end_, "debug mode internal logic error __c_node::__remove"); in __remove()
|
D | mutex.cpp | 47 _LIBCPP_ASSERT(ec == 0, "call to mutex::unlock failed"); in unlock() 63 _LIBCPP_ASSERT(e == 0, "call to ~recursive_mutex() failed"); in ~recursive_mutex() 79 _LIBCPP_ASSERT(e == 0, "call to recursive_mutex::unlock() failed"); in unlock()
|
/external/libcxx/test/std/containers/views/span.elem/ |
D | op_idx.pass.cpp | 29 _LIBCPP_ASSERT(noexcept(sp[idx]), ""); in testConstexprSpan() 30 _LIBCPP_ASSERT(noexcept(sp(idx)), ""); in testConstexprSpan() 42 _LIBCPP_ASSERT(noexcept(sp[idx]), ""); in testRuntimeSpan() 43 _LIBCPP_ASSERT(noexcept(sp(idx)), ""); in testRuntimeSpan()
|
/external/libcxx/include/experimental/ |
D | coroutine | 119 _LIBCPP_ASSERT(__is_suspended(), 121 _LIBCPP_ASSERT(!done(), 128 _LIBCPP_ASSERT(__is_suspended(), 135 _LIBCPP_ASSERT(__is_suspended(),
|
/external/libcxx/test/libcxx/debug/ |
D | debug_throw_register.pass.cpp | 33 _LIBCPP_ASSERT(false, "foo"); in main()
|
D | debug_throw.pass.cpp | 32 _LIBCPP_ASSERT(false, "foo"); in main()
|
D | debug_abort.pass.cpp | 34 _LIBCPP_ASSERT(false, "foo"); in main()
|
/external/libcxx/src/filesystem/ |
D | directory_iterator.cpp | 250 _LIBCPP_ASSERT(__imp_, "Attempting to increment an invalid iterator"); in __increment() 264 _LIBCPP_ASSERT(__imp_, "Attempting to dereference an invalid iterator"); in __dereference() 293 _LIBCPP_ASSERT(__imp_, "Popping the end iterator"); in __pop()
|
/external/libcxx/test/libcxx/strings/basic.string/string.modifiers/ |
D | erase_pop_back_db1.pass.cpp | 15 #define _LIBCPP_ASSERT(x, m) ((x) ? (void)0 : std::exit(0)) macro
|
D | insert_iter_size_char_db1.pass.cpp | 15 #define _LIBCPP_ASSERT(x, m) ((x) ? (void)0 : std::exit(0)) macro
|
D | insert_iter_char_db1.pass.cpp | 15 #define _LIBCPP_ASSERT(x, m) ((x) ? (void)0 : std::exit(0)) macro
|
/external/libcxx/test/libcxx/containers/sequences/vector/ |
D | pop_back_empty.pass.cpp | 14 #define _LIBCPP_ASSERT(x, m) ((x) ? (void)0 : std::exit(0)) macro
|
/external/libcxx/test/libcxx/containers/sequences/deque/ |
D | pop_back_empty.pass.cpp | 14 #define _LIBCPP_ASSERT(x, m) ((x) ? (void)0 : std::exit(0)) macro
|
/external/libcxx/test/libcxx/containers/sequences/list/list.modifiers/ |
D | insert_iter_rvalue_db1.pass.cpp | 18 #define _LIBCPP_ASSERT(x, m) ((x) ? (void)0 : std::exit(0)) macro
|
D | insert_iter_value_db1.pass.cpp | 18 #define _LIBCPP_ASSERT(x, m) ((x) ? (void)0 : std::exit(0)) macro
|
D | insert_iter_size_value_db1.pass.cpp | 18 #define _LIBCPP_ASSERT(x, m) ((x) ? (void)0 : std::exit(0)) macro
|
D | erase_iter_db1.pass.cpp | 18 #define _LIBCPP_ASSERT(x, m) ((x) ? (void)0 : std::exit(0)) macro
|
/external/libcxx/test/libcxx/containers/sequences/list/list.ops/ |
D | db_splice_pos_list.pass.cpp | 18 #define _LIBCPP_ASSERT(x, m) ((x) ? (void)0 : std::exit(0)) macro
|
D | db_splice_pos_list_iter.pass.cpp | 18 #define _LIBCPP_ASSERT(x, m) ((x) ? (void)0 : std::exit(0)) macro
|
D | db_splice_pos_list_iter_iter.pass.cpp | 18 #define _LIBCPP_ASSERT(x, m) ((x) ? (void)0 : std::exit(0)) macro
|