Home
last modified time | relevance | path

Searched refs:Env (Results 1 - 25 of 90) sorted by relevance

1234

/third_party/skia/third_party/externals/dawn/src/dawn_node/binding/
H A DErrors.h27 static Napi::Error HierarchyRequestError(Napi::Env);
28 static Napi::Error WrongDocumentError(Napi::Env);
29 static Napi::Error InvalidCharacterError(Napi::Env);
30 static Napi::Error NoModificationAllowedError(Napi::Env);
31 static Napi::Error NotFoundError(Napi::Env);
32 static Napi::Error NotSupportedError(Napi::Env);
33 static Napi::Error InUseAttributeError(Napi::Env);
34 static Napi::Error InvalidStateError(Napi::Env);
35 static Napi::Error SyntaxError(Napi::Env);
36 static Napi::Error InvalidModificationError(Napi::Env);
[all...]
H A DGPUSupportedLimits.h31 uint32_t getMaxTextureDimension1D(Napi::Env) override;
32 uint32_t getMaxTextureDimension2D(Napi::Env) override;
33 uint32_t getMaxTextureDimension3D(Napi::Env) override;
34 uint32_t getMaxTextureArrayLayers(Napi::Env) override;
35 uint32_t getMaxBindGroups(Napi::Env) override;
36 uint32_t getMaxDynamicUniformBuffersPerPipelineLayout(Napi::Env) override;
37 uint32_t getMaxDynamicStorageBuffersPerPipelineLayout(Napi::Env) override;
38 uint32_t getMaxSampledTexturesPerShaderStage(Napi::Env) override;
39 uint32_t getMaxSamplersPerShaderStage(Napi::Env) override;
40 uint32_t getMaxStorageBuffersPerShaderStage(Napi::Env) overrid
[all...]
H A DGPUSupportedLimits.cpp27 uint32_t GPUSupportedLimits::getMaxTextureDimension1D(Napi::Env) { in getMaxTextureDimension1D()
31 uint32_t GPUSupportedLimits::getMaxTextureDimension2D(Napi::Env) { in getMaxTextureDimension2D()
35 uint32_t GPUSupportedLimits::getMaxTextureDimension3D(Napi::Env) { in getMaxTextureDimension3D()
39 uint32_t GPUSupportedLimits::getMaxTextureArrayLayers(Napi::Env) { in getMaxTextureArrayLayers()
43 uint32_t GPUSupportedLimits::getMaxBindGroups(Napi::Env) { in getMaxBindGroups()
47 uint32_t GPUSupportedLimits::getMaxDynamicUniformBuffersPerPipelineLayout(Napi::Env) { in getMaxDynamicUniformBuffersPerPipelineLayout()
51 uint32_t GPUSupportedLimits::getMaxDynamicStorageBuffersPerPipelineLayout(Napi::Env) { in getMaxDynamicStorageBuffersPerPipelineLayout()
55 uint32_t GPUSupportedLimits::getMaxSampledTexturesPerShaderStage(Napi::Env) { in getMaxSampledTexturesPerShaderStage()
59 uint32_t GPUSupportedLimits::getMaxSamplersPerShaderStage(Napi::Env) { in getMaxSamplersPerShaderStage()
63 uint32_t GPUSupportedLimits::getMaxStorageBuffersPerShaderStage(Napi::Env) { in getMaxStorageBuffersPerShaderStage()
[all...]
H A DGPUDevice.h27 GPUDevice(Napi::Env env, wgpu::Device device);
31 interop::Interface<interop::GPUSupportedFeatures> getFeatures(Napi::Env) override;
32 interop::Interface<interop::GPUSupportedLimits> getLimits(Napi::Env) override;
33 interop::Interface<interop::GPUQueue> getQueue(Napi::Env env) override;
34 void destroy(Napi::Env) override;
36 Napi::Env env,
39 Napi::Env,
42 Napi::Env,
45 Napi::Env,
48 Napi::Env,
[all...]
H A DErrors.cpp50 static Napi::Error New(Napi::Env env, in New()
63 Napi::Error Errors::HierarchyRequestError(Napi::Env env) { in HierarchyRequestError()
67 Napi::Error Errors::WrongDocumentError(Napi::Env env) { in WrongDocumentError()
71 Napi::Error Errors::InvalidCharacterError(Napi::Env env) { in InvalidCharacterError()
75 Napi::Error Errors::NoModificationAllowedError(Napi::Env env) { in NoModificationAllowedError()
79 Napi::Error Errors::NotFoundError(Napi::Env env) { in NotFoundError()
83 Napi::Error Errors::NotSupportedError(Napi::Env env) { in NotSupportedError()
87 Napi::Error Errors::InUseAttributeError(Napi::Env env) { in InUseAttributeError()
91 Napi::Error Errors::InvalidStateError(Napi::Env env) { in InvalidStateError()
95 Napi::Error Errors::SyntaxError(Napi::Env en
[all...]
H A DGPURenderPassEncoder.h37 void setViewport(Napi::Env,
44 void setScissorRect(Napi::Env,
49 void setBlendConstant(Napi::Env, interop::GPUColor color) override;
50 void setStencilReference(Napi::Env, interop::GPUStencilValue reference) override;
51 void beginOcclusionQuery(Napi::Env, interop::GPUSize32 queryIndex) override;
52 void endOcclusionQuery(Napi::Env) override;
53 void beginPipelineStatisticsQuery(Napi::Env,
56 void endPipelineStatisticsQuery(Napi::Env) override;
57 void writeTimestamp(Napi::Env,
61 Napi::Env,
[all...]
H A DGPURenderBundleEncoder.h33 Napi::Env,
35 void setBindGroup(Napi::Env,
39 void setBindGroup(Napi::Env,
45 void pushDebugGroup(Napi::Env, std::string groupLabel) override;
46 void popDebugGroup(Napi::Env) override;
47 void insertDebugMarker(Napi::Env, std::string markerLabel) override;
48 void setPipeline(Napi::Env,
50 void setIndexBuffer(Napi::Env,
55 void setVertexBuffer(Napi::Env,
60 void draw(Napi::Env,
[all...]
H A DGPURenderPassEncoder.cpp33 void GPURenderPassEncoder::setViewport(Napi::Env, in setViewport()
43 void GPURenderPassEncoder::setScissorRect(Napi::Env, in setScissorRect()
51 void GPURenderPassEncoder::setBlendConstant(Napi::Env env, interop::GPUColor color) { in setBlendConstant()
62 void GPURenderPassEncoder::setStencilReference(Napi::Env, interop::GPUStencilValue reference) { in setStencilReference()
66 void GPURenderPassEncoder::beginOcclusionQuery(Napi::Env, interop::GPUSize32 queryIndex) { in beginOcclusionQuery()
70 void GPURenderPassEncoder::endOcclusionQuery(Napi::Env) { in endOcclusionQuery()
75 Napi::Env, in beginPipelineStatisticsQuery()
81 void GPURenderPassEncoder::endPipelineStatisticsQuery(Napi::Env) { in endPipelineStatisticsQuery()
85 void GPURenderPassEncoder::writeTimestamp(Napi::Env env, in writeTimestamp()
99 Napi::Env en in executeBundles()
[all...]
H A DGPUComputePassEncoder.cpp34 Napi::Env, in setPipeline()
39 void GPUComputePassEncoder::dispatch(Napi::Env, in dispatch()
47 Napi::Env, in dispatchIndirect()
54 Napi::Env, in beginPipelineStatisticsQuery()
60 void GPUComputePassEncoder::endPipelineStatisticsQuery(Napi::Env) { in endPipelineStatisticsQuery()
64 void GPUComputePassEncoder::writeTimestamp(Napi::Env env, in writeTimestamp()
77 void GPUComputePassEncoder::endPass(Napi::Env) { in endPass()
82 Napi::Env env, in setBindGroup()
98 void GPUComputePassEncoder::setBindGroup(Napi::Env env, in setBindGroup()
115 void GPUComputePassEncoder::pushDebugGroup(Napi::Env, st
[all...]
H A DGPUComputePassEncoder.h37 void setPipeline(Napi::Env,
39 void dispatch(Napi::Env,
43 void dispatchIndirect(Napi::Env,
46 void beginPipelineStatisticsQuery(Napi::Env,
49 void endPipelineStatisticsQuery(Napi::Env) override;
50 void writeTimestamp(Napi::Env,
53 void endPass(Napi::Env) override;
54 void setBindGroup(Napi::Env,
58 void setBindGroup(Napi::Env,
64 void pushDebugGroup(Napi::Env, st
[all...]
H A DGPUCommandEncoder.h33 Napi::Env,
36 Napi::Env,
38 void copyBufferToBuffer(Napi::Env,
44 void copyBufferToTexture(Napi::Env,
48 void copyTextureToBuffer(Napi::Env,
52 void copyTextureToTexture(Napi::Env,
56 void pushDebugGroup(Napi::Env, std::string groupLabel) override;
57 void popDebugGroup(Napi::Env) override;
58 void insertDebugMarker(Napi::Env, std::string markerLabel) override;
59 void writeTimestamp(Napi::Env,
[all...]
H A DGPUDevice.cpp47 std::variant<interop::GPUDeviceLostReason> getReason(Napi::Env env) override {
50 std::string getMessage(Napi::Env) override {
65 std::string getMessage(Napi::Env) override {
78 GPUDevice::GPUDevice(Napi::Env env, wgpu::Device device) in GPUDevice()
115 interop::Interface<interop::GPUSupportedFeatures> GPUDevice::getFeatures(Napi::Env env) { in getFeatures()
118 bool has(Napi::Env, std::string feature) override { in getFeatures()
121 std::vector<std::string> keys(Napi::Env) override { in getFeatures()
128 interop::Interface<interop::GPUSupportedLimits> GPUDevice::getLimits(Napi::Env env) { in getLimits()
136 interop::Interface<interop::GPUQueue> GPUDevice::getQueue(Napi::Env env) { in getQueue()
141 void GPUDevice::destroy(Napi::Env en
[all...]
H A DGPUShaderModule.cpp31 GPUShaderModule::compilationInfo(Napi::Env env) { in compilationInfo()
37 std::string getMessage(Napi::Env) override { in compilationInfo()
40 interop::GPUCompilationMessageType getType(Napi::Env) override { in compilationInfo()
52 uint64_t getLineNum(Napi::Env) override { in compilationInfo()
55 uint64_t getLinePos(Napi::Env) override { in compilationInfo()
58 uint64_t getOffset(Napi::Env) override { in compilationInfo()
61 uint64_t getLength(Napi::Env) override { in compilationInfo()
71 GPUCompilationInfo(Napi::Env env, Messages msgs) { in compilationInfo()
77 Messages getMessages(Napi::Env) override { in compilationInfo()
90 Napi::Env en in compilationInfo()
[all...]
H A DGPURenderBundleEncoder.cpp34 Napi::Env env, in finish()
42 Napi::Env env, in setBindGroup()
58 void GPURenderBundleEncoder::setBindGroup(Napi::Env env, in setBindGroup()
75 void GPURenderBundleEncoder::pushDebugGroup(Napi::Env, std::string groupLabel) { in pushDebugGroup()
79 void GPURenderBundleEncoder::popDebugGroup(Napi::Env) { in popDebugGroup()
83 void GPURenderBundleEncoder::insertDebugMarker(Napi::Env, std::string markerLabel) { in insertDebugMarker()
88 Napi::Env env, in setPipeline()
100 void GPURenderBundleEncoder::setIndexBuffer(Napi::Env env, in setIndexBuffer()
121 void GPURenderBundleEncoder::setVertexBuffer(Napi::Env env, in setVertexBuffer()
136 void GPURenderBundleEncoder::draw(Napi::Env en
[all...]
H A DGPUCommandEncoder.cpp36 Napi::Env env, in beginRenderPass()
52 Napi::Env env, in beginComputePass()
59 void GPUCommandEncoder::copyBufferToBuffer(Napi::Env env, in copyBufferToBuffer()
77 void GPUCommandEncoder::copyBufferToTexture(Napi::Env env, in copyBufferToTexture()
95 void GPUCommandEncoder::copyTextureToBuffer(Napi::Env env, in copyTextureToBuffer()
113 void GPUCommandEncoder::copyTextureToTexture(Napi::Env env, in copyTextureToTexture()
131 void GPUCommandEncoder::pushDebugGroup(Napi::Env, std::string groupLabel) { in pushDebugGroup()
135 void GPUCommandEncoder::popDebugGroup(Napi::Env) { in popDebugGroup()
139 void GPUCommandEncoder::insertDebugMarker(Napi::Env, std::string markerLabel) { in insertDebugMarker()
143 void GPUCommandEncoder::writeTimestamp(Napi::Env en
[all...]
H A DGPUQueue.h33 Napi::Env,
35 interop::Promise<void> onSubmittedWorkDone(Napi::Env) override;
36 void writeBuffer(Napi::Env,
42 void writeTexture(Napi::Env,
47 void copyExternalImageToTexture(Napi::Env,
51 std::optional<std::string> getLabel(Napi::Env) override;
52 void setLabel(Napi::Env, std::optional<std::string> value) override;
H A DGPUAdapter.h32 std::string getName(Napi::Env) override;
33 interop::Interface<interop::GPUSupportedFeatures> getFeatures(Napi::Env) override;
34 interop::Interface<interop::GPUSupportedLimits> getLimits(Napi::Env) override;
35 bool getIsFallbackAdapter(Napi::Env) override;
37 Napi::Env env,
H A DGPUBuffer.h45 interop::Promise<void> mapAsync(Napi::Env env,
49 interop::ArrayBuffer getMappedRange(Napi::Env env,
52 void unmap(Napi::Env) override;
53 void destroy(Napi::Env) override;
54 std::optional<std::string> getLabel(Napi::Env) override;
55 void setLabel(Napi::Env, std::optional<std::string> value) override;
H A DGPUQueue.cpp34 Napi::Env env, in submit()
48 interop::Promise<void> GPUQueue::onSubmittedWorkDone(Napi::Env env) { in onSubmittedWorkDone()
50 Napi::Env env; in onSubmittedWorkDone()
72 void GPUQueue::writeBuffer(Napi::Env env, in writeBuffer()
97 void GPUQueue::writeTexture(Napi::Env env, in writeTexture()
117 void GPUQueue::copyExternalImageToTexture(Napi::Env, in copyExternalImageToTexture()
124 std::optional<std::string> GPUQueue::getLabel(Napi::Env) { in getLabel()
128 void GPUQueue::setLabel(Napi::Env, std::optional<std::string> value) { in setLabel()
H A DGPUBuffer.cpp43 interop::Promise<void> GPUBuffer::mapAsync(Napi::Env env, in mapAsync()
64 Napi::Env env; in mapAsync()
109 interop::ArrayBuffer GPUBuffer::getMappedRange(Napi::Env env, in getMappedRange()
141 void GPUBuffer::unmap(Napi::Env env) { in unmap()
156 void GPUBuffer::destroy(Napi::Env) { in destroy()
161 std::optional<std::string> GPUBuffer::getLabel(Napi::Env) { in getLabel()
165 void GPUBuffer::setLabel(Napi::Env, std::optional<std::string> value) { in setLabel()
H A DGPUTexture.h37 Napi::Env,
39 void destroy(Napi::Env) override;
40 std::optional<std::string> getLabel(Napi::Env) override;
41 void setLabel(Napi::Env, std::optional<std::string> value) override;
/third_party/skia/third_party/externals/dawn/src/dawn_node/interop/
H A DCore.cpp25 Result Converter<bool>::FromJS(Napi::Env env, Napi::Value value, bool& out) { in FromJS()
32 Napi::Value Converter<bool>::ToJS(Napi::Env env, bool value) { in ToJS()
36 Result Converter<std::string>::FromJS(Napi::Env env, Napi::Value value, std::string& out) { in FromJS()
43 Napi::Value Converter<std::string>::ToJS(Napi::Env env, std::string value) { in ToJS()
47 Result Converter<int8_t>::FromJS(Napi::Env env, Napi::Value value, int8_t& out) { in FromJS()
54 Napi::Value Converter<int8_t>::ToJS(Napi::Env env, int8_t value) { in ToJS()
58 Result Converter<uint8_t>::FromJS(Napi::Env env, Napi::Value value, uint8_t& out) { in FromJS()
65 Napi::Value Converter<uint8_t>::ToJS(Napi::Env env, uint8_t value) { in ToJS()
69 Result Converter<int16_t>::FromJS(Napi::Env env, Napi::Value value, int16_t& out) { in FromJS()
76 Napi::Value Converter<int16_t>::ToJS(Napi::Env en in FromJS()
[all...]
H A DCore.h191 Reject(Napi::Error::New(state->deferred.Env(), err)); in Reject()
206 PromiseBase(Napi::Env env, const PromiseInfo& info) in PromiseBase()
209 [](Napi::Env, State* state) {
236 Promise(Napi::Env env, const PromiseInfo& info) : PromiseBase(env, info) { in Promise()
241 PromiseBase::Resolve(ToJS(state->deferred.Env(), std::forward<T>(value))); in Resolve()
250 Promise(Napi::Env env, const PromiseInfo& info) : PromiseBase(env, info) { in Promise()
255 PromiseBase::Resolve(state->deferred.Env().Undefined()); in Resolve()
269 // static Result FromJS(Napi::Env, Napi::Value in, T& out);
273 // static Napi::Value ToJS(Napi::Env, T in);
280 static inline Result FromJS(Napi::Env, Nap
[all...]
/third_party/rust/crates/env_logger/src/
H A Dlib.rs259 //! If these variables aren't present, the default value to use can be tweaked with the [`Env`] type.
264 //! use env_logger::Env;
266 //! env_logger::Builder::from_env(Env::default().default_filter_or("warn")).init();
274 //! [`Env`]: struct.Env.html
310 /// By default, the `Env` will read the following environment variables:
315 /// These sources can be configured using the builder methods on `Env`.
317 pub struct Env<'a> { structure names
436 /// use env_logger::{Builder, Env};
438 /// let env = Env
973 impl<'a> Env<'a> { global() impls
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
H A DProgram.cpp26 ArrayRef<StringRef> Args, Optional<ArrayRef<StringRef>> Env,
31 Optional<ArrayRef<StringRef>> Env, in ExecuteAndWait()
37 if (Execute(PI, Program, Args, Env, Redirects, MemoryLimit, ErrMsg)) { in ExecuteAndWait()
52 Optional<ArrayRef<StringRef>> Env, in ExecuteNoWait()
60 if (!Execute(PI, Program, Args, Env, Redirects, MemoryLimit, ErrMsg)) in ExecuteNoWait()
30 ExecuteAndWait(StringRef Program, ArrayRef<StringRef> Args, Optional<ArrayRef<StringRef>> Env, ArrayRef<Optional<StringRef>> Redirects, unsigned SecondsToWait, unsigned MemoryLimit, std::string *ErrMsg, bool *ExecutionFailed) ExecuteAndWait() argument
51 ExecuteNoWait(StringRef Program, ArrayRef<StringRef> Args, Optional<ArrayRef<StringRef>> Env, ArrayRef<Optional<StringRef>> Redirects, unsigned MemoryLimit, std::string *ErrMsg, bool *ExecutionFailed) ExecuteNoWait() argument

Completed in 10 milliseconds

1234