/external/llvm-project/libcxx/include/ |
D | span | 213 …{ (void)__count; _LIBCPP_ASSERT(_Extent == __count, "size mismatch in span's constructor (ptr, len… 215 …{ (void)__l; _LIBCPP_ASSERT(_Extent == distance(__f, __l), "size mismatch in span's constructo… 234 … _LIBCPP_ASSERT(_Extent == _VSTD::size(__c), "size mismatch in span's constructor (range)"); 242 … _LIBCPP_ASSERT(_Extent == _VSTD::size(__c), "size mismatch in span's constructor (range)"); 259 …: __data{__other.data()} { _LIBCPP_ASSERT(_Extent == __other.size(), "size mismatch in span's cons… 283 _LIBCPP_ASSERT(__count <= size(), "Count out of range in span::first(count)"); 290 _LIBCPP_ASSERT(__count <= size(), "Count out of range in span::last(count)"); 311 _LIBCPP_ASSERT(__offset <= size(), "Offset out of range in span::subspan(offset, count)"); 312 …_LIBCPP_ASSERT(__count <= size() || __count == dynamic_extent, "Count out of range in span::subsp… 315 …_LIBCPP_ASSERT(__count <= size() - __offset, "Offset + count out of range in span::subspan(offset,… [all …]
|
D | string_view | 233 …_LIBCPP_ASSERT(__len == 0 || __s != nullptr, "string_view::string_view(_CharT *, size_t): received… 282 return _LIBCPP_ASSERT(__pos < size(), "string_view[] index out of bounds"), __data[__pos]; 296 return _LIBCPP_ASSERT(!empty(), "string_view::front(): string is empty"), __data[0]; 302 return _LIBCPP_ASSERT(!empty(), "string_view::back(): string is empty"), __data[__size-1]; 312 _LIBCPP_ASSERT(__n <= size(), "remove_prefix() can't remove more than size()"); 320 _LIBCPP_ASSERT(__n <= size(), "remove_suffix() can't remove more than size()"); 398 … _LIBCPP_ASSERT(__s.size() == 0 || __s.data() != nullptr, "string_view::find(): received nullptr"); 413 _LIBCPP_ASSERT(__n == 0 || __s != nullptr, "string_view::find(): received nullptr"); 421 _LIBCPP_ASSERT(__s != nullptr, "string_view::find(): received nullptr"); 430 … _LIBCPP_ASSERT(__s.size() == 0 || __s.data() != nullptr, "string_view::find(): received nullptr"); [all …]
|
D | list | 360 _LIBCPP_ASSERT(__get_const_db()->__dereferenceable(this), 369 _LIBCPP_ASSERT(__get_const_db()->__dereferenceable(this), 379 _LIBCPP_ASSERT(__get_const_db()->__dereferenceable(this), 392 _LIBCPP_ASSERT(__get_const_db()->__decrementable(this), 487 _LIBCPP_ASSERT(__get_const_db()->__dereferenceable(this), 496 _LIBCPP_ASSERT(__get_const_db()->__dereferenceable(this), 506 _LIBCPP_ASSERT(__get_const_db()->__dereferenceable(this), 519 _LIBCPP_ASSERT(__get_const_db()->__decrementable(this), 781 _LIBCPP_ASSERT(__alloc_traits::propagate_on_container_swap::value || 980 _LIBCPP_ASSERT(!empty(), "list::front called on empty list"); [all …]
|
D | __debug | 37 # define _LIBCPP_DEBUG_ASSERT(x, m) _LIBCPP_ASSERT(x, m) 43 #if !defined(_LIBCPP_ASSERT) 44 # define _LIBCPP_ASSERT(x, m) _LIBCPP_ASSERT_IMPL(x, m) 68 /// __libcpp_debug_function - The handler function called when a _LIBCPP_ASSERT
|
/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 …]
|
/external/llvm-project/libcxx/src/ |
D | debug.cpp | 143 _LIBCPP_ASSERT(i != nullptr, "iterator not found in debug database."); in __find_c_from_i() 309 _LIBCPP_ASSERT(p != nullptr, "debug mode internal logic error __find_c A"); in __find_c() 313 _LIBCPP_ASSERT(p != nullptr, "debug mode internal logic error __find_c B"); in __find_c() 339 _LIBCPP_ASSERT(p != nullptr, "debug mode internal logic error __erase_c A"); in __erase_c() 346 _LIBCPP_ASSERT(p != nullptr, "debug mode internal logic error __erase_c B"); in __erase_c() 452 _LIBCPP_ASSERT(p1 != nullptr, "debug mode internal logic error swap A"); in swap() 456 _LIBCPP_ASSERT(p1 != nullptr, "debug mode internal logic error swap B"); in swap() 460 _LIBCPP_ASSERT(p2 != nullptr, "debug mode internal logic error swap C"); in swap() 464 _LIBCPP_ASSERT(p2 != nullptr, "debug mode internal logic error swap D"); in swap() 573 _LIBCPP_ASSERT(r != end_, "debug mode internal logic error __c_node::__remove"); in __remove()
|
D | mutex.cpp | 49 _LIBCPP_ASSERT(ec == 0, "call to mutex::unlock failed"); in unlock() 65 _LIBCPP_ASSERT(e == 0, "call to ~recursive_mutex() failed"); in ~recursive_mutex() 81 _LIBCPP_ASSERT(e == 0, "call to recursive_mutex::unlock() failed"); in unlock()
|
/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/test/libcxx/debug/ |
D | debug_throw_register.pass.cpp | 33 _LIBCPP_ASSERT(false, "foo"); in main()
|
/external/llvm-project/libcxx/test/libcxx/strings/basic.string/string.access/ |
D | back.const.pass.cpp | 16 #define _LIBCPP_ASSERT(x, m) ((x) ? (void)0 : std::exit(0)) macro
|
D | back.pass.cpp | 16 #define _LIBCPP_ASSERT(x, m) ((x) ? (void)0 : std::exit(0)) macro
|
D | front.const.pass.cpp | 16 #define _LIBCPP_ASSERT(x, m) ((x) ? (void)0 : std::exit(0)) macro
|
D | front.pass.cpp | 16 #define _LIBCPP_ASSERT(x, m) ((x) ? (void)0 : std::exit(0)) macro
|
/external/llvm-project/libcxx/test/libcxx/strings/basic.string/string.modifiers/ |
D | erase_pop_back_db1.pass.cpp | 16 #define _LIBCPP_ASSERT(x, m) ((x) ? (void)0 : std::exit(0)) macro
|
/external/llvm-project/libcxx/test/libcxx/utilities/optional/optional.object/optional.object.observe/ |
D | dereference_const.pass.cpp | 17 #define _LIBCPP_ASSERT(x, m) ((x) ? (void)0 : std::exit(0)) macro
|
D | dereference.pass.cpp | 17 #define _LIBCPP_ASSERT(x, m) ((x) ? (void)0 : std::exit(0)) macro
|
/external/llvm-project/libcxx/test/libcxx/containers/unord/unord.set/ |
D | bucket_size.pass.cpp | 20 #define _LIBCPP_ASSERT(x, m) ((x) ? (void)0 : std::exit(0)) macro
|
/external/llvm-project/libcxx/test/libcxx/containers/unord/unord.multiset/ |
D | bucket_size.pass.cpp | 20 #define _LIBCPP_ASSERT(x, m) ((x) ? (void)0 : std::exit(0)) macro
|
D | bucket.pass.cpp | 20 #define _LIBCPP_ASSERT(x, m) ((x) ? (void)0 : std::exit(0)) macro
|
D | max_load_factor.pass.cpp | 21 #define _LIBCPP_ASSERT(x, m) ((x) ? (void)0 : std::exit(0)) macro
|