Home
last modified time | relevance | path

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

123456789

/external/deqp/framework/common/
DtcuMaybe.hpp34 class Maybe class
37 Maybe (void);
38 ~Maybe (void);
40 Maybe (const T& val);
41 Maybe<T>& operator= (const T& val);
43 Maybe (const Maybe<T>& other);
44 Maybe<T>& operator= (const Maybe<T>& other);
63 Maybe<T> nothing (void) in nothing()
65 return Maybe<T>(); in nothing()
69 Maybe<T> just (const T& value) in just()
[all …]
/external/v8/src/inspector/
Dv8-runtime-agent-impl.h52 using protocol::Maybe;
64 void evaluate(const String16& expression, Maybe<String16> objectGroup,
65 Maybe<bool> includeCommandLineAPI, Maybe<bool> silent,
66 Maybe<int> executionContextId, Maybe<bool> returnByValue,
67 Maybe<bool> generatePreview, Maybe<bool> userGesture,
68 Maybe<bool> awaitPromise, Maybe<bool> throwOnSideEffect,
69 Maybe<double> timeout,
71 void awaitPromise(const String16& promiseObjectId, Maybe<bool> returnByValue,
72 Maybe<bool> generatePreview,
75 const String16& expression, Maybe<String16> objectId,
[all …]
Dv8-debugger-agent-impl.h27 using protocol::Maybe;
49 int lineNumber, Maybe<String16> optionalURL,
50 Maybe<String16> optionalURLRegex, Maybe<String16> optionalScriptHash,
51 Maybe<int> optionalColumnNumber, Maybe<String16> optionalCondition,
57 Maybe<String16> optionalCondition, String16*,
60 Maybe<String16> optionalCondition,
64 Maybe<String16> targetCallFrames) override;
70 Maybe<bool> optionalCaseSensitive, Maybe<bool> optionalIsRegex,
75 Maybe<protocol::Debugger::Location> end, Maybe<bool> restrictToFunction,
80 Maybe<bool> dryRun,
[all …]
Dv8-runtime-agent-impl.cc73 protocol::Maybe<protocol::Runtime::ExceptionDetails> in sendSuccess()
96 Maybe<protocol::Runtime::ExceptionDetails> exceptionDetails; in wrapEvaluateResultAsync()
112 Maybe<protocol::Array<protocol::Runtime::CallArgument>> optionalArguments, in innerCallFunctionOn()
204 Maybe<int> executionContextId, int* contextId) { in ensureContext()
232 const String16& expression, Maybe<String16> objectGroup, in evaluate()
233 Maybe<bool> includeCommandLineAPI, Maybe<bool> silent, in evaluate()
234 Maybe<int> executionContextId, Maybe<bool> returnByValue, in evaluate()
235 Maybe<bool> generatePreview, Maybe<bool> userGesture, in evaluate()
236 Maybe<bool> awaitPromise, Maybe<bool> throwOnSideEffect, in evaluate()
237 Maybe<double> timeout, std::unique_ptr<EvaluateCallback> callback) { in evaluate()
[all …]
Dv8-heap-profiler-agent-impl.h18 using protocol::Maybe;
31 Response startTrackingHeapObjects(Maybe<bool> trackAllocations) override;
32 Response stopTrackingHeapObjects(Maybe<bool> reportProgress) override;
36 Response takeHeapSnapshot(Maybe<bool> reportProgress) override;
39 const String16& heapSnapshotObjectId, Maybe<String16> objectGroup,
46 Response startSampling(Maybe<double> samplingInterval) override;
Dv8-debugger-agent-impl.cc30 using protocol::Maybe;
453 int lineNumber, Maybe<String16> optionalURL, in setBreakpointByUrl()
454 Maybe<String16> optionalURLRegex, Maybe<String16> optionalScriptHash, in setBreakpointByUrl()
455 Maybe<int> optionalColumnNumber, Maybe<String16> optionalCondition, in setBreakpointByUrl()
540 Maybe<String16> optionalCondition, String16* outBreakpointId, in setBreakpoint()
559 const String16& functionObjectId, Maybe<String16> optionalCondition, in setBreakpointOnFunctionCall()
637 Maybe<protocol::Debugger::Location> end, Maybe<bool> restrictToFunction, in getPossibleBreakpoints()
695 Maybe<String16> targetCallFrames) { in continueToLocation()
832 Maybe<bool> optionalCaseSensitive, Maybe<bool> optionalIsRegex, in searchInContent()
850 const String16& scriptId, const String16& newContent, Maybe<bool> dryRun, in setScriptSource()
[all …]
Dinjected-script.h53 using protocol::Maybe;
60 protocol::Maybe<protocol::Runtime::ExceptionDetails>
81 Maybe<protocol::Runtime::ExceptionDetails>*);
106 Maybe<protocol::Runtime::ExceptionDetails>* result);
111 Maybe<protocol::Runtime::ExceptionDetails>*);
Dv8-profiler-agent-impl.h23 using protocol::Maybe;
41 Response startPreciseCoverage(Maybe<bool> binary,
42 Maybe<bool> detailed) override;
Dv8-heap-profiler-agent-impl.cc38 protocol::Maybe<bool>()); in ReportProgressValue()
171 startSampling(Maybe<double>(samplingInterval)); in restore()
181 Maybe<bool> trackAllocations) { in startTrackingHeapObjects()
191 Maybe<bool> reportProgress) { in stopTrackingHeapObjects()
215 Response V8HeapProfilerAgentImpl::takeHeapSnapshot(Maybe<bool> reportProgress) { in takeHeapSnapshot()
233 const String16& heapSnapshotObjectId, Maybe<String16> objectGroup, in getObjectByHeapObjectId()
320 Maybe<double> samplingInterval) { in startSampling()
/external/v8/src/
Dvalue-serializer.h61 Maybe<bool> WriteObject(Handle<Object> object) V8_WARN_UNUSED_RESULT;
103 Maybe<bool> ExpandBuffer(size_t required_capacity);
114 Maybe<uint8_t*> ReserveRawBytes(size_t bytes);
123 Maybe<bool> WriteJSReceiver(Handle<JSReceiver> receiver)
125 Maybe<bool> WriteJSObject(Handle<JSObject> object) V8_WARN_UNUSED_RESULT;
126 Maybe<bool> WriteJSObjectSlow(Handle<JSObject> object) V8_WARN_UNUSED_RESULT;
127 Maybe<bool> WriteJSArray(Handle<JSArray> array) V8_WARN_UNUSED_RESULT;
129 Maybe<bool> WriteJSValue(Handle<JSValue> value) V8_WARN_UNUSED_RESULT;
131 Maybe<bool> WriteJSMap(Handle<JSMap> map) V8_WARN_UNUSED_RESULT;
132 Maybe<bool> WriteJSSet(Handle<JSSet> map) V8_WARN_UNUSED_RESULT;
[all …]
Dkeys.h49 Maybe<bool> CollectKeys(Handle<JSReceiver> receiver,
51 Maybe<bool> CollectOwnElementIndices(Handle<JSReceiver> receiver,
53 Maybe<bool> CollectOwnPropertyNames(Handle<JSReceiver> receiver,
55 Maybe<bool> CollectAccessCheckInterceptorKeys(
96 Maybe<bool> CollectOwnKeys(Handle<JSReceiver> receiver,
98 Maybe<bool> CollectOwnJSProxyKeys(Handle<JSReceiver> receiver,
100 Maybe<bool> CollectOwnJSProxyTargetKeys(Handle<JSProxy> proxy,
102 Maybe<bool> AddKeysFromJSProxy(Handle<JSProxy> proxy,
Dobjects.h1164 V8_WARN_UNUSED_RESULT static Maybe<bool> IsArray(Handle<Object> object);
1207 V8_WARN_UNUSED_RESULT static Maybe<ComparisonResult> Compare(
1211 V8_WARN_UNUSED_RESULT static Maybe<bool> Equals(Isolate* isolate,
1304 V8_WARN_UNUSED_RESULT static inline Maybe<bool> GreaterThan(Isolate* isolate,
1307 V8_WARN_UNUSED_RESULT static inline Maybe<bool> GreaterThanOrEqual(
1309 V8_WARN_UNUSED_RESULT static inline Maybe<bool> LessThan(Isolate* isolate,
1312 V8_WARN_UNUSED_RESULT static inline Maybe<bool> LessThanOrEqual(
1334 V8_WARN_UNUSED_RESULT static Maybe<bool> SetProperty(
1346 V8_WARN_UNUSED_RESULT static Maybe<bool> SetSuperProperty(
1350 V8_WARN_UNUSED_RESULT static Maybe<bool> CannotCreateProperty(
[all …]
Dvalue-serializer.cc284 Maybe<uint8_t*> ValueSerializer::ReserveRawBytes(size_t bytes) { in ReserveRawBytes()
297 Maybe<bool> ValueSerializer::ExpandBuffer(size_t required_capacity) { in ExpandBuffer()
348 Maybe<bool> ValueSerializer::WriteObject(Handle<Object> object) { in WriteObject()
464 Maybe<bool> ValueSerializer::WriteJSReceiver(Handle<JSReceiver> receiver) { in WriteJSReceiver()
543 Maybe<bool> ValueSerializer::WriteJSObject(Handle<JSObject> object) { in WriteJSObject()
590 Maybe<bool> ValueSerializer::WriteJSObjectSlow(Handle<JSObject> object) { in WriteJSObjectSlow()
605 Maybe<bool> ValueSerializer::WriteJSArray(Handle<JSArray> array) { in WriteJSArray()
721 Maybe<bool> ValueSerializer::WriteJSValue(Handle<JSValue> value) { in WriteJSValue()
750 Maybe<bool> ValueSerializer::WriteJSMap(Handle<JSMap> map) { in WriteJSMap()
781 Maybe<bool> ValueSerializer::WriteJSSet(Handle<JSSet> set) { in WriteJSSet()
[all …]
Dkeys.cc129 Maybe<bool> found = in FilterProxyKeys()
148 Maybe<bool> KeyAccumulator::AddKeysFromJSProxy(Handle<JSProxy> proxy, in AddKeysFromJSProxy()
165 Maybe<bool> KeyAccumulator::CollectKeys(Handle<JSReceiver> receiver, in CollectKeys()
186 Maybe<bool> result = Just(false); // Dummy initialization. in CollectKeys()
519 Maybe<bool> CollectInterceptorKeysInternal(Handle<JSReceiver> receiver, in CollectInterceptorKeysInternal()
551 Maybe<bool> CollectInterceptorKeys(Handle<JSReceiver> receiver, in CollectInterceptorKeys()
575 Maybe<bool> KeyAccumulator::CollectOwnElementIndices( in CollectOwnElementIndices()
647 Maybe<bool> KeyAccumulator::CollectOwnPropertyNames(Handle<JSReceiver> receiver, in CollectOwnPropertyNames()
714 Maybe<bool> KeyAccumulator::CollectAccessCheckInterceptorKeys( in CollectAccessCheckInterceptorKeys()
738 Maybe<bool> KeyAccumulator::CollectOwnKeys(Handle<JSReceiver> receiver, in CollectOwnKeys()
[all …]
/external/v8/src/objects/
Djs-proxy.h39 V8_WARN_UNUSED_RESULT static Maybe<bool> SetPrototype(
43 V8_WARN_UNUSED_RESULT static Maybe<bool> IsExtensible(Handle<JSProxy> proxy);
46 V8_WARN_UNUSED_RESULT static Maybe<bool> IsArray(Handle<JSProxy> proxy);
49 V8_WARN_UNUSED_RESULT static Maybe<bool> PreventExtensions(
53 V8_WARN_UNUSED_RESULT static Maybe<bool> GetOwnPropertyDescriptor(
58 V8_WARN_UNUSED_RESULT static Maybe<bool> DefineOwnProperty(
63 V8_WARN_UNUSED_RESULT static Maybe<bool> HasProperty(Isolate* isolate,
69 V8_WARN_UNUSED_RESULT static Maybe<bool> CheckHasTrap(
86 V8_WARN_UNUSED_RESULT static Maybe<bool> SetProperty(
91 V8_WARN_UNUSED_RESULT static Maybe<bool> DeletePropertyOrElement(
[all …]
Dintl-objects.h324 V8_WARN_UNUSED_RESULT static Maybe<bool> GetStringOption(
341 V8_WARN_UNUSED_RESULT static Maybe<bool> GetBoolOption(
348 static Maybe<std::string> CanonicalizeLanguageTag(Isolate* isolate,
354 static Maybe<std::vector<std::string>> CanonicalizeLocaleList(
393 V8_WARN_UNUSED_RESULT static Maybe<int> DefaultNumberOption(
398 V8_WARN_UNUSED_RESULT static Maybe<int> GetNumberOption(
401 V8_WARN_UNUSED_RESULT static Maybe<int> GetNumberOption(
406 V8_WARN_UNUSED_RESULT static Maybe<bool> SetNumberFormatDigitOptions(
/external/deqp/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;
1514 Maybe<Either<BlendFunc, SeparateBlendFunc> >(BlendFunc(GL_ONE, GL_ONE)), in createDiffTest()
[all …]
/external/deqp/external/vulkancts/framework/vulkan/
DvkQueryUtil.hpp76 tcu::Maybe<deUint32> minVersion;
77 tcu::Maybe<deUint32> maxVersion;
80 tcu::Maybe<deUint32> minVersion_ = tcu::nothing<deUint32>(), in RequiredExtension()
81 tcu::Maybe<deUint32> maxVersion_ = tcu::nothing<deUint32>()) in RequiredExtension()
91 tcu::Maybe<deUint32> minSpecVersion;
92 tcu::Maybe<deUint32> maxSpecVersion;
93 tcu::Maybe<deUint32> minImplVersion;
94 tcu::Maybe<deUint32> maxImplVersion;
97 tcu::Maybe<deUint32> minSpecVersion_ = tcu::nothing<deUint32>(), in RequiredLayer()
98 tcu::Maybe<deUint32> maxSpecVersion_ = tcu::nothing<deUint32>(), in RequiredLayer()
[all …]
/external/v8/src/compiler/
Doperation-typer.cc28 DCHECK(!truncating_to_zero.Maybe(Type::Integral32())); in OperationTyper()
243 bool maybe_nan = (lhs.Maybe(cache_.kSingletonZero) && in MultiplyRanger()
245 (rhs.Maybe(cache_.kSingletonZero) && in MultiplyRanger()
248 bool maybe_minuszero = (lhs.Maybe(cache_.kSingletonZero) && rmin < 0) || in MultiplyRanger()
249 (rhs.Maybe(cache_.kSingletonZero) && lmin < 0); in MultiplyRanger()
258 bool const maybe_primitive = type.Maybe(Type::Primitive()); in ConvertReceiver()
327 bool const maybe_nan = type.Maybe(Type::NaN()); in NumberAbs()
328 bool const maybe_minuszero = type.Maybe(Type::MinusZero()); in NumberAbs()
465 bool maybe_minuszero = type.Maybe(Type::MinusZero()); in NumberSign()
466 bool maybe_nan = type.Maybe(Type::NaN()); in NumberSign()
[all …]
Djs-context-specialization.h38 Maybe<OuterContext> outer, in JSContextSpecialization()
64 Maybe<OuterContext> outer() const { return outer_; } in outer()
69 Maybe<OuterContext> outer_;
/external/clang/unittests/Driver/
DMultilibTest.cpp185 MS.Maybe(Multilib("64").flag("+m64")); in TEST()
200 MS.Maybe(Multilib("sof").flag("+sof")); in TEST()
201 MS.Maybe(Multilib("el").flag("+EL")); in TEST()
242 MS.Maybe(Multilib("one")); in TEST()
243 MS.Maybe(Multilib("two")); in TEST()
244 MS.Maybe(Multilib("three")); in TEST()
258 MS.Maybe(Multilib("orange")); in TEST()
259 MS.Maybe(Multilib("pear")); in TEST()
260 MS.Maybe(Multilib("plum")); in TEST()
287 .Maybe(Multilib("64").flag("+m64")); in TEST()
[all …]
/external/v8/src/runtime/
Druntime-operators.cc26 Maybe<bool> result = Object::Equals(isolate, x, y); in RUNTIME_FUNCTION()
36 Maybe<bool> result = Object::Equals(isolate, x, y); in RUNTIME_FUNCTION()
62 Maybe<bool> result = Object::LessThan(isolate, x, y); in RUNTIME_FUNCTION()
72 Maybe<bool> result = Object::GreaterThan(isolate, x, y); in RUNTIME_FUNCTION()
82 Maybe<bool> result = Object::LessThanOrEqual(isolate, x, y); in RUNTIME_FUNCTION()
92 Maybe<bool> result = Object::GreaterThanOrEqual(isolate, x, y); in RUNTIME_FUNCTION()
/external/v8/src/builtins/
Dbuiltins-reflect.cc43 Maybe<bool> result = JSReceiver::DefineOwnProperty( in BUILTIN()
67 Maybe<bool> result = JSReceiver::DeletePropertyOrElement( in BUILTIN()
115 Maybe<bool> found = JSReceiver::GetOwnPropertyDescriptor( in BUILTIN()
152 Maybe<bool> result = in BUILTIN()
193 Maybe<bool> result = JSReceiver::PreventExtensions( in BUILTIN()
220 Maybe<bool> result = Object::SetSuperProperty( in BUILTIN()
245 Maybe<bool> result = JSReceiver::SetPrototype( in BUILTIN()
Dbuiltins-object.cc30 Maybe<PropertyAttributes> maybe = in BUILTIN()
93 Maybe<bool> success = JSReceiver::DefineOwnProperty(isolate, receiver, name, in ObjectDefineAccessor()
130 Maybe<bool> found = JSProxy::GetOwnPropertyDescriptor( in ObjectLookupAccessor()
338 Maybe<bool> result = in BUILTIN()
350 Maybe<bool> result = object->IsJSReceiver() in BUILTIN()
362 Maybe<bool> result = object->IsJSReceiver() in BUILTIN()
390 Maybe<bool> did_get_descriptor = JSReceiver::GetOwnPropertyDescriptor( in BUILTIN()
397 Maybe<bool> success = JSReceiver::CreateDataProperty( in BUILTIN()
/external/v8/src/snapshot/
Dserializer-common.cc59 Maybe<ExternalReferenceEncoder::Value> ExternalReferenceEncoder::TryEncode( in TryEncode()
61 Maybe<uint32_t> maybe_index = map_->Get(address); in TryEncode()
72 Maybe<uint32_t> maybe_index = map_->Get(address); in Encode()
88 Maybe<uint32_t> maybe_index = map_->Get(address); in NameOfAddress()

123456789