Home
last modified time | relevance | path

Searched defs:JvmError (Results 1 – 4 of 4) sorted by relevance

/aosp_15_r20/external/rust/android-crates-io/crates/jni/src/wrapper/java_vm/init_args/
Dchar_encoding_windows.rs35 ) -> Result<Cow<'static, CStr>, JvmError> { in str_to_cstr_win32() argument
44 fn convert_error(s: Cow<str>) -> JvmError { in str_to_cstr_win32()
188 ) -> Result<Cow<'a, CStr>, JvmError> { in str_to_cstr_win32_default_codepage() argument
298 fn check_and_clear_error_opt_string(expected_opt_string: &str, error: &mut JvmError) { in test_overflow()
311 result: Result<Cow<'static, CStr>, JvmError>, in test_overflow() argument
325 result: Result<Cow<'static, CStr>, JvmError>, in test_overflow() argument
338 result: Result<Cow<'static, CStr>, JvmError>, in test_overflow() argument
Dchar_encoding_generic.rs23 ) -> Result<Cow<'a, CStr>, JvmError> { in bytes_to_cstr() argument
79 pub(super) fn utf8_to_cstr<'a>(s: Cow<'a, str>) -> Result<Cow<'a, CStr>, JvmError> { in utf8_to_cstr() argument
/aosp_15_r20/external/rust/android-crates-io/crates/jni/src/wrapper/java_vm/
Dinit_args.rs21 pub enum JvmError { enum
78 impl JvmError { implementation
203 pub fn try_option(&mut self, opt_string: impl Into<Cow<'a, str>>) -> Result<(), JvmError> { in try_option() argument
308 pub fn build(self) -> Result<InitArgs<'a>, JvmError> { in build() argument
335 pub fn options(&self) -> Result<&[Cow<'a, CStr>], &JvmError> { in options()
/aosp_15_r20/external/rust/android-crates-io/extra_versions/crates/jni/src/wrapper/java_vm/
Dinit_args.rs13 pub enum JvmError { enum
88 pub fn build(self) -> Result<InitArgs, JvmError> { in build() argument