Home
last modified time | relevance | path

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

1234567

/external/clang/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/
Dp12.cpp11 template <unsigned n> struct Opaque {}; struct
12 template <unsigned n> void expect(Opaque<n> _) {} in expect()
30 Opaque<0> foo(Opaque<0>);
31 Opaque<0> foo(Opaque<1>);
32 Opaque<0> foo(Opaque<2>);
38 Opaque<1> foo(Opaque<1>);
39 Opaque<1> foo(Opaque<3>);
41 void test0() { Opaque<0> _ = foo(Opaque<0>()); } in test0()
42 void test1() { Opaque<1> _ = foo(Opaque<1>()); } in test1()
43 void test2() { Opaque<0> _ = foo(Opaque<2>()); } in test2()
[all …]
/external/llvm-project/clang/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/
Dp12.cpp11 template <unsigned n> struct Opaque {}; struct
12 template <unsigned n> void expect(Opaque<n> _) {} in expect()
30 Opaque<0> foo(Opaque<0>);
31 Opaque<0> foo(Opaque<1>);
32 Opaque<0> foo(Opaque<2>);
38 Opaque<1> foo(Opaque<1>);
39 Opaque<1> foo(Opaque<3>);
41 void test0() { Opaque<0> _ = foo(Opaque<0>()); } in test0()
42 void test1() { Opaque<1> _ = foo(Opaque<1>()); } in test1()
43 void test2() { Opaque<0> _ = foo(Opaque<2>()); } in test2()
[all …]
/external/rust/cxx/tests/ui/
Dopaque_autotraits.stderr7 13 | assert_send::<ffi::Opaque>();
10 = help: within `ffi::Opaque`, the trait `Send` is not implemented for `*const u8`
12 = note: required because it appears within the type `cxx::private::Opaque`
13 = note: required because it appears within the type `ffi::Opaque`
21 14 | assert_sync::<ffi::Opaque>();
24 = help: within `ffi::Opaque`, the trait `Sync` is not implemented for `*const u8`
26 = note: required because it appears within the type `cxx::private::Opaque`
27 = note: required because it appears within the type `ffi::Opaque`
35 15 | assert_unpin::<ffi::Opaque>();
36 …| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ within `ffi::Opaque`, the trait `Unpin` is not implemented for `…
[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 { impl
Dunique_ptr_as_mut.stderr1 error[E0596]: cannot borrow data in a 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>`
/external/llvm-project/libcxx/benchmarks/
Dstring.bench.cpp65 enum class Opacity { Opaque, Transparent }; enumerator
146 return maybeOpaque("", O == Opacity::Opaque); in makeString()
148 return maybeOpaque(getSmallString(D), O == Opacity::Opaque); in makeString()
150 return maybeOpaque(getLargeString(D), O == Opacity::Opaque); in makeString()
152 return maybeOpaque(getHugeString(D), O == Opacity::Opaque); in makeString()
156 template <class Length, class Opaque>
161 makeString(Length(), DiffType::Control, Opaque())); in run()
166 return "BM_StringConstructDestroyCStr" + Length::name() + Opaque::name(); in name()
237 template <class Length, class Opaque>
240 constexpr bool opaque = Opaque{} == Opacity::Opaque; in run()
[all …]
/external/llvm-project/clang/test/Index/
Dcomment-cplus11-specific.cpp9 struct Opaque;
15 typedef inner::Opaque Typedef;
19 using Alias = inner::Opaque;
22 typedef inner::Opaque NoDocTypedef;
25 using NoDocAlias = inner::Opaque;
/external/clang/test/Index/
Dcomment-cplus11-specific.cpp9 struct Opaque;
15 typedef inner::Opaque Typedef;
19 using Alias = inner::Opaque;
22 typedef inner::Opaque NoDocTypedef;
25 using NoDocAlias = inner::Opaque;
/external/rust/cxx/src/
Dextern_type.rs1 use self::kind::{Kind, Opaque, Trivial};
163 pub enum Opaque {} enum
171 impl Kind for Opaque {} implementation
177 impl Sealed for super::Opaque {} implementation
216 [Opaque]
Dopaque.rs11 pub struct Opaque { struct
16 const_assert_eq!(0, mem::size_of::<Opaque>()); argument
17 const_assert_eq!(1, mem::align_of::<Opaque>());
/external/skqp/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()
/external/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()
/external/tcpdump/tests/
Dospf-gmpls.out6 Area Local Opaque LSA (10), Opaque-Type Traffic Engineering LSA (1), Opaque-ID 8
31 Area Local Opaque LSA (10), Opaque-Type Traffic Engineering LSA (1), Opaque-ID 9
56 Area Local Opaque LSA (10), Opaque-Type Traffic Engineering LSA (1), Opaque-ID 3
/external/rust/crates/bindgen/src/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()
/external/llvm-project/llvm/lib/ExecutionEngine/
DExecutionEngineBindings.cpp337 void *Opaque);
352 void *Opaque; member in __anon8d26d6b80111::SimpleBindingMemoryManager
357 void *Opaque) in SimpleBindingMemoryManager() argument
358 : Functions(Functions), Opaque(Opaque) { in SimpleBindingMemoryManager()
370 Functions.Destroy(Opaque); in ~SimpleBindingMemoryManager()
376 return Functions.AllocateCodeSection(Opaque, Size, Alignment, SectionID, in allocateCodeSection()
383 return Functions.AllocateDataSection(Opaque, Size, Alignment, SectionID, in allocateDataSection()
390 bool result = Functions.FinalizeMemory(Opaque, &errMsgCString); in finalizeMemory()
404 void *Opaque, in LLVMCreateSimpleMCJITMemoryManager() argument
419 return wrap(new SimpleBindingMemoryManager(functions, Opaque)); in LLVMCreateSimpleMCJITMemoryManager()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/
DExecutionEngineBindings.cpp325 void *Opaque);
340 void *Opaque; member in __anon0e50efac0111::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()
/external/llvm/lib/ExecutionEngine/
DExecutionEngineBindings.cpp323 void *Opaque);
338 void *Opaque; member in __anon7c2adf0a0111::SimpleBindingMemoryManager
343 void *Opaque) in SimpleBindingMemoryManager() argument
344 : Functions(Functions), Opaque(Opaque) { in SimpleBindingMemoryManager()
356 Functions.Destroy(Opaque); in ~SimpleBindingMemoryManager()
362 return Functions.AllocateCodeSection(Opaque, Size, Alignment, SectionID, in allocateCodeSection()
369 return Functions.AllocateDataSection(Opaque, Size, Alignment, SectionID, in allocateDataSection()
376 bool result = Functions.FinalizeMemory(Opaque, &errMsgCString); in finalizeMemory()
390 void *Opaque, in LLVMCreateSimpleMCJITMemoryManager() argument
405 return wrap(new SimpleBindingMemoryManager(functions, Opaque)); in LLVMCreateSimpleMCJITMemoryManager()
/external/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,
/external/llvm/include/llvm-c/
DExecutionEngine.h156 void *Opaque, uintptr_t Size, unsigned Alignment, unsigned SectionID,
159 void *Opaque, uintptr_t Size, unsigned Alignment, unsigned SectionID,
162 void *Opaque, char **ErrMsg);
163 typedef void (*LLVMMemoryManagerDestroyCallback)(void *Opaque);
177 void *Opaque,
/external/llvm-project/llvm/include/llvm-c/
DExecutionEngine.h160 void *Opaque, uintptr_t Size, unsigned Alignment, unsigned SectionID,
163 void *Opaque, uintptr_t Size, unsigned Alignment, unsigned SectionID,
166 void *Opaque, char **ErrMsg);
167 typedef void (*LLVMMemoryManagerDestroyCallback)(void *Opaque);
181 void *Opaque,
/external/rust/crates/url/src/
Dorigin.rs56 Opaque(OpaqueOrigin), enumerator
66 Origin::Opaque(OpaqueOrigin(COUNTER.fetch_add(1, Ordering::SeqCst))) in new_opaque()
78 Origin::Opaque(_) => "null".to_owned(), in ascii_serialization()
92 Origin::Opaque(_) => "null".to_owned(), in unicode_serialization()

1234567