Home
last modified time | relevance | path

Searched refs:from_ll (Results 1 – 25 of 45) sorted by relevance

12

/dports/multimedia/librespot/librespot-0.1.3/cargo-crates/sdl2-0.32.2/src/sdl2/gfx/
H A Drotozoom.rs32 unsafe { Ok(Surface::from_ll(raw)) } in rotozoom()
42 unsafe { Ok(Surface::from_ll(raw)) } in rotozoom_xy()
52 unsafe { Ok(Surface::from_ll(raw)) } in zoom()
62 unsafe { Ok(Surface::from_ll(raw)) } in shrink()
72 unsafe { Ok(Surface::from_ll(raw)) } in rotate_90deg()
/dports/games/dose-response/dose-response-179c326/cargo-crates/sdl2-0.32.2/src/sdl2/gfx/
H A Drotozoom.rs32 unsafe { Ok(Surface::from_ll(raw)) } in rotozoom()
42 unsafe { Ok(Surface::from_ll(raw)) } in rotozoom_xy()
52 unsafe { Ok(Surface::from_ll(raw)) } in zoom()
62 unsafe { Ok(Surface::from_ll(raw)) } in shrink()
72 unsafe { Ok(Surface::from_ll(raw)) } in rotate_90deg()
/dports/multimedia/librespot/librespot-0.1.3/cargo-crates/sdl2-0.32.2/src/sdl2/
H A Devent.rs106 Event::from_ll(event_raw) in peek_events()
407 fn from_ll(id: u8, data1: i32, data2: i32) -> WindowEvent { in from_ll() method
1227 fn from_ll(raw: sys::SDL_Event) -> Event { in from_ll() method
1666 if has_pending { Some(Event::from_ll(raw)) } in poll_event()
1674 if success { Event::from_ll(raw) } in wait_event()
1682 if success { Some(Event::from_ll(raw)) } in wait_event_timeout()
1838 let e2 = Event::from_ll(e.clone().to_ll().unwrap()); in test_to_from_ll()
1847 let e2 = Event::from_ll(e.clone().to_ll().unwrap()); in test_to_from_ll()
1859 let e2 = Event::from_ll(e.clone().to_ll().unwrap()); in test_to_from_ll()
1872 let e2 = Event::from_ll(e.clone().to_ll().unwrap()); in test_to_from_ll()
[all …]
H A Dlog.rs22 fn from_ll(value: u32) -> Category { in from_ll() method
58 fn from_ll(value: sys::SDL_LogPriority) -> Priority { in from_ll() method
82 let category = Category::from_ll(category as u32); in rust_sdl2_log_fn()
83 let priority = Priority::from_ll(priority); in rust_sdl2_log_fn()
H A Dversion.rs23 pub fn from_ll(v: sys::SDL_version) -> Version { in from_ll() method
39 Version::from_ll(cver) in version()
H A Dsurface.rs100 pub unsafe fn from_ll<'b>(raw: *mut sys::SDL_Surface) -> Surface<'b> { in from_ll() method
143 Ok(Surface::from_ll(raw)) in from_pixelmasks()
170 Ok(Surface::from_ll(raw)) in from_data_pixelmasks()
184 Ok( unsafe{ Surface::from_ll(raw) } ) in load_bmp_rw()
211 pub unsafe fn from_ll<'a>(raw: *const sys::SDL_Surface) -> &'a SurfaceRef { in from_ll() method
254 pixels::PixelFormat::from_ll(self.raw_ref().format) in pixel_format()
530 Some(Rect::from_ll(raw)) in clip_rect()
542 unsafe { Ok(Surface::from_ll(surface_ptr)) } in convert()
H A Dvideo.rs437 pub fn from_ll(raw: &sys::SDL_DisplayMode) -> DisplayMode { in from_ll() method
529 pub unsafe fn from_ll(subsystem: VideoSubsystem, raw: *mut sys::SDL_Window) -> WindowContext { in from_ll() method
627 Ok(Rect::from_ll(out)) in display_bounds()
647 Ok(DisplayMode::from_ll(&dm)) in display_mode()
658 Ok(DisplayMode::from_ll(&dm)) in desktop_display_mode()
669 Ok(DisplayMode::from_ll(&dm)) in current_display_mode()
684 Ok(DisplayMode::from_ll(&dm)) in closest_display_mode()
960 Ok(Window::from_ll(self.subsystem.clone(), raw)) in build()
1067 pub unsafe fn from_ll(subsystem: VideoSubsystem, raw: *mut sys::SDL_Window) -> Window { in from_ll() method
1068 let context = WindowContext::from_ll(subsystem, raw); in from_ll()
[all …]
H A Dmacros.rs17 pub unsafe fn from_ll($($r:$rt),+) -> $t {
H A Dcontroller.rs200 Axis::from_ll(id) in from_string()
214 pub fn from_ll(bitflags: sys::SDL_GameControllerAxis) -> Option<Axis> { in from_ll() method
269 Button::from_ll(id) in from_string()
283 pub fn from_ll(bitflags: sys::SDL_GameControllerButton) -> Option<Button> { in from_ll() method
/dports/games/dose-response/dose-response-179c326/cargo-crates/sdl2-0.32.2/src/sdl2/
H A Devent.rs106 Event::from_ll(event_raw) in peek_events()
407 fn from_ll(id: u8, data1: i32, data2: i32) -> WindowEvent { in from_ll() method
1227 fn from_ll(raw: sys::SDL_Event) -> Event { in from_ll() method
1666 if has_pending { Some(Event::from_ll(raw)) } in poll_event()
1674 if success { Event::from_ll(raw) } in wait_event()
1682 if success { Some(Event::from_ll(raw)) } in wait_event_timeout()
1838 let e2 = Event::from_ll(e.clone().to_ll().unwrap()); in test_to_from_ll()
1847 let e2 = Event::from_ll(e.clone().to_ll().unwrap()); in test_to_from_ll()
1859 let e2 = Event::from_ll(e.clone().to_ll().unwrap()); in test_to_from_ll()
1872 let e2 = Event::from_ll(e.clone().to_ll().unwrap()); in test_to_from_ll()
[all …]
H A Dlog.rs22 fn from_ll(value: u32) -> Category { in from_ll() method
58 fn from_ll(value: sys::SDL_LogPriority) -> Priority { in from_ll() method
82 let category = Category::from_ll(category as u32); in rust_sdl2_log_fn()
83 let priority = Priority::from_ll(priority); in rust_sdl2_log_fn()
H A Dversion.rs23 pub fn from_ll(v: sys::SDL_version) -> Version { in from_ll() method
39 Version::from_ll(cver) in version()
H A Dsurface.rs100 pub unsafe fn from_ll<'b>(raw: *mut sys::SDL_Surface) -> Surface<'b> { in from_ll() method
143 Ok(Surface::from_ll(raw)) in from_pixelmasks()
170 Ok(Surface::from_ll(raw)) in from_data_pixelmasks()
184 Ok( unsafe{ Surface::from_ll(raw) } ) in load_bmp_rw()
211 pub unsafe fn from_ll<'a>(raw: *const sys::SDL_Surface) -> &'a SurfaceRef { in from_ll() method
254 pixels::PixelFormat::from_ll(self.raw_ref().format) in pixel_format()
530 Some(Rect::from_ll(raw)) in clip_rect()
542 unsafe { Ok(Surface::from_ll(surface_ptr)) } in convert()
H A Dvideo.rs437 pub fn from_ll(raw: &sys::SDL_DisplayMode) -> DisplayMode { in from_ll() method
529 pub unsafe fn from_ll(subsystem: VideoSubsystem, raw: *mut sys::SDL_Window) -> WindowContext { in from_ll() method
627 Ok(Rect::from_ll(out)) in display_bounds()
647 Ok(DisplayMode::from_ll(&dm)) in display_mode()
658 Ok(DisplayMode::from_ll(&dm)) in desktop_display_mode()
669 Ok(DisplayMode::from_ll(&dm)) in current_display_mode()
684 Ok(DisplayMode::from_ll(&dm)) in closest_display_mode()
960 Ok(Window::from_ll(self.subsystem.clone(), raw)) in build()
1067 pub unsafe fn from_ll(subsystem: VideoSubsystem, raw: *mut sys::SDL_Window) -> Window { in from_ll() method
1068 let context = WindowContext::from_ll(subsystem, raw); in from_ll()
[all …]
H A Dmacros.rs17 pub unsafe fn from_ll($($r:$rt),+) -> $t {
/dports/multimedia/librespot/librespot-0.1.3/cargo-crates/portaudio-rs-0.3.2/src/
H A Dhostapi.rs92 fn from_ll(input: &ll::PaHostApiInfo) -> HostApiInfo in from_ll() method
120 fn from_ll(input: &ll::PaHostErrorInfo) -> HostErrorInfo in from_ll() method
141 p => Some(HostErrorInfo::from_ll(&*p)), in get_last_error()
175 p => Some(HostApiInfo::from_ll(&*p)), in get_info()
H A Ddevice.rs46 fn from_ll(input: &ll::PaDeviceInfo) -> DeviceInfo in from_ll() method
106 p => Some(DeviceInfo::from_ll(&*p)), in get_info()
/dports/audio/ncspot/ncspot-0.9.3/cargo-crates/portaudio-rs-0.3.2/src/
H A Dhostapi.rs92 fn from_ll(input: &ll::PaHostApiInfo) -> HostApiInfo
120 fn from_ll(input: &ll::PaHostErrorInfo) -> HostErrorInfo
141 p => Some(HostErrorInfo::from_ll(&*p)),
175 p => Some(HostApiInfo::from_ll(&*p)),
H A Ddevice.rs46 fn from_ll(input: &ll::PaDeviceInfo) -> DeviceInfo in from_ll() method
106 p => Some(DeviceInfo::from_ll(&*p)), in get_info()
/dports/audio/spotifyd/spotifyd-0.3.0/cargo-crates/portaudio-rs-0.3.2/src/
H A Dhostapi.rs92 fn from_ll(input: &ll::PaHostApiInfo) -> HostApiInfo
120 fn from_ll(input: &ll::PaHostErrorInfo) -> HostErrorInfo
141 p => Some(HostErrorInfo::from_ll(&*p)),
175 p => Some(HostApiInfo::from_ll(&*p)),
H A Ddevice.rs46 fn from_ll(input: &ll::PaDeviceInfo) -> DeviceInfo in from_ll() method
106 p => Some(DeviceInfo::from_ll(&*p)), in get_info()
/dports/multimedia/librespot/librespot-0.1.3/cargo-crates/sdl2-0.32.2/src/sdl2/image/
H A Dmod.rs88 Ok(Surface::from_ll(raw)) in from_file()
100 Ok(Surface::from_ll(raw)) in from_xpm_array()
189 unsafe { Version::from_ll(*sys::image::IMG_Linked_Version()) } in get_linked_version()
197 unsafe { Ok(Surface::from_ll(raw)) } in to_surface_result()
/dports/games/dose-response/dose-response-179c326/cargo-crates/sdl2-0.32.2/src/sdl2/image/
H A Dmod.rs88 Ok(Surface::from_ll(raw)) in from_file()
100 Ok(Surface::from_ll(raw)) in from_xpm_array()
189 unsafe { Version::from_ll(*sys::image::IMG_Linked_Version()) } in get_linked_version()
197 unsafe { Ok(Surface::from_ll(raw)) } in to_surface_result()
/dports/multimedia/librespot/librespot-0.1.3/cargo-crates/sdl2-0.32.2/src/sdl2/mouse/
H A Dmod.rs112 pub fn from_ll(direction: u32) -> MouseWheelDirection { in from_ll() method
142 pub fn from_ll(button: u8) -> MouseButton { in from_ll() method
295 Some((MouseButton::from_ll(mouse_button), pressed)) in next()
/dports/games/dose-response/dose-response-179c326/cargo-crates/sdl2-0.32.2/src/sdl2/mouse/
H A Dmod.rs112 pub fn from_ll(direction: u32) -> MouseWheelDirection { in from_ll() method
142 pub fn from_ll(button: u8) -> MouseButton { in from_ll() method
295 Some((MouseButton::from_ll(mouse_button), pressed)) in next()

12