Home
last modified time | relevance | path

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

/external/v8/testing/
Dgmock-support.h22 bool has_value() const { return has_value_; } in has_value() function
25 DCHECK(!has_value()); in SetValue()
45 if (capture_->has_value()) *os << " which has value " << capture_->value(); in DescribeTo()
49 if (!capture_->has_value()) { in MatchAndExplain()
/external/autotest/client/cros/
Dkernel_config.py56 def has_value(self, name, value): member in KernelConfig
70 self.has_value(name, ['y'])
78 self.has_value(name, ['m'])
86 self.has_value(name, ['y', 'm'])
94 self.has_value(name, [None])
/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()
/external/autotest/client/site_tests/kernel_ConfigVerify/
Dkernel_ConfigVerify.py184 config.has_value('DEFAULT_MMAP_MIN_ADDR', [wanted])
206 config.has_value('MMAP_NOEXEC_TAINT', ['0'])
212 config.has_value('DEFAULT_IO_DELAY_TYPE', [needed])
/external/v8/src/
Dproperty-descriptor.h36 return desc->has_value() || desc->has_writable(); in IsDataDescriptor()
57 !has_value() && !has_get() && !has_set(); in is_empty()
76 bool has_value() const { return !value_.is_null(); } in has_value() function
Dproperty-descriptor.cc96 (desc->has_value() || desc->has_writable())) { in ToPropertyDescriptorFastPath()
118 if (has_value()) { in ToObject()
245 (desc->has_value() || desc->has_writable())) { in ToPropertyDescriptor()
271 if (!desc->has_value()) { in CompletePropertyDescriptor()
Dflag-definitions.h106 static MaybeBoolFlag Create(bool has_value, bool value) { in Create()
108 flag.has_value = has_value; in Create()
112 bool has_value; member
Dflags.cc121 return maybe_bool_variable()->has_value == false; in IsDefault()
195 os << (flag.maybe_bool_variable()->has_value in operator <<()
Dgdb-jit.cc1315 bool has_value, in WriteVariableAbbreviation() argument
1322 if (has_value) { in WriteVariableAbbreviation()
Dobjects.cc6598 desc->has_value() in ValidateAndApplyPropertyDescriptor()
6641 (!desc->has_value() || in ValidateAndApplyPropertyDescriptor()
6642 (current->has_value() && current->value()->SameValue(*desc->value()))) && in ValidateAndApplyPropertyDescriptor()
6726 if (desc->has_value() && !desc->value()->SameValue(*current->value())) { in ValidateAndApplyPropertyDescriptor()
6790 desc->has_value() ? desc->value() in ValidateAndApplyPropertyDescriptor()
6791 : current->has_value() in ValidateAndApplyPropertyDescriptor()
6992 if (!desc->has_value()) { in ArraySetLength()
7202 desc->has_value() in AddPrivateProperty()
/external/chromium-trace/catapult/third_party/mapreduce/mapreduce/
Dkv_pb.py57 def has_value(self): return self.has_value_ member in KeyValue
63 if (x.has_value()): self.set_value(x.value())
/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/webrtc/webrtc/base/
Dwin32regkey.cc761 bool has_value = false; in HasValue() local
769 has_value = key.HasValue(value_name); in HasValue()
773 return has_value; in HasValue()
/external/chromium-trace/catapult/devil/devil/android/sdk/
Dshared_prefs.py55 def has_value(self): member in BasePref
/external/v8/include/
Dv8.h6469 V8_INLINE bool IsNothing() const { return !has_value; } in IsNothing()
6470 V8_INLINE bool IsJust() const { return has_value; } in IsJust()
6479 return has_value ? value : default_value; in FromMaybe()
6492 Maybe() : has_value(false) {} in Maybe()
6493 explicit Maybe(const T& t) : has_value(true), value(t) {} in Maybe()
6495 bool has_value; variable