Searched refs:MINIKIN_ASSERT (Results 1 – 11 of 11) sorted by relevance
/frameworks/minikin/libs/minikin/ |
D | MinikinInternal.h | 32 #define MINIKIN_ASSERT(cond, ...) LOG_ALWAYS_FATAL_IF(!(cond), __VA_ARGS__) macro 34 #define MINIKIN_ASSERT(cond, ...) ((void)0) 37 #define MINIKIN_NOT_REACHED(...) MINIKIN_ASSERT(false, __VA_ARGS__);
|
D | BidiUtils.cpp | 53 MINIKIN_ASSERT(runOffset < mRunCount, "Out of range access. %d/%d", runOffset, mRunCount); in getRunInfoAt()
|
D | LocaleListCache.cpp | 133 MINIKIN_ASSERT(id < mLocaleLists.size(), "Lookup by unknown locale list ID."); in getByIdInternal()
|
D | FontCollection.cpp | 78 MINIKIN_ASSERT(nTypefaces > 0, "Font collection must have at least one valid typeface"); in init() 79 MINIKIN_ASSERT(nTypefaces <= MAX_FAMILY_COUNT, in init()
|
D | SparseBitSet.cpp | 67 MINIKIN_ASSERT(start <= end, "Range size must be nonnegative"); in initFromRanges()
|
D | Locale.cpp | 366 MINIKIN_ASSERT(false, "Must not reached."); in getString() 402 MINIKIN_ASSERT(false, "Must not reached."); in getString()
|
D | WordBreaker.cpp | 81 MINIKIN_ASSERT(mText != nullptr, "setText must be called first"); in followingWithLocale()
|
D | FontFamily.cpp | 122 MINIKIN_ASSERT(!mFonts.empty(), "FontFamily must contain at least one font."); in FontFamily()
|
D | OptimalLineBreaker.cpp | 233 MINIKIN_ASSERT(textBuf[i] != CHAR_TAB, "TAB is not supported in optimal line breaker"); in populateCandidates()
|
/frameworks/minikin/tests/util/ |
D | FontTestUtils.cpp | 42 MINIKIN_ASSERT(start != std::string::npos, "Not a valid file name \"%s\"", in.c_str()); in xmlTrim() 43 MINIKIN_ASSERT(end != std::string::npos, "Not a valid file name \"%s\"", in.c_str()); in xmlTrim()
|
/frameworks/minikin/tests/unittest/ |
D | HyphenatorMapTest.cpp | 138 MINIKIN_ASSERT(locales.size() == 1, "The input must be a single locale"); in getLocale()
|