Home
last modified time | relevance | path

Searched refs:_LIBCPP_ASSERT (Results 1 – 25 of 366) sorted by relevance

12345678910>>...15

/external/llvm-project/libcxx/include/
Dspan213 …{ (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 …]
Dstring_view233_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 …]
Dlist360 _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__debug37 # 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/
Dspan218 …{ (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 …]
Dstring_view233 // _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__debug31 #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
Dlist358 _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/
Ddebug.cpp143 _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()
Dmutex.cpp49 _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/
Ddebug.cpp180 _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()
Dmutex.cpp47 _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/
Dop_idx.pass.cpp29 _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/
Ddebug_throw_register.pass.cpp33 _LIBCPP_ASSERT(false, "foo"); in main()
/external/llvm-project/libcxx/test/libcxx/strings/basic.string/string.access/
Dback.const.pass.cpp16 #define _LIBCPP_ASSERT(x, m) ((x) ? (void)0 : std::exit(0)) macro
Dback.pass.cpp16 #define _LIBCPP_ASSERT(x, m) ((x) ? (void)0 : std::exit(0)) macro
Dfront.const.pass.cpp16 #define _LIBCPP_ASSERT(x, m) ((x) ? (void)0 : std::exit(0)) macro
Dfront.pass.cpp16 #define _LIBCPP_ASSERT(x, m) ((x) ? (void)0 : std::exit(0)) macro
/external/llvm-project/libcxx/test/libcxx/strings/basic.string/string.modifiers/
Derase_pop_back_db1.pass.cpp16 #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/
Ddereference_const.pass.cpp17 #define _LIBCPP_ASSERT(x, m) ((x) ? (void)0 : std::exit(0)) macro
Ddereference.pass.cpp17 #define _LIBCPP_ASSERT(x, m) ((x) ? (void)0 : std::exit(0)) macro
/external/llvm-project/libcxx/test/libcxx/containers/unord/unord.set/
Dbucket_size.pass.cpp20 #define _LIBCPP_ASSERT(x, m) ((x) ? (void)0 : std::exit(0)) macro
/external/llvm-project/libcxx/test/libcxx/containers/unord/unord.multiset/
Dbucket_size.pass.cpp20 #define _LIBCPP_ASSERT(x, m) ((x) ? (void)0 : std::exit(0)) macro
Dbucket.pass.cpp20 #define _LIBCPP_ASSERT(x, m) ((x) ? (void)0 : std::exit(0)) macro
Dmax_load_factor.pass.cpp21 #define _LIBCPP_ASSERT(x, m) ((x) ? (void)0 : std::exit(0)) macro

12345678910>>...15