Home
last modified time | relevance | path

Searched refs:Start (Results 1 – 5 of 5) sorted by relevance

/DragonOS/kernel/src/libs/
H A Dkeyboard_parser.rs36 current_state: TypeOneFSMState::Start, in new()
52 Start, enumerator
69 TypeOneFSMState::Start => { in parse()
122 return TypeOneFSMState::Start; in handle_pause_break()
272 return TypeOneFSMState::Start; in handle_func0()
275 return TypeOneFSMState::Start; in handle_func0()
349 return TypeOneFSMState::Start; in handle_type3()
383 _ => return TypeOneFSMState::Start, // 解析错误,返回起始状态 in handle_prtsc_press()
387 return TypeOneFSMState::Start; in handle_prtsc_press()
393 return TypeOneFSMState::Start; in handle_prtsc_press()
[all …]
/DragonOS/user/apps/test-blockcache/src/
H A Dmain.rs7 file.seek(std::io::SeekFrom::Start(file_size_bytes - 1))?; in main()
15 file.seek(SeekFrom::Start(0))?; in main()
/DragonOS/user/apps/user-manage/src/executor/
H A Dexecutor.rs123 guard.group_file.seek(std::io::SeekFrom::Start(0)).unwrap(); in write_group_file()
166 .seek(std::io::SeekFrom::Start(0)) in write_gshadow_file()
211 guard.passwd_file.seek(std::io::SeekFrom::Start(0)).unwrap(); in update_passwd_file()
240 guard.group_file.seek(std::io::SeekFrom::Start(0)).unwrap(); in update_group_file()
258 guard.shadow_file.seek(std::io::SeekFrom::Start(0)).unwrap(); in update_shadow_file()
289 .seek(std::io::SeekFrom::Start(0)) in update_gshadow_file()
358 guard.passwd_file.seek(std::io::SeekFrom::Start(0)).unwrap(); in update_passwd_file()
406 guard.group_file.seek(std::io::SeekFrom::Start(0)).unwrap(); in update_group_file()
428 guard.shadow_file.seek(std::io::SeekFrom::Start(0)).unwrap(); in update_shadow_file()
481 .seek(std::io::SeekFrom::Start(0)) in update_gshadow_file()
[all …]
/DragonOS/kernel/src/driver/tty/tty_ldisc/
H A Dntty.rs531 self.add_echo_byte(EchoOperation::Start.to_u8()); in receive_special_char()
560 self.add_echo_byte(EchoOperation::Start.to_u8()); in receive_special_char()
652 self.add_echo_byte(EchoOperation::Start.to_u8()); in eraser()
717 self.add_echo_byte(EchoOperation::Start.to_u8()); in echo_erase_tab()
829 self.add_echo_byte(EchoOperation::Start.to_u8()); in receive_char()
844 if c == EchoOperation::Start.to_u8() { in echo_char()
845 self.add_echo_byte(EchoOperation::Start.to_u8()); in echo_char()
846 self.add_echo_byte(EchoOperation::Start.to_u8()); in echo_char()
852 self.add_echo_byte(EchoOperation::Start.to_u8()); in echo_char()
859 if c == EchoOperation::Start.to_u8() { in echo_char_raw()
[all …]
/DragonOS/kernel/src/driver/tty/
H A Dtty_core.rs663 Start, enumerator
677 0xff => Self::Start, in from_u8()
687 EchoOperation::Start => 0xff, in to_u8()