// Copyright (C) 2025 The Android Open Source Project // SPDX-License-Identifier: Apache-2.0
#![no_std] #![allow(missing_docs)] // Not particularly useful to document these thin wrappers
//! This is a thin wrapper around ICU4X for use in Bionic
use icu_casemap::CaseMapper; use icu_collections::codepointtrie::TrieValue; use icu_properties::props::*; use icu_properties::{CodePointMapData, CodePointSetData};
/// Convert a code point to uppercase #[no_mangle] pubextern"C"fn __icu4x_bionic_to_upper(ch: u32) -> u32 { let Ok(ch) = char::try_from(ch) else { return ch;
}; let cm = CaseMapper::new();
cm.simple_uppercase(ch) as u32
}
/// Convert a code point to lowercase #[no_mangle] pubextern"C"fn __icu4x_bionic_to_lower(ch: u32) -> u32 { let Ok(ch) = char::try_from(ch) else { return ch;
}; let cm = CaseMapper::new();
cm.simple_lowercase(ch) as u32
}
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.10 Sekunden
(vorverarbeitet am 2026-06-28)
¤
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.