/third_party/node/deps/v8/src/inspector/ |
D | v8-runtime-agent-impl.h | 56 using protocol::Maybe; 70 void evaluate(const String16& expression, Maybe<String16> objectGroup, 71 Maybe<bool> includeCommandLineAPI, Maybe<bool> silent, 72 Maybe<int> executionContextId, Maybe<bool> returnByValue, 73 Maybe<bool> generatePreview, Maybe<bool> userGesture, 74 Maybe<bool> awaitPromise, Maybe<bool> throwOnSideEffect, 75 Maybe<double> timeout, Maybe<bool> disableBreaks, 76 Maybe<bool> replMode, Maybe<bool> allowUnsafeEvalBlockedByCSP, 77 Maybe<String16> uniqueContextId, 78 Maybe<bool> generateWebDriverValue, [all …]
|
D | v8-debugger-agent-impl.h | 28 using protocol::Maybe; 47 Response enable(Maybe<double> maxScriptsCacheSize, 53 int lineNumber, Maybe<String16> optionalURL, 54 Maybe<String16> optionalURLRegex, Maybe<String16> optionalScriptHash, 55 Maybe<int> optionalColumnNumber, Maybe<String16> optionalCondition, 61 Maybe<String16> optionalCondition, String16*, 64 Maybe<String16> optionalCondition, 70 Maybe<String16> targetCallFrames) override; 76 Maybe<bool> optionalCaseSensitive, Maybe<bool> optionalIsRegex, 81 Maybe<protocol::Debugger::Location> end, Maybe<bool> restrictToFunction, [all …]
|
D | v8-heap-profiler-agent-impl.h | 22 using protocol::Maybe; 38 Response startTrackingHeapObjects(Maybe<bool> trackAllocations) override; 39 Response stopTrackingHeapObjects(Maybe<bool> reportProgress, 40 Maybe<bool> treatGlobalObjectsAsRoots, 41 Maybe<bool> captureNumericValue) override; 45 Response takeHeapSnapshot(Maybe<bool> reportProgress, 46 Maybe<bool> treatGlobalObjectsAsRoots, 47 Maybe<bool> captureNumericValue) override; 50 const String16& heapSnapshotObjectId, Maybe<String16> objectGroup, 57 Response startSampling(Maybe<double> samplingInterval) override;
|
D | v8-runtime-agent-impl.cc | 79 protocol::Maybe<protocol::Runtime::ExceptionDetails> in sendSuccess() 102 Maybe<protocol::Runtime::ExceptionDetails> exceptionDetails; in wrapEvaluateResultAsync() 118 Maybe<protocol::Array<protocol::Runtime::CallArgument>> optionalArguments, in innerCallFunctionOn() 211 Maybe<int> executionContextId, in ensureContext() 212 Maybe<String16> uniqueContextId, int* contextId) { in ensureContext() 252 const String16& expression, Maybe<String16> objectGroup, in evaluate() 253 Maybe<bool> includeCommandLineAPI, Maybe<bool> silent, in evaluate() 254 Maybe<int> executionContextId, Maybe<bool> returnByValue, in evaluate() 255 Maybe<bool> generatePreview, Maybe<bool> userGesture, in evaluate() 256 Maybe<bool> maybeAwaitPromise, Maybe<bool> throwOnSideEffect, in evaluate() [all …]
|
/third_party/vk-gl-cts/framework/common/ |
D | tcuMaybe.hpp | 40 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/ |
D | parser_impl.h | 138 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() function 152 inline Maybe(Failure::NoMatch) {} // NOLINT in Maybe() argument 157 inline Maybe(const Expect<U>& e) // NOLINT in Maybe() function 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 …]
|
/third_party/node/deps/v8/include/ |
D | v8-maybe.h | 29 class Maybe { 73 V8_INLINE bool operator==(const Maybe& other) const { 78 V8_INLINE bool operator!=(const Maybe& other) const { 83 Maybe() : has_value_(false) {} in Maybe() function 84 explicit Maybe(const T& t) : has_value_(true), value_(t) {} in Maybe() function 90 friend Maybe<U> Nothing(); 92 friend Maybe<U> Just(const U& u); 96 inline Maybe<T> Nothing() { in Nothing() 97 return Maybe<T>(); in Nothing() 101 inline Maybe<T> Just(const T& t) { in Just() [all …]
|
D | v8-object.h | 244 V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, 247 V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index, 257 V8_WARN_UNUSED_RESULT Maybe<bool> CreateDataProperty(Local<Context> context, 260 V8_WARN_UNUSED_RESULT Maybe<bool> CreateDataProperty(Local<Context> context, 270 V8_WARN_UNUSED_RESULT Maybe<bool> DefineOwnProperty( 287 V8_WARN_UNUSED_RESULT Maybe<bool> DefineProperty( 301 V8_WARN_UNUSED_RESULT Maybe<PropertyAttribute> GetPropertyAttributes( 325 V8_WARN_UNUSED_RESULT Maybe<bool> Has(Local<Context> context, 328 V8_WARN_UNUSED_RESULT Maybe<bool> Delete(Local<Context> context, 331 V8_WARN_UNUSED_RESULT Maybe<bool> Has(Local<Context> context, uint32_t index); [all …]
|
D | v8-value-serializer.h | 53 virtual Maybe<bool> WriteHostObject(Isolate* isolate, Local<Object> object); 65 virtual Maybe<uint32_t> GetSharedArrayBufferId( 68 virtual Maybe<uint32_t> GetWasmModuleTransferId( 84 virtual Maybe<uint32_t> GetSharedValueId(Isolate* isolate, 121 V8_WARN_UNUSED_RESULT Maybe<bool> WriteValue(Local<Context> context, 221 V8_WARN_UNUSED_RESULT Maybe<bool> ReadHeader(Local<Context> context);
|
/third_party/node/tools/inspector_protocol/lib/ |
D | Maybe_h.template | 52 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/node/deps/v8/src/objects/ |
D | value-serializer.h | 63 Maybe<bool> WriteObject(Handle<Object> object) V8_WARN_UNUSED_RESULT; 101 Maybe<bool> ExpandBuffer(size_t required_capacity); 112 Maybe<uint8_t*> ReserveRawBytes(size_t bytes); 120 Maybe<bool> WriteJSReceiver(Handle<JSReceiver> receiver) 122 Maybe<bool> WriteJSObject(Handle<JSObject> object) V8_WARN_UNUSED_RESULT; 123 Maybe<bool> WriteJSObjectSlow(Handle<JSObject> object) V8_WARN_UNUSED_RESULT; 124 Maybe<bool> WriteJSArray(Handle<JSArray> array) V8_WARN_UNUSED_RESULT; 126 Maybe<bool> WriteJSPrimitiveWrapper(Handle<JSPrimitiveWrapper> value) 129 Maybe<bool> WriteJSMap(Handle<JSMap> map) V8_WARN_UNUSED_RESULT; 130 Maybe<bool> WriteJSSet(Handle<JSSet> map) V8_WARN_UNUSED_RESULT; [all …]
|
D | js-proxy.h | 33 V8_WARN_UNUSED_RESULT static Maybe<bool> SetPrototype( 37 V8_WARN_UNUSED_RESULT static Maybe<bool> IsExtensible(Handle<JSProxy> proxy); 40 V8_WARN_UNUSED_RESULT static Maybe<bool> IsArray(Handle<JSProxy> proxy); 43 V8_WARN_UNUSED_RESULT static Maybe<bool> PreventExtensions( 47 V8_WARN_UNUSED_RESULT static Maybe<bool> GetOwnPropertyDescriptor( 52 V8_WARN_UNUSED_RESULT static Maybe<bool> DefineOwnProperty( 54 PropertyDescriptor* desc, Maybe<ShouldThrow> should_throw); 57 V8_WARN_UNUSED_RESULT static Maybe<bool> HasProperty(Isolate* isolate, 63 V8_WARN_UNUSED_RESULT static Maybe<bool> CheckHasTrap( 67 V8_WARN_UNUSED_RESULT static Maybe<bool> CheckDeleteTrap( [all …]
|
D | js-objects.h | 106 V8_WARN_UNUSED_RESULT static Maybe<bool> HasInPrototypeChain( 113 V8_WARN_UNUSED_RESULT static Maybe<bool> SetOrCopyDataProperties( 120 V8_EXPORT_PRIVATE V8_WARN_UNUSED_RESULT static Maybe<bool> HasProperty( 122 V8_WARN_UNUSED_RESULT static inline Maybe<bool> HasProperty( 124 V8_WARN_UNUSED_RESULT static inline Maybe<bool> HasElement( 127 V8_EXPORT_PRIVATE V8_WARN_UNUSED_RESULT static Maybe<bool> HasOwnProperty( 129 V8_WARN_UNUSED_RESULT static inline Maybe<bool> HasOwnProperty( 140 V8_EXPORT_PRIVATE V8_WARN_UNUSED_RESULT static Maybe<bool> 143 V8_EXPORT_PRIVATE V8_WARN_UNUSED_RESULT static Maybe<bool> DeleteProperty( 146 V8_WARN_UNUSED_RESULT static Maybe<bool> DeleteProperty( [all …]
|
D | objects.h | 291 ShouldThrow GetShouldThrow(Isolate* isolate, Maybe<ShouldThrow> should_throw); 350 V8_WARN_UNUSED_RESULT static Maybe<bool> IsArray(Handle<Object> object); 391 V8_EXPORT_PRIVATE V8_WARN_UNUSED_RESULT static Maybe<ComparisonResult> 395 V8_EXPORT_PRIVATE V8_WARN_UNUSED_RESULT static Maybe<bool> Equals( 490 V8_WARN_UNUSED_RESULT static inline Maybe<bool> GreaterThan(Isolate* isolate, 493 V8_WARN_UNUSED_RESULT static inline Maybe<bool> GreaterThanOrEqual( 495 V8_WARN_UNUSED_RESULT static inline Maybe<bool> LessThan(Isolate* isolate, 498 V8_WARN_UNUSED_RESULT static inline Maybe<bool> LessThanOrEqual( 519 V8_EXPORT_PRIVATE V8_WARN_UNUSED_RESULT static Maybe<bool> SetProperty( 521 Maybe<ShouldThrow> should_throw = Nothing<ShouldThrow>()); [all …]
|
D | js-display-names.cc | 82 virtual Maybe<icu::UnicodeString> of(Isolate* isolate, 127 Maybe<icu::UnicodeString> of(Isolate* isolate, in of() 164 Maybe<icu::UnicodeString> of(Isolate* isolate, in of() 189 Maybe<icu::UnicodeString> of(Isolate* isolate, in of() 217 Maybe<icu::UnicodeString> of(Isolate* isolate, in of() 248 Maybe<icu::UnicodeString> of(Isolate* isolate, in of() 269 Maybe<icu::UnicodeString> of(Isolate* isolate, in of() 352 Maybe<icu::UnicodeString> of(Isolate* isolate, in of() 402 Maybe<std::vector<std::string>> maybe_requested_locales = in New() 420 Maybe<Intl::MatcherOption> maybe_locale_matcher = in New() [all …]
|
D | elements.h | 69 V8_WARN_UNUSED_RESULT virtual Maybe<bool> SetLength(Handle<JSArray> holder, 82 virtual Maybe<bool> CollectValuesOrEntries( 100 V8_WARN_UNUSED_RESULT virtual Maybe<bool> TransitionElementsKind( 102 V8_WARN_UNUSED_RESULT virtual Maybe<bool> GrowCapacityAndConvert( 106 V8_WARN_UNUSED_RESULT virtual Maybe<bool> GrowCapacity( 115 V8_WARN_UNUSED_RESULT virtual Maybe<bool> Add(Handle<JSObject> object, 124 V8_WARN_UNUSED_RESULT virtual Maybe<uint32_t> Push(Handle<JSArray> receiver, 128 V8_WARN_UNUSED_RESULT virtual Maybe<uint32_t> Unshift( 148 virtual Maybe<bool> IncludesValue(Isolate* isolate, Handle<JSObject> receiver, 154 virtual Maybe<int64_t> IndexOfValue(Isolate* isolate, [all …]
|
D | keys.h | 65 Maybe<bool> CollectKeys(Handle<JSReceiver> receiver, 99 Maybe<bool> CollectAccessCheckInterceptorKeys( 103 Maybe<bool> CollectInterceptorKeysInternal( 106 Maybe<bool> CollectInterceptorKeys(Handle<JSReceiver> receiver, 110 Maybe<bool> CollectOwnElementIndices(Handle<JSReceiver> receiver, 112 Maybe<bool> CollectOwnPropertyNames(Handle<JSReceiver> receiver, 114 Maybe<bool> CollectOwnKeys(Handle<JSReceiver> receiver, 116 Maybe<bool> CollectOwnJSProxyKeys(Handle<JSReceiver> receiver, 118 Maybe<bool> CollectOwnJSProxyTargetKeys(Handle<JSProxy> proxy, 126 Maybe<bool> AddKeysFromJSProxy(Handle<JSProxy> proxy,
|
D | option-utils.h | 37 V8_EXPORT_PRIVATE V8_WARN_UNUSED_RESULT Maybe<bool> GetStringOption( 47 V8_WARN_UNUSED_RESULT static Maybe<T> GetStringOption( in GetStringOption() 53 Maybe<bool> found = in GetStringOption() 73 V8_WARN_UNUSED_RESULT static Maybe<T> GetStringOrBooleanOption( in GetStringOrBooleanOption() 151 V8_EXPORT_PRIVATE V8_WARN_UNUSED_RESULT Maybe<bool> GetBoolOption( 155 V8_EXPORT_PRIVATE V8_WARN_UNUSED_RESULT Maybe<int> GetNumberOption( 160 V8_EXPORT_PRIVATE V8_WARN_UNUSED_RESULT Maybe<int> DefaultNumberOption(
|
D | js-array.h | 60 V8_EXPORT_PRIVATE static Maybe<bool> SetLength(Handle<JSArray> array, 68 V8_WARN_UNUSED_RESULT static Maybe<bool> DefineOwnProperty( 70 PropertyDescriptor* desc, Maybe<ShouldThrow> should_throw); 75 V8_WARN_UNUSED_RESULT static Maybe<bool> ArraySetLength( 77 Maybe<ShouldThrow> should_throw);
|
/third_party/node/deps/v8/src/compiler/ |
D | operation-typer.cc | 26 DCHECK(!truncating_to_zero.Maybe(Type::Integral32())); in OperationTyper() 256 bool const maybe_primitive = type.Maybe(Type::Primitive()); in ConvertReceiver() 274 if (type.Maybe(Type::StringOrReceiver())) return Type::Number(); in ToNumber() 284 if (type.Maybe(Type::Null())) { in ToNumber() 288 if (type.Maybe(Type::Undefined())) { in ToNumber() 292 if (type.Maybe(singleton_false_)) { in ToNumber() 296 if (type.Maybe(singleton_true_)) { in ToNumber() 307 type.Maybe(Type::BigInt()) || type.Maybe(Type::Receiver()); in ToNumberConvertBigInt() 317 if (type.Maybe(Type::Receiver())) { in ToNumeric() 328 bool const maybe_nan = type.Maybe(Type::NaN()); in NumberAbs() [all …]
|
/third_party/typescript/tests/ts_extra_tests/test_ts_cases/spec/types/type_relationships/type_inference/ |
D | type_inference_4.ts | 31 type Maybe<T> = T | void alias 32 function isDefined<T>(x: Maybe<T>): x is T { 35 function isUndefined<T>(x: Maybe<T>): x is void { 38 function getOrElse<T>(x: Maybe<T>, defaultValue: T): T { 41 function test1(x: Maybe<string>) { 50 function test2(x: Maybe<number>) {
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
D | es31fDrawBuffersIndexedTests.cpp | 69 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/ |
D | vkQueryUtil.hpp | 80 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/crypto/ |
D | crypto_random.h | 29 static v8::Maybe<bool> AdditionalConfig( 40 static v8::Maybe<bool> EncodeOutput( 66 static v8::Maybe<bool> AdditionalConfig( 77 static v8::Maybe<bool> EncodeOutput( 102 static v8::Maybe<bool> AdditionalConfig( 113 static v8::Maybe<bool> EncodeOutput(
|
D | crypto_ec.h | 74 static v8::Maybe<bool> AdditionalConfig( 85 static v8::Maybe<bool> EncodeOutput( 110 static v8::Maybe<bool> AdditionalConfig( 132 static v8::Maybe<bool> AdditionalConfig( 146 v8::Maybe<void> ExportJWKEcKey( 151 v8::Maybe<bool> ExportJWKEdKey( 162 v8::Maybe<bool> GetEcKeyDetail(
|