Home
last modified time | relevance | path

Searched refs:y (Results 1 – 21 of 21) sorted by relevance

/DragonOS-0.1.9/kernel/src/common/math/
Dround.c21 double y; in round() local
33 y = x + toint - toint - x; in round()
34 if (y > 0.5) in round()
35 y = y + x - 1; in round()
36 else if (y <= -0.5) in round()
37 y = y + x + 1; in round()
39 y = y + x; in round()
41 y = -y; in round()
42 return y; in round()
Dpow.c4 int64_t pow(int64_t x, int y) in pow() argument
6 if (y == 0) in pow()
8 if (y == 1) in pow()
10 if (y == 2) in pow()
13 while (y != 0) in pow()
15 if (y & 1) in pow()
17 y >>= 1; in pow()
/DragonOS-0.1.9/docs/kernel/configuration/
Dconfig.md15 enable = "y"
21 enable = "y"
30 - **y:** 启用,解析模块下的d.config
45 enable = "y"
50 enable = "y"
62 - **y:** 开启
78 enable = "y"
91 enable = "y"
102 init_debug = y
103 allocator_debug = y
[all …]
/DragonOS-0.1.9/kernel/src/common/
Dglib.h35 #define max(x, y) ((x > y) ? (x) : (y)) argument
36 #define min(x, y) ((x < y) ? (x) : (y)) argument
Dmath.h13 int64_t pow(int64_t x, int y);
/DragonOS-0.1.9/kernel/src/driver/tty/virtual_terminal/
Dvirtual_console.rs216 self.pos = self.cols * self.state.y + self.state.x; in init()
284 self.state.y = 0; in reset()
526 .con_putc(&self, i as u16, self.state.y as u32, self.state.x as u32); in add_softcursor()
543 self.state.y as u32, in hide_softcursor()
551 fn gotoxay(&mut self, x: i32, y: i32) { in gotoxay()
553 self.gotoxy(x, self.top as i32 + y); in gotoxay()
555 self.gotoxy(x, y) in gotoxay()
560 fn gotoxy(&mut self, x: i32, y: i32) { in gotoxy()
581 if y < min_y as i32 { in gotoxy()
582 self.state.y = min_y as usize; in gotoxy()
[all …]
/DragonOS-0.1.9/docs/community/code_contribution/
Dthe-development-process.md33 …一个更新版本。由于开发人员数量仍然较少,因此,目前这个时间是21天。我们将版本号定义为`x.y.z`的格式,每21天发布一个`z`版本. 在积累了2~3个月后,当DragonOS引入了足够的新功能…
35 …;创建没有BUG的、具有尽可能少BUG的代码,是每个开发者的目标之一。我们希望在每个`y`版本发布时,能够修复已知的问题。然而,由于在操作系统中,影响问题的变量太多了,以至于我们只能尽全力去减少B…
/DragonOS-0.1.9/tools/
DDockerfile16 …\).debian.org@http://mirrors.ustc.edu.cn@g" /etc/apt/sources.list && apt update && apt install -y \
26 RUN curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain nightly -y && \
47 RUN apt-get autoremove -q -y && \
48 apt-get clean -q -y && \
Dcreate_hdd_image.sh40 y
/DragonOS-0.1.9/kernel/src/driver/video/fbdev/base/fbcon/
Dframebuffer_console.rs225 vc_data.pos = vc_data.state.x + vc_data.state.y * vc_data.cols; in con_init()
329 let y = pos / vc_data.cols; in con_getxy() localVariable
334 return Ok((next_line_start, x, y)); in con_getxy()
612 y: u32, in put_string()
627 y: y * vc_data.font.height, in put_string()
668 let y = fbcon_data.display.real_y(vc_data.state.y as u32); in cursor() localVariable
703 || fbcon_data.cursor_state.image.y != (vc_data.font.height * y) in cursor()
707 fbcon_data.cursor_state.image.y = vc_data.font.height * y; in cursor()
796 cursor.image.y = fbcon_data.cursor_state.image.y; in cursor()
Dmod.rs409 y: u32, in put_string()
/DragonOS-0.1.9/kernel/crates/unified-init/src/
Dmain.rs58 fn y() -> Result<(), SystemError> { in two_elements() function
/DragonOS-0.1.9/user/port/binutils/2.38/
DDockerfile6 RUN apt-get update && apt-get install -y \
/DragonOS-0.1.9/kernel/src/driver/input/ps2_mouse/
Dps_mouse_device.rs114 y: i16, field
124 y: 0, in new()
155 self.y != 0 in y_moved()
170 self.y in get_y()
313 guard.current_state.y = self.get_y_movement(packet, flags); in process_packet()
/DragonOS-0.1.9/kernel/src/libs/lib_ui/
Dtextui.rs342 pub fn get_index_by_x_y(x: usize, y: usize) -> usize { in get_index_by_x_y()
343 textui_framework().metadata.read().buf_info().width() as usize * y + x in get_index_by_x_y()
352 let y: u32 = id_y * TEXTUI_CHAR_HEIGHT; in get_start_index_by_lineid_lineindex() localVariable
354 TextuiBuf::get_index_by_x_y(x as usize, y as usize) in get_start_index_by_lineid_lineindex()
433 let y: u32 = id_y * TEXTUI_CHAR_HEIGHT; in no_init_textui_render_chromatic() localVariable
451 (buf_start + buf_width as usize * 4 * (y as usize + i as usize) + 4 * x as usize) in no_init_textui_render_chromatic()
/DragonOS-0.1.9/docs/introduction/
Dbuild_system.md108 sudo apt install -y autoconf automake autotools-dev curl libmpc-dev libmpfr-dev libgmp-dev \
182 sudo apt install -y qemu qemu-system qemu-kvm
/DragonOS-0.1.9/kernel/src/driver/video/fbdev/base/
Dmod.rs64 let y = image.y; in generic_imageblit() localVariable
69 let mut bitstart = (y * self.current_fb_fix().line_length * 8) + (x * bit_per_pixel); in generic_imageblit()
1250 pub y: u32, field
/DragonOS-0.1.9/docs/kernel/debug/
Ddebug-kernel-with-gdb.md150 12 breakpoint keep y 0xffff8000001f8f16 in thingbuf::Core::pop_ref<u8>
152 13 watchpoint keep y slots
/DragonOS-0.1.9/kernel/src/libs/
Drbtree.rs1027 let mut y = NodePtr::null(); in insert() localVariable
1031 y = x; in insert()
1041 node.set_parent(y); in insert()
1043 if y.is_null() { in insert()
1046 match node.cmp(&&mut y) { in insert()
1048 y.set_left(node); in insert()
1051 y.set_right(node); in insert()
/DragonOS-0.1.9/kernel/src/driver/video/fbdev/
Dvesafb.rs409 for y in rect.dy..(rect.dy + rect.height) { in fb_fillrect()
411 unsafe { *base.add((y * line_offset + x) as usize) = fg }; in fb_fillrect()
/DragonOS-0.1.9/docs/community/ChangeLog/V0.1.x/
DV0.1.3.md404 - apt安装时增加-y,不需用户确认