Searched refs:MINIKIN_ASSERT (Results 1 – 12 of 12) sorted by relevance
/frameworks/minikin/libs/minikin/ |
D | MinikinInternal.h | 37 #define MINIKIN_ASSERT(cond, ...) LOG_ALWAYS_FATAL_IF(!(cond), __VA_ARGS__) macro 39 #define MINIKIN_ASSERT(cond, ...) ((void)0) 42 #define MINIKIN_NOT_REACHED(...) MINIKIN_ASSERT(false, __VA_ARGS__);
|
D | MinikinFontFactory.cpp | 35 MINIKIN_ASSERT(gMinikinFontFactory != nullptr, "setInstance should have been called."); in getInstance() 41 MINIKIN_ASSERT(gMinikinFontFactory == nullptr || gMinikinFontFactory == factory, in setInstance()
|
D | FontFamily.cpp | 153 MINIKIN_ASSERT(!fonts.empty(), "FontFamily must contain at least one font."); in FontFamily() 154 MINIKIN_ASSERT(fonts.size() <= std::numeric_limits<uint32_t>::max(), in FontFamily() 203 MINIKIN_ASSERT(mParent == nullptr, "Do not serialize variation overridden font families."); in writeTo() 351 MINIKIN_ASSERT(cmapFmt14Coverage.size() <= INVALID_VS_INDEX, in computeCoverage() 369 MINIKIN_ASSERT(supportedAxesSet.size() <= std::numeric_limits<uint32_t>::max(), in computeCoverage()
|
D | WordBreaker.cpp | 38 MINIKIN_ASSERT(lbStyle != LineBreakStyle::Auto, in createNewIterator() 40 MINIKIN_ASSERT(lbWordStyle != LineBreakWordStyle::Auto, in createNewIterator() 122 MINIKIN_ASSERT(mText != nullptr, "setText must be called first"); in followingWithLocale()
|
D | BidiUtils.cpp | 53 MINIKIN_ASSERT(runOffset < mRunCount, "Out of range access. %d/%d", runOffset, mRunCount); in getRunInfoAt()
|
D | Locale.cpp | 363 MINIKIN_ASSERT(false, "Must not reached."); in getStringWithLineBreakOption() 382 MINIKIN_ASSERT(false, "Must not reached."); in getStringWithLineBreakOption() 424 MINIKIN_ASSERT(false, "Must not reached."); in buildLocaleString()
|
D | LocaleListCache.cpp | 177 MINIKIN_ASSERT(id < mLocaleLists.size(), "Lookup by unknown locale list ID."); in getByIdInternal()
|
D | SparseBitSet.cpp | 72 MINIKIN_ASSERT(start <= end, "Range size must be nonnegative"); in initFromRanges()
|
D | FontCollection.cpp | 175 MINIKIN_ASSERT(mFamilyCount > 0, "Font collection must have at least one valid typeface"); in init() 176 MINIKIN_ASSERT(mFamilyCount <= MAX_FAMILY_COUNT, in init()
|
D | OptimalLineBreaker.cpp | 301 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()
|