Home
last modified time | relevance | path

Searched refs:CaseMapper (Results 1 – 21 of 21) sorted by relevance

/external/rust/android-crates-io/crates/icu_capi/bindings/cpp/icu4x/
DCaseMapper.hpp25 icu4x::capi::CaseMapper* icu4x_CaseMapper_create_mv1(void);
27 …typedef struct icu4x_CaseMapper_create_with_provider_mv1_result {union {icu4x::capi::CaseMapper* o…
30 …void icu4x_CaseMapper_lowercase_mv1(const icu4x::capi::CaseMapper* self, diplomat::capi::DiplomatS…
32 …void icu4x_CaseMapper_uppercase_mv1(const icu4x::capi::CaseMapper* self, diplomat::capi::DiplomatS…
34 …Mapper_titlecase_segment_with_only_case_data_v1_mv1(const icu4x::capi::CaseMapper* self, diplomat:…
36 …void icu4x_CaseMapper_fold_mv1(const icu4x::capi::CaseMapper* self, diplomat::capi::DiplomatString…
38 …void icu4x_CaseMapper_fold_turkic_mv1(const icu4x::capi::CaseMapper* self, diplomat::capi::Diploma…
40 …void icu4x_CaseMapper_add_case_closure_to_mv1(const icu4x::capi::CaseMapper* self, char32_t c, icu…
42 … char32_t icu4x_CaseMapper_simple_lowercase_mv1(const icu4x::capi::CaseMapper* self, char32_t ch);
44 … char32_t icu4x_CaseMapper_simple_uppercase_mv1(const icu4x::capi::CaseMapper* self, char32_t ch);
[all …]
DCaseMapper.d.hpp14 namespace capi { struct CaseMapper; }
15 class CaseMapper;
29 struct CaseMapper;
34 class CaseMapper { class
37 inline static std::unique_ptr<icu4x::CaseMapper> create();
39 …inline static diplomat::result<std::unique_ptr<icu4x::CaseMapper>, icu4x::DataError> create_with_p…
63 inline const icu4x::capi::CaseMapper* AsFFI() const;
64 inline icu4x::capi::CaseMapper* AsFFI();
65 inline static const icu4x::CaseMapper* FromFFI(const icu4x::capi::CaseMapper* ptr);
66 inline static icu4x::CaseMapper* FromFFI(icu4x::capi::CaseMapper* ptr);
[all …]
/external/rust/android-crates-io/crates/icu_capi/bindings/c/
DCaseMapper.h23 CaseMapper* icu4x_CaseMapper_create_mv1(void);
25 typedef struct icu4x_CaseMapper_create_with_provider_mv1_result {union {CaseMapper* ok; DataError e…
28 void icu4x_CaseMapper_lowercase_mv1(const CaseMapper* self, DiplomatStringView s, const Locale* loc…
30 void icu4x_CaseMapper_uppercase_mv1(const CaseMapper* self, DiplomatStringView s, const Locale* loc…
32 void icu4x_CaseMapper_titlecase_segment_with_only_case_data_v1_mv1(const CaseMapper* self, Diplomat…
34 void icu4x_CaseMapper_fold_mv1(const CaseMapper* self, DiplomatStringView s, DiplomatWrite* write);
36 void icu4x_CaseMapper_fold_turkic_mv1(const CaseMapper* self, DiplomatStringView s, DiplomatWrite* …
38 void icu4x_CaseMapper_add_case_closure_to_mv1(const CaseMapper* self, char32_t c, CodePointSetBuild…
40 char32_t icu4x_CaseMapper_simple_lowercase_mv1(const CaseMapper* self, char32_t ch);
42 char32_t icu4x_CaseMapper_simple_uppercase_mv1(const CaseMapper* self, char32_t ch);
[all …]
DCaseMapper.d.h14 typedef struct CaseMapper CaseMapper; typedef
/external/rust/android-crates-io/crates/icu_capi/bindings/demo_gen/
DCaseMapper.mjs1 import { CaseMapper } from "icu4x"
6 let caseMapper = new CaseMapper();
17 let caseMapper = new CaseMapper();
28 let caseMapper = new CaseMapper();
44 let caseMapper = new CaseMapper();
53 let caseMapper = new CaseMapper();
Dindex.mjs2 import * as CaseMapperDemo from "./CaseMapper.mjs";
3 export * as CaseMapperDemo from "./CaseMapper.mjs";
41 "CaseMapper.lowercase": {
44 funcName: "CaseMapper.lowercase",
62 "CaseMapper.uppercase": {
65 funcName: "CaseMapper.uppercase",
83 "CaseMapper.titlecaseSegmentWithOnlyCaseData": {
86 funcName: "CaseMapper.titlecaseSegmentWithOnlyCaseData",
116 "CaseMapper.fold": {
119 funcName: "CaseMapper.fold",
[all …]
DCaseMapper.d.ts1 import { CaseMapper } from "icu4x"
/external/rust/android-crates-io/crates/icu_casemap/src/
Dcloser.rs7 use crate::{CaseMapper, CaseMapperBorrowed};
46 impl CaseMapCloser<CaseMapper> {
60 let cm = CaseMapper::try_new_unstable(provider)?; in try_new_unstable()
66 impl CaseMapCloser<CaseMapper> {
103 impl<CM: AsRef<CaseMapper>> CaseMapCloser<CM> {
191 cm: CaseMapper::new(), in new()
199 pub const fn static_to_owned(self) -> CaseMapCloser<CaseMapper> { in static_to_owned() argument
Dtitlecase.rs7 use crate::{CaseMapper, CaseMapperBorrowed};
214 impl TitlecaseMapper<CaseMapper> {
228 let cm = CaseMapper::try_new_unstable(provider)?; in try_new_unstable()
234 impl TitlecaseMapper<CaseMapper> {
247 impl<CM: AsRef<CaseMapper>> TitlecaseMapper<CM> {
308 cm: CaseMapper::new(), in new()
316 pub const fn static_to_owned(self) -> TitlecaseMapper<CaseMapper> { in static_to_owned() argument
Dcasemapper.rs40 pub struct CaseMapper { struct
44 impl AsRef<CaseMapper> for CaseMapper { argument
45 fn as_ref(&self) -> &CaseMapper { in as_ref() argument
64 pub const fn static_to_owned(self) -> CaseMapper { in static_to_owned() argument
65 CaseMapper { in static_to_owned()
593 impl CaseMapper { impl
635 pub fn try_new_unstable<P>(provider: &P) -> Result<CaseMapper, DataError> in try_new_unstable() argument
652 let cm = CaseMapper::new(); in test_special_cases()
787 let case_mapping = CaseMapper::new(); in test_cherokee_case_folding()
Dlib.rs62 pub use casemapper::{CaseMapper, CaseMapperBorrowed};
/external/rust/android-crates-io/crates/icu_capi/src/
Dcasemap.rs57 #[diplomat::rust_link(icu::casemap::CaseMapper, Struct)]
59 pub struct CaseMapper(pub icu_casemap::CaseMapper); struct
61 impl CaseMapper { impl
63 #[diplomat::rust_link(icu::casemap::CaseMapper::new, FnInStruct)]
67 pub fn create() -> Box<CaseMapper> { in create()
68 Box::new(CaseMapper(icu_casemap::CaseMapper::new().static_to_owned())) in create()
72 #[diplomat::rust_link(icu::casemap::CaseMapper::new, FnInStruct)]
75 pub fn create_with_provider(provider: &DataProvider) -> Result<Box<CaseMapper>, DataError> { in create_with_provider() argument
76 Ok(Box::new(CaseMapper( in create_with_provider()
77 icu_casemap::CaseMapper::try_new_with_buffer_provider(provider.get()?)?, in create_with_provider()
[all …]
/external/rust/android-crates-io/crates/icu_capi/bindings/js/
DCaseMapper.mjs11 /** See the [Rust documentation for `CaseMapper`](https://docs.rs/icu/latest/icu/casemap/struct.Cas…
17 export class CaseMapper { class
28 console.error("CaseMapper is an Opaque type. You cannot call its constructor.");
50 return new CaseMapper(diplomatRuntime.internalConstructor, result, []);
66 …return new CaseMapper(diplomatRuntime.internalConstructor, diplomatRuntime.ptrRead(wasm, diplomatR…
DCaseMapper.d.ts15 export class CaseMapper { class
19 static createWithProvider(provider: DataProvider): CaseMapper;
Dindex.d.ts63 export { CaseMapper } from "./CaseMapper"
Dindex.mjs61 export { CaseMapper } from "./CaseMapper.mjs"
/external/rust/android-crates-io/crates/icu_casemap/examples/
Dcasemapping.rs9 use icu::casemap::CaseMapper;
13 let cm = CaseMapper::new(); in main()
/external/rust/android-crates-io/crates/icu_casemap/tests/
Dconversions.rs5 use icu_casemap::CaseMapper;
10 let case_mapping = CaseMapper::new(); in test_simple_mappings()
53 let case_mapping = CaseMapper::new(); in test_full_mappings()
197 let cm = CaseMapper::new(); in test_armenian()
239 let cm = CaseMapper::new(); in test_dutch()
352 let cm = CaseMapper::new(); in test_greek_upper()
Dgen_greek_to_me.rs8 use icu_casemap::CaseMapper;
21 let cm = CaseMapper::new(); in main()
/external/rust/android-crates-io/crates/icu_casemap/benches/
Dcasemap.rs6 use icu_casemap::CaseMapper;
18 let casemapper = CaseMapper::new(); in overview_bench()
54 let casemapper = CaseMapper::new(); in greek_uppercasing()
/external/rust/android-crates-io/crates/icu_casemap/
DREADME.md13 use icu::casemap::CaseMapper;
16 let cm = CaseMapper::new();