/** * Implements {@link Transliterator#handleTransliterate}. * Ignore isIncremental since we don't need the context, and * we work on codepoints.
*/ void UnicodeNameTransliterator::handleTransliterate(Replaceable& text, UTransPosition& offsets,
UBool /*isIncremental*/) const { // The failure mode, here and below, is to behave like Any-Null, // if either there is no name data (max len == 0) or there is no // memory (malloc() => nullptr).
// Accommodate the longest possible name plus padding char* buf = static_cast<char*>(uprv_malloc(maxLen)); if (buf == nullptr) {
offsets.start = offsets.limit; return;
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.