Home
last modified time | relevance | path

Searched refs:OsError (Results 1 – 25 of 132) sorted by relevance

123456

/dports/games/abstreet/winit-a87ae2661263ff241e8868cbf3ce65aab205863a/src/
H A Derror.rs11 Os(OsError),
22 pub struct OsError { struct
25 error: platform_impl::OsError, argument
36 impl OsError { impl
38 pub(crate) fn new(line: u32, file: &'static str, error: platform_impl::OsError) -> OsError { in new() argument
39 OsError { line, file, error } in new()
46 crate::error::OsError::new(line!(), file!(), $error)
50 impl fmt::Display for OsError { implementation
80 impl error::Error for OsError {} implementation
/dports/x11/alacritty/alacritty-0.9.0/cargo-crates/winit-0.24.0/src/
H A Derror.rs11 Os(OsError),
22 pub struct OsError { struct
25 error: platform_impl::OsError, argument
36 impl OsError { impl
38 pub(crate) fn new(line: u32, file: &'static str, error: platform_impl::OsError) -> OsError { in new() argument
39 OsError { line, file, error } in new()
46 crate::error::OsError::new(line!(), file!(), $error)
50 impl fmt::Display for OsError { implementation
80 impl error::Error for OsError {} implementation
/dports/games/abstreet/winit-a87ae2661263ff241e8868cbf3ce65aab205863a/src/platform_impl/macos/
H A Dmod.rs25 error::OsError as RootOsError, event::DeviceId as RootDeviceId, window::WindowAttributes,
49 pub enum OsError { enum
76 impl fmt::Display for OsError { implementation
79 OsError::CGError(e) => f.pad(&format!("CGError {}", e)), in fmt()
80 OsError::CreationError(e) => f.pad(e), in fmt()
/dports/x11/alacritty/alacritty-0.9.0/cargo-crates/winit-0.24.0/src/platform_impl/macos/
H A Dmod.rs25 error::OsError as RootOsError, event::DeviceId as RootDeviceId, window::WindowAttributes,
49 pub enum OsError { enum
76 impl fmt::Display for OsError { implementation
79 OsError::CGError(e) => f.pad(&format!("CGError {}", e)), in fmt()
80 OsError::CreationError(e) => f.pad(e), in fmt()
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/cargo-crates/glutin-0.24.1/src/
H A Dlib.rs108 use winit::error::OsError;
301 OsError(String), enumerator
308 Window(OsError),
336 CreationError::OsError(ref text) in to_string()
392 impl From<OsError> for CreationError {
393 fn from(err: OsError) -> Self { in from()
404 OsError(String), enumerator
414 ContextError::OsError(ref string) => string, in to_string()
/dports/x11/alacritty/alacritty-0.9.0/cargo-crates/glutin-0.26.0/src/
H A Dlib.rs108 use winit::error::OsError;
295 OsError(String), enumerator
302 Window(OsError),
328 CreationError::OsError(ref text) | CreationError::NotSupported(ref text) => &text, in to_string()
378 impl From<OsError> for CreationError {
379 fn from(err: OsError) -> Self { in from()
390 OsError(String), enumerator
400 ContextError::OsError(ref string) => string, in to_string()
/dports/games/abstreet/winit-a87ae2661263ff241e8868cbf3ce65aab205863a/src/platform_impl/web/
H A Derror.rs4 pub struct OsError(pub String); struct
6 impl fmt::Display for OsError { implementation
/dports/x11/alacritty/alacritty-0.9.0/cargo-crates/winit-0.24.0/src/platform_impl/web/
H A Derror.rs4 pub struct OsError(pub String); struct
6 impl fmt::Display for OsError { implementation
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/cargo-crates/glutin-0.24.1/src/platform_impl/emscripten/
H A Dmod.rs62 return Err(CreationError::OsError(format!( in new_windowed()
116 err => Err(ContextError::OsError(format!( in make_current()
128 err => Err(ContextError::OsError(format!( in make_not_current()
168 Err(ContextError::OsError( in swap_buffers_with_damage()
/dports/x11/alacritty/alacritty-0.9.0/cargo-crates/glutin-0.26.0/src/platform_impl/emscripten/
H A Dmod.rs53 return Err(CreationError::OsError(format!( in new_windowed()
105 err => Err(ContextError::OsError(format!( in make_current()
117 err => Err(ContextError::OsError(format!( in make_not_current()
153 Err(ContextError::OsError("buffer damage not suported".to_string())) in swap_buffers_with_damage()
/dports/shells/ion/ion-a8872014dbce730ccd00aaa722397dc394a52bf4/cargo-crates/glutin-0.21.0/src/api/wgl/
H A Dmod.rs85 let err = Err(CreationError::OsError(format!( in new()
167 return Err(CreationError::OsError( in new()
452 return Err(CreationError::OsError(format!( in create_context()
460 return Err(CreationError::OsError(format!( in create_context()
851 return Err(CreationError::OsError(format!( in set_pixel_format()
858 return Err(CreationError::OsError(format!( in set_pixel_format()
877 return Err(CreationError::OsError(format!( in load_opengl32_dll()
913 return Err(CreationError::OsError(format!( in load_extra_functions()
924 return Err(CreationError::OsError(format!( in load_extra_functions()
969 return Err(CreationError::OsError(format!( in load_extra_functions()
[all …]
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/cargo-crates/glutin-0.24.1/src/api/wgl/
H A Dmod.rs85 let err = Err(CreationError::OsError(format!( in new()
167 return Err(CreationError::OsError( in new()
452 return Err(CreationError::OsError(format!( in create_context()
460 return Err(CreationError::OsError(format!( in create_context()
847 return Err(CreationError::OsError(format!( in set_pixel_format()
854 return Err(CreationError::OsError(format!( in set_pixel_format()
873 return Err(CreationError::OsError(format!( in load_opengl32_dll()
909 return Err(CreationError::OsError(format!( in load_extra_functions()
920 return Err(CreationError::OsError(format!( in load_extra_functions()
965 return Err(CreationError::OsError(format!( in load_extra_functions()
[all …]
/dports/games/dose-response/dose-response-179c326/cargo-crates/glutin-0.21.0/src/api/wgl/
H A Dmod.rs85 let err = Err(CreationError::OsError(format!( in new()
167 return Err(CreationError::OsError( in new()
452 return Err(CreationError::OsError(format!( in create_context()
460 return Err(CreationError::OsError(format!( in create_context()
851 return Err(CreationError::OsError(format!( in set_pixel_format()
858 return Err(CreationError::OsError(format!( in set_pixel_format()
877 return Err(CreationError::OsError(format!( in load_opengl32_dll()
913 return Err(CreationError::OsError(format!( in load_extra_functions()
924 return Err(CreationError::OsError(format!( in load_extra_functions()
969 return Err(CreationError::OsError(format!( in load_extra_functions()
[all …]
/dports/x11/alacritty/alacritty-0.9.0/cargo-crates/glutin-0.26.0/src/api/wgl/
H A Dmod.rs85 let err = Err(CreationError::OsError(format!( in new()
359 return Err(CreationError::OsError(format!( in create_context()
373 return Err(CreationError::OsError(format!( in create_context()
381 return Err(CreationError::OsError(format!( in create_context()
727 return Err(CreationError::OsError(format!( in set_pixel_format()
734 return Err(CreationError::OsError(format!( in set_pixel_format()
751 return Err(CreationError::OsError(format!( in load_opengl32_dll()
782 return Err(CreationError::OsError(format!( in load_extra_functions()
793 return Err(CreationError::OsError(format!( in load_extra_functions()
836 return Err(CreationError::OsError(format!( in load_extra_functions()
[all …]
/dports/databases/couchdb3/apache-couchdb-3.2.1/src/couch/src/
H A Dcouch_os_process.erl203 throw:{error, OsError} ->
204 {reply, OsError, OsProc, Idle};
205 throw:{fatal, OsError} ->
206 {stop, normal, OsError, OsProc};
218 throw:OsError ->
219 couch_log:error("Failed sending data: ~p -> ~p", [Data, OsError]),
/dports/games/abstreet/winit-a87ae2661263ff241e8868cbf3ce65aab205863a/src/platform_impl/web/stdweb/
H A Dcanvas.rs3 use crate::error::OsError as RootOE;
5 use crate::platform_impl::{OsError, PlatformSpecificWindowBuilderAttributes};
52 .map_err(|_| os_error!(OsError("Failed to create canvas element".to_owned())))? in create()
54 .map_err(|_| os_error!(OsError("Failed to create canvas element".to_owned())))?, in create()
64 .map_err(|_| os_error!(OsError("Failed to set a tabindex".to_owned())))?; in create()
/dports/lang/swi-pl/swipl-8.2.3/packages/xpce/src/unx/
H A Dprocess.c130 #define OsError() getOsErrorPce(PCE) macro
549 strName(OsError())); in openProcess()
577 Cprintf("[PCE: setsid() failed: %s]\n", strName(OsError())); in openProcess()
592 { Cprintf("[PCE: failed to get slave pty: %s]\n", strName(OsError())); in openProcess()
633 strName(p->name), strName(OsError())); in openProcess()
655 return errorPce(p, NAME_noPipe, OsError()); in openProcess()
659 return errorPce(p, NAME_noPipe, OsError()); in openProcess()
694 strName(p->name), strName(OsError())); in openProcess()
1046 { errorPce(p, NAME_openTty, CtoName("/dev/tty"), OsError()); in copyTty()
1050 { errorPce(p, NAME_ioctlGet, CtoName("/dev/tty"), OsError()); in copyTty()
[all …]
/dports/games/abstreet/winit-a87ae2661263ff241e8868cbf3ce65aab205863a/src/platform_impl/web/web_sys/
H A Dcanvas.rs3 use crate::error::OsError as RootOE;
5 use crate::platform_impl::{OsError, PlatformSpecificWindowBuilderAttributes};
53 .ok_or(os_error!(OsError("Failed to obtain window".to_owned())))?; in create()
57 .ok_or(os_error!(OsError("Failed to obtain document".to_owned())))?; in create()
61 .map_err(|_| os_error!(OsError("Failed to create canvas element".to_owned())))? in create()
73 .map_err(|_| os_error!(OsError("Failed to set a tabindex".to_owned())))?; in create()
/dports/x11/alacritty/alacritty-0.9.0/cargo-crates/winit-0.24.0/src/platform_impl/web/web_sys/
H A Dcanvas.rs5 use crate::error::OsError as RootOE;
7 use crate::platform_impl::{OsError, PlatformSpecificWindowBuilderAttributes};
46 .ok_or(os_error!(OsError("Failed to obtain window".to_owned())))?; in create()
50 .ok_or(os_error!(OsError("Failed to obtain document".to_owned())))?; in create()
54 .map_err(|_| os_error!(OsError("Failed to create canvas element".to_owned())))? in create()
66 .map_err(|_| os_error!(OsError("Failed to set a tabindex".to_owned())))?; in create()
/dports/x11/alacritty/alacritty-0.9.0/cargo-crates/winit-0.24.0/src/platform_impl/web/stdweb/
H A Dcanvas.rs3 use crate::error::OsError as RootOE;
5 use crate::platform_impl::{OsError, PlatformSpecificWindowBuilderAttributes};
44 .map_err(|_| os_error!(OsError("Failed to create canvas element".to_owned())))? in create()
46 .map_err(|_| os_error!(OsError("Failed to create canvas element".to_owned())))?, in create()
56 .map_err(|_| os_error!(OsError("Failed to set a tabindex".to_owned())))?; in create()
/dports/games/abstreet/winit-a87ae2661263ff241e8868cbf3ce65aab205863a/src/platform_impl/ios/
H A Dmod.rs105 pub enum OsError {} enum
107 impl fmt::Display for OsError { implementation
/dports/x11/alacritty/alacritty-0.9.0/cargo-crates/winit-0.24.0/src/platform_impl/ios/
H A Dmod.rs105 pub enum OsError {} enum
107 impl fmt::Display for OsError { implementation
/dports/shells/ion/ion-a8872014dbce730ccd00aaa722397dc394a52bf4/cargo-crates/glutin-0.21.0/src/platform/emscripten/
H A Dmod.rs57 return Err(CreationError::OsError(format!( in new_windowed()
111 err => Err(ContextError::OsError(format!( in make_current()
123 err => Err(ContextError::OsError(format!( in make_not_current()
/dports/games/dose-response/dose-response-179c326/cargo-crates/glutin-0.21.0/src/platform/emscripten/
H A Dmod.rs57 return Err(CreationError::OsError(format!( in new_windowed()
111 err => Err(ContextError::OsError(format!( in make_current()
123 err => Err(ContextError::OsError(format!( in make_not_current()
/dports/shells/ion/ion-a8872014dbce730ccd00aaa722397dc394a52bf4/cargo-crates/winit-0.19.1/src/platform/emscripten/
H A Dmod.rs386 return Err(::CreationError::OsError("Cannot create another window".to_owned())); in new()
404 .map_err(|e| ::CreationError::OsError(format!("emscripten error: {}", e)))?; in new()
406 .map_err(|e| ::CreationError::OsError(format!("emscripten error: {}", e)))?; in new()
408 .map_err(|e| ::CreationError::OsError(format!("emscripten error: {}", e)))?; in new()
410 .map_err(|e| ::CreationError::OsError(format!("emscripten error: {}", e)))?; in new()
412 .map_err(|e| ::CreationError::OsError(format!("emscripten error: {}", e)))?; in new()
414 .map_err(|e| ::CreationError::OsError(format!("emscripten error: {}", e)))?; in new()
416 .map_err(|e| ::CreationError::OsError(format!("emscripten error: {}", e)))?; in new()
418 .map_err(|e| ::CreationError::OsError(format!("emscripten error: {}", e)))?; in new()
426 .map_err(|e| ::CreationError::OsError(e))?; in new()
[all …]

123456