Home
last modified time | relevance | path

Searched defs:String (Results 1 – 25 of 109) sorted by relevance

12345

/DragonOS/kernel/crates/rbpf/src/
H A Ddisassembler.rs19 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 Dassembler.rs154 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 Dsymlink.rs27 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 Dname.rs6 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 Dutils.rs20 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 Dcheck.rs215 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 Dinfo.rs18 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 Don-trait-impl-assoc-type3.rs14 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 Don-trait-impl-assoc-type2.rs14 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 Dcommand.rs25 fn kmem_file_parser(s: &str) -> Result<String, String> { in kmem_file_parser() argument
H A Dapp.rs56 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 Dmod.rs158 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 Dmod.rs257 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 Ddevice_node.rs40 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 Dto_json.rs22 fn to_json(prog: &[u8]) -> String { in to_json()
/DragonOS/kernel/src/driver/acpi/
H A Dbus.rs63 fn name(&self) -> String { in name()
67 fn dev_name(&self) -> String { in dev_name()
/DragonOS/kernel/src/driver/input/serio/
H A Dsubsys.rs44 fn name(&self) -> String { in name()
48 fn dev_name(&self) -> String { in dev_name()
/DragonOS/tools/debugging/logmonitor/src/backend/
H A Dloader.rs58 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 Dsubsys.rs45 fn name(&self) -> String { in name()
49 fn dev_name(&self) -> String { in dev_name()
/DragonOS/kernel/src/filesystem/vfs/
H A Dmount.rs219 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 Dmod.rs29 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 Dkset.rs74 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 Derror.rs29 pub fn error_handle(error: String, exit_status: ExitStatus) { in error_handle()
/DragonOS/kernel/src/arch/riscv64/init/
H A Ddragonstub.rs17 fn init_bootloader_name(&self) -> Result<Option<String>, SystemError> { in init_bootloader_name()
/DragonOS/kernel/src/exception/
H A Dirqdomain.rs70 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()

12345