Home
last modified time | relevance | path

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

/dports/lang/spidermonkey78/firefox-78.9.0/third_party/rust/ffi-support/src/
H A Dlib.rs186 pub fn call_with_result<R, E, F>(out_error: &mut ExternError, callback: F) -> R::Value in call_with_result() function
214 call_with_result(out_error, || -> Result<_, ExternError> { Ok(callback()) }) in call_with_output()
275 pub fn call_with_result<R, E, F>(out_error: &mut ExternError, callback: F) -> R::Value in call_with_result() function
H A Dhandle_map.rs940 use crate::call_with_result; in call_with_result_mut()
941 call_with_result(out_error, || -> Result<_, ExternError> { in call_with_result_mut()
953 pub fn call_with_result<R, E, F>( in call_with_result() method
978 self.call_with_result(out_error, h, |r| -> Result<_, HandleError> { in call_with_output()
1007 use crate::call_with_result; in insert_with_result()
1008 call_with_result(out_error, || -> Result<_, ExternError> { in insert_with_result()
1259 crate::call_with_result(&mut e, || map.delete_u64(h)); in test_panicking_drop()
H A Dmacros.rs325 $crate::call_with_result(err, || {
/dports/www/firefox/firefox-99.0/third_party/rust/ffi-support/src/
H A Dlib.rs186 pub fn call_with_result<R, E, F>(out_error: &mut ExternError, callback: F) -> R::Value in call_with_result() function
214 call_with_result(out_error, || -> Result<_, ExternError> { Ok(callback()) }) in call_with_output()
275 pub fn call_with_result<R, E, F>(out_error: &mut ExternError, callback: F) -> R::Value in call_with_result() function
H A Dhandle_map.rs942 use crate::call_with_result; in call_with_result_mut()
943 call_with_result(out_error, || -> Result<_, ExternError> { in call_with_result_mut()
957 pub fn call_with_result<R, E, F>( in call_with_result() method
984 self.call_with_result(out_error, h, |r| -> Result<_, HandleError> { in call_with_output()
1015 use crate::call_with_result; in insert_with_result()
1016 call_with_result(out_error, || -> Result<_, ExternError> { in insert_with_result()
1202 crate::call_with_result(&mut e, || map.delete_u64(h)); in test_panicking_drop()
H A Dmacros.rs329 $crate::call_with_result(err, || {
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/rust/ffi-support/src/
H A Dlib.rs186 pub fn call_with_result<R, E, F>(out_error: &mut ExternError, callback: F) -> R::Value in call_with_result() function
214 call_with_result(out_error, || -> Result<_, ExternError> { Ok(callback()) }) in call_with_output()
275 pub fn call_with_result<R, E, F>(out_error: &mut ExternError, callback: F) -> R::Value in call_with_result() function
H A Dhandle_map.rs942 use crate::call_with_result; in call_with_result_mut()
943 call_with_result(out_error, || -> Result<_, ExternError> { in call_with_result_mut()
957 pub fn call_with_result<R, E, F>( in call_with_result() method
984 self.call_with_result(out_error, h, |r| -> Result<_, HandleError> { in call_with_output()
1015 use crate::call_with_result; in insert_with_result()
1016 call_with_result(out_error, || -> Result<_, ExternError> { in insert_with_result()
1202 crate::call_with_result(&mut e, || map.delete_u64(h)); in test_panicking_drop()
H A Dmacros.rs329 $crate::call_with_result(err, || {
/dports/www/firefox-esr/firefox-91.8.0/third_party/rust/ffi-support/src/
H A Dlib.rs186 pub fn call_with_result<R, E, F>(out_error: &mut ExternError, callback: F) -> R::Value in call_with_result() function
214 call_with_result(out_error, || -> Result<_, ExternError> { Ok(callback()) }) in call_with_output()
275 pub fn call_with_result<R, E, F>(out_error: &mut ExternError, callback: F) -> R::Value in call_with_result() function
H A Dhandle_map.rs942 use crate::call_with_result; in call_with_result_mut()
943 call_with_result(out_error, || -> Result<_, ExternError> { in call_with_result_mut()
957 pub fn call_with_result<R, E, F>( in call_with_result() method
984 self.call_with_result(out_error, h, |r| -> Result<_, HandleError> { in call_with_output()
1015 use crate::call_with_result; in insert_with_result()
1016 call_with_result(out_error, || -> Result<_, ExternError> { in insert_with_result()
1202 crate::call_with_result(&mut e, || map.delete_u64(h)); in test_panicking_drop()
H A Dmacros.rs329 $crate::call_with_result(err, || {
/dports/www/firefox/firefox-99.0/third_party/rust/glean-ffi/src/
H A Dhandlemap_ext.rs28 let res = ffi_support::abort_on_panic::call_with_result(&mut error, callback); in handle_result()
146 let res = self.call_with_result(&mut error, h, callback); in call_with_log()
H A Dmacros.rs7 let res = ffi_support::abort_on_panic::call_with_result(&mut error, || {
H A Dlib.rs75 ffi_support::abort_on_panic::call_with_result( in with_glean()
103 ffi_support::abort_on_panic::call_with_result( in with_glean_mut()
/dports/lang/yap/yap-6.2.2/packages/plunit/
H A Dtest_cover.pl105 call_with_result(Goal, Result),
109 %% call_with_result(:Goal, -Result) is det.
114 call_with_result(Goal, Result) :-