Home
last modified time | relevance | path

Searched refs:Maybe (Results 1 – 25 of 257) sorted by relevance

1234567891011

/third_party/vk-gl-cts/framework/common/
DtcuMaybe.hpp40 class Maybe class
43 Maybe (void);
44 Maybe (const Nothing_T&);
45 ~Maybe (void);
47 Maybe (const T& val);
48 Maybe<T>& operator= (const T& val);
50 Maybe (const Maybe<T>& other);
51 Maybe<T>& operator= (const Maybe<T>& other);
73 Maybe<T> nothing (void) in nothing()
75 return Maybe<T>(); in nothing()
[all …]
/third_party/skia/third_party/externals/tint/src/reader/wgsl/
Dparser_impl.h138 struct Maybe { struct
139 inline Maybe(std::nullptr_t) = delete; // NOLINT
145 inline Maybe(U&& val, const Source& s = {}) // NOLINT
149 inline Maybe(Failure::Errored) : errored(true) {} // NOLINT in Maybe() argument
152 inline Maybe(Failure::NoMatch) {} // NOLINT in Maybe() argument
157 inline Maybe(const Expect<U>& e) // NOLINT in Maybe() argument
166 inline Maybe(Expect<U>&& e) // NOLINT in Maybe() argument
173 inline Maybe(const Maybe&) = default;
175 inline Maybe(Maybe&&) = default;
178 inline Maybe& operator=(const Maybe&) = default; argument
[all …]
Dparser_impl.cc54 using Maybe = ParserImpl::Maybe<T>; typedef
366 auto decl = sync(Token::Type::kSemicolon, [&]() -> Maybe<bool> { in expect_global_decl()
474 Maybe<const ast::Variable*> ParserImpl::global_variable_decl( in global_variable_decl()
505 Maybe<const ast::Variable*> ParserImpl::global_constant_decl( in global_constant_decl()
539 Maybe<ParserImpl::VarDeclInfo> ParserImpl::variable_decl(bool allow_inferred) { in variable_decl()
568 Maybe<const ast::Type*> ParserImpl::texture_sampler_types() { in texture_sampler_types()
643 Maybe<const ast::Type*> ParserImpl::sampler_type() { in sampler_type()
661 Maybe<const ast::TextureDimension> ParserImpl::sampled_texture_type() { in sampled_texture_type()
685 Maybe<const ast::Type*> ParserImpl::external_texture_type() { in external_texture_type()
696 Maybe<const ast::TextureDimension> ParserImpl::multisampled_texture_type() { in multisampled_texture_type()
[all …]
/third_party/node/tools/inspector_protocol/lib/
DMaybe_h.template52 class Maybe {
54 Maybe() : m_value() { }
55 Maybe(std::unique_ptr<T> value) : m_value(std::move(value)) { }
56 Maybe(Maybe&& other) IP_NOEXCEPT : m_value(std::move(other.m_value)) {}
86 class Maybe<bool> : public MaybeBase<bool> {
88 Maybe() { m_value = false; }
89 Maybe(bool value) : MaybeBase(value) { }
90 Maybe(Maybe&& other) IP_NOEXCEPT : MaybeBase(std::move(other)) {}
95 class Maybe<int> : public MaybeBase<int> {
97 Maybe() { m_value = 0; }
[all …]
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fDrawBuffersIndexedTests.cpp69 using tcu::Maybe;
163 BlendState (const Maybe<bool>& enableBlend_, in BlendState()
164 const Maybe<Either<BlendEq, SeparateBlendEq> >& blendEq_, in BlendState()
165 const Maybe<Either<BlendFunc, SeparateBlendFunc> >& blendFunc_, in BlendState()
166 const Maybe<BVec4>& colorMask_) in BlendState()
179 Maybe<bool> enableBlend;
180 Maybe<Either<BlendEq, SeparateBlendEq> > blendEq;
181 Maybe<Either<BlendFunc, SeparateBlendFunc> > blendFunc;
182 Maybe<BVec4> colorMask;
1525 Maybe<Either<BlendFunc, SeparateBlendFunc> >(BlendFunc(GL_ONE, GL_ONE)), in createDiffTest()
[all …]
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkQueryUtil.hpp80 tcu::Maybe<deUint32> minVersion;
81 tcu::Maybe<deUint32> maxVersion;
84 tcu::Maybe<deUint32> minVersion_ = tcu::Nothing, in RequiredExtension()
85 tcu::Maybe<deUint32> maxVersion_ = tcu::Nothing) in RequiredExtension()
95 tcu::Maybe<deUint32> minSpecVersion;
96 tcu::Maybe<deUint32> maxSpecVersion;
97 tcu::Maybe<deUint32> minImplVersion;
98 tcu::Maybe<deUint32> maxImplVersion;
101 tcu::Maybe<deUint32> minSpecVersion_ = tcu::Nothing, in RequiredLayer()
102 tcu::Maybe<deUint32> maxSpecVersion_ = tcu::Nothing, in RequiredLayer()
[all …]
/third_party/node/src/
Dnode_process.h23 v8::Maybe<bool> ProcessEmitWarningGeneric(Environment* env,
29 inline v8::Maybe<bool> ProcessEmitWarning(Environment* env,
32 v8::Maybe<bool> ProcessEmitExperimentalWarning(Environment* env,
34 v8::Maybe<bool> ProcessEmitDeprecationWarning(Environment* env,
Dnode_serdes.cc19 using v8::Maybe;
40 Maybe<bool> WriteHostObject(Isolate* isolate, Local<Object> object) override;
41 Maybe<uint32_t> GetSharedArrayBufferId(
122 Maybe<uint32_t> SerializerContext::GetSharedArrayBufferId( in GetSharedArrayBufferId()
146 Maybe<bool> SerializerContext::WriteHostObject(Isolate* isolate, in WriteHostObject()
189 Maybe<bool> ret = in WriteValue()
225 Maybe<uint32_t> id = args[0]->Uint32Value(ctx->env()->context()); in TransferArrayBuffer()
241 Maybe<uint32_t> value = args[0]->Uint32Value(ctx->env()->context()); in WriteUint32()
251 Maybe<uint32_t> arg0 = args[0]->Uint32Value(ctx->env()->context()); in WriteUint64()
252 Maybe<uint32_t> arg1 = args[1]->Uint32Value(ctx->env()->context()); in WriteUint64()
[all …]
Dnode_process_events.cc14 using v8::Maybe;
36 Maybe<bool> ProcessEmitWarningGeneric(Environment* env, in ProcessEmitWarningGeneric()
89 Maybe<bool> ProcessEmitExperimentalWarning(Environment* env, in ProcessEmitExperimentalWarning()
101 Maybe<bool> ProcessEmitDeprecationWarning(Environment* env, in ProcessEmitDeprecationWarning()
Dnode_messaging.h37 virtual v8::Maybe<bool> FinalizeTransferWrite(
68 v8::Maybe<bool> Serialize(Environment* env,
183 v8::Maybe<bool> PostMessage(Environment* env,
260 v8::Maybe<std::vector<BaseObjectPtr<BaseObject>>>
262 v8::Maybe<bool> FinalizeTransferRead(
281 v8::Maybe<bool> FinalizeTransferWrite(
Dstring_bytes.h47 inline v8::Maybe<bool> Decode(Environment* env, in Decode()
67 static v8::Maybe<size_t> StorageSize(v8::Isolate* isolate,
73 static v8::Maybe<size_t> Size(v8::Isolate* isolate,
Dspawn_sync.h158 v8::Maybe<bool> TryInitializeAndRunLoop(v8::Local<v8::Value> options);
177 v8::Maybe<int> ParseOptions(v8::Local<v8::Value> js_value);
189 v8::Maybe<int> CopyJsString(v8::Local<v8::Value> js_value,
191 v8::Maybe<int> CopyJsStringArray(v8::Local<v8::Value> js_value,
Dnode_env_var.cc20 using v8::Maybe;
37 Maybe<std::string> Get(const char* key) const override;
48 Maybe<std::string> Get(const char* key) const override;
83 Maybe<std::string> RealEnvStore::Get(const char* key) const { in Get()
107 Maybe<std::string> value = Get(*key); in Get()
211 Maybe<std::string> MapKVStore::Get(const char* key) const { in Get()
219 Maybe<std::string> value = Get(*str); in Get()
273 Maybe<bool> KVStore::AssignFromObject(Local<Context> context, in AssignFromObject()
Dnode_messaging.cc28 using v8::Maybe;
56 Maybe<BaseObjectList> BaseObject::NestedTransferables() const { in NestedTransferables()
60 Maybe<bool> BaseObject::FinalizeTransferRead( in FinalizeTransferRead()
67 Maybe<bool> TransferData::FinalizeTransferWrite( in FinalizeTransferWrite()
268 Maybe<bool> WriteHostObject(Isolate* isolate, Local<Object> object) override { in WriteHostObject()
278 Maybe<uint32_t> GetSharedArrayBufferId( in GetSharedArrayBufferId()
295 Maybe<uint32_t> GetWasmModuleTransferId( in GetWasmModuleTransferId()
300 Maybe<bool> Finish(Local<Context> context) { in Finish()
325 inline Maybe<bool> AddNestedHostObjects() { in AddNestedHostObjects()
344 Maybe<bool> WriteHostObject(BaseObjectPtr<BaseObject> host_object) { in WriteHostObject()
[all …]
/third_party/typescript/tests/baselines/reference/
DunionAndIntersectionInference3.types4 type Maybe<T> = T | undefined;
5 >Maybe : Maybe<T>
7 declare function concatMaybe<T>(...args: (Maybe<T> | Maybe<T>[])[]): T[];
8 >concatMaybe : <T>(...args: (Maybe<T> | Maybe<T>[])[]) => T[]
9 >args : (Maybe<T> | Maybe<T>[])[]
13 >concatMaybe : <T>(...args: (Maybe<T> | Maybe<T>[])[]) => T[]
DunionAndIntersectionInference3.js4 type Maybe<T> = T | undefined;
5 declare function concatMaybe<T>(...args: (Maybe<T> | Maybe<T>[])[]): T[];
DunionAndIntersectionInference1.types122 type Maybe<T> = T | void;
123 >Maybe : Maybe<T>
133 let foo: Maybe<string>;
134 >foo : Maybe<string>
141 >foo : Maybe<string>
DunionAndIntersectionInference3.symbols4 type Maybe<T> = T | undefined;
5 >Maybe : Symbol(Maybe, Decl(unionAndIntersectionInference3.ts, 0, 0))
9 declare function concatMaybe<T>(...args: (Maybe<T> | Maybe<T>[])[]): T[];
13 >Maybe : Symbol(Maybe, Decl(unionAndIntersectionInference3.ts, 0, 0))
15 >Maybe : Symbol(Maybe, Decl(unionAndIntersectionInference3.ts, 0, 0))
/third_party/typescript/tests/cases/conformance/types/typeRelationships/typeInference/
DunionAndIntersectionInference3.ts6 type Maybe<T> = T | undefined; alias
7 declare function concatMaybe<T>(...args: (Maybe<T> | Maybe<T>[])[]): T[];
DunionAndIntersectionInference1.ts47 type Maybe<T> = T | void; alias
53 let foo: Maybe<string>;
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/wsi/
DvktNativeObjectsUtil.hpp49 const tcu::Maybe<tcu::UVec2>& initialWindowSize = tcu::Nothing);
57 …:wsi::Window> createWindow (const vk::wsi::Display& display, const tcu::Maybe<tcu::UVec2>& initi…
DvktNativeObjectsUtil.cpp60 … NativeObjects::createWindow (const vk::wsi::Display& display, const tcu::Maybe<tcu::UVec2>& initi… in createWindow()
78 const tcu::Maybe<tcu::UVec2>& initialWindowSize) in NativeObjects()
/third_party/typescript/src/server/
DpackageJsonCache.ts30 if (directoryHasPackageJson(ancestor) !== Ternary.Maybe) {
53 Ternary.Maybe;
/third_party/vk-gl-cts/framework/platform/lnx/
DtcuLnxVulkanPlatform.cpp90 vk::wsi::Window* createWindow (const Maybe<UVec2>& initialSize) const in createWindow()
138 vk::wsi::Window* createWindow (const Maybe<UVec2>& initialSize) const in createWindow()
184 vk::wsi::Window* createWindow (const Maybe<UVec2>& initialSize) const in createWindow()
213 vk::wsi::Window* createWindow (const Maybe<UVec2>&) const in createWindow()
/third_party/vk-gl-cts/modules/egl/
DteglThreadCleanUpTests.cpp61 …y display, EGLSurface surface, EGLContext context, EGLConfig config, tcu::Maybe<eglu::Error>& erro… in Thread()
133 tcu::Maybe<eglu::Error>& m_error;
254 tcu::Maybe<eglu::Error> error; in iterate()

1234567891011