Home
last modified time | relevance | path

Searched refs:SliceRef (Results 1 - 25 of 40) sorted by relevance

12

/third_party/rust/crates/cxx/gen/build/src/syntax/
H A Dimpls.rs2 Array, ExternFn, Include, Lifetimes, Ptr, Receiver, Ref, Signature, SliceRef, Ty1, Type, Var,
57 Type::SliceRef(t) => t.hash(state), in hash()
79 (Type::SliceRef(lhs), Type::SliceRef(rhs)) => lhs == rhs, in eq()
231 impl Eq for SliceRef {}
233 impl PartialEq for SliceRef {
235 let SliceRef { in eq()
243 let SliceRef { in eq()
255 impl Hash for SliceRef {
257 let SliceRef { in hash()
[all...]
H A Dtokens.rs4 Ref, Signature, SliceRef, Struct, Ty1, Type, TypeAlias, Var,
37 Type::SliceRef(r) => r.to_tokens(tokens), in to_tokens()
128 impl ToTokens for SliceRef {
130 let SliceRef { in to_tokens()
H A Dmod.rs239 SliceRef(Box<SliceRef>),
268 pub struct SliceRef { structure names
H A Dcheck.rs6 NamedType, Ptr, Receiver, Ref, Signature, SliceRef, Struct, Trait, Ty1, Type, TypeAlias, Types,
58 Type::SliceRef(ty) => check_type_slice_ref(cx, ty), in do_typecheck()
265 fn check_type_slice_ref(cx: &mut Check, ty: &SliceRef) { in check_type_slice_ref()
543 Some(Type::SliceRef(slice)) if slice.mutable => {} in check_mut_return_restriction()
569 Type::SliceRef(slice) => slice.mutable, in visit_type()
653 | Type::SliceRef(_) => false, in is_unsized()
728 Type::SliceRef(_) => "slice".to_owned(), in describe()
H A Dpod.rs32 Type::Ref(_) | Type::Str(_) | Type::Fn(_) | Type::SliceRef(_) | Type::Ptr(_) => true, in is_guaranteed_pod()
/third_party/rust/crates/cxx/gen/lib/src/syntax/
H A Dimpls.rs2 Array, ExternFn, Include, Lifetimes, Ptr, Receiver, Ref, Signature, SliceRef, Ty1, Type, Var,
57 Type::SliceRef(t) => t.hash(state), in hash()
79 (Type::SliceRef(lhs), Type::SliceRef(rhs)) => lhs == rhs, in eq()
231 impl Eq for SliceRef {}
233 impl PartialEq for SliceRef {
235 let SliceRef { in eq()
243 let SliceRef { in eq()
255 impl Hash for SliceRef {
257 let SliceRef { in hash()
[all...]
H A Dtokens.rs4 Ref, Signature, SliceRef, Struct, Ty1, Type, TypeAlias, Var,
37 Type::SliceRef(r) => r.to_tokens(tokens), in to_tokens()
128 impl ToTokens for SliceRef {
130 let SliceRef { in to_tokens()
H A Dmod.rs239 SliceRef(Box<SliceRef>),
268 pub struct SliceRef { structure names
H A Dcheck.rs6 NamedType, Ptr, Receiver, Ref, Signature, SliceRef, Struct, Trait, Ty1, Type, TypeAlias, Types,
58 Type::SliceRef(ty) => check_type_slice_ref(cx, ty), in do_typecheck()
265 fn check_type_slice_ref(cx: &mut Check, ty: &SliceRef) { in check_type_slice_ref()
543 Some(Type::SliceRef(slice)) if slice.mutable => {} in check_mut_return_restriction()
569 Type::SliceRef(slice) => slice.mutable, in visit_type()
653 | Type::SliceRef(_) => false, in is_unsized()
728 Type::SliceRef(_) => "slice".to_owned(), in describe()
/third_party/rust/crates/cxx/macro/src/syntax/
H A Dimpls.rs2 Array, ExternFn, Include, Lifetimes, Ptr, Receiver, Ref, Signature, SliceRef, Ty1, Type, Var,
57 Type::SliceRef(t) => t.hash(state), in hash()
79 (Type::SliceRef(lhs), Type::SliceRef(rhs)) => lhs == rhs, in eq()
231 impl Eq for SliceRef {}
233 impl PartialEq for SliceRef {
235 let SliceRef { in eq()
243 let SliceRef { in eq()
255 impl Hash for SliceRef {
257 let SliceRef { in hash()
[all...]
H A Dtokens.rs4 Ref, Signature, SliceRef, Struct, Ty1, Type, TypeAlias, Var,
37 Type::SliceRef(r) => r.to_tokens(tokens), in to_tokens()
128 impl ToTokens for SliceRef {
130 let SliceRef { in to_tokens()
H A Dmod.rs239 SliceRef(Box<SliceRef>),
268 pub struct SliceRef { structure names
H A Dcheck.rs6 NamedType, Ptr, Receiver, Ref, Signature, SliceRef, Struct, Trait, Ty1, Type, TypeAlias, Types,
58 Type::SliceRef(ty) => check_type_slice_ref(cx, ty), in do_typecheck()
265 fn check_type_slice_ref(cx: &mut Check, ty: &SliceRef) { in check_type_slice_ref()
543 Some(Type::SliceRef(slice)) if slice.mutable => {} in check_mut_return_restriction()
569 Type::SliceRef(slice) => slice.mutable, in visit_type()
653 | Type::SliceRef(_) => false, in is_unsized()
728 Type::SliceRef(_) => "slice".to_owned(), in describe()
/third_party/rust/crates/cxx/syntax/
H A Dimpls.rs2 Array, ExternFn, Include, Lifetimes, Ptr, Receiver, Ref, Signature, SliceRef, Ty1, Type, Var,
57 Type::SliceRef(t) => t.hash(state), in hash()
79 (Type::SliceRef(lhs), Type::SliceRef(rhs)) => lhs == rhs, in eq()
231 impl Eq for SliceRef {}
233 impl PartialEq for SliceRef {
235 let SliceRef { in eq()
243 let SliceRef { in eq()
255 impl Hash for SliceRef {
257 let SliceRef { in hash()
[all...]
H A Dtokens.rs4 Ref, Signature, SliceRef, Struct, Ty1, Type, TypeAlias, Var,
37 Type::SliceRef(r) => r.to_tokens(tokens), in to_tokens()
128 impl ToTokens for SliceRef {
130 let SliceRef { in to_tokens()
H A Dmod.rs239 SliceRef(Box<SliceRef>),
268 pub struct SliceRef { structure names
H A Dcheck.rs6 NamedType, Ptr, Receiver, Ref, Signature, SliceRef, Struct, Trait, Ty1, Type, TypeAlias, Types,
58 Type::SliceRef(ty) => check_type_slice_ref(cx, ty), in do_typecheck()
265 fn check_type_slice_ref(cx: &mut Check, ty: &SliceRef) { in check_type_slice_ref()
543 Some(Type::SliceRef(slice)) if slice.mutable => {} in check_mut_return_restriction()
569 Type::SliceRef(slice) => slice.mutable, in visit_type()
653 | Type::SliceRef(_) => false, in is_unsized()
728 Type::SliceRef(_) => "slice".to_owned(), in describe()
/third_party/rust/crates/cxx/gen/cmd/src/syntax/
H A Dimpls.rs2 Array, ExternFn, Include, Lifetimes, Ptr, Receiver, Ref, Signature, SliceRef, Ty1, Type, Var,
57 Type::SliceRef(t) => t.hash(state), in hash()
79 (Type::SliceRef(lhs), Type::SliceRef(rhs)) => lhs == rhs, in eq()
231 impl Eq for SliceRef {}
233 impl PartialEq for SliceRef {
235 let SliceRef { in eq()
243 let SliceRef { in eq()
255 impl Hash for SliceRef {
257 let SliceRef { in hash()
[all...]
H A Dtokens.rs4 Ref, Signature, SliceRef, Struct, Ty1, Type, TypeAlias, Var,
37 Type::SliceRef(r) => r.to_tokens(tokens), in to_tokens()
128 impl ToTokens for SliceRef {
130 let SliceRef { in to_tokens()
H A Dmod.rs239 SliceRef(Box<SliceRef>),
268 pub struct SliceRef { structure names
H A Dcheck.rs6 NamedType, Ptr, Receiver, Ref, Signature, SliceRef, Struct, Trait, Ty1, Type, TypeAlias, Types,
58 Type::SliceRef(ty) => check_type_slice_ref(cx, ty), in do_typecheck()
265 fn check_type_slice_ref(cx: &mut Check, ty: &SliceRef) { in check_type_slice_ref()
543 Some(Type::SliceRef(slice)) if slice.mutable => {} in check_mut_return_restriction()
569 Type::SliceRef(slice) => slice.mutable, in visit_type()
653 | Type::SliceRef(_) => false, in is_unsized()
728 Type::SliceRef(_) => "slice".to_owned(), in describe()
/third_party/rust/crates/cxx/gen/cmd/src/gen/
H A Dwrite.rs223 Type::SliceRef(_) => out.builtin.rust_slice = true, in pick_includes_and_builtins()
807 Some(ty @ Type::SliceRef(_)) if !indirect_return => {
851 Some(Type::Str(_)) | Some(Type::SliceRef(_)) if !indirect_return => write!(out, ")"),
1067 Type::SliceRef(_) => { in write_rust_function_shim_impl()
1118 if let Type::RustBox(_) | Type::UniquePtr(_) | Type::Str(_) | Type::SliceRef(_) = ret { in write_rust_function_shim_impl()
1178 Type::Str(_) | Type::SliceRef(_) => write!(out, " "), in write_indirect_return_type_space()
1196 Some(Type::Str(_)) | Some(Type::SliceRef(_)) => { in write_extern_return_type_space()
1276 Type::SliceRef(slice) => { in write_type()
1344 | Type::SliceRef(_) in write_space_after_type()
/third_party/rust/crates/cxx/gen/src/
H A Dwrite.rs223 Type::SliceRef(_) => out.builtin.rust_slice = true, in pick_includes_and_builtins()
807 Some(ty @ Type::SliceRef(_)) if !indirect_return => {
851 Some(Type::Str(_)) | Some(Type::SliceRef(_)) if !indirect_return => write!(out, ")"),
1067 Type::SliceRef(_) => { in write_rust_function_shim_impl()
1118 if let Type::RustBox(_) | Type::UniquePtr(_) | Type::Str(_) | Type::SliceRef(_) = ret { in write_rust_function_shim_impl()
1178 Type::Str(_) | Type::SliceRef(_) => write!(out, " "), in write_indirect_return_type_space()
1196 Some(Type::Str(_)) | Some(Type::SliceRef(_)) => { in write_extern_return_type_space()
1276 Type::SliceRef(slice) => { in write_type()
1344 | Type::SliceRef(_) in write_space_after_type()
/third_party/rust/crates/cxx/gen/lib/src/gen/
H A Dwrite.rs223 Type::SliceRef(_) => out.builtin.rust_slice = true, in pick_includes_and_builtins()
807 Some(ty @ Type::SliceRef(_)) if !indirect_return => {
851 Some(Type::Str(_)) | Some(Type::SliceRef(_)) if !indirect_return => write!(out, ")"),
1067 Type::SliceRef(_) => { in write_rust_function_shim_impl()
1118 if let Type::RustBox(_) | Type::UniquePtr(_) | Type::Str(_) | Type::SliceRef(_) = ret { in write_rust_function_shim_impl()
1178 Type::Str(_) | Type::SliceRef(_) => write!(out, " "), in write_indirect_return_type_space()
1196 Some(Type::Str(_)) | Some(Type::SliceRef(_)) => { in write_extern_return_type_space()
1276 Type::SliceRef(slice) => { in write_type()
1344 | Type::SliceRef(_) in write_space_after_type()
/third_party/rust/crates/cxx/gen/build/src/gen/
H A Dwrite.rs223 Type::SliceRef(_) => out.builtin.rust_slice = true, in pick_includes_and_builtins()
807 Some(ty @ Type::SliceRef(_)) if !indirect_return => {
851 Some(Type::Str(_)) | Some(Type::SliceRef(_)) if !indirect_return => write!(out, ")"),
1067 Type::SliceRef(_) => { in write_rust_function_shim_impl()
1118 if let Type::RustBox(_) | Type::UniquePtr(_) | Type::Str(_) | Type::SliceRef(_) = ret { in write_rust_function_shim_impl()
1178 Type::Str(_) | Type::SliceRef(_) => write!(out, " "), in write_indirect_return_type_space()
1196 Some(Type::Str(_)) | Some(Type::SliceRef(_)) => { in write_extern_return_type_space()
1276 Type::SliceRef(slice) => { in write_type()
1344 | Type::SliceRef(_) in write_space_after_type()

Completed in 19 milliseconds

12