Home
last modified time | relevance | path

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

/DragonOS/kernel/src/driver/video/fbdev/base/
H A Drender_helper.rs40 let mut ans = Self { in new() localVariable
55 ans.current = *ans.src.next().unwrap(); in new()
56 return ans; in new()
61 let mut ans = 0; in reverse() localVariable
64 ans |= mask & num; in reverse()
65 ans <<= 8; in reverse()
68 ans |= mask & num; in reverse()
69 ans >>= (4 - byte_per_pixel) * 8; in reverse()
70 return ans; in reverse()
/DragonOS/kernel/src/driver/block/cache/
H A Dcache_iter.rs67 let ans = BlockData::new( in next() localVariable
73 Some(ans) in next()
H A Dcached_block_device.rs404 let ans = self.current; in index_append() localVariable
408 return ans; in index_append()
412 let ans = self.current; in index_replace() localVariable
415 return ans; in index_replace()
/DragonOS/kernel/src/libs/
H A Dprintk.c35 int ans = 0; in skip_and_atoi() local
38 ans = ans * 10 + (**s) - '0'; in skip_and_atoi()
41 return ans; in skip_and_atoi()
/DragonOS/kernel/src/driver/base/block/
H A Dblock_device.rs386 let ans = self.read_at_sync(lba_id_start, count, buf)?; in cache_read() localVariable
387 return Ok(ans); in cache_read()
390 let ans = self.read_at_sync(lba_id_start, count, buf)?; in cache_read() localVariable
392 return Ok(ans); in cache_read()
395 let ans = self.read_at_sync(lba_id_start, count, buf)?; in cache_read() localVariable
396 return Ok(ans); in cache_read()