Home
last modified time | relevance | path

Searched refs:key (Results 1 – 13 of 13) sorted by relevance

/DragonOS-0.1.8/user/libs/libKeyboard/
Dkeyboard.c302 int key = 0; in keyboard_analyze_keycode() local
305 key = PAUSE_BREAK; in keyboard_analyze_keycode()
310 key = 0; in keyboard_analyze_keycode()
324 key = PRINT_SCREEN; in keyboard_analyze_keycode()
332 key = PRINT_SCREEN; in keyboard_analyze_keycode()
338 key = OTHER_KEY; in keyboard_analyze_keycode()
342 key = OTHER_KEY; in keyboard_analyze_keycode()
346 key = OTHER_KEY; in keyboard_analyze_keycode()
350 key = OTHER_KEY; in keyboard_analyze_keycode()
354 key = OTHER_KEY; in keyboard_analyze_keycode()
[all …]
/DragonOS-0.1.8/user/apps/shell/
Dshell.c154 int key = 0; in shell_readline() local
159 key = getchar(); in shell_readline()
161 if (key == 224) in shell_readline()
163 key = getchar(); in shell_readline()
165 switch (key) in shell_readline()
179 key = 0xc8; in shell_readline()
193 key = 0x50; in shell_readline()
200 if (key == '\n') in shell_readline()
212 if (key && key != 0x50 && key != 0xc8) in shell_readline()
214 if (key == '\b') in shell_readline()
[all …]
/DragonOS-0.1.8/kernel/src/libs/
Dkeyboard_parser.rs309 let mut key = KeyFlag::OtherKey; // 可视字符 in handle_type3() localVariable
314 key = KeyFlag::NoneFlag; in handle_type3()
318 key = KeyFlag::NoneFlag; in handle_type3()
322 key = KeyFlag::NoneFlag; in handle_type3()
326 key = KeyFlag::NoneFlag; in handle_type3()
336 key = KeyFlag::NoneFlag; in handle_type3()
341 key = KeyFlag::NoneFlag; in handle_type3()
363 if key != KeyFlag::NoneFlag { in handle_type3()
Drbtree.rs39 key: K, field
46 (self.key, self.value) in pair()
56 write!(f, "k:{:?} v:{:?} c:{:?}", self.key, self.value, self.color) in fmt()
74 unsafe { (*self.0).key.cmp(&(*other.0).key) } in cmp()
80 unsafe { Some((*self.0).key.cmp(&(*other.0).key)) } in partial_cmp()
99 key: k, in new()
274 let mut node = NodePtr::new((*self.0).key.clone(), (*self.0).value.clone()); in deep_clone()
424 .all(|(key, value)| other.get(key).map_or(false, |v| *value == *v)) in eq()
632 core::ptr::read(&(*self.head.0).key), in next()
712 let (k, v) = unsafe { (&(*self.head.0).key, &(*self.head.0).value) }; in next()
[all …]
/DragonOS-0.1.8/user/dadk/config/
Dtest_fstat-0.1.0.dadk29 "key": "__dragonos__",
Drelibc-0.1.0.dadk26 "key": "TARGET",
/DragonOS-0.1.8/.github/workflows/
Dmakefile.yml25key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('tools/build_gcc_toolchain.sh') }}
43key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ env.dadk_version }}-${{ hashFiles('.github/w…
/DragonOS-0.1.8/tools/
Dlist_contributors.py45 authors = sorted(authors.values(), key=lambda x: x['count'], reverse=True)
/DragonOS-0.1.8/kernel/src/filesystem/sysfs/
Dmod.rs224 let mut key: Vec<String> = inode in get_entry_name() localVariable
231 match key.len() { in get_entry_name()
233 1=>{return Ok(key.remove(0));} in get_entry_name()
234 …en()={key_len}>1, current inode_id={inode_id}, to find={to_find}", key_len=key.len(), inode_id = i… in get_entry_name()
/DragonOS-0.1.8/kernel/src/filesystem/ramfs/
Dmod.rs411 let mut key: Vec<String> = inode in get_entry_name() localVariable
418 match key.len() { in get_entry_name()
420 1=>{return Ok(key.remove(0));} in get_entry_name()
421 …en()={key_len}>1, current inode_id={inode_id}, to find={to_find}", key_len=key.len(), inode_id = i… in get_entry_name()
/DragonOS-0.1.8/kernel/src/filesystem/devfs/
Dmod.rs409 let mut key: Vec<String> = inode in get_entry_name() localVariable
416 match key.len() { in get_entry_name()
418 1=>{return Ok(key.remove(0));} in get_entry_name()
419 …en()={key_len}>1, current inode_id={inode_id}, to find={to_find}", key_len=key.len(), inode_id = i… in get_entry_name()
/DragonOS-0.1.8/kernel/src/filesystem/procfs/
Dmod.rs626 let mut key: Vec<String> = inode in get_entry_name() localVariable
633 match key.len() { in get_entry_name()
635 1=>{return Ok(key.remove(0));} in get_entry_name()
636 …en()={key_len}>1, current inode_id={inode_id}, to find={to_find}", key_len=key.len(), inode_id = i… in get_entry_name()
/DragonOS-0.1.8/kernel/src/filesystem/fat/
Dfs.rs1642 let mut key: Vec<String> = guard in get_entry_name() localVariable
1649 match key.len() { in get_entry_name()
1651 1=>{return Ok(key.remove(0));} in get_entry_name()
1652 …en()={key_len}>1, current inode_id={inode_id}, to find={to_find}", key_len=key.len(), inode_id = g… in get_entry_name()