Home
last modified time | relevance | path

Searched refs:content (Results 1 – 9 of 9) sorted by relevance

/DragonOS/user/apps/dmesg/
H A Dmain.c86 unsigned int content = 0; in main() local
93 if (content == 0 && buf[i] == '>') in main()
95 content++; in main()
97 else if (content == 1 && buf[i] == ']') in main()
100 content++; in main()
102 else if (content == 2 && buf[i] == ')') in main()
105 content++; in main()
107 else if (content == 3 && buf[i] == '\n') in main()
110 content = 0; in main()
/DragonOS/.github/
H A Dissue-checker.yml7 content:
10 content:
13 content:
16 content:
20 content: enhancement
28 content: Bug fix
36 content: documentation
44 content: test
53 content: ambiguous
/DragonOS/user/apps/user-manage/src/executor/
H A Dexecutor.rs104 let content = read_to_string(&guard.group_file); in write_group_file() localVariable
106 for line in content.lines() { in write_group_file()
146 let content = read_to_string(&guard.gshadow_file); in write_gshadow_file() localVariable
148 for line in content.lines() { in write_gshadow_file()
199 let content = read_to_string(&guard.passwd_file); in update_passwd_file() localVariable
200 let lines: Vec<&str> = content.lines().collect(); in update_passwd_file()
219 let content = read_to_string(&guard.group_file); in update_group_file() localVariable
221 for line in content.lines() { in update_group_file()
249 let content = read_to_string(&guard.shadow_file); in update_shadow_file() localVariable
250 let lines: Vec<&str> = content.lines().collect(); in update_shadow_file()
[all …]
/DragonOS/kernel/crates/intertrait/macros/src/
H A Dargs.rs39 let content; in parse() localVariable
40 bracketed!(content in input); in parse()
41 for ident in Punctuated::<Ident, Token![,]>::parse_terminated(&content)? { in parse()
/DragonOS/user/apps/user-manage/src/check/
H A Dcheck.rs109 Ok(content) => { in check_group_gid()
110 for line in content.lines() { in check_group_gid()
451 Ok(content) => { in cur_username()
452 for line in content.lines() { in cur_username()
478 Ok(content) => { in check_password()
479 for line in content.lines() { in check_password()
589 Ok(content) => { in is_main_group()
590 for line in content.lines() { in is_main_group()
647 Ok(content) => { in check_group_file()
648 for line in content.lines() { in check_group_file()
[all …]
/DragonOS/kernel/src/filesystem/vfs/
H A Dmod.rs688 let mut content = [0u8; 256]; in do_lookup_follow_symlink() localVariable
694 &mut content, in do_lookup_follow_symlink()
700 ::core::str::from_utf8(&content[..len]).map_err(|_| SystemError::EINVAL)?, in do_lookup_follow_symlink()
/DragonOS/kernel/src/driver/video/fbdev/base/
H A Dmod.rs239 for (content, full) in iter { in slow_imageblit()
246 pt_status = safe_dst.write(content); in slow_imageblit()
/DragonOS/kernel/crates/intertrait/macros/
H A DLICENSE-APACHE141 origin of the Work and reproducing the content of the NOTICE file.
/DragonOS/kernel/crates/rbpf/
H A DLICENSE-APACHE142 origin of the Work and reproducing the content of the NOTICE file.