Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/time/
Dmod.rs1 use core::{fmt, ops};
149 impl ops::Add<Duration> for Instant {
157 impl ops::AddAssign<Duration> for Instant {
163 impl ops::Sub<Duration> for Instant {
171 impl ops::SubAssign<Duration> for Instant {
177 impl ops::Sub<Instant> for Instant {
245 impl ops::Add<Duration> for Duration {
253 impl ops::AddAssign<Duration> for Duration {
259 impl ops::Sub<Duration> for Duration {
271 impl ops::SubAssign<Duration> for Duration {
[all …]
/DragonOS-0.1.8/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.8/kernel/src/mm/
Dmod.rs13 ops::{Add, AddAssign, Sub, SubAssign},
123 impl core::ops::Add<usize> for PhysAddr {
132 impl core::ops::AddAssign<usize> for PhysAddr {
139 impl core::ops::Add<PhysAddr> for PhysAddr {
148 impl core::ops::AddAssign<PhysAddr> for PhysAddr {
155 impl core::ops::Sub<usize> for PhysAddr {
164 impl core::ops::SubAssign<usize> for PhysAddr {
171 impl core::ops::Sub<PhysAddr> for PhysAddr {
180 impl core::ops::SubAssign<PhysAddr> for PhysAddr {
Dkernel_mapper.rs15 ops::Deref,
Ducontext.rs7 ops::Add,
83 impl core::ops::Deref for AddressSpace {
91 impl core::ops::DerefMut for AddressSpace {
Dpage.rs5 ops::Add,
/DragonOS-0.1.8/kernel/src/libs/
Dalign.rs86 impl<T, const ALIGN: usize> core::ops::Deref for AlignedBox<T, ALIGN> {
94 impl<T, const ALIGN: usize> core::ops::DerefMut for AlignedBox<T, ALIGN> {
Dlazy_init.rs22 use core::ops::{Deref, DerefMut};
Dmutex.rs3 ops::{Deref, DerefMut},
Dspinlock.rs4 use core::ops::{Deref, DerefMut};
Drwlock.rs6 ops::{Deref, DerefMut},
Delf.rs4 ops::Range,
Drbtree.rs20 use core::ops::Index;
/DragonOS-0.1.8/kernel/src/mm/allocator/
Dpage_frame.rs3 ops::{Add, AddAssign, Mul, Sub, SubAssign},
/DragonOS-0.1.8/kernel/src/driver/net/
Dvirtio_net.rs4 ops::{Deref, DerefMut},