/third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/ |
H A D | Reference.h | 15 class Ref class 18 Ref(const Ref &) = default; 19 Ref(Ref &&) = default; 20 Ref(T &ref) : mPtr(&ref) {} in Ref() function in sh::Ref 22 Ref &operator=(const Ref &) = default; 23 Ref &operator=(Ref [all...] |
/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
H A 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<BindGroupBas [all...] |
H A D | Commands.h | 33 // dependencies: Ref<Object> needs Object to be defined. 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<BufferBas [all...] |
H A 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;
|
H A D | Device.cpp | 128 ResultOrError<Ref<PipelineLayoutBase>> 133 Ref<PipelineLayoutBase> layoutRef; in ValidateLayoutAndGetComputePipelineDescriptorWithDefaults() 151 ResultOrError<Ref<PipelineLayoutBase>> 156 Ref<PipelineLayoutBase> layoutRef; in ValidateLayoutAndGetRenderPipelineDescriptorWithDefaults() 160 // Ref will keep the pipeline layout alive until the end of the function where in ValidateLayoutAndGetRenderPipelineDescriptorWithDefaults() 679 ResultOrError<Ref<BindGroupLayoutBase>> DeviceBase::GetOrCreateBindGroupLayout( 688 Ref<BindGroupLayoutBase> result; 710 ResultOrError<Ref<BindGroupLayoutBase>> DeviceBase::CreateEmptyBindGroupLayout() { 723 Ref<ComputePipelineBase> DeviceBase::GetCachedComputePipeline( 725 Ref<ComputePipelineBas [all...] |
H A D | CreatePipelineAsyncTask.h | 41 CreateComputePipelineAsyncCallbackTask(Ref<ComputePipelineBase> pipeline, 51 Ref<ComputePipelineBase> mPipeline; 56 CreateRenderPipelineAsyncCallbackTask(Ref<RenderPipelineBase> pipeline, 66 Ref<RenderPipelineBase> mPipeline; 74 CreateComputePipelineAsyncTask(Ref<ComputePipelineBase> nonInitializedComputePipeline, 83 Ref<ComputePipelineBase> mComputePipeline; 92 CreateRenderPipelineAsyncTask(Ref<RenderPipelineBase> nonInitializedRenderPipeline, 101 Ref<RenderPipelineBase> mRenderPipeline;
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/ |
H A D | RefCountedTests.cpp | 104 // Test Ref remove reference when going out of scope 105 TEST(Ref, EndOfScopeRemovesRef) { in TEST() 108 Ref<RCTest> test(new RCTest(&deleted)); in TEST() 114 // Test getting pointer out of the Ref 115 TEST(Ref, Gets) { in TEST() 117 Ref<RCTest> test(original); in TEST() 125 TEST(Ref, DefaultsToNull) { in TEST() 126 Ref<RCTest> test; in TEST() 132 // Test Ref's copy constructor 133 TEST(Ref, CopyConstructo [all...] |
H A D | RefBaseTests.cpp | 112 using Ref = RefBase<RefTracker, RefTrackerTraits>; 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 re in TEST() [all...] |
H A D | ResultTests.cpp | 55 // local Ref instances to dummySuccessObj. Tests should 56 // ensure any local Ref objects made along the way continue 59 void TestSuccess(Result<Ref<T>, E>* result, T* expectedSuccess) { in TestSuccess() 68 const Ref<T> storedSuccess = result->AcquireSuccess(); in TestSuccess() 248 // Result<Ref<T>, E> 250 // Test constructing an error Result<Ref<T>, E> 252 Result<Ref<AClass>, int> result(std::make_unique<int>(dummyError)); in TEST() 256 // Test moving an error Result<Ref<T>, E> 258 Result<Ref<AClass>, int> result(std::make_unique<int>(dummyError)); in TEST() 259 Result<Ref<AClas in TEST() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
H A D | TrackingMDRef.h | 107 TrackingMDRef Ref; member in llvm::TypedTrackingMDRef 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); in operator =() 122 Ref = X.Ref; in operator =() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
H A D | TrackingMDRef.h | 101 TrackingMDRef Ref; member in llvm::TypedTrackingMDRef 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); in operator =() 114 Ref = X.Ref; in operator =() [all...] |
/third_party/skia/third_party/externals/dawn/src/dawn_native/metal/ |
H A 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<SwapChainBas [all...] |
/third_party/skia/third_party/externals/dawn/src/dawn_native/utils/ |
H A 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<SamplerBas [all...] |
H A D | WGPUHelpers.cpp | 36 ResultOrError<Ref<ShaderModuleBase>> CreateShaderModule(DeviceBase* device, in CreateShaderModule() 45 ResultOrError<Ref<BufferBase>> CreateBufferFromData(DeviceBase* device, in CreateBufferFromData() 53 Ref<BufferBase> buffer; in CreateBufferFromData() 60 ResultOrError<Ref<PipelineLayoutBase>> MakeBasicPipelineLayout( in MakeBasicPipelineLayout() 62 const Ref<BindGroupLayoutBase>& bindGroupLayout) { in MakeBasicPipelineLayout() 70 ResultOrError<Ref<BindGroupLayoutBase>> MakeBindGroupLayout( in MakeBindGroupLayout() 139 const Ref<SamplerBase>& sampler) in BindingInitializationHelper() 145 const Ref<TextureViewBase>& textureView) in BindingInitializationHelper() 150 const Ref<BufferBase>& buffer, in BindingInitializationHelper() 171 ResultOrError<Ref<BindGroupBas [all...] |
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/ |
H A 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<NewSwapChainBas [all...] |
H A D | DeviceGL.cpp | 41 Ref<Device> device = AcquireRef(new Device(adapter, descriptor, functions)); in Create() 115 ResultOrError<Ref<BindGroupBase>> Device::CreateBindGroupImpl( in CreateBindGroupImpl() 120 ResultOrError<Ref<BindGroupLayoutBase>> Device::CreateBindGroupLayoutImpl( in CreateBindGroupLayoutImpl() 125 ResultOrError<Ref<BufferBase>> Device::CreateBufferImpl(const BufferDescriptor* descriptor) { in CreateBufferImpl() 128 ResultOrError<Ref<CommandBufferBase>> Device::CreateCommandBuffer( in CreateCommandBuffer() 133 Ref<ComputePipelineBase> Device::CreateUninitializedComputePipelineImpl( in CreateUninitializedComputePipelineImpl() 137 ResultOrError<Ref<PipelineLayoutBase>> Device::CreatePipelineLayoutImpl( in CreatePipelineLayoutImpl() 141 ResultOrError<Ref<QuerySetBase>> Device::CreateQuerySetImpl( in CreateQuerySetImpl() 145 Ref<RenderPipelineBase> Device::CreateUninitializedRenderPipelineImpl( in CreateUninitializedRenderPipelineImpl() 149 ResultOrError<Ref<SamplerBas in CreateUninitializedRenderPipelineImpl() [all...] |
/third_party/skia/third_party/externals/dawn/src/tests/unittests/native/mocks/ |
H A 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<ShaderModuleBas [all...] |
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
H A 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<NewSwapChainBas [all...] |
/third_party/rust/crates/rustix/src/io/ |
H A D | context.rs | 12 pub struct Ref<'a, T> { structure names 17 impl<'a, T> Ref<'a, T> { impls 32 impl<'a, T> Deref for Ref<'a, T> { 41 impl<'a, T: fmt::Debug> fmt::Debug for Ref<'a, T> { 58 fn acquire<'call>(&self, data: Self::Data) -> Ref<'call, Self::Target>; in fmt() 62 fn encode(&self, target: Ref<'_, Self::Target>) -> u64; in fmt() 70 unsafe fn decode<'call>(&self, raw: u64) -> Ref<'call, Self::Target>; in fmt() 73 fn release(&self, target: Ref<'_, Self::Target>) -> Self::Data; in fmt() 86 fn acquire<'call>(&self, data: Self::Data) -> Ref<'call, Self::Target> { in acquire() 87 Ref in acquire() [all...] |
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/ |
H A 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<ShaderModuleBas [all...] |
/third_party/skia/third_party/externals/dawn/src/tests/unittests/native/ |
H A D | DestroyObjectTests.cpp | 50 Ref<TextureMock> GetTexture() { in GetTexture() 60 Ref<PipelineLayoutMock> GetPipelineLayout() { in GetPipelineLayout() 69 Ref<ShaderModuleMock> GetVertexShaderModule() { in GetVertexShaderModule() 83 Ref<ShaderModuleMock> GetComputeShaderModule() { in GetComputeShaderModule() 101 Ref<TextureMock> mTexture; 102 Ref<PipelineLayoutMock> mPipelineLayout; 103 Ref<ShaderModuleMock> mVsModule; 104 Ref<ShaderModuleMock> mCsModule; 123 Ref<BindGroupBase> bindGroup; in TEST_F() 148 Ref<BindGroupLayoutBas in TEST_F() [all...] |
/third_party/skia/third_party/externals/dawn/src/dawn_native/null/ |
H A D | DeviceNull.h | 95 ResultOrError<Ref<CommandBufferBase>> CreateCommandBuffer( 126 ResultOrError<Ref<BindGroupBase>> CreateBindGroupImpl( 128 ResultOrError<Ref<BindGroupLayoutBase>> CreateBindGroupLayoutImpl( 131 ResultOrError<Ref<BufferBase>> CreateBufferImpl( 133 Ref<ComputePipelineBase> CreateUninitializedComputePipelineImpl( 135 ResultOrError<Ref<PipelineLayoutBase>> CreatePipelineLayoutImpl( 137 ResultOrError<Ref<QuerySetBase>> CreateQuerySetImpl( 139 Ref<RenderPipelineBase> CreateUninitializedRenderPipelineImpl( 141 ResultOrError<Ref<SamplerBase>> CreateSamplerImpl( 143 ResultOrError<Ref<ShaderModuleBas [all...] |
H A D | DeviceNull.cpp | 89 Ref<Buffer> destination; 100 Ref<Device> device = AcquireRef(new Device(adapter, descriptor)); in Create() 113 ResultOrError<Ref<BindGroupBase>> Device::CreateBindGroupImpl( in CreateBindGroupImpl() 117 ResultOrError<Ref<BindGroupLayoutBase>> Device::CreateBindGroupLayoutImpl( in CreateBindGroupLayoutImpl() 122 ResultOrError<Ref<BufferBase>> Device::CreateBufferImpl(const BufferDescriptor* descriptor) { in CreateBufferImpl() 126 ResultOrError<Ref<CommandBufferBase>> Device::CreateCommandBuffer( in CreateCommandBuffer() 131 Ref<ComputePipelineBase> Device::CreateUninitializedComputePipelineImpl( in CreateUninitializedComputePipelineImpl() 135 ResultOrError<Ref<PipelineLayoutBase>> Device::CreatePipelineLayoutImpl( in CreatePipelineLayoutImpl() 139 ResultOrError<Ref<QuerySetBase>> Device::CreateQuerySetImpl( in CreateQuerySetImpl() 143 Ref<RenderPipelineBas in CreateQuerySetImpl() [all...] |
/third_party/rust/crates/regex/src/ |
H A D | expand.rs | 37 Ref::Number(i) => { in expand_str() 40 Ref::Named(name) => { in expand_str() 79 Ref::Number(i) => { in expand_bytes() 82 Ref::Named(name) => { in expand_bytes() 99 cap: Ref<'a>, 107 enum Ref<'a> { enum 112 impl<'a> From<&'a str> for Ref<'a> { 113 fn from(x: &'a str) -> Ref<'a> { in from() 114 Ref::Named(x) in from() 118 impl From<usize> for Ref<'stati [all...] |
/third_party/node/deps/v8/third_party/wasm-api/ |
H A D | wasm.hh | 392 class Ref { 394 Ref() = delete; 395 ~Ref(); 398 auto copy() const -> own<Ref>; 399 auto same(const Ref*) const -> bool; 415 Ref* ref; 426 Val(own<Ref>&& r) : kind_(ANYREF) { impl_.ref = r.release(); } 443 static auto ref(own<Ref>&& x) -> Val { return Val(std::move(x)); } 471 auto ref() const -> Ref* { assert(is_ref()); return impl_.ref; } 474 auto release_ref() -> own<Ref> { [all...] |