/DragonOS/kernel/crates/rbpf/src/ |
H A D | disassembler.rs | 19 fn alu_imm_str(name: &str, insn: &ebpf::Insn) -> String { in alu_imm_str() 24 fn alu_reg_str(name: &str, insn: &ebpf::Insn) -> String { in alu_reg_str() 29 fn byteswap_str(name: &str, insn: &ebpf::Insn) -> String { in byteswap_str() 38 fn ld_st_imm_str(name: &str, insn: &ebpf::Insn) -> String { in ld_st_imm_str() 52 fn ld_reg_str(name: &str, insn: &ebpf::Insn) -> String { in ld_reg_str() 66 fn st_reg_str(name: &str, insn: &ebpf::Insn) -> String { in st_reg_str() 80 fn ldabs_str(name: &str, insn: &ebpf::Insn) -> String { in ldabs_str() 85 fn ldind_str(name: &str, insn: &ebpf::Insn) -> String { in ldind_str() 90 fn jmp_imm_str(name: &str, insn: &ebpf::Insn) -> String { in jmp_imm_str() 104 fn jmp_reg_str(name: &str, insn: &ebpf::Insn) -> String { in jmp_reg_str()
|
H A D | assembler.rs | 154 fn insn(opc: u8, dst: i64, src: i64, off: i64, imm: i64) -> Result<Insn, String> { in insn() argument 177 fn operands_tuple(operands: &[Operand]) -> Result<(Operand, Operand, Operand), String> { in operands_tuple() argument 187 fn encode(inst_type: InstructionType, opc: u8, operands: &[Operand]) -> Result<Insn, String> { in encode() argument 213 fn assemble_internal(parsed: &[Instruction]) -> Result<Vec<Insn>, String> { in assemble_internal() argument 269 pub fn assemble(src: &str) -> Result<Vec<u8>, String> { in assemble() argument
|
/DragonOS/kernel/src/filesystem/sysfs/ |
H A D | symlink.rs | 27 name: String, in create_link() 41 pub fn remove_link(&self, _kobj: &Arc<dyn KObject>, _name: String) { in remove_link() 49 name: String, in do_create_link() 68 name: String, in do_create_link_sd() 100 name: String, in create_link_sd()
|
/DragonOS/kernel/src/libs/ |
H A D | name.rs | 6 pub fn get_full_type_name<T>(_: &T) -> String { in get_full_type_name() 10 pub fn get_type_name<T>(_: &T) -> String { in get_type_name()
|
/DragonOS/kernel/src/filesystem/fat/ |
H A D | utils.rs | 20 pub(super) fn to_search_name(name: &str) -> String { in to_search_name() 26 pub(super) fn to_search_name_string(mut name: String) -> String { in to_search_name_string()
|
/DragonOS/user/apps/user-manage/src/check/ |
H A D | check.rs | 215 fn home(username: &String) -> String { in home() 298 fn check_home(home: &String) { in check_home() 446 fn cur_username(uid: String) -> String { in cur_username() 475 fn check_password(username: String, password: String) { in check_password() 585 fn is_main_group(gid: String) { in is_main_group() 858 fn check_shell(shell: &String) { in check_shell() 876 fn check_groupname(groupname: String) -> Option<String> { in check_groupname()
|
H A D | info.rs | 18 impl From<UAddInfo> for String { implementation 64 pub fn to_string_group(&self) -> String { in to_string_group() 72 pub fn to_string_gshadow(&self) -> String { in to_string_gshadow()
|
/DragonOS/kernel/crates/intertrait/tests/ |
H A D | on-trait-impl-assoc-type3.rs | 14 fn concat(&self, prefix: T, a: Self::I1, b: Self::I2) -> String; in concat() 22 fn concat(&self, prefix: String, a: Self::I1, b: Self::I2) -> String { in concat()
|
H A D | on-trait-impl-assoc-type2.rs | 14 fn concat(&self, a: Self::I1, b: Self::I2) -> String; in concat() 22 fn concat(&self, a: Self::I1, b: Self::I2) -> String { in concat()
|
/DragonOS/tools/debugging/logmonitor/src/ |
H A D | command.rs | 25 fn kmem_file_parser(s: &str) -> Result<String, String> { in kmem_file_parser() argument
|
H A D | app.rs | 56 pub fn set_backend_log_receiver(&mut self, receiver: std::sync::mpsc::Receiver<String>) { in set_backend_log_receiver() 97 pub fn push_log(&mut self, log: String) { in push_log() 101 pub fn logs(&self) -> &Vec<String> { in logs()
|
/DragonOS/build-scripts/kernel_build/src/kconfig/ |
H A D | mod.rs | 158 pub fn new(name: String, path: PathBuf, enable: bool) -> Module { in new() 162 pub fn name(&self) -> String { in name() 184 pub fn new(name: String, enable: bool) -> Feature { in new() 188 pub fn name(&self) -> String { in name()
|
/DragonOS/kernel/src/filesystem/kernfs/ |
H A D | mod.rs | 257 fn get_entry_name(&self, ino: InodeId) -> Result<String, SystemError> { in get_entry_name() 271 fn get_entry_name_and_metadata(&self, ino: InodeId) -> Result<(String, Metadata), SystemError> { in get_entry_name_and_metadata() 301 fn list(&self) -> Result<Vec<String>, SystemError> { in list() 390 name: String, in new() 450 name: String, in add_dir() 481 name: String, in add_file() 504 name: String, in inner_create() 590 name: String, in add_link() 592 target_absolute_path: String, in add_link()
|
/DragonOS/kernel/src/driver/open_firmware/ |
H A D | device_node.rs | 40 full_name_allocated: Option<String>, in new() 141 fn name(&self) -> String { in name() 145 fn set_name(&self, _name: String) {} in set_name() 170 pub const fn new(name: String, value: Vec<u8>, battr: Option<Arc<dyn BinAttribute>>) -> Self { in new()
|
/DragonOS/kernel/crates/rbpf/examples/ |
H A D | to_json.rs | 22 fn to_json(prog: &[u8]) -> String { in to_json()
|
/DragonOS/kernel/src/driver/acpi/ |
H A D | bus.rs | 63 fn name(&self) -> String { in name() 67 fn dev_name(&self) -> String { in dev_name()
|
/DragonOS/kernel/src/driver/input/serio/ |
H A D | subsys.rs | 44 fn name(&self) -> String { in name() 48 fn dev_name(&self) -> String { in dev_name()
|
/DragonOS/tools/debugging/logmonitor/src/backend/ |
H A D | loader.rs | 58 pub fn add_symbol(&mut self, sym: Sym, name: String) { in add_symbol() 75 pub fn add_symbol(&mut self, sym: Sym, name: String) { in add_symbol()
|
/DragonOS/kernel/src/driver/base/platform/ |
H A D | subsys.rs | 45 fn name(&self) -> String { in name() 49 fn dev_name(&self) -> String { in dev_name()
|
/DragonOS/kernel/src/filesystem/vfs/ |
H A D | mount.rs | 219 fn do_absolute_path(&self) -> Result<String, SystemError> { in do_absolute_path() 398 fn get_entry_name(&self, ino: InodeId) -> Result<alloc::string::String, SystemError> { in get_entry_name() 406 ) -> Result<(alloc::string::String, super::Metadata), SystemError> { in get_entry_name_and_metadata() 430 fn list(&self) -> Result<alloc::vec::Vec<alloc::string::String>, SystemError> { in list() 489 fn absolute_path(&self) -> Result<String, SystemError> { in absolute_path() 706 ) -> Option<(String, String, Arc<MountFS>)> { in get_mount_point()
|
/DragonOS/kernel/src/driver/virtio/ |
H A D | mod.rs | 29 fn set_device_name(&self, name: String); in set_device_name() 31 fn device_name(&self) -> String; in device_name()
|
/DragonOS/kernel/src/driver/base/ |
H A D | kset.rs | 74 name: String, in new_and_add() 194 fn name(&self) -> String { in name() 198 fn set_name(&self, name: String) { in set_name()
|
/DragonOS/user/apps/user-manage/src/error/ |
H A D | error.rs | 29 pub fn error_handle(error: String, exit_status: ExitStatus) { in error_handle()
|
/DragonOS/kernel/src/arch/riscv64/init/ |
H A D | dragonstub.rs | 17 fn init_bootloader_name(&self) -> Result<Option<String>, SystemError> { in init_bootloader_name()
|
/DragonOS/kernel/src/exception/ |
H A D | irqdomain.rs | 70 name: String, in create_and_add_linear() 96 name: String, in create_and_add() 332 handler_name: Option<String>, in domain_set_info() 492 allocated_name: Option<String>, in new() 549 pub fn name(&self) -> Option<String> { in name() 556 pub fn set_name(&self, name: String) { in set_name()
|