Home
last modified time | relevance | path

Searched refs:CreationError (Results 1 – 25 of 266) sorted by relevance

1234567891011

/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/cargo-crates/glutin-0.24.1/src/
H A Dlib.rs300 pub enum CreationError { enum
310 CreationErrors(Vec<Box<CreationError>>),
313 impl CreationError { impl
325 CreationError::CreationErrors(errs) in append()
327 _ => CreationError::CreationErrors(vec![ in append()
336 CreationError::OsError(ref text) in to_string()
349 CreationError::Window(ref err) => { in to_string()
357 impl std::fmt::Display for CreationError { implementation
378 impl std::error::Error for CreationError { implementation
392 impl From<OsError> for CreationError { implementation
[all …]
/dports/x11/alacritty/alacritty-0.9.0/cargo-crates/glutin-0.26.0/src/
H A Dlib.rs294 pub enum CreationError { enum
304 CreationErrors(Vec<Box<CreationError>>),
307 impl CreationError { implementation
320 CreationError::CreationErrors(errs) in append()
328 CreationError::OsError(ref text) | CreationError::NotSupported(ref text) => &text, in to_string()
330 CreationError::RobustnessNotSupported => { in to_string()
336 CreationError::NoAvailablePixelFormat => { in to_string()
346 impl std::fmt::Display for CreationError { implementation
364 impl std::error::Error for CreationError { implementation
378 impl From<OsError> for CreationError { implementation
[all …]
/dports/shells/ion/ion-a8872014dbce730ccd00aaa722397dc394a52bf4/cargo-crates/glutin-0.21.0/src/
H A Dlib.rs323 pub enum CreationError { enum
333 CreationErrors(Vec<Box<CreationError>>),
336 impl CreationError { impl
348 CreationError::CreationErrors(errs) in append()
350 _ => CreationError::CreationErrors(vec![ in append()
359 CreationError::OsError(ref text) in to_string()
372 CreationError::Window(ref err) => { in to_string()
380 impl std::fmt::Display for CreationError { implementation
401 impl std::error::Error for CreationError { implementation
415 impl From<WindowCreationError> for CreationError { implementation
[all …]
/dports/games/dose-response/dose-response-179c326/cargo-crates/glutin-0.21.0/src/
H A Dlib.rs323 pub enum CreationError { enum
333 CreationErrors(Vec<Box<CreationError>>),
336 impl CreationError { impl
348 CreationError::CreationErrors(errs) in append()
350 _ => CreationError::CreationErrors(vec![ in append()
359 CreationError::OsError(ref text) in to_string()
372 CreationError::Window(ref err) => { in to_string()
380 impl std::fmt::Display for CreationError { implementation
401 impl std::error::Error for CreationError { implementation
415 impl From<WindowCreationError> for CreationError { implementation
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/third_party/rust/gfx-hal/src/
H A Dwindow.rs73 pub enum CreationError { enum
86 CreationError::OutOfMemory(error) in from()
92 CreationError::DeviceLost(error) in from()
98 CreationError::SurfaceLost(error) in from()
104 CreationError::WindowInUse(error) in from()
108 impl std::fmt::Display for CreationError { implementation
111 CreationError::OutOfMemory(err) => { in fmt()
114 CreationError::DeviceLost(err) => { in fmt()
117 CreationError::SurfaceLost(err) => { in fmt()
127 impl std::error::Error for CreationError { implementation
[all …]
H A Dbuffer.rs42 pub enum CreationError { enum
55 impl From<device::OutOfMemory> for CreationError { implementation
57 CreationError::OutOfMemory(error) in from()
61 impl std::fmt::Display for CreationError { implementation
64 CreationError::OutOfMemory(err) => write!(fmt, "Failed to create buffer: {}", err), in fmt()
65 CreationError::UnsupportedUsage { usage } => write!( in fmt()
74 impl std::error::Error for CreationError { implementation
77 CreationError::OutOfMemory(err) => Some(err), in source()
H A Dquery.rs14 pub enum CreationError { enum
22 impl From<OutOfMemory> for CreationError { implementation
24 CreationError::OutOfMemory(error) in from()
28 impl std::fmt::Display for CreationError { implementation
31 CreationError::OutOfMemory(err) => write!(fmt, "Failed to create query: {}", err), in fmt()
32 CreationError::Unsupported(ty) => { in fmt()
/dports/www/firefox-esr/firefox-91.8.0/gfx/wr/wrench/src/
H A Degl.rs9 use glutin::CreationError;
46 ) -> Result<ContextPrototype<'a>, CreationError> in new() argument
243 -> Result<Context, CreationError> in finish() argument
277 -> Result<Context, CreationError> in finish_impl() argument
298 return Err(CreationError::OpenGlVersionNotSupported); in finish_impl()
421 return Err(CreationError::NoAvailablePixelFormat); in choose_fbconfig()
430 return Err(CreationError::NoAvailablePixelFormat); in choose_fbconfig()
454 return Err(CreationError::NoAvailablePixelFormat); in choose_fbconfig()
534 return Err(CreationError::RobustnessNotSupported); in create_context()
554 return Err(CreationError::RobustnessNotSupported); in create_context()
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/wr/wrench/src/
H A Degl.rs9 use glutin::CreationError;
46 ) -> Result<ContextPrototype<'a>, CreationError> in new() argument
243 -> Result<Context, CreationError> in finish() argument
277 -> Result<Context, CreationError> in finish_impl() argument
298 return Err(CreationError::OpenGlVersionNotSupported); in finish_impl()
421 return Err(CreationError::NoAvailablePixelFormat); in choose_fbconfig()
430 return Err(CreationError::NoAvailablePixelFormat); in choose_fbconfig()
454 return Err(CreationError::NoAvailablePixelFormat); in choose_fbconfig()
534 return Err(CreationError::RobustnessNotSupported); in create_context()
554 return Err(CreationError::RobustnessNotSupported); in create_context()
[all …]
/dports/www/firefox/firefox-99.0/gfx/wr/wrench/src/
H A Degl.rs9 use glutin::CreationError;
46 ) -> Result<ContextPrototype<'a>, CreationError> in new() argument
243 -> Result<Context, CreationError> in finish() argument
277 -> Result<Context, CreationError> in finish_impl() argument
298 return Err(CreationError::OpenGlVersionNotSupported); in finish_impl()
421 return Err(CreationError::NoAvailablePixelFormat); in choose_fbconfig()
430 return Err(CreationError::NoAvailablePixelFormat); in choose_fbconfig()
454 return Err(CreationError::NoAvailablePixelFormat); in choose_fbconfig()
534 return Err(CreationError::RobustnessNotSupported); in create_context()
554 return Err(CreationError::RobustnessNotSupported); in create_context()
[all …]
/dports/mail/thunderbird/thunderbird-91.8.0/gfx/wr/wrench/src/
H A Degl.rs9 use glutin::CreationError;
46 ) -> Result<ContextPrototype<'a>, CreationError> in new() argument
243 -> Result<Context, CreationError> in finish() argument
277 -> Result<Context, CreationError> in finish_impl() argument
298 return Err(CreationError::OpenGlVersionNotSupported); in finish_impl()
421 return Err(CreationError::NoAvailablePixelFormat); in choose_fbconfig()
430 return Err(CreationError::NoAvailablePixelFormat); in choose_fbconfig()
454 return Err(CreationError::NoAvailablePixelFormat); in choose_fbconfig()
534 return Err(CreationError::RobustnessNotSupported); in create_context()
554 return Err(CreationError::RobustnessNotSupported); in create_context()
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/third_party/rust/gfx-hal/src/pso/
H A Dmod.rs26 pub enum CreationError { enum
37 impl From<device::OutOfMemory> for CreationError { implementation
39 CreationError::OutOfMemory(err) in from()
43 impl std::fmt::Display for CreationError { implementation
46 CreationError::OutOfMemory(err) => write!(fmt, "Failed to create pipeline: {}", err), in fmt()
49 CreationError::Shader(err) => write!(fmt, "Failed to create pipeline: {}", err), in fmt()
54 impl std::error::Error for CreationError { implementation
57 CreationError::OutOfMemory(err) => Some(err), in source()
58 CreationError::Shader(err) => Some(err), in source()
59 CreationError::InvalidSubpass(_) => None, in source()
[all …]
/dports/shells/ion/ion-a8872014dbce730ccd00aaa722397dc394a52bf4/cargo-crates/gfx_core-0.8.3/src/
H A Dbuffer.rs116 pub enum CreationError { enum
126 impl fmt::Display for CreationError { implementation
129CreationError::UnsupportedBind(ref bind) => write!(f, "{}: {:?}", self.description(), bind), in fmt()
130CreationError::UnsupportedUsage(usage) => write!(f, "{}: {:?}", self.description(), usage), in fmt()
136 impl Error for CreationError { implementation
139 CreationError::UnsupportedBind(_) => "Bind flags are not supported", in description()
140 CreationError::Other => "An unknown error occurred", in description()
141 CreationError::UnsupportedUsage(_) => "Requested memory usage mode is not supported", in description()
/dports/shells/ion/ion-a8872014dbce730ccd00aaa722397dc394a52bf4/cargo-crates/glutin-0.21.0/src/platform/linux/
H A Dmod.rs15 Api, ContextCurrentState, ContextError, CreationError, GlAttributes,
53 ) -> Result<(), CreationError> { in is_compatible() argument
95 ) -> Result<(winit::Window, Self), CreationError> { in new_windowed() argument
122 ) -> Result<Self, CreationError> { in new_headless() argument
131 ) -> Result<Self, CreationError> { in new_headless_impl() argument
260 ) -> Result<crate::Context<NotCurrent>, CreationError> in build_osmesa()
274 ) -> Result<crate::Context<NotCurrent>, CreationError> in build_surfaceless()
286 ) -> Result<crate::Context<NotCurrent>, CreationError> in build_osmesa()
309 ) -> Result<crate::Context<NotCurrent>, CreationError> in build_surfaceless()
341 ) -> Result<crate::RawContext<NotCurrent>, CreationError> in build_raw_wayland_context()
[all …]
/dports/games/dose-response/dose-response-179c326/cargo-crates/glutin-0.21.0/src/platform/linux/
H A Dmod.rs15 Api, ContextCurrentState, ContextError, CreationError, GlAttributes,
53 ) -> Result<(), CreationError> { in is_compatible() argument
95 ) -> Result<(winit::Window, Self), CreationError> { in new_windowed() argument
122 ) -> Result<Self, CreationError> { in new_headless() argument
131 ) -> Result<Self, CreationError> { in new_headless_impl() argument
260 ) -> Result<crate::Context<NotCurrent>, CreationError> in build_osmesa()
274 ) -> Result<crate::Context<NotCurrent>, CreationError> in build_surfaceless()
286 ) -> Result<crate::Context<NotCurrent>, CreationError> in build_osmesa()
309 ) -> Result<crate::Context<NotCurrent>, CreationError> in build_surfaceless()
341 ) -> Result<crate::RawContext<NotCurrent>, CreationError> in build_raw_wayland_context()
[all …]
/dports/www/firefox-legacy/firefox-52.8.0esr/python/bitstring/test/
H A Dtest_bits.py39 self.assertRaises(bitstring.CreationError, Bits, hex='0xx0')
40 self.assertRaises(bitstring.CreationError, Bits, hex='0xX0')
41 self.assertRaises(bitstring.CreationError, Bits, hex='0Xx0')
42 self.assertRaises(bitstring.CreationError, Bits, hex='-2e')
62 self.assertRaises(bitstring.CreationError, s._setoct, '8')
69 self.assertRaises(bitstring.CreationError, Bits, uint=12)
70 self.assertRaises(bitstring.CreationError, Bits, uint=4, length=2)
93 self.assertRaises(bitstring.CreationError, Bits, int=12)
94 self.assertRaises(bitstring.CreationError, Bits, int=4, length=3)
117 self.assertRaises(bitstring.CreationError, Bits, ue=-1)
[all …]
/dports/shells/ion/ion-a8872014dbce730ccd00aaa722397dc394a52bf4/cargo-crates/glutin-0.21.0/src/api/wgl/
H A Dmod.rs82 ) -> Result<Context, CreationError> { in new() argument
85 let err = Err(CreationError::OsError(format!( in new()
167 return Err(CreationError::OsError( in new()
274 ) -> Result<ContextWrapper, CreationError> { in create_context() argument
452 return Err(CreationError::OsError(format!( in create_context()
841 ) -> Result<(), CreationError> { in set_pixel_format() argument
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()
892 ) -> Result<gl::wgl_extra::Wgl, CreationError> { in load_extra_functions() argument
[all …]
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/cargo-crates/glutin-0.24.1/src/api/wgl/
H A Dmod.rs82 ) -> Result<Context, CreationError> { in new() argument
85 let err = Err(CreationError::OsError(format!( in new()
167 return Err(CreationError::OsError( in new()
274 ) -> Result<ContextWrapper, CreationError> { in create_context() argument
452 return Err(CreationError::OsError(format!( in create_context()
837 ) -> Result<(), CreationError> { in set_pixel_format() argument
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()
888 ) -> Result<gl::wgl_extra::Wgl, CreationError> { in load_extra_functions() argument
[all …]
/dports/games/dose-response/dose-response-179c326/cargo-crates/glutin-0.21.0/src/api/wgl/
H A Dmod.rs82 ) -> Result<Context, CreationError> { in new() argument
85 let err = Err(CreationError::OsError(format!( in new()
167 return Err(CreationError::OsError( in new()
274 ) -> Result<ContextWrapper, CreationError> { in create_context() argument
452 return Err(CreationError::OsError(format!( in create_context()
841 ) -> Result<(), CreationError> { in set_pixel_format() argument
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()
892 ) -> Result<gl::wgl_extra::Wgl, CreationError> { in load_extra_functions() argument
[all …]
/dports/x11/alacritty/alacritty-0.9.0/cargo-crates/glutin-0.26.0/src/api/wgl/
H A Dmod.rs82 ) -> Result<Context, CreationError> { in new() argument
85 let err = Err(CreationError::OsError(format!( in new()
233 ) -> Result<ContextWrapper, CreationError> { in create_context() argument
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()
[all …]
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/cargo-crates/glutin-0.24.1/src/platform_impl/unix/
H A Dmod.rs15 Api, ContextCurrentState, ContextError, CreationError, GlAttributes,
57 ) -> Result<(), CreationError> { in is_compatible() argument
99 ) -> Result<(Window, Self), CreationError> { in new_windowed() argument
126 ) -> Result<Self, CreationError> { in new_headless() argument
135 ) -> Result<Self, CreationError> { in new_headless_impl() argument
287 ) -> Result<crate::Context<NotCurrent>, CreationError> in build_osmesa()
301 ) -> Result<crate::Context<NotCurrent>, CreationError> in build_surfaceless()
313 ) -> Result<crate::Context<NotCurrent>, CreationError> in build_osmesa()
336 ) -> Result<crate::Context<NotCurrent>, CreationError> in build_surfaceless()
368 ) -> Result<crate::RawContext<NotCurrent>, CreationError> in build_raw_wayland_context()
[all …]
/dports/shells/ion/ion-a8872014dbce730ccd00aaa722397dc394a52bf4/cargo-crates/glutin-0.21.0/src/platform/macos/
H A Dhelpers.rs2 CreationError, GlAttributes, GlProfile, GlRequest, PixelFormatRequirements,
12 ) -> Result<NSOpenGLPFAOpenGLProfiles, CreationError> { in get_gl_profile() argument
21 Err(CreationError::OpenGlVersionNotSupported) in get_gl_profile()
29 Err(CreationError::OpenGlVersionNotSupported) in get_gl_profile()
71 Err(CreationError::OpenGlVersionNotSupported) in get_gl_profile()
78 ) -> Result<Vec<u32>, CreationError> { in build_nsattributes() argument
114 return Err(CreationError::NoAvailablePixelFormat); in build_nsattributes()
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/cargo-crates/glutin-0.24.1/src/platform_impl/macos/
H A Dhelpers.rs2 CreationError, GlAttributes, GlProfile, GlRequest, PixelFormatRequirements,
12 ) -> Result<NSOpenGLPFAOpenGLProfiles, CreationError> { in get_gl_profile() argument
21 Err(CreationError::OpenGlVersionNotSupported) in get_gl_profile()
29 Err(CreationError::OpenGlVersionNotSupported) in get_gl_profile()
71 Err(CreationError::OpenGlVersionNotSupported) in get_gl_profile()
78 ) -> Result<Vec<u32>, CreationError> { in build_nsattributes() argument
114 return Err(CreationError::NoAvailablePixelFormat); in build_nsattributes()
/dports/games/dose-response/dose-response-179c326/cargo-crates/glutin-0.21.0/src/platform/macos/
H A Dhelpers.rs2 CreationError, GlAttributes, GlProfile, GlRequest, PixelFormatRequirements,
12 ) -> Result<NSOpenGLPFAOpenGLProfiles, CreationError> { in get_gl_profile() argument
21 Err(CreationError::OpenGlVersionNotSupported) in get_gl_profile()
29 Err(CreationError::OpenGlVersionNotSupported) in get_gl_profile()
71 Err(CreationError::OpenGlVersionNotSupported) in get_gl_profile()
78 ) -> Result<Vec<u32>, CreationError> { in build_nsattributes() argument
114 return Err(CreationError::NoAvailablePixelFormat); in build_nsattributes()
/dports/x11/alacritty/alacritty-0.9.0/cargo-crates/glutin-0.26.0/src/platform_impl/macos/
H A Dhelpers.rs2 CreationError, GlAttributes, GlProfile, GlRequest, PixelFormatRequirements, ReleaseBehavior,
11 ) -> Result<NSOpenGLPFAOpenGLProfiles, CreationError> { in get_gl_profile() argument
20 Err(CreationError::OpenGlVersionNotSupported) in get_gl_profile()
28 Err(CreationError::OpenGlVersionNotSupported) in get_gl_profile()
66 Err(CreationError::OpenGlVersionNotSupported) in get_gl_profile()
73 ) -> Result<Vec<u32>, CreationError> { in build_nsattributes() argument
109 return Err(CreationError::NoAvailablePixelFormat); in build_nsattributes()

1234567891011