Home
last modified time | relevance | path

Searched refs:Opaque (Results 1 – 25 of 168) 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/rust/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 `cxx::private::Opaque`
10 note: required because it appears within the type `ffi::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 `cxx::private::Opaque`
30 note: required because it appears within the type `ffi::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()
Dlifetime_extern_rust.rs4 type Opaque; typedef
9 pub struct Opaque; struct
11 impl Opaque { implementation
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
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
/external/cronet/buildtools/third_party/libc++/trunk/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/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/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
Dospf2-seg-fault-1-v.out6 Area Local Opaque LSA (10), Opaque-Type Traffic Engineering LSA (1), Opaque-ID 9
/external/rust/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>());
/external/skia/src/gpu/ganesh/
DGrProcessorAnalysis.h19 enum class Opaque { enum
24 constexpr GrProcessorAnalysisColor(Opaque opaque = Opaque::kNo)
25 : fFlags(opaque == Opaque::kYes ? kIsOpaque_Flag : 0)
151 return fIsOpaque ? GrProcessorAnalysisColor::Opaque::kYes in outputColor()
152 : GrProcessorAnalysisColor::Opaque::kNo; in outputColor()
/external/rust/crates/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()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/
DExecutionEngineBindings.cpp325 void *Opaque);
340 void *Opaque; member in __anon31c9b98a0111::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 __anon7789a1680111::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/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/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/rust/crates/url/src/
Dorigin.rs55 Opaque(OpaqueOrigin), enumerator
65 Origin::Opaque(OpaqueOrigin(COUNTER.fetch_add(1, Ordering::SeqCst))) in new_opaque()
77 Origin::Opaque(_) => "null".to_owned(), in ascii_serialization()
91 Origin::Opaque(_) => "null".to_owned(), in unicode_serialization()
/external/libcxx/benchmarks/
Dstring.bench.cpp65 enum class Opacity { Opaque, Transparent }; enumerator
127 return maybeOpaque("", O == Opacity::Opaque); in makeString()
129 return maybeOpaque(getSmallString(D), O == Opacity::Opaque); in makeString()
131 return maybeOpaque(getLargeString(D), O == Opacity::Opaque); in makeString()
133 return maybeOpaque(getHugeString(D), O == Opacity::Opaque); in makeString()
137 template <class Length, class Opaque>
142 makeString(Length(), DiffType::Control, Opaque())); in run()
147 return "BM_StringConstructDestroyCStr" + Length::name() + Opaque::name(); in name()

1234567