Home
last modified time | relevance | path

Searched refs:mutability (Results 1 – 25 of 46) sorted by relevance

12

/external/rust/cxx/syntax/
Dimpls.rs160 mutability: _, in eq()
169 mutability: _, in eq()
184 mutability: _, in hash()
201 mutability: _, in eq()
208 mutability: _, in eq()
221 mutability: _, in hash()
239 mutability: _, in eq()
247 mutability: _, in eq()
261 mutability: _, in hash()
399 mutability: _, in eq()
[all …]
Dtokens.rs88 mutability, in to_tokens()
96 mutability.to_tokens(tokens); in to_tokens()
110 mutability, in to_tokens()
114 mutability.to_tokens(tokens); in to_tokens()
128 mutability, in to_tokens()
132 mutability.to_tokens(tokens); in to_tokens()
316 mutability, in to_tokens()
324 mutability.to_tokens(tokens); in to_tokens()
343 mutability, in to_tokens()
351 mutability.to_tokens(tokens); in to_tokens()
Dmod.rs189 pub mutability: Option<Token![mut]>, field
231 pub mutability: Option<Token![mut]>, field
238 pub mutability: Option<Token![mut]>, field
248 pub mutability: Option<Token![mut]>, field
Dparse.rs561 mutable: arg.mutability.is_some(), in parse_extern_fn()
566 mutability: arg.mutability, in parse_extern_fn()
609 mutability: reference.mutability, in parse_extern_fn()
1050 let mutable = ty.mutability.is_some(); in parse_type_reference()
1051 let mutability = ty.mutability; in parse_type_reference() localVariable
1062 mutability, in parse_type_reference()
1072 if ty.mutability.is_some() { in parse_type_reference()
1086 mutability, in parse_type_reference()
1092 let mutable = ty.mutability.is_some(); in parse_type_ptr()
1094 let mutability = ty.mutability; in parse_type_ptr() localVariable
[all …]
Dcheck.rs407 let mutability = match receiver.mutable { in check_api_fn() localVariable
413 mutability = mutability, in check_api_fn()
630 let mutability = receiver.mutability; in span_for_receiver_error() localVariable
633 quote!(#ampersand #lifetime #mutability #var) in span_for_receiver_error()
636 quote!(#ampersand #lifetime #mutability #ty) in span_for_receiver_error()
/external/rust/crates/syn-mid/src/
Dpat.rs47 pub mutability: Option<Token![mut]>,
65 pub mutability: Option<Token![mut]>,
204 mutability: input.parse()?, in pat_ident()
241 let mutability: Option<Token![mut]> = input.parse()?; in field_pat() localVariable
244 if boxed.is_none() && by_ref.is_none() && mutability.is_none() && input.peek(Token![:]) in field_pat()
261 Pat::Ident(PatIdent { attrs: Vec::new(), by_ref, mutability, ident: ident.clone() }); in field_pat()
288 mutability: input.parse()?, in pat_reference()
320 self.mutability.to_tokens(tokens); in to_tokens()
372 self.mutability.to_tokens(tokens); in to_tokens()
Dfunc.rs65 pub mutability: Option<Token![mut]>,
171 mutability: input.parse()?, in parse()
262 self.mutability.to_tokens(tokens); in to_tokens()
/external/rust/crates/syn/tests/
Dtest_receiver.rs77 mutability: None, in test_value_shorthand()
92 mutability: Some(_), in test_mut_value_shorthand()
107 mutability: None, in test_ref_shorthand()
122 mutability: Some(_), in test_ref_mut_shorthand()
/external/rust/crates/async-trait/src/
Dexpand.rs233 mutability: None, in transform_sig()
239 pat.ident == "self" && ty.mutability.is_none() in transform_sig()
267 FnArg::Receiver(arg) => arg.mutability = None, in transform_sig()
271 ident.mutability = None; in transform_sig()
326 mutability, in transform_block()
331 quote!(let #mutability #ident = #self_token;) in transform_block()
335 ident, mutability, .. in transform_block()
341 quote!(let #mutability #prefixed = #ident;) in transform_block()
343 quote!(let #mutability #ident = #ident;) in transform_block()
Dreceiver.rs47 if let Some(m) = i.mutability { in visit_pat_ident_mut()
/external/rust/crates/syn/src/
Dpat.rs126 pub mutability: Option<Token![mut]>,
208 pub mutability: Option<Token![mut]>,
451 mutability: input.parse()?, in pat_ident()
516 let mutability: Option<Token![mut]> = input.parse()?; in field_pat() localVariable
519 if boxed.is_none() && by_ref.is_none() && mutability.is_none() && input.peek(Token![:]) in field_pat()
538 mutability, in field_pat()
625 mutability: input.parse()?, in pat_reference()
784 self.mutability.to_tokens(tokens); in to_tokens()
860 self.mutability.to_tokens(tokens); in to_tokens()
Dty.rs218 pub mutability: Option<Token![mut]>,
232 pub mutability: Option<Token![mut]>,
674 let (const_token, mutability) = if lookahead.peek(Token![const]) { in parse()
685 mutability, in parse()
697 mutability: input.parse()?, in parse()
1092 match &self.mutability { in to_tokens()
1107 self.mutability.to_tokens(tokens); in to_tokens()
Ditem.rs252 pub mutability: Option<Token![mut]>,
633 pub mutability: Option<Token![mut]>,
967 pub mutability: Option<Token![mut]>,
1032 let mutability = input.parse()?; in parse() localVariable
1050 mutability, in parse()
1397 mutability: input.parse()?, in parse()
1585 mutability: input.parse()?, in parse()
1764 let mutability = input.parse()?; in parse() localVariable
1778 mutability, in parse()
1841 mutability: input.parse()?, in parse()
[all …]
/external/rust/crates/pin-project-internal/src/
Dpinned_drop.rs140 mutability: Some(_), in validate_sig()
220 self_pat.mutability = None; in expand_impl()
/external/rust/crates/syn/src/gen/
Dclone.rs615 mutability: self.mutability.clone(), in clone()
883 mutability: self.mutability.clone(), in clone()
1194 mutability: self.mutability.clone(), in clone()
1499 mutability: self.mutability.clone(), in clone()
1566 mutability: self.mutability.clone(), in clone()
1744 mutability: self.mutability.clone(), in clone()
2030 mutability: self.mutability.clone(), in clone()
2042 mutability: self.mutability.clone(), in clone()
Deq.rs617 self.attrs == other.attrs && self.mutability == other.mutability && self.expr == other.expr in eq()
884 && self.mutability == other.mutability in eq()
1199 && self.mutability == other.mutability in eq()
1511 && self.mutability == other.mutability in eq()
1578 self.attrs == other.attrs && self.mutability == other.mutability && self.pat == other.pat in eq()
1758 && self.mutability == other.mutability in eq()
2067 && self.mutability == other.mutability in eq()
2079 && self.mutability == other.mutability in eq()
Dfold.rs1418 mutability: (node.mutability).map(|it| Token![mut](tokens_helper(f, &it.span))), in fold_expr_reference()
1688 mutability: (node.mutability).map(|it| Token![mut](tokens_helper(f, &it.span))), in fold_foreign_item_static()
2039 mutability: (node.mutability).map(|it| Token![mut](tokens_helper(f, &it.span))), in fold_item_static()
2421 mutability: (node.mutability).map(|it| Token![mut](tokens_helper(f, &it.span))), in fold_pat_ident()
2493 mutability: (node.mutability).map(|it| Token![mut](tokens_helper(f, &it.span))), in fold_pat_reference()
2684 mutability: (node.mutability).map(|it| Token![mut](tokens_helper(f, &it.span))), in fold_receiver()
2996 mutability: (node.mutability).map(|it| Token![mut](tokens_helper(f, &it.span))), in fold_type_ptr()
3008 mutability: (node.mutability).map(|it| Token![mut](tokens_helper(f, &it.span))), in fold_type_reference()
Dhash.rs841 self.mutability.hash(state); in hash()
1152 self.mutability.hash(state); in hash()
1554 self.mutability.hash(state); in hash()
1947 self.mutability.hash(state); in hash()
2019 self.mutability.hash(state); in hash()
2218 self.mutability.hash(state); in hash()
2608 self.mutability.hash(state); in hash()
2620 self.mutability.hash(state); in hash()
/external/rust/cxx/macro/src/
Dexpand.rs467 let mutability = receiver.mutability; in expand_cxx_function_shim() localVariable
468 quote!(#ampersand #lifetime #mutability #var) in expand_cxx_function_shim()
621 let mutability = ty.mutability; in expand_cxx_function_shim() localVariable
622 let deref_mut = quote!(&#mutability *#call.cast()); in expand_cxx_function_shim()
1609 let mutability = ty.mutability; in expand_extern_type() localVariable
1612 quote!(&#mutability ::cxx::private::RustString) in expand_extern_type()
1616 quote!(&#mutability ::cxx::private::RustVec<#inner>) in expand_extern_type()
1620 true => quote!(*#mutability ::std::ffi::c_void), in expand_extern_type()
1627 let mutability = ty.mutability; in expand_extern_type() localVariable
1629 quote!(*#mutability #constness ::std::ffi::c_void) in expand_extern_type()
/external/deqp/external/openglcts/modules/glesext/texture_cube_map_array/
DesextcTextureCubeMapArraySampling.hpp656 const resolutionDefinition& resolution, bool mutability);
659 const resolutionDefinition& resolution, bool mutability);
669 …void testTexture(const formatDefinition& format, bool mutability, const resolutionDefinition& reso…
DesextcTextureCubeMapArraySampling.cpp3365 const resolutionDefinition& resolution, bool mutability) in prepareCompresedTexture() argument
3379 if (false == mutability) in prepareCompresedTexture()
3453 const resolutionDefinition& resolution, bool mutability) in prepareTexture() argument
3467 if (false == mutability) in prepareTexture()
3616 …for (mutablitiesVectorType::iterator mutability = m_mutabilities.begin(), end_muatbility = m_mutab… local
3617 end_muatbility != mutability; ++mutability)
3629 prepareTexture(texture, *format, *resolution, *mutability);
3633 prepareCompresedTexture(texture, *format, *resolution, *mutability);
3642 << ", Mutability: " << *mutability << ", W: " << resolution->m_width
3653 testTexture(*format, *mutability, *resolution, texture, program_collection);
[all …]
/external/rust/crates/remain/src/
Dcheck.rs135 pat.by_ref.is_none() && pat.mutability.is_none() && pat.subpat.is_none() in is_just_ident()
/external/icu/tools/icu4c_srcgen/
Dlibicu_export.txt302 # Do not expose the following APIs because mutability of UText is not strictly required by the users
/external/rust/crates/lazycell/
DCHANGELOG.md47 * describe mutability more consistently ([b8078029](https://github.com/indiv0/lazycell/commit/b80…
/external/rust/crates/syn/tests/debug/
Dgen.rs902 if let Some(val) = &_val.mutability { in fmt()
1653 if let Some(val) = &_val.mutability { in fmt()
2072 if let Some(val) = &_val.mutability { in fmt()
2171 if let Some(val) = &_val.mutability { in fmt()
2793 if let Some(val) = &_val.mutability { in fmt()
3214 if let Some(val) = &_val.mutability { in fmt()
3700 if let Some(val) = &_val.mutability { in fmt()
3808 if let Some(val) = &_val.mutability { in fmt()
3939 if let Some(val) = &_val.mutability { in fmt()
4065 if let Some(val) = &_val.mutability { in fmt()
[all …]

12