Home
last modified time | relevance | path

Searched refs:lifetimes (Results 1 – 25 of 77) sorted by relevance

1234

/external/rust/crates/async-trait/tests/ui/
Dlifetime-span.stderr25 | ---------------- lifetimes in impl do not match this method in trait
28 | ^^^^^^^^^^^^^ lifetimes do not match method in trait
34 | ---------------- lifetimes in impl do not match this method in trait
37 | ^^^^^^^^^^^^^ lifetimes do not match method in trait
43 | ---- lifetimes in impl do not match this method in trait
46 | ^^^^^^^^^^^^^^^^ lifetimes do not match method in trait
/external/mesa3d/src/mesa/state_tracker/tests/
Dst_tests_common.cpp544 void LifetimeEvaluatorExactTest::check( const vector<register_live_range>& lifetimes, in check() argument
547 for (unsigned i = 1; i < lifetimes.size(); ++i) { in check()
548 EXPECT_EQ(lifetimes[i].begin, e[i][0]); in check()
549 EXPECT_EQ(lifetimes[i].end, e[i][1]); in check()
553 void LifetimeEvaluatorExactTest::check(const vector<array_live_range>& lifetimes, in check() argument
556 for (unsigned i = 0; i < lifetimes.size(); ++i) { in check()
557 EXPECT_EQ(lifetimes[i].begin(), e[i].begin()); in check()
558 EXPECT_EQ(lifetimes[i].end(), e[i].end()); in check()
559 EXPECT_EQ(lifetimes[i].access_mask(), e[i].access_mask()); in check()
563 void LifetimeEvaluatorAtLeastTest::check( const vector<register_live_range>& lifetimes, in check() argument
[all …]
/external/rust/crates/async-trait/src/
Dexpand.rs43 fn lifetimes<'a>(&'a self, used: &'a [Lifetime]) -> impl Iterator<Item = &'a GenericParam> { in lifetimes() method
88 let mut lifetimes = CollectLifetimes::new("'impl", input.impl_token.span); in expand() localVariable
89 lifetimes.visit_type_mut(&mut *input.self_ty); in expand()
90 lifetimes.visit_path_mut(&mut input.trait_.as_mut().unwrap().1); in expand()
92 let elided = lifetimes.elided; in expand()
177 let mut lifetimes = CollectLifetimes::new("'life", default_span); in transform_sig() localVariable
180 FnArg::Receiver(arg) => lifetimes.visit_receiver_mut(arg), in transform_sig()
181 FnArg::Typed(arg) => lifetimes.visit_type_mut(&mut arg.ty), in transform_sig()
189 .chain(context.lifetimes(&lifetimes.explicit)) in transform_sig()
217 for elided in lifetimes.elided { in transform_sig()
/external/rust/crates/syn/src/
Dgenerics.rs136 pub fn lifetimes(&self) -> Lifetimes { in lifetimes() method
437 pub lifetimes: Punctuated<LifetimeDef, Token![,]>,
447 lifetimes: Punctuated::new(), in default()
499 pub lifetimes: Option<BoundLifetimes>,
563 pub lifetimes: Option<BoundLifetimes>,
738 lifetimes: { in parse()
739 let mut lifetimes = Punctuated::new(); in parse() localVariable
741 lifetimes.push_value(input.parse()?); in parse()
745 lifetimes.push_punct(input.parse()?); in parse()
747 lifetimes in parse()
[all …]
Dty.rs115 pub lifetimes: Option<BoundLifetimes>,
403 let mut lifetimes = None::<BoundLifetimes>; in ambig_ty() localVariable
406 lifetimes = input.parse()?; in ambig_ty()
479 lifetimes: None, in ambig_ty()
530 bare_fn.lifetimes = lifetimes; in ambig_ty()
545 if lifetimes.is_some() { in ambig_ty()
548 trait_bound.lifetimes = lifetimes; in ambig_ty()
586 if lifetimes.is_some() || allow_plus && input.peek(Token![+]) { in ambig_ty()
591 lifetimes, in ambig_ty()
718 lifetimes: input.parse()?, in parse_bare_fn()
[all …]
/external/rust/cxx/syntax/
Dparse.rs84 let mut lifetimes = Punctuated::new(); in parse_struct() localVariable
95 lifetimes.push_value(param.lifetime); in parse_struct()
97 lifetimes.push_punct(punct); in parse_struct()
163 lifetimes, in parse_struct()
242 lifetimes: Punctuated::new(), in parse_enum()
460 lifetimes: Punctuated::new(), in parse_extern_type()
693 let mut lifetimes = Punctuated::new(); in parse_extern_verbatim_type() localVariable
704 lifetimes.push_value(param.lifetime); in parse_extern_verbatim_type()
706 lifetimes.push_punct(punct); in parse_extern_verbatim_type()
725 let lifetimes = Lifetimes { in parse_extern_verbatim_type() localVariable
[all …]
Dimpls.rs90 lifetimes, in eq()
95 lifetimes: lifetimes2, in eq()
98 lifetimes.iter().eq(lifetimes2) in eq()
106 lifetimes, in hash()
109 lifetimes.len().hash(state); in hash()
110 for lifetime in lifetimes { in hash()
Dnames.rs41 lifetimes: Punctuated::new(), in new()
Dtokens.rs236 lifetimes, in to_tokens()
240 lifetimes.to_tokens(tokens); in to_tokens()
/external/rust/crates/thiserror/tests/ui/
Dlifetime.stderr1 error: non-static lifetimes are not allowed in the source of an error, because std::error::Error re…
7 error: non-static lifetimes are not allowed in the source of an error, because std::error::Error re…
/external/rust/cxx/macro/src/
Dgenerics.rs50 } else if !self.resolve.generics.lifetimes.is_empty() { in to_tokens()
56 self.resolve.generics.lifetimes.to_tokens(tokens); in to_tokens()
/external/llvm-project/clang-tools-extra/docs/clang-tidy/checks/
Dobjc-nsinvocation-argument-lifetime.rst7 argument object lifetimes. When passing Objective-C objects as parameters
34 lifetimes other than ``__unsafe_unretained``, but does not propose a fix:
/external/rust/crates/pin-project-internal/src/
Dutils.rs46 let mut lifetimes = CollectLifetimes(Vec::new()); in determine_lifetime_name() localVariable
47 lifetimes.visit_generics_mut(generics); in determine_lifetime_name()
49 while lifetimes.0.iter().any(|name| name.starts_with(&**lifetime_name)) { in determine_lifetime_name()
70 lifetimes: None, in insert_lifetime_and_bound()
/external/rust/crates/serde_derive/src/
Dbound.rs286 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()
/external/rust/cxx/tests/ui/
Dlifetime_extern_rust.stderr1 error: must be `unsafe fn f` in order to expose explicit lifetimes to C++
Dlifetime_extern_cxx.stderr1 error: extern C++ function with lifetimes must be declared in `unsafe extern "C++"` block
Dunsupported_elided.stderr13 …s a borrowed value, but the signature does not say which one of `t`'s 2 lifetimes it is borrowed f…
/external/llvm/test/CodeGen/X86/
Ddynamic-alloca-lifetime.ll5 ; lifetimes being applied to the stack protector frame index.
/external/llvm-project/llvm/test/CodeGen/X86/
Ddynamic-alloca-lifetime.ll5 ; lifetimes being applied to the stack protector frame index.
/external/rust/crates/async-trait/
DREADME.md98 - &#128077;&ensp;Elided lifetimes;
138 ## Elided lifetimes
144 Fortunately the compiler is able to diagnose missing lifetimes with a good error
/external/rust/cxx/book/src/
Dreference.md10 functions, Rust methods to C++; functions with lifetimes.
Dextern-rust.md146 ## Functions with explicit lifetimes
148 An extern Rust function signature is allowed to contain explicit lifetimes but
/external/llvm-project/llvm/test/CodeGen/AArch64/GlobalISel/
Ddynamic-alloca-lifetime.ll10 ; lifetimes being applied to the stack protector frame index.
/external/rust/crates/serde_derive/src/internals/
Dattr.rs1302 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()
/external/rust/crates/intrusive-collections/
DDESIGN.md5 …bs/1_53_0/doc/html/intrusive/usage.html#intrusive.usage.usage_lifetime) regarding object lifetimes.
23 …ing the collection take a shared borrow of an object when inserting it, lifetimes aren't ideal for…

1234