/external/rust/android-crates-io/crates/icu_provider/src/ |
D | error.rs | 78 pub struct DataError { struct 80 pub kind: DataErrorKind, argument 92 impl fmt::Display for DataError { argument 113 pub const fn into_error(self) -> DataError { in into_error() 124 pub const fn with_marker(self, marker: DataMarkerInfo) -> DataError { in with_marker() 130 pub const fn with_str_context(self, context: &'static str) -> DataError { in with_str_context() 136 pub fn with_type_context<T>(self) -> DataError { in with_type_context() 142 pub fn with_req(self, marker: DataMarkerInfo, req: DataRequest) -> DataError { in with_req() 147 impl DataError { impl 244 pub(crate) fn for_type<T>() -> DataError { in for_type() [all …]
|
D | data_provider.rs | 19 fn load(&self, req: DataRequest) -> Result<DataResponse<M>, DataError>; in load() argument 28 fn load(&self, req: DataRequest) -> Result<DataResponse<M>, DataError> { in load() argument 40 fn load(&self, req: DataRequest) -> Result<DataResponse<M>, DataError> { in load() argument 52 fn load(&self, req: DataRequest) -> Result<DataResponse<M>, DataError> { in load() argument 65 fn load(&self, req: DataRequest) -> Result<DataResponse<M>, DataError> { in load() argument 80 fn dry_load(&self, req: DataRequest) -> Result<DataResponseMetadata, DataError>; in dry_load() argument 89 fn dry_load(&self, req: DataRequest) -> Result<DataResponseMetadata, DataError> { in dry_load() argument 101 fn dry_load(&self, req: DataRequest) -> Result<DataResponseMetadata, DataError> { in dry_load() argument 113 fn dry_load(&self, req: DataRequest) -> Result<DataResponseMetadata, DataError> { in dry_load() argument 126 fn dry_load(&self, req: DataRequest) -> Result<DataResponseMetadata, DataError> { in dry_load() argument [all …]
|
D | hello_world.rs | 157 fn load(&self, req: DataRequest) -> Result<DataResponse<HelloWorldV1>, DataError> { in load() argument 175 fn dry_load(&self, req: DataRequest) -> Result<DataResponseMetadata, DataError> { in dry_load() argument 219 ) -> Result<DataResponse<BufferMarker>, DataError> { in load_data() argument 239 fn iter_ids(&self) -> Result<BTreeSet<DataIdentifierCow>, DataError> { in iter_ids() argument 298 pub fn try_new(prefs: HelloWorldFormatterPreferences) -> Result<Self, DataError> { in try_new() argument
|
/external/rust/android-crates-io/crates/icu_capi/src/ |
D | properties_sets.rs | 109 ) -> Result<Box<CodePointSetData>, DataError> { in create_general_category_group_with_provider() argument 141 ) -> Result<Box<CodePointSetData>, DataError> { in create_ascii_hex_digit_with_provider() argument 171 ) -> Result<Box<CodePointSetData>, DataError> { in create_alnum_with_provider() argument 201 ) -> Result<Box<CodePointSetData>, DataError> { in create_alphabetic_with_provider() argument 231 ) -> Result<Box<CodePointSetData>, DataError> { in create_bidi_control_with_provider() argument 261 ) -> Result<Box<CodePointSetData>, DataError> { in create_bidi_mirrored_with_provider() argument 291 ) -> Result<Box<CodePointSetData>, DataError> { in create_blank_with_provider() argument 321 ) -> Result<Box<CodePointSetData>, DataError> { in create_cased_with_provider() argument 351 ) -> Result<Box<CodePointSetData>, DataError> { in create_case_ignorable_with_provider() argument 382 ) -> Result<Box<CodePointSetData>, DataError> { in create_full_composition_exclusion_with_provider() argument [all …]
|
D | exemplar_chars.rs | 62 pub fn create_main(locale: &Locale) -> Result<Box<ExemplarCharacters>, DataError> { in create_main() argument 80 ) -> Result<Box<ExemplarCharacters>, DataError> { in create_main_with_provider() argument 102 pub fn create_auxiliary(locale: &Locale) -> Result<Box<ExemplarCharacters>, DataError> { in create_auxiliary() argument 119 ) -> Result<Box<ExemplarCharacters>, DataError> { in create_auxiliary_with_provider() argument 141 pub fn create_punctuation(locale: &Locale) -> Result<Box<ExemplarCharacters>, DataError> { in create_punctuation() argument 158 ) -> Result<Box<ExemplarCharacters>, DataError> { in create_punctuation_with_provider() argument 180 pub fn create_numbers(locale: &Locale) -> Result<Box<ExemplarCharacters>, DataError> { in create_numbers() argument 198 ) -> Result<Box<ExemplarCharacters>, DataError> { in create_numbers_with_provider() argument 220 pub fn create_index(locale: &Locale) -> Result<Box<ExemplarCharacters>, DataError> { in create_index() argument 238 ) -> Result<Box<ExemplarCharacters>, DataError> { in create_index_with_provider() argument
|
D | provider.rs | 30 ) -> Result<&(dyn icu_provider::buf::BufferProvider + 'static), icu_provider::DataError> in get() 48 icu_provider::DataError, in get_unstable() 64 pub fn from_fs(path: &DiplomatStr) -> Result<Box<DataProvider>, DataError> { in from_fs() argument 81 ) -> Result<Box<DataProvider>, DataError> { in from_byte_slice() argument 97 pub fn fork_by_key(&mut self, other: &mut DataProvider) -> Result<(), DataError> { in fork_by_key() argument 114 pub fn fork_by_locale(&mut self, other: &mut DataProvider) -> Result<(), DataError> { in fork_by_locale() argument 144 ) -> Result<(), DataError> { in enable_locale_fallback_with() argument
|
D | properties_names.rs | 85 ) -> Result<Box<PropertyValueNameToEnumMapper>, DataError> { in create_general_category_with_provider() argument 110 ) -> Result<Box<PropertyValueNameToEnumMapper>, DataError> { in create_hangul_syllable_type_with_provider() argument 135 ) -> Result<Box<PropertyValueNameToEnumMapper>, DataError> { in create_east_asian_width_with_provider() argument 161 ) -> Result<Box<PropertyValueNameToEnumMapper>, DataError> { in create_bidi_class_with_provider() argument 180 ) -> Result<Box<PropertyValueNameToEnumMapper>, DataError> { in create_indic_syllabic_category_with_provider() argument 209 ) -> Result<Box<PropertyValueNameToEnumMapper>, DataError> { in create_line_break_with_provider() argument 234 ) -> Result<Box<PropertyValueNameToEnumMapper>, DataError> { in create_grapheme_cluster_break_with_provider() argument 263 ) -> Result<Box<PropertyValueNameToEnumMapper>, DataError> { in create_word_break_with_provider() argument 286 ) -> Result<Box<PropertyValueNameToEnumMapper>, DataError> { in create_sentence_break_with_provider() argument 312 ) -> Result<Box<PropertyValueNameToEnumMapper>, DataError> { in create_script_with_provider() argument [all …]
|
D | properties_maps.rs | 138 ) -> Result<Box<CodePointMapData8>, DataError> { in create_general_category_with_provider() argument 160 ) -> Result<Box<CodePointMapData8>, DataError> { in create_bidi_class_with_provider() argument 181 ) -> Result<Box<CodePointMapData8>, DataError> { in create_east_asian_width_with_provider() argument 203 ) -> Result<Box<CodePointMapData8>, DataError> { in create_hangul_syllable_type_with_provider() argument 225 ) -> Result<Box<CodePointMapData8>, DataError> { in create_indic_syllabic_category_with_provider() argument 245 ) -> Result<Box<CodePointMapData8>, DataError> { in create_line_break_with_provider() argument 267 ) -> Result<Box<CodePointMapData8>, DataError> { in create_grapheme_cluster_break_with_provider() argument 287 ) -> Result<Box<CodePointMapData8>, DataError> { in create_word_break_with_provider() argument 307 ) -> Result<Box<CodePointMapData8>, DataError> { in create_sentence_break_with_provider() argument 328 ) -> Result<Box<CodePointMapData8>, DataError> { in create_joining_type_with_provider() argument [all …]
|
D | list.rs | 52 ) -> Result<Box<ListFormatter>, DataError> { in create_and_with_length() argument 68 ) -> Result<Box<ListFormatter>, DataError> { in create_and_with_length_and_provider() argument 88 ) -> Result<Box<ListFormatter>, DataError> { in create_or_with_length() argument 104 ) -> Result<Box<ListFormatter>, DataError> { in create_or_with_length_and_provider() argument 123 ) -> Result<Box<ListFormatter>, DataError> { in create_unit_with_length() argument 139 ) -> Result<Box<ListFormatter>, DataError> { in create_unit_with_length_and_provider() argument
|
D | locale.rs | 43 ) -> Result<Box<LocaleCanonicalizer>, DataError> { in create_common_with_provider() argument 70 ) -> Result<Box<LocaleCanonicalizer>, DataError> { in create_extended_with_provider() argument 102 ) -> Result<Box<LocaleExpander>, DataError> { in create_common_with_provider() argument 120 ) -> Result<Box<LocaleExpander>, DataError> { in create_extended_with_provider() argument
|
D | decimal.rs | 46 ) -> Result<Box<DecimalFormatter>, DataError> { in create_with_grouping_strategy() argument 65 ) -> Result<Box<DecimalFormatter>, DataError> { in create_with_grouping_strategy_and_provider() argument 94 ) -> Result<Box<DecimalFormatter>, DataError> { in create_with_manual_data() argument 149 ) -> Result<icu_provider::DataResponse<DecimalSymbolsV2>, icu_provider::DataError> in create_with_manual_data() 167 ) -> Result<icu_provider::DataResponse<DecimalDigitsV1>, icu_provider::DataError> in create_with_manual_data()
|
D | segmenter_word.rs | 87 ) -> Result<Box<WordSegmenter>, DataError> { in create_auto_with_content_locale() argument 104 ) -> Result<Box<WordSegmenter>, DataError> { in create_auto_with_content_locale_and_provider() argument 137 ) -> Result<Box<WordSegmenter>, DataError> { in create_lstm_with_content_locale() argument 154 ) -> Result<Box<WordSegmenter>, DataError> { in create_lstm_with_content_locale_and_provider() argument 187 ) -> Result<Box<WordSegmenter>, DataError> { in create_dictionary_with_content_locale() argument 204 ) -> Result<Box<WordSegmenter>, DataError> { in create_dictionary_with_content_locale_and_provider() argument
|
D | calendar.rs | 110 pub fn create_for_locale(locale: &Locale) -> Result<Box<Calendar>, DataError> { in create_for_locale() argument 121 pub fn create_for_kind(kind: AnyCalendarKind) -> Result<Box<Calendar>, DataError> { in create_for_kind() argument 135 ) -> Result<Box<Calendar>, DataError> { in create_for_locale_with_provider() argument 150 ) -> Result<Box<Calendar>, DataError> { in create_for_kind_with_provider() argument
|
D | normalizer.rs | 46 ) -> Result<Box<ComposingNormalizer>, DataError> { in create_nfc_with_provider() argument 78 ) -> Result<Box<ComposingNormalizer>, DataError> { in create_nfkc_with_provider() argument 218 ) -> Result<Box<DecomposingNormalizer>, DataError> { in create_nfd_with_provider() argument 252 ) -> Result<Box<DecomposingNormalizer>, DataError> { in create_nfkd_with_provider() argument
|
D | pluralrules.rs | 54 pub fn create_cardinal(locale: &Locale) -> Result<Box<PluralRules>, DataError> { in create_cardinal() argument 69 ) -> Result<Box<PluralRules>, DataError> { in create_cardinal_with_provider() argument 84 pub fn create_ordinal(locale: &Locale) -> Result<Box<PluralRules>, DataError> { in create_ordinal() argument 99 ) -> Result<Box<PluralRules>, DataError> { in create_ordinal_with_provider() argument
|
D | normalizer_properties.rs | 59 ) -> Result<Box<CanonicalCombiningClassMap>, DataError> { in create_with_provider() argument 132 ) -> Result<Box<CanonicalComposition>, DataError> { in create_with_provider() argument 204 ) -> Result<Box<CanonicalDecomposition>, DataError> { in create_with_provider() argument
|
/external/rust/android-crates-io/crates/icu_provider/src/export/ |
D | mod.rs | 27 ) -> Result<(), DataError>; in put_payload() argument 37 ) -> Result<(), DataError> { in flush_singleton() argument 45 fn flush(&self, _marker: DataMarkerInfo, _metadata: FlushMetadata) -> Result<(), DataError> { in flush() argument 52 fn close(&mut self) -> Result<ExporterCloseMetadata, DataError> { in close() argument 79 ) -> Result<(), DataError> { in put_payload() argument 88 ) -> Result<(), DataError> { in flush_singleton() argument 92 fn flush(&self, marker: DataMarkerInfo, metadata: FlushMetadata) -> Result<(), DataError> { in flush() argument 96 fn close(&mut self) -> Result<ExporterCloseMetadata, DataError> { in close() argument 182 ) -> Result<(), DataError> { in put_payload() argument 193 ) -> Result<(), DataError> { in flush_singleton() argument [all …]
|
/external/rust/android-crates-io/crates/icu_provider_adapters/src/ |
D | either.rs | 33 ) -> Result<DataResponse<M>, DataError> { in load_data() argument 50 ) -> Result<DataResponseMetadata, DataError> { in dry_load_data() argument 63 fn load(&self, req: DataRequest) -> Result<DataResponse<M>, DataError> { in load() argument 76 fn dry_load(&self, req: DataRequest) -> Result<DataResponseMetadata, DataError> { in dry_load() argument 95 ) -> Result<BTreeSet<DataIdentifierCow>, DataError> { in iter_ids_for_marker() argument 108 fn iter_ids(&self) -> Result<BTreeSet<DataIdentifierCow>, DataError> { in iter_ids() argument
|
D | empty.rs | 68 ) -> Result<DataResponse<M>, DataError> { in load_data() argument 77 fn load(&self, base_req: DataRequest) -> Result<DataResponse<M>, DataError> { in load() argument 86 fn iter_ids(&self) -> Result<BTreeSet<DataIdentifierCow>, DataError> { in iter_ids() argument 98 ) -> Result<BTreeSet<DataIdentifierCow>, DataError> { in iter_ids_for_marker() argument
|
/external/rust/android-crates-io/crates/icu_provider_adapters/src/filter/ |
D | mod.rs | 59 fn check(&self, marker: DataMarkerInfo, req: DataRequest) -> Result<(), DataError> { in check() argument 79 ) -> Result<DataResponse<M>, DataError> { in load_data() argument 95 ) -> Result<DataResponseMetadata, DataError> { in dry_load_data() argument 107 fn load(&self, req: DataRequest) -> Result<DataResponse<M>, DataError> { in load() argument 119 fn dry_load(&self, req: DataRequest) -> Result<DataResponseMetadata, DataError> { in dry_load() argument 134 ) -> Result<BTreeSet<DataIdentifierCow>, DataError> { in iter_ids_for_marker() argument 150 fn iter_ids(&self) -> Result<BTreeSet<DataIdentifierCow>, DataError> { in iter_ids() argument
|
/external/rust/android-crates-io/crates/icu_provider/src/buf/ |
D | serde.rs | 159 ) -> Result<DataResponse<M>, DataError> { in load_data() argument 186 ) -> Result<DataResponseMetadata, DataError> { in dry_load_data() argument 205 fn load(&self, req: DataRequest) -> Result<DataResponse<M>, DataError> { in load() argument 216 fn dry_load(&self, req: DataRequest) -> Result<DataResponseMetadata, DataError> { in dry_load() argument 222 impl From<serde_json::error::Error> for crate::DataError { implementation 231 impl From<bincode::Error> for crate::DataError { implementation 240 impl From<postcard::Error> for crate::DataError { implementation
|
/external/rust/android-crates-io/crates/icu_provider_adapters/src/fallback/ |
D | mod.rs | 145 ) -> Result<R, DataError> in run_fallback() argument 200 ) -> Result<DataResponse<M>, DataError> { in load_data() argument 219 ) -> Result<DataResponseMetadata, DataError> { in dry_load_data() argument 234 fn load(&self, req: DataRequest) -> Result<DataResponse<M>, DataError> { in load() argument 249 fn dry_load(&self, req: DataRequest) -> Result<DataResponseMetadata, DataError> { in dry_load() argument 260 fn load(&self, _: DataRequest) -> Result<DataResponse<HelloWorldV1>, DataError> { in dry_test() argument 266 fn dry_load(&self, req: DataRequest) -> Result<DataResponseMetadata, DataError> { in dry_test() argument
|
/external/rust/android-crates-io/crates/icu_provider_adapters/src/fork/ |
D | by_error.rs | 53 fn load(&self, req: DataRequest) -> Result<DataResponse<M>, DataError> { in load() argument 71 fn dry_load(&self, req: DataRequest) -> Result<DataResponseMetadata, DataError> { in dry_load() argument 93 ) -> Result<DataResponse<M>, DataError> { in load_data() argument 115 ) -> Result<DataResponseMetadata, DataError> { in dry_load_data() argument 136 ) -> Result<BTreeSet<DataIdentifierCow>, DataError> { in iter_ids_for_marker() argument 213 fn load(&self, req: DataRequest) -> Result<DataResponse<M>, DataError> { in load() argument 233 fn dry_load(&self, req: DataRequest) -> Result<DataResponseMetadata, DataError> { in dry_load() argument 257 ) -> Result<DataResponse<M>, DataError> { in load_data() argument 281 ) -> Result<DataResponseMetadata, DataError> { in dry_load_data() argument 304 ) -> Result<BTreeSet<DataIdentifierCow>, DataError> { in iter_ids_for_marker() argument
|
/external/rust/android-crates-io/crates/icu_capi/bindings/cpp/icu4x/ |
D | DataError.d.hpp | 16 enum DataError { enum 33 class DataError { class 49 constexpr DataError(Value v) : value(v) {} in DataError() function in icu4x::DataError
|
/external/rust/android-crates-io/crates/icu_provider_baked/src/ |
D | export.rs | 195 pub fn new(mod_directory: PathBuf, options: Options) -> Result<Self, DataError> { in new() argument 223 fn write_to_file(&self, relative_path: &Path, data: TokenStream) -> Result<(), DataError> { in write_to_file() argument 297 ) -> Result<(), DataError> { in write_impl_macros() argument 401 ) -> Result<(), DataError> { in put_payload() argument 418 ) -> Result<(), DataError> { in flush_singleton() argument 515 fn flush(&self, marker: DataMarkerInfo, metadata: FlushMetadata) -> Result<(), DataError> { in flush() argument 692 fn close(&mut self) -> Result<ExporterCloseMetadata, DataError> { in close() argument
|