• Home
  • Raw
  • Download

Lines Matching +full:style +full:- +full:mod

1 …b.com/dtolnay/unsafe-libyaml) [![crates-io]](https://crates.io/crates/unsafe-libyaml) [!…
3 //! [github]: https://img.shields.io/badge/github-8da0cb?style=for-the-badge&labelColor=555555&logo…
4 //! [crates-io]: https://img.shields.io/badge/crates.io-fc8d62?style=for-the-badge&labelColor=55555…
5 //! [docs-rs]: https://img.shields.io/badge/docs.rs-66c2a5?style=for-the-badge&labelColor=555555&lo…
8 #![doc(html_root_url = "https://docs.rs/unsafe-libyaml/0.2.10")]
40 clippy::while_immutable_condition, // https://github.com/rust-lang/rust-clippy/issues/3548
47 mod libc {
55 mod externs {
66 (need_len + MALLOC_ALIGN - 1) & !(MALLOC_ALIGN - 1)
81 pub unsafe fn malloc(size: libc::c_ulong) -> *mut libc::c_void { in malloc()
94 pub unsafe fn realloc(ptr: *mut libc::c_void, new_size: libc::c_ulong) -> *mut libc::c_void { in realloc()
121 ) -> libc::c_int { in memcmp()
131 ) -> *mut libc::c_void { in memcpy()
144 ) -> *mut libc::c_void { in memmove()
157 ) -> *mut libc::c_void { in memset()
162 pub unsafe fn strcmp(lhs: *const libc::c_char, rhs: *const libc::c_char) -> libc::c_int { in strcmp()
168 pub unsafe fn strdup(src: *const libc::c_char) -> *mut libc::c_char { in strdup()
175 pub unsafe fn strlen(str: *const libc::c_char) -> libc::c_ulong { in strlen()
187 ) -> libc::c_int { in strncmp()
193 count -= 1; in strncmp()
217 ) -> ! { in __assert_fail()
229 mod fmt {
239 pub unsafe fn new(ptr: *mut yaml_char_t) -> Self { in new()
249 fn write_str(&mut self, s: &str) -> fmt::Result { in write_str()
260 fn c_offset_from(self, origin: Self) -> isize; in c_offset_from()
264 fn c_offset_from(self, origin: *const T) -> isize { in c_offset_from()
265 (self as isize - origin as isize) / size_of::<T>() as isize in c_offset_from()
270 fn c_offset_from(self, origin: *mut T) -> isize { in c_offset_from()
271 (self as isize - origin as isize) / size_of::<T>() as isize in c_offset_from()
276 mod macros;
278 mod api;
279 mod dumper;
280 mod emitter;
281 mod loader;
282 mod ops;
283 mod parser;
284 mod reader;
285 mod scanner;
286 mod success;
287 mod writer;
288 mod yaml;