Home
last modified time | relevance | path

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

/DragonOS-0.1.5/kernel/src/io/
Ddevice.rs128 buf_slice.copy_from_slice(&temp[range.begin..range.end]); in read_at()
163 temp[range.begin..range.end].copy_from_slice(&buf_slice); in write_at()
181 pub end: usize, field
193 pub end: usize, // 结束位置在块内的偏移量,单位是字节 field
202 end: end_addr, in new()
210 end: end_addr, in new_multiblock()
222 let end = if lba_id == self.end / blk_size { in next_block() localVariable
223 self.end % blk_size in next_block()
228 self.begin += end - begin; in next_block()
234 end: end, in next_block()
[all …]
/DragonOS-0.1.5/tools/
Dbatch_delete_loop.py4 end = int(input("End at: ")) variable
6 for i in range(start, end+1):
/DragonOS-0.1.5/docs/
Dmake.bat29 goto end
34 :end label
/DragonOS-0.1.5/user/libs/libKeyboard/
Dkeyboard.c6 static bool gui_l = 0, gui_r = 0, apps = 0, insert = 0, home = 0, pgup = 0, del = 0, end = 0, pgdn … variable
409 end = true; in keyboard_analyze_keycode()
413 end = false; in keyboard_analyze_keycode()
/DragonOS-0.1.5/docs/userland/libc/apis/api-list/
Dstdio.md50 ``#define SEEK_END 2 /* Seek relative to end-of-file */``
/DragonOS-0.1.5/kernel/src/libs/
Dprintk.c60 char *str = NULL, *s = NULL, *end = NULL; in __do_vsprintf() local
72 end = buf + buf_size; in __do_vsprintf()
338 if (str < end) in __do_vsprintf()
344 *(end-1) = '\0'; in __do_vsprintf()
/DragonOS-0.1.5/kernel/src/filesystem/procfs/
Dmod.rs203 let end = _pdata.data.len().min(offset + len); in read_status() localVariable
206 if buf.len() < (end - start) { in read_status()
211 let src = &_pdata.data[start..end]; in read_status()
397 let end = inode.data.len().min(offset + len); in read_at() localVariable
400 if buf.len() < (end - start) { in read_at()
405 let src = &inode.data[start..end]; in read_at()
/DragonOS-0.1.5/kernel/src/filesystem/ramfs/
Dmod.rs138 let end = inode.data.len().min(offset + len); in read_at() localVariable
141 if buf.len() < (end - start) { in read_at()
146 let src = &inode.data[start..end]; in read_at()
/DragonOS-0.1.5/kernel/src/filesystem/fat/
Dentry.rs743 let end: (Cluster, u64) = *offsets.last().unwrap(); localVariable
745 let offset = fs.cluster_bytes_offset(end.0) + end.1;
748 return Ok(short_dentry.to_dir_entry_with_long_name(long_name.to_string(), (start, end)));