/external/rust/android-crates-io/crates/icu_capi/bindings/cpp/icu4x/ |
D | CaseMapper.hpp | 25 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 …]
|
D | CaseMapper.d.hpp | 14 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/ |
D | CaseMapper.h | 23 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 …]
|
D | CaseMapper.d.h | 14 typedef struct CaseMapper CaseMapper; typedef
|
/external/rust/android-crates-io/crates/icu_capi/bindings/demo_gen/ |
D | CaseMapper.mjs | 1 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();
|
D | index.mjs | 2 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 …]
|
D | CaseMapper.d.ts | 1 import { CaseMapper } from "icu4x"
|
/external/rust/android-crates-io/crates/icu_casemap/src/ |
D | closer.rs | 7 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
|
D | titlecase.rs | 7 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
|
D | casemapper.rs | 40 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()
|
D | lib.rs | 62 pub use casemapper::{CaseMapper, CaseMapperBorrowed};
|
/external/rust/android-crates-io/crates/icu_capi/src/ |
D | casemap.rs | 57 #[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/ |
D | CaseMapper.mjs | 11 /** 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…
|
D | CaseMapper.d.ts | 15 export class CaseMapper { class 19 static createWithProvider(provider: DataProvider): CaseMapper;
|
D | index.d.ts | 63 export { CaseMapper } from "./CaseMapper"
|
D | index.mjs | 61 export { CaseMapper } from "./CaseMapper.mjs"
|
/external/rust/android-crates-io/crates/icu_casemap/examples/ |
D | casemapping.rs | 9 use icu::casemap::CaseMapper; 13 let cm = CaseMapper::new(); in main()
|
/external/rust/android-crates-io/crates/icu_casemap/tests/ |
D | conversions.rs | 5 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()
|
D | gen_greek_to_me.rs | 8 use icu_casemap::CaseMapper; 21 let cm = CaseMapper::new(); in main()
|
/external/rust/android-crates-io/crates/icu_casemap/benches/ |
D | casemap.rs | 6 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/ |
D | README.md | 13 use icu::casemap::CaseMapper; 16 let cm = CaseMapper::new();
|