/third_party/node/deps/v8/src/inspector/ |
H A 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<boo [all...] |
H A 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<String1 [all...] |
H A 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<doubl [all...] |
H A D | v8-runtime-agent-impl.cc | 79 protocol::Maybe<protocol::Runtime::ExceptionDetails> 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<boo in evaluate() [all...] |
/third_party/vk-gl-cts/framework/common/ |
H A D | tcuMaybe.hpp | 31 // Empty struct used to initialize Maybe objects without providing the type explicitly. 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< 85 Maybe<T>::Maybe (void) Maybe() function in tcu::Maybe 91 Maybe<T>::Maybe (const Nothing_T&) Maybe() function in tcu::Maybe 104 Maybe<T>::Maybe (const T& val) Maybe() function in tcu::Maybe 122 Maybe<T>::Maybe (const Maybe<T>& other) Maybe() function in tcu::Maybe [all...] |
/third_party/node/deps/v8/include/v8-include/ |
H A D | v8-maybe.h | 17 // Called when ToChecked is called on an empty Maybe. 22 * A simple Maybe type, representing an object which may or may not have a 23 * value, see https://hackage.haskell.org/package/base/docs/Data-Maybe.html. 25 * If an API method returns a Maybe<>, the API method can potentially fail 32 class Maybe { class 38 * An alias for |FromJust|. Will crash if the Maybe<> is nothing. 44 * the actual value of the Maybe is not needed like Object::Set. 51 * Converts this Maybe<> to a value of type T. If this Maybe<> is 60 * Converts this Maybe<> t 95 Maybe() : has_value_(false) {} Maybe() function in v8::Maybe 96 explicit Maybe(const T& t) : has_value_(true), value_(t) {} Maybe() function in v8::Maybe 97 explicit Maybe(T&& t) : has_value_(true), value_(std::move(t)) {} Maybe() function in v8::Maybe 130 class Maybe<void> { global() class 146 Maybe() : is_valid_(false) {} Maybe() function in v8::Maybe 147 explicit Maybe(JustTag) : is_valid_(true) {} Maybe() function in v8::Maybe [all...] |
H A 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, 260 V8_WARN_UNUSED_RESULT Maybe<bool> CreateDataProperty(Local<Context> context, 263 V8_WARN_UNUSED_RESULT Maybe<bool> CreateDataProperty(Local<Context> context, 276 V8_WARN_UNUSED_RESULT Maybe<bool> DefineOwnProperty( 296 V8_WARN_UNUSED_RESULT Maybe<bool> DefineProperty( 310 V8_WARN_UNUSED_RESULT Maybe<PropertyAttribute> GetPropertyAttributes( 335 V8_WARN_UNUSED_RESULT Maybe<bool> Has(Local<Context> context, 338 V8_WARN_UNUSED_RESULT Maybe<bool> Delete(Local<Context> context, 341 V8_WARN_UNUSED_RESULT Maybe<boo [all...] |
H A D | v8-value-serializer.h | 90 virtual Maybe<bool> IsHostObject(Isolate* isolate, Local<Object> object); 97 virtual Maybe<bool> WriteHostObject(Isolate* isolate, Local<Object> object); 109 virtual Maybe<uint32_t> GetSharedArrayBufferId( 112 virtual Maybe<uint32_t> GetWasmModuleTransferId( 165 V8_WARN_UNUSED_RESULT Maybe<bool> WriteValue(Local<Context> context, 258 V8_WARN_UNUSED_RESULT Maybe<bool> ReadHeader(Local<Context> context);
|
/third_party/skia/third_party/externals/tint/src/reader/wgsl/ |
H A D | parser_impl.h | 130 /// Maybe is the return type of the parser methods that attempts to match a 133 /// In the case of a successful grammar match, the Maybe will have #matched 136 /// add_error() and the Maybe will have #errored set to true. 138 struct Maybe { struct in tint::reader::wgsl::ParserImpl 139 inline Maybe(std::nullptr_t) = delete; // NOLINT 145 inline Maybe(U&& val, const Source& s = {}) // NOLINT in Maybe() function 149 inline Maybe(Failure::Errored) : errored(true) {} // NOLINT in Maybe() function 152 inline Maybe(Failure::NoMatch) {} // NOLINT in Maybe() function 155 /// @param e the Expect to copy this Maybe from 157 inline Maybe(cons function 166 inline Maybe(Expect<U>&& e) // NOLINT Maybe() function [all...] |
/third_party/node/deps/v8/include/ |
H A D | v8-maybe.h | 14 // Called when ToChecked is called on an empty Maybe. 19 * A simple Maybe type, representing an object which may or may not have a 20 * value, see https://hackage.haskell.org/package/base/docs/Data-Maybe.html. 22 * If an API method returns a Maybe<>, the API method can potentially fail 29 class Maybe { class 35 * An alias for |FromJust|. Will crash if the Maybe<> is nothing. 41 * the actual value of the Maybe is not needed like Object::Set. 48 * Converts this Maybe<> to a value of type T. If this Maybe<> is 57 * Converts this Maybe<> t 83 Maybe() : has_value_(false) {} Maybe() function in v8::Maybe 84 explicit Maybe(const T& t) : has_value_(true), value_(t) {} Maybe() function in v8::Maybe 107 class Maybe<void> { global() class 123 Maybe() : is_valid_(false) {} Maybe() function in v8::Maybe 124 explicit Maybe(JustTag) : is_valid_(true) {} Maybe() function in v8::Maybe [all...] |
H A D | v8-object.h | 246 V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, 249 V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index, 259 V8_WARN_UNUSED_RESULT Maybe<bool> CreateDataProperty(Local<Context> context, 262 V8_WARN_UNUSED_RESULT Maybe<bool> CreateDataProperty(Local<Context> context, 272 V8_WARN_UNUSED_RESULT Maybe<bool> DefineOwnProperty( 289 V8_WARN_UNUSED_RESULT Maybe<bool> DefineProperty( 303 V8_WARN_UNUSED_RESULT Maybe<PropertyAttribute> GetPropertyAttributes( 327 V8_WARN_UNUSED_RESULT Maybe<bool> Has(Local<Context> context, 330 V8_WARN_UNUSED_RESULT Maybe<bool> Delete(Local<Context> context, 333 V8_WARN_UNUSED_RESULT Maybe<boo [all...] |
H A 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/deps/v8/src/objects/ |
H A 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<boo [all...] |
H A 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<boo [all...] |
H A 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<boo [all...] |
H A 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<ShouldThro [all...] |
H A D | js-display-names.cc | 82 virtual Maybe<icu::UnicodeString> of(Isolate* isolate, 127 Maybe<icu::UnicodeString> of(Isolate* isolate, 164 Maybe<icu::UnicodeString> of(Isolate* isolate, 189 Maybe<icu::UnicodeString> of(Isolate* isolate, 217 Maybe<icu::UnicodeString> of(Isolate* isolate, 248 Maybe<icu::UnicodeString> of(Isolate* isolate, 269 Maybe<icu::UnicodeString> of(Isolate* isolate, 352 Maybe<icu::UnicodeString> of(Isolate* isolate, 402 Maybe<std::vector<std::string>> maybe_requested_locales = in New() 420 Maybe<Int in New() [all...] |
H A 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<boo [all...] |
H A 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_ [all...] |
H A 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(
|
H A D | js-collator.cc | 46 Maybe<CaseFirst> GetCaseFirst(Isolate* isolate, Handle<JSReceiver> options, in GetCaseFirst() 63 Maybe<bool> maybe = JSReceiver::CreateDataProperty( in CreateDataPropertyForOptions() 75 Maybe<bool> maybe = JSReceiver::CreateDataProperty( in CreateDataPropertyForOptions() 209 Maybe<bool> maybe = JSReceiver::CreateDataProperty( in ResolvedOptions() 282 Maybe<std::vector<std::string>> maybe_requested_locales = in New() 296 Maybe<Usage> maybe_usage = GetStringOption<Usage>( in New() 305 Maybe<Intl::MatcherOption> maybe_locale_matcher = in New() 314 Maybe<bool> maybe_collation = GetStringOption( in New() 344 Maybe<bool> found_numeric = in New() 350 Maybe<CaseFirs in New() [all...] |
/third_party/node/deps/v8/src/compiler/ |
H A 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(Typ in ToNumeric() [all...] |
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fDrawBuffersIndexedTests.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; 1537 Maybe<Eithe in createDiffTest() [all...] |
/third_party/node/src/crypto/ |
H A 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(
|
/third_party/node/deps/v8/src/runtime/ |
H A D | runtime-operators.cc | 28 Maybe<bool> result = Object::Equals(isolate, x, y); in RUNTIME_FUNCTION() 38 Maybe<bool> result = Object::Equals(isolate, x, y); in RUNTIME_FUNCTION() 72 Maybe<bool> result = Object::LessThan(isolate, x, y); in RUNTIME_FUNCTION() 82 Maybe<bool> result = Object::GreaterThan(isolate, x, y); in RUNTIME_FUNCTION() 92 Maybe<bool> result = Object::LessThanOrEqual(isolate, x, y); in RUNTIME_FUNCTION() 102 Maybe<bool> result = Object::GreaterThanOrEqual(isolate, x, y); in RUNTIME_FUNCTION()
|