Home
last modified time | relevance | path

Searched refs:b (Results 1 – 22 of 22) sorted by relevance

/DragonOS/kernel/crates/intertrait/tests/
H A Don-trait-impl-assoc-type2.rs14 fn concat(&self, a: Self::I1, b: Self::I2) -> String; in concat()
22 fn concat(&self, a: Self::I1, b: Self::I2) -> String { in concat()
23 format!("Data: {} - {}", a, b) in concat()
H A Don-trait-impl-assoc-type3.rs14 fn concat(&self, prefix: T, a: Self::I1, b: Self::I2) -> String; in concat()
22 fn concat(&self, prefix: String, a: Self::I1, b: Self::I2) -> String { in concat()
23 format!("{}: {} - {}", prefix, a, b) in concat()
/DragonOS/kernel/src/libs/
H A Dnotifier.rs37 for b in self.0.iter() { in register()
39 if Arc::ptr_eq(&block, b) { in register()
47 if block.priority() > b.priority() { in register()
52 if block.priority() == b.priority() && unique_priority { in register()
66 let remove = self.0.extract_if(|b| Arc::ptr_eq(&block, b)); in unregister()
93 for b in self.0.iter() { in call_chain()
97 ret = b.notifier_call(action, data); in call_chain()
H A Dalign.rs24 const fn max(a: usize, b: usize) -> usize { in max()
25 if a > b { in max()
28 b in max()
H A Drbtree.rs1807 let mut b = RBTree::new(); in test_extend_iter() localVariable
1808 b.insert(2, "two"); in test_extend_iter()
1809 b.insert(3, "three"); in test_extend_iter()
1811 a.extend(b.into_iter()); in test_extend_iter()
/DragonOS/docs/kernel/debug/
H A Ddebug-kernel-with-gdb.md114   您可以使用`break`或者`b`命令来设置断点。
116   关于`break`或者`b`命令的使用:
119 b <line_number> #在当前活动源文件的相应行号打断点
121 b <file>:<line_number> #在对应文件的相应行号打断点
123 b <function_name> #为一个命名函数打断点
141 &emsp;&emsp;您可以通过`info b`,`info break`或者`info breakpoints`来查看所有的断点信息:
144 (gdb) b 309
148 (gdb) info b
188 print <expression> # 打印合法表达式的值,例如:print a+b 或者 p a+b
204 display <expression> # 打印合法表达式的值,例如:display a+b
/DragonOS/kernel/crates/intertrait/src/
H A Dhasher.rs26 .fold(0u64, |result, b| (result << 8) | *b as u64); in write()
/DragonOS/kernel/crates/rust-slabmalloc/src/
H A Dpages.rs65 for (base_idx, b) in self.iter().enumerate() { in first_fit()
66 let bitval = b.load(Ordering::Relaxed); in first_fit()
351 pub(crate) fn iter_mut<'b: 'a>(&mut self) -> ObjectPageIterMut<'b, T> { in iter_mut() argument
364 pub(crate) fn insert_front<'b>(&'b mut self, mut new_head: &'a mut T) { in insert_front()
414 pub(crate) fn pop<'b>(&'b mut self) -> Option<&'a mut T> { in pop()
H A Dsc.rs18 const fn cmin(a: usize, b: usize) -> usize { in cmin()
19 [a, b][(a > b) as usize] in cmin()
24 fn cmin(a: usize, b: usize) -> usize { in cmin()
25 core::cmp::min(a, b) in cmin()
H A Dzone.rs145 for b in slab_page.bitfield().iter() { in free_space()
146 let bitval = b.load(Ordering::Relaxed); in free_space()
/DragonOS/user/apps/http_server/
H A Dmain.c16 #define min(a, b) ((a) < (b) ? (a) : (b)) argument
/DragonOS/user/apps/test_bind/
H A Dmain.c13 #define min(a, b) ((a) < (b) ? (a) : (b)) argument
/DragonOS/kernel/src/driver/open_firmware/
H A Dfdt.rs383 pub fn find_node_by_compatible<'b>( in find_node_by_compatible()
385 fdt: &'b Fdt<'b>, in find_node_by_compatible() argument
386 compatible: &'b str, in find_node_by_compatible()
387 ) -> impl Iterator<Item = fdt::node::FdtNode<'b, 'b>> + 'b { in find_node_by_compatible() argument
/DragonOS/docs/
H A Dmake.bat25 exit /b 1
/DragonOS/docs/community/code_contribution/
H A Dc-coding-style.md56 if(b)
/DragonOS/kernel/crates/bitmap/src/
H A Dbitmap_core.rs64 if let Some(b) = bit { in first_index()
65 return Some(i * T::bit_size() + b); in first_index()
/DragonOS/kernel/src/time/
H A Dclocksource.rs125 pub fn new(b: u64) -> Self { in new()
126 Self { bits: b } in new()
130 pub fn new(b: u64) -> Self { in new()
131 Self { bits: b } in new()
/DragonOS/kernel/src/driver/video/fbdev/base/fbcon/
H A Dframebuffer_console.rs260 let b = y_break - sy; in con_clear() localVariable
265 b as u32, in con_clear()
270 fb_data.display.real_y((sy + b) as u32), in con_clear()
272 (height - b) as u32, in con_clear()
/DragonOS/kernel/src/filesystem/fat/
H A Dentry.rs1149 for b in &self.name1 { in flush()
1150 cursor.write_u16(*b)?; in flush()
1157 for b in &self.name2 { in flush()
1158 cursor.write_u16(*b)?; in flush()
1163 for b in &self.name3 { in flush()
1164 cursor.write_u16(*b)?; in flush()
/DragonOS/kernel/src/libs/lib_ui/
H A Dtextui.rs252 pub const fn new(r: u8, g: u8, b: u8) -> Self { in new()
253 let val = ((r as u32) << 16) | ((g as u32) << 8) | (b as u32); in new()
/DragonOS/
H A DLICENSE98 b) You must cause any work that you distribute or publish, that in
142 b) Accompany it with a written offer, valid for at least three
153 an offer, in accord with Subsection b above.)
/DragonOS/kernel/crates/intertrait/macros/
H A DLICENSE-APACHE97 (b) You must cause any modified files to carry prominent notices