Home
last modified time | relevance | path

Searched refs:Opaque (Results 1 – 25 of 171) sorted by relevance

1234567

/third_party/rust/crates/cxx/tests/ui/
Dopaque_autotraits.stderr4 13 | assert_send::<ffi::Opaque>();
7 = help: within `ffi::Opaque`, the trait `Send` is not implemented for `*const cxx::void`
9 = note: required because it appears within the type `Opaque`
10 note: required because it appears within the type `Opaque`
13 4 | type Opaque;
24 14 | assert_sync::<ffi::Opaque>();
27 = help: within `ffi::Opaque`, the trait `Sync` is not implemented for `*const cxx::void`
29 = note: required because it appears within the type `Opaque`
30 note: required because it appears within the type `Opaque`
33 4 | type Opaque;
[all …]
Dpin_mut_opaque.stderr1 error: mutable reference to C++ type requires a pin -- use Pin<&mut Opaque>
4 5 | fn f(arg: &mut Opaque);
22 4 | type Opaque;
25 error: mutable reference to opaque C++ type requires a pin -- use `self: Pin<&mut Opaque>`
31 error: mutable reference to opaque C++ type requires a pin -- use `self: Pin<&mut Opaque>`
34 7 | fn h(self: &mut Opaque);
Dopaque_autotraits.rs4 type Opaque; typedef
13 assert_send::<ffi::Opaque>(); in main()
14 assert_sync::<ffi::Opaque>(); in main()
15 assert_unpin::<ffi::Opaque>(); in main()
Dunique_ptr_as_mut.rs10 type Opaque; typedef
14 impl UniquePtr<Opaque> {}
21 let mut opaque = UniquePtr::<ffi::Opaque>::null(); in main()
22 let _: &mut ffi::Opaque = &mut opaque; in main()
Dpin_mut_opaque.rs4 type Opaque; typedef
5 fn f(arg: &mut Opaque); in f() argument
7 fn h(self: &mut Opaque); in h() argument
Dlifetime_extern_rust.rs4 type Opaque; typedef
9 pub struct Opaque; struct
11 impl Opaque { implementation
Dunique_ptr_as_mut.stderr1 error[E0596]: cannot borrow data in dereference of `UniquePtr<ffi::Opaque>` as mutable
4 22 | let _: &mut ffi::Opaque = &mut opaque;
7 …is required to modify through a dereference, but it is not implemented for `UniquePtr<ffi::Opaque>`
Dslice_unsupported.stderr4 6 | fn f(_: &mut [Opaque]);
7 error: needs a cxx::ExternType impl in order to be used as a slice element in &mut [Opaque]
10 4 | type Opaque;
Dslice_unsupported.rs4 type Opaque; typedef
6 fn f(_: &mut [Opaque]); in f() argument
Dunpin_impl.rs4 type Opaque; typedef
8 impl Unpin for ffi::Opaque {} implementation
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/
Dderive-debug-opaque.rs10 pub struct Opaque { struct
16 ::std::mem::size_of::<Opaque>(), in bindgen_test_layout_Opaque() argument
18 concat!("Size of: ", stringify!(Opaque)) in bindgen_test_layout_Opaque()
21 ::std::mem::align_of::<Opaque>(), in bindgen_test_layout_Opaque()
23 concat!("Alignment of ", stringify!(Opaque)) in bindgen_test_layout_Opaque()
26 impl Default for Opaque { implementation
35 impl ::std::fmt::Debug for Opaque { implementation
42 pub opaque: Opaque,
Dissue-807-opaque-types-methods-being-generated.rs65 pub struct Opaque { struct
71 ::std::mem::size_of::<Opaque>(), in bindgen_test_layout_Opaque() argument
73 concat!("Size of: ", stringify!(Opaque)) in bindgen_test_layout_Opaque()
76 ::std::mem::align_of::<Opaque>(), in bindgen_test_layout_Opaque()
78 concat!("Alignment of ", stringify!(Opaque)) in bindgen_test_layout_Opaque()
83 pub fn Opaque_eleven_out_of_ten(this: *mut Opaque) -> SuchWow; in Opaque_eleven_out_of_ten()
87 pub fn Opaque_Opaque(this: *mut Opaque, pup: Pupper); in Opaque_Opaque() argument
89 impl Opaque { implementation
108 pub some_member: Opaque,
/third_party/rust/crates/rustix/src/backend/linux_raw/
Dreg.rs29 unsafe fn to_asm(self) -> *mut Opaque; in to_asm() argument
41 unsafe fn from_asm(raw: *mut Opaque) -> Self; in from_asm()
48 pub(super) struct Opaque(c::c_void); struct
89 raw: *mut Opaque,
95 unsafe fn to_asm(self) -> *mut Opaque { in to_asm() argument
108 raw: *mut Opaque,
198 unsafe fn from_asm(raw: *mut Opaque) -> Self { in from_asm()
214 unsafe fn to_asm(self) -> *mut Opaque { in to_asm() argument
215 self.nr as usize as *mut Opaque in to_asm()
221 pub(super) fn raw_arg<'a, Num: ArgNumber>(raw: *mut Opaque) -> ArgReg<'a, Num> { in raw_arg()
/third_party/flutter/skia/src/gpu/
DGrProcessorAnalysis.h18 enum class Opaque { enum
23 constexpr GrProcessorAnalysisColor(Opaque opaque = Opaque::kNo)
24 : fFlags(opaque == Opaque::kYes ? kIsOpaque_Flag : 0)
140 return fIsOpaque ? GrProcessorAnalysisColor::Opaque::kYes in outputColor()
141 : GrProcessorAnalysisColor::Opaque::kNo; in outputColor()
/third_party/skia/src/gpu/
DGrProcessorAnalysis.h18 enum class Opaque { enum
23 constexpr GrProcessorAnalysisColor(Opaque opaque = Opaque::kNo)
24 : fFlags(opaque == Opaque::kYes ? kIsOpaque_Flag : 0)
150 return fIsOpaque ? GrProcessorAnalysisColor::Opaque::kYes in outputColor()
151 : GrProcessorAnalysisColor::Opaque::kNo; in outputColor()
/third_party/rust/crates/cxx/src/
Dextern_type.rs1 use self::kind::{Kind, Opaque, Trivial};
164 pub enum Opaque {} enum
173 impl Kind for Opaque {} implementation
179 impl Sealed for super::Opaque {} implementation
223 [Opaque]
Dopaque.rs14 pub struct Opaque { struct
19 const_assert_eq!(0, mem::size_of::<Opaque>()); argument
20 const_assert_eq!(1, mem::align_of::<Opaque>());
/third_party/rust/crates/bindgen/bindgen/ir/
Dlayout.rs90 pub fn opaque(&self) -> Opaque { in opaque() argument
91 Opaque(*self) in opaque()
97 pub struct Opaque(pub Layout); struct
99 impl Opaque { impl
103 let ty_kind = TypeKind::Opaque; in from_clang_ty()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/
DExecutionEngineBindings.cpp325 void *Opaque);
340 void *Opaque; member in __anond9856a8b0111::SimpleBindingMemoryManager
345 void *Opaque) in SimpleBindingMemoryManager() argument
346 : Functions(Functions), Opaque(Opaque) { in SimpleBindingMemoryManager()
358 Functions.Destroy(Opaque); in ~SimpleBindingMemoryManager()
364 return Functions.AllocateCodeSection(Opaque, Size, Alignment, SectionID, in allocateCodeSection()
371 return Functions.AllocateDataSection(Opaque, Size, Alignment, SectionID, in allocateDataSection()
378 bool result = Functions.FinalizeMemory(Opaque, &errMsgCString); in finalizeMemory()
392 void *Opaque, in LLVMCreateSimpleMCJITMemoryManager() argument
407 return wrap(new SimpleBindingMemoryManager(functions, Opaque)); in LLVMCreateSimpleMCJITMemoryManager()
/third_party/rust/crates/bindgen/bindgen-tests/tests/headers/
Dopaque_pointer.hpp14 struct Opaque { struct
19 Opaque<int>* whatever; argument
20 Opaque<float> other;
Dissue-807-opaque-types-methods-being-generated.hpp16 class Opaque class
25 Opaque(Pupper pup);
35 Opaque some_member;
Dderive-debug-opaque.hpp3 class Opaque { class
9 Opaque opaque;
Dderive-debug-opaque-template-instantiation.hpp6 class Opaque { class
11 Opaque<int, 50> val;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm-c/
DExecutionEngine.h155 void *Opaque, uintptr_t Size, unsigned Alignment, unsigned SectionID,
158 void *Opaque, uintptr_t Size, unsigned Alignment, unsigned SectionID,
161 void *Opaque, char **ErrMsg);
162 typedef void (*LLVMMemoryManagerDestroyCallback)(void *Opaque);
176 void *Opaque,
/third_party/flutter/skia/third_party/externals/spirv-tools/source/opt/
Dtypes.h43 class Opaque; variable
97 DeclareCastMethod(Opaque);
288 class Opaque : public Type {
290 Opaque(std::string name) : name_(std::move(name)) {} in Opaque() function
291 Opaque(const Opaque&) = default;
296 Opaque* AsOpaque() override { return this; } in AsOpaque()
297 const Opaque* AsOpaque() const override { return this; } in AsOpaque()

1234567