Home
last modified time | relevance | path

Searched refs:push_str (Results 1 – 8 of 8) sorted by relevance

/DragonOS/user/apps/user-manage/src/executor/
H A Dexecutor.rs119 new_content.push_str(format!("{}\n", field.join(":")).as_str()); in write_group_file()
161 new_content.push_str(format!("{}\n", field.join(":")).as_str()); in write_gshadow_file()
234 new_content.push_str(format!("{}\n", field.join(":").as_str()).as_str()); in update_group_file()
236 new_content.push_str(format!("{}\n", field.join(":").as_str()).as_str()); in update_group_file()
281 new_content.push_str(format!("{}\n", field.join(":").as_str()).as_str()); in update_gshadow_file()
283 new_content.push_str(format!("{}\n", field.join(":").as_str()).as_str()); in update_gshadow_file()
352 new_content.push_str(format!("{}\n", fields.join(":")).as_str()); in update_passwd_file()
354 new_content.push_str(format!("{}\n", line).as_str()); in update_passwd_file()
402 new_content.push_str(format!("{}\n", fields.join(":")).as_str()); in update_group_file()
421 new_content.push_str(format!("{}\n", fields.join(":")).as_str()); in update_shadow_file()
[all …]
/DragonOS/kernel/src/process/
H A Dexec.rs227 self.push_str(ustack, &self.proc_name)?; in push_at()
234 self.push_str(ustack, s).expect("push_str failed"); in push_at()
243 self.push_str(ustack, s).expect("push_str failed"); in push_at()
284 fn push_str(&self, ustack: &mut UserStack, s: &CString) -> Result<(), SystemError> { in push_str() method
H A Dmod.rs973 name.push_str(arg.to_string_lossy().as_ref()); in generate_name()
/DragonOS/kernel/src/filesystem/sysfs/
H A Ddir.rs106 path.push_str("(null)"); in kernfs_path()
111 path.push_str(part); in kernfs_path()
/DragonOS/build-scripts/kernel_build/src/kconfig/
H A Dmod.rs41 cfg_content.push_str(&format!("{} = y\n", f.name())); in make_compile_cfg()
43 cfg_content.push_str(&format!("{} = n\n", f.name())); in make_compile_cfg()
/DragonOS/kernel/src/filesystem/vfs/
H A Dutils.rs70 cwd.push_str(path); in user_path_at()
H A Dmount.rs238 absolute_path.push_str(&part); in do_absolute_path()
H A Dsyscall.rs721 new_path.push_str(seg); in chdir()