Home
last modified time | relevance | path

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

1234567

/external/libcxx/src/
Ddebug.cpp117 _LIBCPP_ASSERT(i != nullptr, "iterator not found in debug database."); in __find_c_from_i()
292 _LIBCPP_ASSERT(p != nullptr, "debug mode internal logic error __find_c A"); in __find_c()
296 _LIBCPP_ASSERT(p != nullptr, "debug mode internal logic error __find_c B"); in __find_c()
322 _LIBCPP_ASSERT(p != nullptr, "debug mode internal logic error __erase_c A"); in __erase_c()
329 _LIBCPP_ASSERT(p != nullptr, "debug mode internal logic error __erase_c B"); in __erase_c()
435 _LIBCPP_ASSERT(p1 != nullptr, "debug mode internal logic error swap A"); in swap()
439 _LIBCPP_ASSERT(p1 != nullptr, "debug mode internal logic error swap B"); in swap()
443 _LIBCPP_ASSERT(p2 != nullptr, "debug mode internal logic error swap C"); in swap()
447 _LIBCPP_ASSERT(p2 != nullptr, "debug mode internal logic error swap D"); in swap()
565 _LIBCPP_ASSERT(r != end_, "debug mode internal logic error __c_node::__remove"); in __remove()
/external/libcxx/include/experimental/
Dstring_view230 // _LIBCPP_ASSERT(__len == 0 || __s != nullptr, "string_view::string_view(_CharT *, siz…
290 return _LIBCPP_ASSERT(!empty(), "string_view::front(): string is empty"), __data[0];
296 … return _LIBCPP_ASSERT(!empty(), "string_view::back(): string is empty"), __data[__size-1];
313 _LIBCPP_ASSERT(__n <= size(), "remove_prefix() can't remove more than size()");
321 _LIBCPP_ASSERT(__n <= size(), "remove_suffix() can't remove more than size()");
416_LIBCPP_ASSERT(__s.size() == 0 || __s.data() != nullptr, "string_view::find(): recieved nullptr");
431 _LIBCPP_ASSERT(__n == 0 || __s != nullptr, "string_view::find(): recieved nullptr");
439 _LIBCPP_ASSERT(__s != nullptr, "string_view::find(): recieved nullptr");
448_LIBCPP_ASSERT(__s.size() == 0 || __s.data() != nullptr, "string_view::find(): recieved nullptr");
463 _LIBCPP_ASSERT(__n == 0 || __s != nullptr, "string_view::rfind(): recieved nullptr");
[all …]
/external/libcxx/include/
D__debug24 # ifndef _LIBCPP_ASSERT
25 # define _LIBCPP_ASSERT(x, m) ((x) ? (void)0 : (_VSTD::printf("%s\n", m), _VSTD::abort()))
29 #ifndef _LIBCPP_ASSERT
30 # define _LIBCPP_ASSERT(x, m) ((void)0)
Dlist315 _LIBCPP_ASSERT(__get_const_db()->__dereferenceable(this),
324 _LIBCPP_ASSERT(__get_const_db()->__dereferenceable(this),
334 _LIBCPP_ASSERT(__get_const_db()->__dereferenceable(this),
347 _LIBCPP_ASSERT(__get_const_db()->__decrementable(this),
452 _LIBCPP_ASSERT(__get_const_db()->__dereferenceable(this),
461 _LIBCPP_ASSERT(__get_const_db()->__dereferenceable(this),
471 _LIBCPP_ASSERT(__get_const_db()->__dereferenceable(this),
484 _LIBCPP_ASSERT(__get_const_db()->__decrementable(this),
746 _LIBCPP_ASSERT(__alloc_traits::propagate_on_container_swap::value ||
935 _LIBCPP_ASSERT(!empty(), "list::front called on empty list");
[all …]
D__hash_table153 _LIBCPP_ASSERT(__get_const_db()->__dereferenceable(this),
162 _LIBCPP_ASSERT(__get_const_db()->__dereferenceable(this),
172 _LIBCPP_ASSERT(__get_const_db()->__dereferenceable(this),
300 _LIBCPP_ASSERT(__get_const_db()->__dereferenceable(this),
309 _LIBCPP_ASSERT(__get_const_db()->__dereferenceable(this),
319 _LIBCPP_ASSERT(__get_const_db()->__dereferenceable(this),
432 _LIBCPP_ASSERT(__get_const_db()->__dereferenceable(this),
441 _LIBCPP_ASSERT(__get_const_db()->__dereferenceable(this),
451 _LIBCPP_ASSERT(__get_const_db()->__dereferenceable(this),
597 _LIBCPP_ASSERT(__get_const_db()->__dereferenceable(this),
[all …]
/external/libcxx/test/std/containers/unord/unord.multiset/
Derase_iter_db1.pass.cpp16 #define _LIBCPP_ASSERT(x, m) ((x) ? (void)0 : std::exit(0)) macro
Derase_iter_iter_db4.pass.cpp16 #define _LIBCPP_ASSERT(x, m) ((x) ? (void)0 : std::exit(0)) macro
Derase_iter_db2.pass.cpp16 #define _LIBCPP_ASSERT(x, m) ((x) ? (void)0 : std::exit(0)) macro
Derase_iter_iter_db2.pass.cpp16 #define _LIBCPP_ASSERT(x, m) ((x) ? (void)0 : std::exit(0)) macro
Derase_iter_iter_db3.pass.cpp16 #define _LIBCPP_ASSERT(x, m) ((x) ? (void)0 : std::exit(0)) macro
Derase_iter_iter_db1.pass.cpp16 #define _LIBCPP_ASSERT(x, m) ((x) ? (void)0 : std::exit(0)) macro
/external/libcxx/test/std/containers/unord/unord.set/
Derase_iter_db1.pass.cpp16 #define _LIBCPP_ASSERT(x, m) ((x) ? (void)0 : std::exit(0)) macro
Derase_iter_iter_db4.pass.cpp16 #define _LIBCPP_ASSERT(x, m) ((x) ? (void)0 : std::exit(0)) macro
Derase_iter_db2.pass.cpp16 #define _LIBCPP_ASSERT(x, m) ((x) ? (void)0 : std::exit(0)) macro
Derase_iter_iter_db1.pass.cpp16 #define _LIBCPP_ASSERT(x, m) ((x) ? (void)0 : std::exit(0)) macro
Derase_iter_iter_db2.pass.cpp16 #define _LIBCPP_ASSERT(x, m) ((x) ? (void)0 : std::exit(0)) macro
Derase_iter_iter_db3.pass.cpp16 #define _LIBCPP_ASSERT(x, m) ((x) ? (void)0 : std::exit(0)) macro
/external/libcxx/test/std/strings/basic.string/string.access/
Ddb_cfront.pass.cpp16 #define _LIBCPP_ASSERT(x, m) ((x) ? (void)0 : std::exit(0)) macro
Ddb_cback.pass.cpp16 #define _LIBCPP_ASSERT(x, m) ((x) ? (void)0 : std::exit(0)) macro
Ddb_index.pass.cpp16 #define _LIBCPP_ASSERT(x, m) ((x) ? (void)0 : std::exit(0)) macro
Ddb_cindex.pass.cpp16 #define _LIBCPP_ASSERT(x, m) ((x) ? (void)0 : std::exit(0)) macro
/external/libcxx/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/
Derase_iter_db1.pass.cpp16 #define _LIBCPP_ASSERT(x, m) ((x) ? (void)0 : std::exit(0)) macro
/external/libcxx/test/std/experimental/optional/optional.object/optional.object.observe/
Ddereference.pass.cpp15 #define _LIBCPP_ASSERT(x, m) ((x) ? (void)0 : std::exit(0)) macro
Dop_arrow.pass.cpp15 #define _LIBCPP_ASSERT(x, m) ((x) ? (void)0 : std::exit(0)) macro
/external/libcxx/test/std/containers/unord/unord.map/unorder.map.modifiers/
Derase_iter_db1.pass.cpp16 #define _LIBCPP_ASSERT(x, m) ((x) ? (void)0 : std::exit(0)) macro

1234567