Home
last modified time | relevance | path

Searched refs:CodePointMapData (Results 1 – 16 of 16) sorted by relevance

/external/rust/android-crates-io/crates/icu_capi/src/
Dproperties_maps.rs28 #[diplomat::rust_link(icu::properties::CodePointMapData, Struct)]
30 #[diplomat::rust_link(icu::properties::CodePointMapData::new, FnInStruct, hidden)]
33 icu::properties::CodePointMapData::try_into_converted,
37 pub struct CodePointMapData8(icu_properties::CodePointMapData<u8>);
41 data: icu_properties::CodePointMapData<P>, in convert_8()
129 convert_8(icu_properties::CodePointMapData::<GeneralCategory>::new().static_to_owned()) in create_general_category()
139 Ok(convert_8(icu_properties::CodePointMapData::< in create_general_category_with_provider()
151 convert_8(icu_properties::CodePointMapData::<BidiClass>::new().static_to_owned()) in create_bidi_class()
162 icu_properties::CodePointMapData::<BidiClass>::try_new_unstable( in create_bidi_class_with_provider()
172 convert_8(icu_properties::CodePointMapData::<EastAsianWidth>::new().static_to_owned()) in create_east_asian_width()
[all …]
Dbidi.rs26 pub struct Bidi(pub icu_properties::CodePointMapData<icu_properties::props::BidiClass>);
35 icu_properties::CodePointMapData::new().static_to_owned(), in create()
45 icu_properties::CodePointMapData::try_new_unstable(&provider.get_unstable()?)?, in create_with_provider()
Dproperties_bidi.rs37 icu_properties::CodePointMapData::<props::BidiMirroringGlyph>::new() in for_char()
Dproperties_enums.rs81 icu_properties::CodePointMapData::<props::BidiClass>::new() in for_char()
493 icu_properties::CodePointMapData::<props::Script>::new() in for_char()
731 icu_properties::CodePointMapData::<props::HangulSyllableType>::new() in for_char()
782 icu_properties::CodePointMapData::<props::EastAsianWidth>::new() in for_char()
927 icu_properties::CodePointMapData::<props::LineBreak>::new() in for_char()
1052 icu_properties::CodePointMapData::<props::GraphemeClusterBreak>::new() in for_char()
1149 icu_properties::CodePointMapData::<props::WordBreak>::new() in for_char()
1243 icu_properties::CodePointMapData::<props::SentenceBreak>::new() in for_char()
1489 icu_properties::CodePointMapData::<props::CanonicalCombiningClass>::new() in for_char()
1741 icu_properties::CodePointMapData::<props::IndicSyllabicCategory>::new() in for_char()
[all …]
Dproperties_sets.rs89 let data = icu_properties::CodePointMapData::<GeneralCategory>::new().static_to_owned(); in create_general_category_group()
111 icu_properties::CodePointMapData::<GeneralCategory>::try_new_unstable( in create_general_category_group_with_provider()
/external/rust/android-crates-io/crates/icu_properties/
DREADME.md14 APIs that return a `CodePointMapData` exist for certain enumerated properties.
21 use icu::properties::{CodePointSetData, CodePointMapData};
31 let line_sep_data = CodePointMapData::<GeneralCategory>::new()
39 ### Property data as `CodePointMapData`s
42 use icu::properties::CodePointMapData;
45 assert_eq!(CodePointMapData::<Script>::new().get('��'), Script::Common); // U+1F383 JACK-O-LANTERN
46 assert_eq!(CodePointMapData::<Script>::new().get('木'), Script::Han); // U+6728
/external/rust/android-crates-io/crates/icu_properties/src/
Dcode_point_set.rs250 use icu::properties::CodePointMapData; in test_general_category()
252 let digits_data = CodePointMapData::<GeneralCategory>::new() in test_general_category()
266 use icu::properties::CodePointMapData; in test_script()
268 let thai_data = CodePointMapData::<Script>::new().get_set_for_value(Script::Thai); in test_script()
281 use icu::properties::CodePointMapData; in test_gc_groupings()
286 CodePointMapData::<GeneralCategory>::new().get_set_for_value_group(category); in test_gc_groupings()
294 CodePointMapData::<GeneralCategory>::new().get_set_for_value(subcategory); in test_gc_groupings()
378 use icu::properties::CodePointMapData; in test_gc_surrogate()
380 let surrogates_data = CodePointMapData::<GeneralCategory>::new() in test_gc_surrogate()
Dcode_point_map.rs22 pub struct CodePointMapData<T: TrieValue> { struct
26 impl<T: TrieValue> CodePointMapData<T> { argument
90 pub fn try_into_converted<P>(self) -> Result<CodePointMapData<P>, zerovec::ule::UleError> in try_into_converted()
96 .map(CodePointMapData::from_data::<ErasedMarker<PropertyCodePointMap<'static, P>>>) in try_into_converted()
112 CodePointMapData::from_data( in from_code_point_trie()
306 pub const fn static_to_owned(self) -> CodePointMapData<T> { in static_to_owned()
307 CodePointMapData { in static_to_owned()
371 CodePointMapData::new().get(ch) in for_char()
Dlib.rs77 pub use code_point_map::{CodePointMapData, CodePointMapDataBorrowed};
Druntime.rs19 script, CodePointMapData, PropertyParser,
/external/rust/android-crates-io/crates/icu_casemap/src/
Dtitlecase.rs12 use icu_properties::{CodePointMapData, CodePointMapDataBorrowed};
211 gc: CodePointMapData<GeneralCategory>,
229 …let gc = icu_properties::CodePointMapData::<icu_properties::props::GeneralCategory>::try_new_unsta… in try_new_unstable()
266 gc: icu_properties::CodePointMapData::<icu_properties::props::GeneralCategory>::new() in new_with_mapper()
277 …let gc = icu_properties::CodePointMapData::<icu_properties::props::GeneralCategory>::try_new_unsta… in try_new_with_mapper_unstable()
309 gc: icu_properties::CodePointMapData::<icu_properties::props::GeneralCategory>::new(), in new()
/external/rust/android-crates-io/crates/icu_casemap/tests/
Dgen_greek_to_me.rs12 CodePointMapData,
19 let script = CodePointMapData::<Script>::new(); in main()
20 let gc = CodePointMapData::<GeneralCategory>::new(); in main()
/external/rust/android-crates-io/crates/icu_collections/src/
Diterator_utils.rs66 use icu::properties::{CodePointMapData, CodePointSetData};
90 for range in CodePointMapData::<T>::new().iter_ranges_for_value(value) { in test_map()
94 for range in CodePointMapData::<T>::new().iter_ranges_for_value_complemented(value) { in test_map()
/external/rust/android-crates-io/crates/icu_capi/bindings/js/
DCodePointMapData16.mjs16 *See the [Rust documentation for `CodePointMapData`](https://docs.rs/icu/latest/icu/properties/stru…
DCodePointRangeIterator.mjs8 *one of the `CodePointMapData` types
DCodePointMapData8.mjs17 *See the [Rust documentation for `CodePointMapData`](https://docs.rs/icu/latest/icu/properties/stru…