Home
last modified time | relevance | path

Searched refs:line (Results 1 – 12 of 12) sorted by relevance

/DragonOS/tools/
H A Dlist_contributors.py29 logs = [json.loads(line) for line in logs]
33 for line in logs:
34 if line['email'] not in authors.keys():
35 authors[line['email']] = {
36 'author': line['author'],
37 'email': line['email'],
41 authors[line['email']]['count'] += 1
/DragonOS/user/apps/user-manage/src/executor/
H A Dexecutor.rs106 for line in content.lines() { in write_group_file()
107 let mut field = line.split(":").collect::<Vec<&str>>(); in write_group_file()
148 for line in content.lines() { in write_gshadow_file()
149 let mut field = line.split(":").collect::<Vec<&str>>(); in write_gshadow_file()
203 .filter(|&line| { in update_passwd_file()
204 let field = line.split(':').collect::<Vec<&str>>(); in update_passwd_file()
221 for line in content.lines() { in update_group_file()
222 let mut field = line.split(':').collect::<Vec<&str>>(); in update_group_file()
253 .filter(|&line| !line.contains(&info.username)) in update_shadow_file()
268 for line in content.lines() { in update_gshadow_file()
[all …]
/DragonOS/kernel/src/libs/
H A Dprintk.rs126 record.line().unwrap_or(0), in iodisplay()
139 record.line().unwrap_or(0), in kernel_log()
148 record.line().unwrap_or(0), in kernel_log()
157 record.line().unwrap_or(0), in kernel_log()
166 record.line().unwrap_or(0), in kernel_log()
/DragonOS/user/apps/user-manage/src/check/
H A Dcheck.rs110 for line in content.lines() { in check_group_gid()
111 let data: Vec<&str> = line.split(":").collect(); in check_group_gid()
219 for line in data.lines() { in home()
220 let data = line.split(':').collect::<Vec<&str>>(); in home()
452 for line in content.lines() { in cur_username()
453 let field = line.split(":").collect::<Vec<&str>>(); in cur_username()
479 for line in content.lines() { in check_password()
480 let field = line.split(":").collect::<Vec<&str>>(); in check_password()
590 for line in content.lines() { in is_main_group()
591 let field = line.split(":").collect::<Vec<&str>>(); in is_main_group()
[all …]
/DragonOS/kernel/src/driver/tty/
H A Dtermios.rs36 pub line: LineDisciplineType, field
61 c_line: termios.line as u8, in from_kernel_termios()
75 line: LineDisciplineType::from_line(self.c_line), in to_kernel_termios()
141 line: LineDisciplineType::NTty,
H A Dtty_core.rs481 termios.line = driver.init_termios().line; in init_termios()
/DragonOS/kernel/src/driver/tty/tty_ldisc/
H A Dmod.rs84 pub fn from_line(line: u8) -> Self { in from_line()
85 match line { in from_line()
/DragonOS/kernel/src/driver/serial/
H A Dmod.rs69 line: LineDisciplineType::NTty,
/DragonOS/kernel/src/
H A Dlib.rs151 loc.line(), in panic()
/DragonOS/kernel/src/driver/video/fbdev/base/fbcon/
H A Dframebuffer_console.rs456 for line in top..(bottom - count) { in con_scroll()
457 let mut start = line * vc_data.cols; in con_scroll()
474 line as u32, in con_scroll()
487 line as u32, in con_scroll()
/DragonOS/docs/kernel/debug/
H A Ddebug-kernel-with-gdb.md145 …rgo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/thingbuf-0.1.4/src/lib.rs, line 315.
/DragonOS/
H A DLICENSE291 the "copyright" line and a pointer to where the full notice is found.
293 <one line to give the program's name and a brief idea of what it does.>