Searched refs:s (Results 1 – 7 of 7) sorted by relevance
| /rust/kernel/block/mq/ |
| A D | raw_writer.rs | 39 fn write_str(&mut self, s: &str) -> fmt::Result { in write_str() 40 let bytes = s.as_bytes(); in write_str()
|
| /rust/kernel/ |
| A D | str.rs | 433 let mut s = self.to_cstring()?; in to_ascii_lowercase() variables 435 s.make_ascii_lowercase(); in to_ascii_lowercase() 437 Ok(s) in to_ascii_lowercase() 450 let mut s = self.to_cstring()?; in to_ascii_uppercase() variables 452 s.make_ascii_uppercase(); in to_ascii_uppercase() 454 Ok(s) in to_ascii_uppercase() 799 fn write_str(&mut self, s: &str) -> fmt::Result { in write_str() 802 let pos_new = self.pos.saturating_add(s.len()); in write_str() 812 s.as_bytes().as_ptr(), in write_str() 851 fn write_str(&mut self, s: &str) -> fmt::Result { in write_str() [all …]
|
| A D | firmware.rs | 280 pub const fn push(self, s: &str) -> Self { in push() 286 self.push_internal(s.as_bytes()) in push()
|
| /rust/pin-init/ |
| A D | CONTRIBUTING.md | 34 same requirements for commits apply to `pin-init`. See [the kernel's documentation] for details. The 37 [the kernel's documentation]: https://docs.kernel.org/process/submitting-patches.html 51 Each commit should be a single, logically cohesive change. Of course it's best to keep the changes 57 change and its rationale. You also have to add your `Signed-off-by` tag, see [Developer's 61 [Developer's Certificate of Origin]: https://docs.kernel.org/process/submitting-patches.html#sign-y…
|
| A D | README.md | 11 Library to safely and fallibly initialize pinned `struct`s using in-place constructors. 13 [Pinning][pinning] is Rust's way of ensuring data does not move. 15 It also allows in-place initialization of big `struct`s that would otherwise produce a stack 18 This library's main use-case is in [Rust-for-Linux]. Although this version can be used 24 in direct conflict with Rust's normal process of first initializing an object and then moving 25 it into it's final memory location. For more information, see
|
| /rust/ |
| A D | Makefile | 391 $(call rust_exports,$<,"EXPORT_SYMBOL_RUST_GPL(%s);\n") > $@ 474 $(call rust_exports,$@,"%s\n") | \
|
| A D | bindgen_parameters | 26 # `seccomp`'s comment gets understood as a doctest
|
Completed in 12 milliseconds