Home
last modified time | relevance | path

Searched refs:ops (Results 1 – 9 of 9) sorted by relevance

/DragonOS-0.1.7/kernel/src/time/
Dmod.rs1 use core::{fmt, ops};
130 impl ops::Add<Duration> for Instant {
138 impl ops::AddAssign<Duration> for Instant {
144 impl ops::Sub<Duration> for Instant {
152 impl ops::SubAssign<Duration> for Instant {
158 impl ops::Sub<Instant> for Instant {
226 impl ops::Add<Duration> for Duration {
234 impl ops::AddAssign<Duration> for Duration {
240 impl ops::Sub<Duration> for Duration {
252 impl ops::SubAssign<Duration> for Duration {
[all …]
/DragonOS-0.1.7/kernel/src/libs/libUI/
Dscreen_manager.c104 …eck_ui_param(const char *name, const uint8_t type, const struct scm_ui_framework_operations_t *ops) in __check_ui_param() argument
110 if (ops == NULL) in __check_ui_param()
112 …if (ops->install == NULL || ops->uninstall == NULL || ops->enable == NULL || ops->disable == NULL … in __check_ui_param()
113 ops->change == NULL) in __check_ui_param()
126 …scm_register_alloc(const char *name, const uint8_t type, struct scm_ui_framework_operations_t *ops) in scm_register_alloc() argument
133 if (__check_ui_param(name, type, ops) != 0) in scm_register_alloc()
140 ui->ui_ops = ops; in scm_register_alloc()
Dscreen_manager.h72 …cm_register_alloc(const char *name, const uint8_t type, struct scm_ui_framework_operations_t *ops);
/DragonOS-0.1.7/kernel/src/libs/
Dlazy_init.rs22 use core::ops::{Deref, DerefMut};
Dmutex.rs3 ops::{Deref, DerefMut},
Dspinlock.rs3 use core::ops::{Deref, DerefMut};
Drwlock.rs6 ops::{Deref, DerefMut},
Drbtree.rs20 use core::ops::Index;
/DragonOS-0.1.7/kernel/src/driver/net/
Dvirtio_net.rs4 ops::{Deref, DerefMut},