Searched refs:FMT_ASSERT (Results 1 – 8 of 8) sorted by relevance
/external/fmtlib/include/fmt/ |
D | format-inl.h | 71 FMT_ASSERT(buffer != nullptr && buffer_size != 0, "invalid buffer"); in safe_strerror() 1269 FMT_ASSERT(other.exp_ >= exp_, "unaligned bigints"); 1270 FMT_ASSERT(compare(*this, other) >= 0, ""); 1351 FMT_ASSERT(value > 0, ""); 1462 FMT_ASSERT(this != &divisor, ""); 1464 FMT_ASSERT(divisor.bigits_[divisor.bigits_.size() - 1u] != 0, ""); 1483 FMT_ASSERT(remainder < divisor, ""); // divisor - remainder won't overflow. 1484 FMT_ASSERT(error < divisor, ""); // divisor - error won't overflow. 1485 FMT_ASSERT(error < divisor - error, ""); // error * 2 won't overflow. 1516 FMT_ASSERT(integral != 0, ""); [all …]
|
D | color.h | 302 FMT_ASSERT(has_foreground(), "no foreground specified for this style"); in get_foreground() 306 FMT_ASSERT(has_background(), "no background specified for this style"); in get_background() 310 FMT_ASSERT(has_emphasis(), "no emphasis specified for this style"); in get_emphasis()
|
D | format.h | 119 FMT_ASSERT(false, ""); \ 216 FMT_ASSERT(x != 0, ""); in clz() 235 FMT_ASSERT(x != 0, ""); in clzll() 244 FMT_ASSERT(x != 0, ""); in ctz() 252 FMT_ASSERT(x != 0, ""); in ctzll() 714 FMT_ASSERT(this != &other, ""); 1051 FMT_ASSERT(size >= count_digits(value), "invalid digit count"); 1300 FMT_ASSERT(-10000 < exp && exp < 10000, "exponent out of range"); 2007 FMT_ASSERT(false, ""); 2242 FMT_ASSERT(false, "invalid argument type"); [all …]
|
D | core.h | 287 #ifndef FMT_ASSERT 290 # define FMT_ASSERT(condition, message) ((void)0) macro 292 # define FMT_ASSERT(condition, message) \ macro 326 FMT_ASSERT(value >= 0, "negative value"); in to_unsigned() 1811 FMT_ASSERT(new_cap >= new_cap_named,
|
D | chrono.h | 679 FMT_ASSERT(value >= 0 && value <= upper, "invalid value"); 685 FMT_ASSERT(
|
/external/fmtlib/test/ |
D | assert-test.cc | 17 EXPECT_DEBUG_DEATH(FMT_ASSERT(false, "don't panic!"), "don't panic!"); in TEST() 28 FMT_ASSERT(true, ""); in TEST()
|
D | test-assert.h | 25 #define FMT_ASSERT(condition, message) \ macro
|
D | format | 648 FMT_ASSERT(false, "invalid argument type");
|