/third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/ |
D | Reference.h | 15 class Ref 18 Ref(const Ref &) = default; 19 Ref(Ref &&) = default; 20 Ref(T &ref) : mPtr(&ref) {} in Ref() function 22 Ref &operator=(const Ref &) = default; 23 Ref &operator=(Ref &&) = default; 25 bool operator==(const Ref &other) const { return *mPtr == *other.mPtr; } 26 bool operator!=(const Ref &other) const { return *mPtr != *other.mPtr; } 27 bool operator<=(const Ref &other) const { return *mPtr <= *other.mPtr; } 28 bool operator>=(const Ref &other) const { return *mPtr >= *other.mPtr; } [all …]
|
/third_party/boost/boost/python/converter/ |
D | obj_mgr_arg_from_python.hpp | 43 template <class Ref> 46 typedef Ref result_type; 50 Ref operator()() const; 53 typename python::detail::referent_storage<Ref>::type m_result; 78 template <class Ref> 79 inline object_manager_ref_arg_from_python<Ref>::object_manager_ref_arg_from_python(PyObject* x) in object_manager_ref_arg_from_python() 84 python::detail::construct_referent<Ref>(&m_result.bytes, x_); in object_manager_ref_arg_from_python() 86 python::detail::construct_referent<Ref>(&m_result.bytes, (python::detail::borrowed_reference)x); in object_manager_ref_arg_from_python() 90 template <class Ref> 91 inline object_manager_ref_arg_from_python<Ref>::~object_manager_ref_arg_from_python() in ~object_manager_ref_arg_from_python() [all …]
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/ |
D | RefCountedTests.cpp | 105 TEST(Ref, EndOfScopeRemovesRef) { in TEST() argument 108 Ref<RCTest> test(new RCTest(&deleted)); in TEST() 115 TEST(Ref, Gets) { in TEST() argument 117 Ref<RCTest> test(original); in TEST() 125 TEST(Ref, DefaultsToNull) { in TEST() argument 126 Ref<RCTest> test; in TEST() 133 TEST(Ref, CopyConstructor) { in TEST() argument 137 Ref<RCTest> source(original); in TEST() 140 Ref<RCTest> destination(source); in TEST() 158 TEST(Ref, CopyAssignment) { in TEST() argument [all …]
|
D | ResultTests.cpp | 59 void TestSuccess(Result<Ref<T>, E>* result, T* expectedSuccess) { in TestSuccess() 68 const Ref<T> storedSuccess = result->AcquireSuccess(); in TestSuccess() 252 Result<Ref<AClass>, int> result(std::make_unique<int>(dummyError)); in TEST() 258 Result<Ref<AClass>, int> result(std::make_unique<int>(dummyError)); in TEST() 259 Result<Ref<AClass>, int> movedResult(std::move(result)); in TEST() 265 auto CreateError = []() -> Result<Ref<AClass>, int> { in TEST() 269 Result<Ref<AClass>, int> result = CreateError(); in TEST() 277 Ref<AClass> refObj(&success); in TEST() 278 Result<Ref<AClass>, int> result(std::move(refObj)); in TEST() 286 Ref<AClass> refObj(&success); in TEST() [all …]
|
D | RefBaseTests.cpp | 112 using Ref = RefBase<RefTracker, RefTrackerTraits>; typedef 119 Ref ref(tracker1); in TEST() 131 Ref ref(tracker); in TEST() 140 Ref ref; in TEST() 150 Ref ref(tracker); in TEST() 162 Ref refA(tracker); in TEST() 166 Ref refB(refA); in TEST() 179 Ref refA(tracker1); in TEST() 180 Ref refB(tracker2); in TEST() 184 Ref ref; in TEST() [all …]
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
D | Commands.h | 74 Ref<QuerySetBase> querySet; 79 Ref<TextureViewBase> view; 80 Ref<TextureViewBase> resolveTarget; 87 Ref<TextureViewBase> view; 99 Ref<AttachmentState> attachmentState; 108 Ref<QuerySetBase> occlusionQuerySet; 112 Ref<BufferBase> buffer; 119 Ref<TextureBase> texture; 126 Ref<BufferBase> source; 128 Ref<BufferBase> destination; [all …]
|
D | Device.h | 141 virtual ResultOrError<Ref<CommandBufferBase>> CreateCommandBuffer( 164 ResultOrError<Ref<BindGroupLayoutBase>> GetOrCreateBindGroupLayout( 173 ResultOrError<Ref<PipelineLayoutBase>> GetOrCreatePipelineLayout( 179 ResultOrError<Ref<SamplerBase>> GetOrCreateSampler(const SamplerDescriptor* descriptor); 182 ResultOrError<Ref<ShaderModuleBase>> GetOrCreateShaderModule( 188 Ref<AttachmentState> GetOrCreateAttachmentState(AttachmentStateBlueprint* blueprint); 189 Ref<AttachmentState> GetOrCreateAttachmentState( 191 Ref<AttachmentState> GetOrCreateAttachmentState(const RenderPipelineDescriptor* descriptor); 192 Ref<AttachmentState> GetOrCreateAttachmentState(const RenderPassDescriptor* descriptor); 196 ResultOrError<Ref<BindGroupBase>> CreateBindGroup(const BindGroupDescriptor* descriptor); [all …]
|
D | InternalPipelineStore.h | 36 std::unordered_map<wgpu::TextureFormat, Ref<RenderPipelineBase>> 39 Ref<ShaderModuleBase> copyTextureForBrowser; 41 Ref<ComputePipelineBase> timestampComputePipeline; 42 Ref<ShaderModuleBase> timestampCS; 44 Ref<ShaderModuleBase> dummyFragmentShader; 53 Ref<ComputePipelineBase> renderValidationPipeline; 54 Ref<ShaderModuleBase> renderValidationShader; 55 Ref<ComputePipelineBase> dispatchIndirectValidationPipeline;
|
D | Device.cpp | 128 ResultOrError<Ref<PipelineLayoutBase>> 133 Ref<PipelineLayoutBase> layoutRef; in ValidateLayoutAndGetComputePipelineDescriptorWithDefaults() 151 ResultOrError<Ref<PipelineLayoutBase>> 156 Ref<PipelineLayoutBase> layoutRef; in ValidateLayoutAndGetRenderPipelineDescriptorWithDefaults() 679 ResultOrError<Ref<BindGroupLayoutBase>> DeviceBase::GetOrCreateBindGroupLayout( in GetOrCreateBindGroupLayout() 688 Ref<BindGroupLayoutBase> result; in GetOrCreateBindGroupLayout() 710 ResultOrError<Ref<BindGroupLayoutBase>> DeviceBase::CreateEmptyBindGroupLayout() { in CreateEmptyBindGroupLayout() 723 Ref<ComputePipelineBase> DeviceBase::GetCachedComputePipeline( in GetCachedComputePipeline() 725 Ref<ComputePipelineBase> cachedPipeline; in GetCachedComputePipeline() 734 Ref<RenderPipelineBase> DeviceBase::GetCachedRenderPipeline( in GetCachedRenderPipeline() [all …]
|
/third_party/flutter/skia/third_party/externals/dawn/src/tests/unittests/ |
D | RefCountedTests.cpp | 95 TEST(Ref, EndOfScopeRemovesRef) { in TEST() argument 98 Ref<RCTest> test(new RCTest(&deleted)); in TEST() 105 TEST(Ref, Gets) { in TEST() argument 107 Ref<RCTest> test(original); in TEST() 116 TEST(Ref, DefaultsToNull) { in TEST() argument 117 Ref<RCTest> test; in TEST() 125 TEST(Ref, BoolConversion) { in TEST() argument 126 Ref<RCTest> empty; in TEST() 127 Ref<RCTest> full(new RCTest); in TEST() 136 TEST(Ref, CopyConstructor) { in TEST() argument [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
D | TrackingMDRef.h | 101 TrackingMDRef Ref; variable 105 explicit TypedTrackingMDRef(T *MD) : Ref(static_cast<Metadata *>(MD)) {} in TypedTrackingMDRef() 107 TypedTrackingMDRef(TypedTrackingMDRef &&X) : Ref(std::move(X.Ref)) {} in TypedTrackingMDRef() 108 TypedTrackingMDRef(const TypedTrackingMDRef &X) : Ref(X.Ref) {} in TypedTrackingMDRef() 110 Ref = std::move(X.Ref); 114 Ref = X.Ref; 118 T *get() const { return (T *)Ref.get(); } in get() 123 bool operator==(const TypedTrackingMDRef &X) const { return Ref == X.Ref; } 124 bool operator!=(const TypedTrackingMDRef &X) const { return Ref != X.Ref; } 126 void reset() { Ref.reset(); } in reset() [all …]
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/native/mocks/ |
D | DeviceMock.h | 31 MOCK_METHOD(ResultOrError<Ref<CommandBufferBase>>, 55 MOCK_METHOD(ResultOrError<Ref<BindGroupBase>>, 59 MOCK_METHOD(ResultOrError<Ref<BindGroupLayoutBase>>, 63 MOCK_METHOD(ResultOrError<Ref<BufferBase>>, 67 MOCK_METHOD(Ref<ComputePipelineBase>, 71 MOCK_METHOD(ResultOrError<Ref<PipelineLayoutBase>>, 75 MOCK_METHOD(ResultOrError<Ref<QuerySetBase>>, 79 MOCK_METHOD(Ref<RenderPipelineBase>, 83 MOCK_METHOD(ResultOrError<Ref<SamplerBase>>, 87 MOCK_METHOD(ResultOrError<Ref<ShaderModuleBase>>, [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | TrackingMDRef.h | 107 TrackingMDRef Ref; variable 111 explicit TypedTrackingMDRef(T *MD) : Ref(static_cast<Metadata *>(MD)) {} in TypedTrackingMDRef() 113 TypedTrackingMDRef(TypedTrackingMDRef &&X) : Ref(std::move(X.Ref)) {} in TypedTrackingMDRef() 114 TypedTrackingMDRef(const TypedTrackingMDRef &X) : Ref(X.Ref) {} in TypedTrackingMDRef() 117 Ref = std::move(X.Ref); 122 Ref = X.Ref; 126 T *get() const { return (T *)Ref.get(); } in get() 131 bool operator==(const TypedTrackingMDRef &X) const { return Ref == X.Ref; } 132 bool operator!=(const TypedTrackingMDRef &X) const { return Ref != X.Ref; } 134 void reset() { Ref.reset(); } in reset() [all …]
|
/third_party/typescript/tests/baselines/reference/ |
D | errorElaboration.errors.txt | 2 …2345: Argument of type '() => Container<Ref<string>>' is not assignable to parameter of type '() =… 3 Type 'Container<Ref<string>>' is not assignable to type 'Container<Ref<number>>'. 4 Type 'Ref<string>' is not assignable to type 'Ref<number>'. 9 …): error TS2339: Property 'bar' does not exist on type '(x: () => Container<Ref<number>>) => void'. 15 interface Ref<T> { 19 m1: Container<Ref<T>>; 22 declare function foo(x: () => Container<Ref<number>>): void; 25 let a: () => Container<Ref<string>>; 28 …2345: Argument of type '() => Container<Ref<string>>' is not assignable to parameter of type '() =… 29 !!! error TS2345: Type 'Container<Ref<string>>' is not assignable to type 'Container<Ref<number>>… [all …]
|
D | errorElaboration.types | 4 interface Ref<T> { 9 m1: Container<Ref<T>>; 10 >m1 : Container<Ref<T>> 15 declare function foo(x: () => Container<Ref<number>>): void; 16 >foo : (x: () => Container<Ref<number>>) => void 17 >x : () => Container<Ref<number>> 19 let a: () => Container<Ref<string>>; 20 >a : () => Container<Ref<string>> 24 >foo : (x: () => Container<Ref<number>>) => void 25 >a : () => Container<Ref<string>> [all …]
|
D | errorElaboration.symbols | 4 interface Ref<T> { 5 >Ref : Symbol(Ref, Decl(errorElaboration.ts, 0, 0)) 9 >prop : Symbol(Ref.prop, Decl(errorElaboration.ts, 2, 18)) 16 m1: Container<Ref<T>>; 19 >Ref : Symbol(Ref, Decl(errorElaboration.ts, 0, 0)) 26 declare function foo(x: () => Container<Ref<number>>): void; 30 >Ref : Symbol(Ref, Decl(errorElaboration.ts, 0, 0)) 32 let a: () => Container<Ref<string>>; 35 >Ref : Symbol(Ref, Decl(errorElaboration.ts, 0, 0))
|
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/ |
D | RefCounted.h | 39 class Ref { 41 Ref() { in Ref() function 44 Ref(T* p) : mPointee(p) { in Ref() function 48 Ref(const Ref<T>& other) : mPointee(other.mPointee) { in Ref() function 51 Ref<T>& operator=(const Ref<T>& other) { 62 Ref(Ref<T>&& other) { in Ref() function 66 Ref<T>& operator=(Ref<T>&& other) { 77 ~Ref() { in ~Ref()
|
D | Commands.h | 65 Ref<TextureViewBase> view; 66 Ref<TextureViewBase> resolveTarget; 73 Ref<TextureViewBase> view; 95 Ref<BufferBase> buffer; 102 Ref<TextureBase> texture; 109 Ref<BufferBase> source; 111 Ref<BufferBase> destination; 141 Ref<BufferBase> indirectBuffer; 161 Ref<BufferBase> indirectBuffer; 166 Ref<BufferBase> indirectBuffer; [all …]
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/utils/ |
D | WGPUHelpers.h | 29 ResultOrError<Ref<ShaderModuleBase>> CreateShaderModule(DeviceBase* device, const char* source); 31 ResultOrError<Ref<BufferBase>> CreateBufferFromData(DeviceBase* device, 37 ResultOrError<Ref<BufferBase>> CreateBufferFromData(DeviceBase* device, in CreateBufferFromData() 43 ResultOrError<Ref<PipelineLayoutBase>> MakeBasicPipelineLayout( 45 const Ref<BindGroupLayoutBase>& bindGroupLayout); 80 ResultOrError<Ref<BindGroupLayoutBase>> MakeBindGroupLayout( 96 BindingInitializationHelper(uint32_t binding, const Ref<SamplerBase>& sampler); 97 BindingInitializationHelper(uint32_t binding, const Ref<TextureViewBase>& textureView); 99 const Ref<BufferBase>& buffer, 107 Ref<SamplerBase> sampler; [all …]
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/metal/ |
D | DeviceMTL.h | 56 Ref<Texture> CreateTextureWrappingIOSurface(const ExternalImageDescriptor* descriptor, 82 ResultOrError<Ref<BindGroupBase>> CreateBindGroupImpl( 84 ResultOrError<Ref<BindGroupLayoutBase>> CreateBindGroupLayoutImpl( 87 ResultOrError<Ref<BufferBase>> CreateBufferImpl( 89 ResultOrError<Ref<CommandBufferBase>> CreateCommandBuffer( 92 ResultOrError<Ref<PipelineLayoutBase>> CreatePipelineLayoutImpl( 94 ResultOrError<Ref<QuerySetBase>> CreateQuerySetImpl( 96 ResultOrError<Ref<SamplerBase>> CreateSamplerImpl( 98 ResultOrError<Ref<ShaderModuleBase>> CreateShaderModuleImpl( 101 ResultOrError<Ref<SwapChainBase>> CreateSwapChainImpl( [all …]
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/ |
D | DeviceGL.h | 59 ResultOrError<Ref<CommandBufferBase>> CreateCommandBuffer( 87 ResultOrError<Ref<BindGroupBase>> CreateBindGroupImpl( 89 ResultOrError<Ref<BindGroupLayoutBase>> CreateBindGroupLayoutImpl( 92 ResultOrError<Ref<BufferBase>> CreateBufferImpl( 94 ResultOrError<Ref<PipelineLayoutBase>> CreatePipelineLayoutImpl( 96 ResultOrError<Ref<QuerySetBase>> CreateQuerySetImpl( 98 ResultOrError<Ref<SamplerBase>> CreateSamplerImpl( 100 ResultOrError<Ref<ShaderModuleBase>> CreateShaderModuleImpl( 103 ResultOrError<Ref<SwapChainBase>> CreateSwapChainImpl( 105 ResultOrError<Ref<NewSwapChainBase>> CreateSwapChainImpl( [all …]
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
D | DeviceVk.h | 82 ResultOrError<Ref<CommandBufferBase>> CreateCommandBuffer( 111 ResultOrError<Ref<BindGroupBase>> CreateBindGroupImpl( 113 ResultOrError<Ref<BindGroupLayoutBase>> CreateBindGroupLayoutImpl( 116 ResultOrError<Ref<BufferBase>> CreateBufferImpl( 118 ResultOrError<Ref<PipelineLayoutBase>> CreatePipelineLayoutImpl( 120 ResultOrError<Ref<QuerySetBase>> CreateQuerySetImpl( 122 ResultOrError<Ref<SamplerBase>> CreateSamplerImpl( 124 ResultOrError<Ref<ShaderModuleBase>> CreateShaderModuleImpl( 127 ResultOrError<Ref<SwapChainBase>> CreateSwapChainImpl( 129 ResultOrError<Ref<NewSwapChainBase>> CreateSwapChainImpl( [all …]
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/ |
D | DeviceD3D12.h | 50 ResultOrError<Ref<CommandBufferBase>> CreateCommandBuffer( 131 Ref<TextureBase> CreateExternalTexture(const TextureDescriptor* descriptor, 133 Ref<D3D11on12ResourceCacheEntry> d3d11on12Resource, 154 ResultOrError<Ref<BindGroupBase>> CreateBindGroupImpl( 156 ResultOrError<Ref<BindGroupLayoutBase>> CreateBindGroupLayoutImpl( 159 ResultOrError<Ref<BufferBase>> CreateBufferImpl( 161 ResultOrError<Ref<PipelineLayoutBase>> CreatePipelineLayoutImpl( 163 ResultOrError<Ref<QuerySetBase>> CreateQuerySetImpl( 165 ResultOrError<Ref<SamplerBase>> CreateSamplerImpl( 167 ResultOrError<Ref<ShaderModuleBase>> CreateShaderModuleImpl( [all …]
|
/third_party/boost/boost/type_traits/ |
D | is_constructible.hpp | 58 …te <class Ref, class Arg> struct is_constructible<Ref&, Arg> : public integral_constant<bool, size… 59 …e <class Ref, class Arg> struct is_constructible<Ref&&, Arg> : public integral_constant<bool, size… 82 template <class Ref> struct is_constructible<Ref&, void> : public false_type{}; 84 template <class Ref> struct is_constructible<Ref&&, void> : public false_type{};
|
/third_party/boost/boost/python/ |
D | extract.hpp | 53 template <class Ref> 56 typedef Ref result_type; 60 Ref operator()() const; 188 template <class Ref> 189 inline extract_reference<Ref>::extract_reference(PyObject* obj) in extract_reference() 192 (get_lvalue_from_python)(obj, registered<Ref>::converters) in extract_reference() 197 template <class Ref> 198 inline bool extract_reference<Ref>::check() const in check() 203 template <class Ref> 204 inline Ref extract_reference<Ref>::operator()() const in operator ()() [all …]
|