/third_party/rust/crates/io-lifetimes/ |
D | README.md | 2 <h1><code>io-lifetimes</code></h1> 9 …s://github.com/sunfishcode/io-lifetimes/actions?query=workflow%3ACI"><img src="https://github.com/… 10 …<a href="https://crates.io/crates/io-lifetimes"><img src="https://img.shields.io/crates/v/io-lifet… 11 …<a href="https://docs.rs/io-lifetimes"><img src="https://docs.rs/io-lifetimes/badge.svg" alt="docs… 36 [hello]: https://github.com/sunfishcode/io-lifetimes/blob/main/examples/hello.rs 37 [easy-conversions]: https://github.com/sunfishcode/io-lifetimes/blob/main/examples/easy-conversions… 38 [portable-views]: https://github.com/sunfishcode/io-lifetimes/blob/main/examples/portable-views.rs 39 [flexible-apis]: https://github.com/sunfishcode/io-lifetimes/blob/main/examples/flexible-apis.rs 40 [owning-wrapper]: https://github.com/sunfishcode/io-lifetimes/blob/main/examples/owning-wrapper.rs 41 [provided example FFI bindings]: https://github.com/sunfishcode/io-lifetimes/blob/main/src/example_… [all …]
|
D | COPYRIGHT | 3 `io-lifetimes` is triple-licensed under Apache 2.0 with the LLVM Exception, 9 Copyrights in the `io-lifetimes` project are retained by their contributors. 10 No copyright assignment is required to contribute to the `io-lifetimes` 16 Except as otherwise noted (below and/or in individual files), `io-lifetimes`
|
D | Cargo.toml | 2 name = "io-lifetimes" 10 repository = "https://github.com/sunfishcode/io-lifetimes" 14 # io-lifetimes only depends on libc/windows-sys for the ability to close 27 # The following dependencies allow io-lifetimes to define impls for various
|
D | README.OpenSource | 3 "Name": "io-lifetimes", 8 "Upstream URL": "https://github.com/sunfishcode/io-lifetimes",
|
D | BUILD.gn | 25 cargo_pkg_name = "io-lifetimes"
|
/third_party/rust/crates/rustix/ |
D | Cargo.toml | 24 io-lifetimes = { version = "1.0.0", default-features = false, features = ["close"], optional = true… 75 io-lifetimes = { version = "1.0.0", default-features = false, features = ["close"] } 115 std = ["io-lifetimes"] 186 # Expose io-lifetimes' features for third-party crate impls. 189 #async-std = ["io-lifetimes/async-std"] 190 #tokio = ["io-lifetimes/tokio"] 191 os_pipe = ["io-lifetimes/os_pipe"] 192 #socket2 = ["io-lifetimes/socket2"] 193 #mio = ["io-lifetimes/mio"] 194 fs-err = ["io-lifetimes/fs-err"]
|
D | BUILD.gn | 30 "//third_party/rust/crates/io-lifetimes:lib", 35 "io-lifetimes",
|
D | README.md | 21 [`io-lifetimes`] instead of raw file descriptors, providing memory safety, 147 [`io-lifetimes`]: https://crates.io/crates/io-lifetimes 157 [`OwnedFd`]: https://docs.rs/io-lifetimes/latest/io_lifetimes/struct.OwnedFd.html 158 [`AsFd`]: https://docs.rs/io-lifetimes/latest/io_lifetimes/trait.AsFd.html
|
/third_party/rust/crates/cxx/macro/src/ |
D | generics.rs | 50 } else if !self.resolve.generics.lifetimes.is_empty() { in to_tokens() 56 self.resolve.generics.lifetimes.to_tokens(tokens); in to_tokens() 79 lifetimes, in to_tokens() 83 for pair in lifetimes.pairs() { in to_tokens()
|
/third_party/rust/crates/syn/src/ |
D | generics.rs | 136 pub fn lifetimes(&self) -> Lifetimes { in lifetimes() method 430 pub lifetimes: Punctuated<LifetimeDef, Token![,]>, 440 lifetimes: Punctuated::new(), in default() 492 pub lifetimes: Option<BoundLifetimes>, 556 pub lifetimes: Option<BoundLifetimes>, 731 lifetimes: { in parse() 732 let mut lifetimes = Punctuated::new(); in parse() localVariable 734 lifetimes.push_value(input.parse()?); in parse() 738 lifetimes.push_punct(input.parse()?); in parse() 740 lifetimes in parse() [all …]
|
D | ty.rs | 112 pub lifetimes: Option<BoundLifetimes>, 407 let mut lifetimes = None::<BoundLifetimes>; in ambig_ty() localVariable 410 lifetimes = input.parse()?; in ambig_ty() 484 lifetimes: None, in ambig_ty() 535 bare_fn.lifetimes = lifetimes; in ambig_ty() 593 if lifetimes.is_some() || allow_plus && input.peek(Token![+]) { in ambig_ty() 598 lifetimes, in ambig_ty() 730 lifetimes: input.parse()?, in parse_bare_fn() 1175 self.lifetimes.to_tokens(tokens); in to_tokens()
|
/third_party/rust/crates/cxx/syntax/ |
D | parse.rs | 87 let mut lifetimes = Punctuated::new(); in parse_struct() localVariable 98 lifetimes.push_value(param.lifetime); in parse_struct() 100 lifetimes.push_punct(punct); in parse_struct() 171 lifetimes, in parse_struct() 259 lifetimes: Punctuated::new(), in parse_enum() 494 lifetimes: Punctuated::new(), in parse_extern_type() 759 let mut lifetimes = Punctuated::new(); in parse_extern_verbatim_type() localVariable 770 lifetimes.push_value(param.lifetime); in parse_extern_verbatim_type() 772 lifetimes.push_punct(punct); in parse_extern_verbatim_type() 791 let lifetimes = Lifetimes { in parse_extern_verbatim_type() localVariable [all …]
|
D | impls.rs | 92 lifetimes, in eq() 97 lifetimes: lifetimes2, in eq() 100 lifetimes.iter().eq(lifetimes2) in eq() 108 lifetimes, in hash() 111 lifetimes.len().hash(state); in hash() 112 for lifetime in lifetimes { in hash()
|
D | names.rs | 30 lifetimes: Punctuated::new(), in new()
|
D | tokens.rs | 245 lifetimes, in to_tokens() 249 lifetimes.to_tokens(tokens); in to_tokens()
|
/third_party/rust/crates/serde/serde_derive/src/ |
D | bound.rs | 286 lifetimes: None, in with_bound() 294 lifetimes: None, in with_bound() 320 lifetimes: None, in with_self_bound() 328 lifetimes: None, in with_self_bound()
|
/third_party/mbedtls/scripts/mbedtls_dev/ |
D | macro_collector.py | 90 self.lifetimes = set() #type: Set[str] 144 self.arguments_for['lifetime'] = sorted(self.lifetimes) 369 'KEY_LIFETIME': self.lifetimes, 398 'lifetime': [self.lifetimes],
|
/third_party/rust/crates/serde/test_suite/tests/ui/borrow/ |
D | bad_lifetimes.stderr | 1 error: failed to parse borrowed lifetimes: "zzz"
|
D | no_lifetimes.stderr | 1 error: field `s` has no lifetimes to borrow
|
/third_party/rust/crates/cxx/tests/ui/ |
D | lifetime_extern_rust.stderr | 1 error: must be `unsafe fn f` in order to expose explicit lifetimes to C++
|
D | lifetime_extern_cxx.stderr | 1 error: extern C++ function with lifetimes must be declared in `unsafe extern "C++"` block
|
D | unsupported_elided.stderr | 18 …s a borrowed value, but the signature does not say which one of `t`'s 2 lifetimes it is borrowed f…
|
/third_party/rust/crates/is-terminal/ |
D | Cargo.toml | 19 io-lifetimes = "1.0.0"
|
D | BUILD.gn | 28 "//third_party/rust/crates/io-lifetimes:lib",
|
/third_party/rust/crates/serde/serde_derive/src/internals/ |
D | attr.rs | 1302 if let Ok(lifetimes) = parse_lit_into_lifetimes(cx, BORROW, &m.lit) { in from_ast() 1304 for lifetime in &lifetimes { in from_ast() 1315 borrowed_lifetimes.set(&m.path, lifetimes); in from_ast() 1677 if let Ok(BorrowedLifetimes(lifetimes)) = parse_lit_str(string) { in parse_lit_into_lifetimes() 1679 for lifetime in lifetimes { in parse_lit_into_lifetimes() 1842 let mut lifetimes = BTreeSet::new(); in borrowable_lifetimes() localVariable 1843 collect_lifetimes(&field.ty, &mut lifetimes); in borrowable_lifetimes() 1844 if lifetimes.is_empty() { in borrowable_lifetimes() 1851 Ok(lifetimes) in borrowable_lifetimes()
|