Home
last modified time | relevance | path

Searched refs:has_value (Results 1 – 22 of 22) sorted by relevance

/external/v8/testing/
Dgmock-support.h18 bool has_value() const { return has_value_; } in has_value() function
21 DCHECK(!has_value()); in SetValue()
41 if (capture_->has_value()) *os << " which has value " << capture_->value(); in DescribeTo()
45 if (!capture_->has_value()) { in MatchAndExplain()
/external/v8/test/cctest/
Dtest-flags.cc67 CHECK(FLAG_testing_maybe_bool_flag.has_value); in TEST()
84 CHECK(FLAG_testing_maybe_bool_flag.has_value); in TEST()
104 CHECK(FLAG_testing_maybe_bool_flag.has_value); in TEST()
121 CHECK(FLAG_testing_maybe_bool_flag.has_value); in TEST()
137 CHECK(!FLAG_testing_maybe_bool_flag.has_value); in TEST()
145 CHECK(!FLAG_testing_maybe_bool_flag.has_value); in TEST()
Dtest-heap.cc195 CHECK(maybe.has_value); in TEST()
264 CHECK(maybe.has_value); in TEST()
284 CHECK(maybe.has_value); in TEST()
643 CHECK(maybe.has_value); in TEST()
649 CHECK(maybe.has_value); in TEST()
655 CHECK(maybe.has_value); in TEST()
662 CHECK(maybe.has_value); in TEST()
665 CHECK(maybe.has_value); in TEST()
671 CHECK(maybe.has_value); in TEST()
675 CHECK(maybe.has_value); in TEST()
[all …]
Dtest-mark-compact.cc171 CHECK(maybe.has_value); in TEST()
191 CHECK(maybe.has_value); in TEST()
/external/v8/src/
Dcontexts.cc82 DCHECK(attrs.has_value || isolate->has_pending_exception()); in UnscopableLookup()
83 if (!attrs.has_value || attrs.value == ABSENT) return attrs; in UnscopableLookup()
97 if (!blacklist.has_value) { in UnscopableLookup()
152 if (!maybe.has_value) return Handle<Object>(); in Lookup()
Di18n.cc398 CHECK(maybe.has_value); in SetResolvedNumberSettings()
408 CHECK(maybe.has_value); in SetResolvedNumberSettings()
722 CHECK(maybe.has_value); in UnpackDateFormat()
798 CHECK(maybe.has_value); in UnpackNumberFormat()
855 CHECK(maybe.has_value); in UnpackCollator()
916 CHECK(maybe.has_value); in UnpackBreakIterator()
Dflag-definitions.h96 static MaybeBoolFlag Create(bool has_value, bool value) { in Create()
98 flag.has_value = has_value; in Create()
102 bool has_value; member
Dflags.cc116 return maybe_bool_variable()->has_value == false; in IsDefault()
190 os << (flag.maybe_bool_variable()->has_value in operator <<()
Dhydrogen-representation-changes.cc32 if (res.has_value) new_value = res.value; in InsertRepresentationChangeForUse()
Druntime.cc1982 if (!maybe.has_value) return MaybeHandle<Object>(); in GetOwnProperty()
1998 if (!maybe.has_value) return MaybeHandle<Object>(); in GetOwnProperty()
2218 if (!maybe.has_value) return isolate->heap()->exception(); in DeclareGlobals()
2348 DCHECK(maybe.has_value); in RUNTIME_FUNCTION()
2498 if (!maybe.has_value) return isolate->heap()->exception(); in RUNTIME_FUNCTION()
4853 if (!maybe.has_value) return MaybeHandle<Object>(); in HasObjectProperty()
5344 if (!maybe.has_value) return isolate->heap()->exception(); in RUNTIME_FUNCTION()
5376 DCHECK(maybe.has_value); in RUNTIME_FUNCTION()
5382 if (!maybe.has_value) return isolate->heap()->exception(); in RUNTIME_FUNCTION()
5649 if (!maybe.has_value) return isolate->heap()->exception(); in HasOwnPropertyImplementation()
[all …]
Dgdb-jit.cc1286 bool has_value, in WriteVariableAbbreviation() argument
1293 if (has_value) { in WriteVariableAbbreviation()
Dobjects.cc2856 if (!maybe_attributes.has_value) return MaybeHandle<Object>(); in SetProperty()
3785 DCHECK(maybe.has_value); in AddProperty()
3998 if (!result.has_value) return result; in GetPropertyAttributes()
4691 DCHECK(maybe.has_value); in HasHiddenProperties()
4866 if (!maybe.has_value) return MaybeHandle<Object>(); in DeleteElement()
4890 if (!maybe.has_value) return MaybeHandle<Object>(); in DeleteElement()
5468 DCHECK(maybe.has_value); in StructureWalk()
6126 if (!maybe.has_value) { in DefineAccessor()
6137 CHECK(GetPropertyAttributes(&it).has_value); in DefineAccessor()
6243 CHECK(GetPropertyAttributes(&it).has_value); in SetAccessor()
[all …]
Dapi.cc1998 has_pending_exception = !maybe.has_value; in StackTrace()
3242 has_pending_exception = !result.has_value; in GetPropertyAttributes()
3494 has_pending_exception = !maybe.has_value; in Has()
3589 has_pending_exception = !maybe.has_value; in HasOwnProperty()
3602 has_pending_exception = !maybe.has_value; in HasRealNamedProperty()
3615 has_pending_exception = !maybe.has_value; in HasRealIndexedProperty()
3630 has_pending_exception = !maybe.has_value; in HasRealNamedCallbackProperty()
Dobjects-inl.h6653 if (!result.has_value) return Maybe<bool>(); in HasProperty()
6665 if (!result.has_value) return Maybe<bool>(); in HasOwnProperty()
6725 if (!result.has_value) return Maybe<bool>(); in HasElement()
6738 if (!result.has_value) return Maybe<bool>(); in HasOwnElement()
Dhydrogen.cc10191 if (number.has_value) { in TruncateToNumber()
10408 if (fixed_right_arg.has_value && in BuildBinaryOperation()
/external/v8/src/ic/
Dic-state.cc47 if (fixed_right_arg_.has_value) { in BinaryOpICState()
63 HasFixedRightArgField::encode(fixed_right_arg_.has_value); in GetExtraICState()
64 if (fixed_right_arg_.has_value) { in GetExtraICState()
85 state.fixed_right_arg_.has_value = false; \ in GenerateAheadOfTime()
280 state.fixed_right_arg_.has_value = true; \ in GenerateAheadOfTime()
319 if (s.fixed_right_arg_.has_value) { in operator <<()
342 (result_kind_ == NONE || !fixed_right_arg_.has_value); in Update()
/external/mesa3d/src/glsl/
Dir_constant_expression.cpp148 return new(ctx) ir_constant(op[0]->has_value(op[1])); in constant_expression_value()
150 return new(ctx) ir_constant(!op[0]->has_value(op[1])); in constant_expression_value()
807 data.b[0] = op[0]->has_value(op[1]); in constant_expression_value()
810 data.b[0] = !op[0]->has_value(op[1]); in constant_expression_value()
Dir.cpp966 ir_constant::has_value(const ir_constant *c) const in has_value() function in ir_constant
973 if (!this->array_elements[i]->has_value(c->array_elements[i])) in has_value()
989 if (!a_field->has_value(b_field)) in has_value()
Dir.h1782 bool has_value(const ir_constant *) const;
Dlinker.cpp509 if (!var->constant_initializer->has_value(existing->constant_initializer)) { in cross_validate_globals()
/external/v8/include/
Dv8.h891 Maybe() : has_value(false) {} in Maybe()
892 explicit Maybe(T t) : has_value(true), value(t) {} in Maybe()
893 Maybe(bool has, T t) : has_value(has), value(t) {} in Maybe()
895 bool has_value; member
/external/lldb/source/Core/
DValueObject.cpp3372 const bool has_value = type_flags.Test (ClangASTType::eTypeHasValue); in DumpValueObject_Impl() local
3374 const bool print_valobj = options.m_flat_output == false || has_value; in DumpValueObject_Impl()