Home
last modified time | relevance | path

Searched refs:Env (Results 1 – 25 of 127) sorted by relevance

123456

/third_party/skia/third_party/externals/dawn/src/dawn_node/binding/
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 …]
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) override;
[all …]
DGPUSupportedLimits.cpp27 uint32_t GPUSupportedLimits::getMaxTextureDimension1D(Napi::Env) { in getMaxTextureDimension1D() argument
31 uint32_t GPUSupportedLimits::getMaxTextureDimension2D(Napi::Env) { in getMaxTextureDimension2D() argument
35 uint32_t GPUSupportedLimits::getMaxTextureDimension3D(Napi::Env) { in getMaxTextureDimension3D() argument
39 uint32_t GPUSupportedLimits::getMaxTextureArrayLayers(Napi::Env) { in getMaxTextureArrayLayers() argument
43 uint32_t GPUSupportedLimits::getMaxBindGroups(Napi::Env) { in getMaxBindGroups() argument
47 uint32_t GPUSupportedLimits::getMaxDynamicUniformBuffersPerPipelineLayout(Napi::Env) { in getMaxDynamicUniformBuffersPerPipelineLayout() argument
51 uint32_t GPUSupportedLimits::getMaxDynamicStorageBuffersPerPipelineLayout(Napi::Env) { in getMaxDynamicStorageBuffersPerPipelineLayout() argument
55 uint32_t GPUSupportedLimits::getMaxSampledTexturesPerShaderStage(Napi::Env) { in getMaxSampledTexturesPerShaderStage() argument
59 uint32_t GPUSupportedLimits::getMaxSamplersPerShaderStage(Napi::Env) { in getMaxSamplersPerShaderStage() argument
63 uint32_t GPUSupportedLimits::getMaxStorageBuffersPerShaderStage(Napi::Env) { in getMaxStorageBuffersPerShaderStage() argument
[all …]
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 …]
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 env) { in SyntaxError()
[all …]
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 …]
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, std::string groupLabel) override;
[all …]
DGPURenderPassEncoder.cpp33 void GPURenderPassEncoder::setViewport(Napi::Env, in setViewport() argument
43 void GPURenderPassEncoder::setScissorRect(Napi::Env, in setScissorRect() argument
51 void GPURenderPassEncoder::setBlendConstant(Napi::Env env, interop::GPUColor color) { in setBlendConstant()
62 void GPURenderPassEncoder::setStencilReference(Napi::Env, interop::GPUStencilValue reference) { in setStencilReference() argument
66 void GPURenderPassEncoder::beginOcclusionQuery(Napi::Env, interop::GPUSize32 queryIndex) { in beginOcclusionQuery() argument
70 void GPURenderPassEncoder::endOcclusionQuery(Napi::Env) { in endOcclusionQuery() argument
75 Napi::Env, in beginPipelineStatisticsQuery() argument
81 void GPURenderPassEncoder::endPipelineStatisticsQuery(Napi::Env) { in endPipelineStatisticsQuery() argument
85 void GPURenderPassEncoder::writeTimestamp(Napi::Env env, in writeTimestamp()
99 Napi::Env env, in executeBundles()
[all …]
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 …]
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 …]
DGPUComputePassEncoder.cpp34 Napi::Env, in setPipeline() argument
39 void GPUComputePassEncoder::dispatch(Napi::Env, in dispatch() argument
47 Napi::Env, in dispatchIndirect() argument
54 Napi::Env, in beginPipelineStatisticsQuery() argument
60 void GPUComputePassEncoder::endPipelineStatisticsQuery(Napi::Env) { in endPipelineStatisticsQuery() argument
64 void GPUComputePassEncoder::writeTimestamp(Napi::Env env, in writeTimestamp()
77 void GPUComputePassEncoder::endPass(Napi::Env) { in endPass() argument
82 Napi::Env env, in setBindGroup()
98 void GPUComputePassEncoder::setBindGroup(Napi::Env env, in setBindGroup()
115 void GPUComputePassEncoder::pushDebugGroup(Napi::Env, std::string groupLabel) { in pushDebugGroup() argument
[all …]
DGPUDevice.cpp47 std::variant<interop::GPUDeviceLostReason> getReason(Napi::Env env) override { in getReason()
50 std::string getMessage(Napi::Env) override { in getMessage() argument
65 std::string getMessage(Napi::Env) override { in getMessage() argument
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() argument
121 std::vector<std::string> keys(Napi::Env) override { in getFeatures() argument
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 env) { in destroy()
[all …]
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 env; in compilationInfo()
[all …]
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() argument
79 void GPURenderBundleEncoder::popDebugGroup(Napi::Env) { in popDebugGroup() argument
83 void GPURenderBundleEncoder::insertDebugMarker(Napi::Env, std::string markerLabel) { in insertDebugMarker() argument
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 env, in draw()
[all …]
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() argument
135 void GPUCommandEncoder::popDebugGroup(Napi::Env) { in popDebugGroup() argument
139 void GPUCommandEncoder::insertDebugMarker(Napi::Env, std::string markerLabel) { in insertDebugMarker() argument
143 void GPUCommandEncoder::writeTimestamp(Napi::Env env, in writeTimestamp()
[all …]
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;
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() argument
124 std::optional<std::string> GPUQueue::getLabel(Napi::Env) { in getLabel() argument
128 void GPUQueue::setLabel(Napi::Env, std::optional<std::string> value) { in setLabel() argument
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,
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;
/third_party/skia/third_party/externals/dawn/src/dawn_node/interop/
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()
280 static inline Result FromJS(Napi::Env, Napi::Value value, Napi::Object& out) { in FromJS() argument
287 static inline Napi::Value ToJS(Napi::Env, Napi::Object value) { in ToJS() argument
295 static inline Result FromJS(Napi::Env, Napi::Value value, ArrayBuffer& out) { in FromJS() argument
[all …]
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 env, int16_t value) { in ToJS()
[all …]
DWebGPU.cpp.tmpl56 void Initialize(Napi::Env env) {
80 Wrappers(Napi::Env env) {
97 static Wrappers* Init(Napi::Env env) {
103 static void Term(Napi::Env env) {
108 static Wrappers* For(Napi::Env env) {
109 // Currently Napi only actually supports a single Env, so there's no point
110 // maintaining a map of Env to Wrapper. Note: This might not always be true.
142 static Napi::Function Class(Napi::Env env) {
169 return ToJS(info.Env(), impl->has(info.Env(), std::get<0>(args)));
171 Napi::Error::New(info.Env(), res.error).ThrowAsJavaScriptException();
[all …]
/third_party/python/Lib/venv/scripts/common/
DActivate.ps183 if (Test-Path -Path Env:_OLD_VIRTUAL_PYTHONHOME) { in global:deactivate()
84 Copy-Item -Path Env:_OLD_VIRTUAL_PYTHONHOME -Destination Env:PYTHONHOME in global:deactivate()
85 Remove-Item -Path Env:_OLD_VIRTUAL_PYTHONHOME in global:deactivate()
89 if (Test-Path -Path Env:_OLD_VIRTUAL_PATH) { in global:deactivate()
90 Copy-Item -Path Env:_OLD_VIRTUAL_PATH -Destination Env:PATH in global:deactivate()
91 Remove-Item -Path Env:_OLD_VIRTUAL_PATH in global:deactivate()
95 if (Test-Path -Path Env:VIRTUAL_ENV) { in global:deactivate()
100 if (Test-Path -Path Env:VIRTUAL_ENV_PROMPT) { in global:deactivate()
240 if (Test-Path -Path Env:PYTHONHOME) {
241 Copy-Item -Path Env:PYTHONHOME -Destination Env:_OLD_VIRTUAL_PYTHONHOME
[all …]
/third_party/rust/crates/env_logger/src/
Dlib.rs317 pub struct Env<'a> { struct
445 E: Into<Env<'a>>, in from_env()
490 E: Into<Env<'a>>, in parse_env()
524 Self::from_env(Env::default()) in from_default_env()
550 self.parse_env(Env::default()) in parse_default_env()
864 E: Into<Env<'a>>, in from_env()
973 impl<'a> Env<'a> { impl
1087 impl<'a, T> From<T> for Env<'a> implementation
1092 Env::default().filter(filter_env.into()) in from()
1096 impl<'a> Default for Env<'a> { implementation
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DTriple.h523 EnvironmentType Env = getEnvironment(); in isGNUEnvironment() local
524 return Env == Triple::GNU || Env == Triple::GNUABIN32 || in isGNUEnvironment()
525 Env == Triple::GNUABI64 || Env == Triple::GNUEABI || in isGNUEnvironment()
526 Env == Triple::GNUEABIHF || Env == Triple::GNUX32; in isGNUEnvironment()
667 unsigned Env[3]; in isAndroidVersionLT() local
668 getEnvironmentVersion(Env[0], Env[1], Env[2]); in isAndroidVersionLT()
671 if (isArch64Bit() && Env[0] < 21) in isAndroidVersionLT()
672 Env[0] = 21; in isAndroidVersionLT()
674 return Env[0] < Major; in isAndroidVersionLT()

123456