HomeSort by relevance Sort by last modified time
    Searched defs:has_value (Results 1 - 25 of 26) sorted by null

1 2

  /external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.helper/
tuple_size_value_sfinae.pass.cpp 25 constexpr bool has_value(int) { return true; } function
26 template <class> constexpr bool has_value(long) { return false; } function
27 template <class T> constexpr bool has_value() { return has_value<T>(0); } function
33 static_assert(has_value<std::tuple<int> const>(), "");
34 static_assert(has_value<std::pair<int, long> volatile>(), "");
35 static_assert(!has_value<int>(), "");
36 static_assert(!has_value<const int>(), "");
37 static_assert(!has_value<volatile void>(), "");
38 static_assert(!has_value<const volatile std::tuple<int>&>(), "")
    [all...]
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/tuple/tuple.tuple/tuple.helper/
tuple_size_value_sfinae.pass.cpp 25 constexpr bool has_value(int) { return true; } function
26 template <class> constexpr bool has_value(long) { return false; } function
27 template <class T> constexpr bool has_value() { return has_value<T>(0); } function
33 static_assert(has_value<std::tuple<int> const>(), "");
34 static_assert(has_value<std::pair<int, long> volatile>(), "");
35 static_assert(!has_value<int>(), "");
36 static_assert(!has_value<const int>(), "");
37 static_assert(!has_value<volatile void>(), "");
38 static_assert(!has_value<const volatile std::tuple<int>&>(), "")
    [all...]
  /external/tensorflow/tensorflow/contrib/boosted_trees/lib/utils/
optional_value.h 32 bool has_value() const { return has_value_; } function in class:tensorflow::boosted_trees::utils::OptionalValue
34 QCHECK(has_value());
  /external/autotest/client/cros/
kernel_config.py 56 def has_value(self, name, value): member in class: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/testing/
gmock-support.h 22 bool has_value() const { return has_value_; } function in class:testing::Capture
25 DCHECK(!has_value());
45 if (capture_->has_value()) *os << " which has value " << capture_->value();
49 if (!capture_->has_value()) {
  /system/chre/util/include/chre/util/
optional_impl.h 40 bool Optional<ObjectType>::has_value() const { function in class:chre::Optional
  /tools/test/connectivity/acts/framework/acts/libs/config/
base.py 84 def has_value(self, key): member in class:ConfigWrapper
data_source.py 64 def has_value(self, key): member in class:DictConfigDataSource
139 values = [c.get_value(key) for c in self.configs if c.has_value(key)]
150 if c.has_value(key):
156 def has_value(self, key): member in class:MergeConfigDataSource
158 return any(c.has_value(key) for c in self.configs)
schema.py 123 def has_value(self, key): member in class:ConfigSchema
125 return self.inner.has_value(key)
  /system/core/init/
result.h 173 bool has_value() const { return contents_.index() == 0; } function in class:android::init::Result
192 explicit operator bool() const { return has_value(); }
  /external/libchrome/base/
optional.h 209 constexpr bool has_value() const { return !storage_.is_null_; } function in class:base::Optional
  /external/pdfium/third_party/base/
optional.h 209 constexpr bool has_value() const { return !storage_.is_null_; } function in class:pdfium::Optional
  /external/v8/src/
property-descriptor.h 36 return desc->has_value() || desc->has_writable();
57 !has_value() && !has_get() && !has_set();
61 return has_configurable() && has_enumerable() && !has_value() &&
66 return has_configurable() && has_enumerable() && has_value() &&
86 bool has_value() const { return !value_.is_null(); } function in class:v8::internal::PropertyDescriptor
flag-definitions.h 113 static MaybeBoolFlag Create(bool has_value, bool value) {
115 flag.has_value = has_value;
119 bool has_value; member in struct:MaybeBoolFlag
    [all...]
  /external/chromium-trace/catapult/devil/devil/android/sdk/
shared_prefs.py 59 def has_value(self): member in class:BasePref
  /external/libmojo/third_party/catapult/devil/devil/android/sdk/
shared_prefs.py 55 def has_value(self): member in class:BasePref
  /external/protobuf/src/google/protobuf/
map_entry_lite.h 174 size += has_value() ? kTagSize + ValueTypeHandler::ByteSize(value()) : 0;
194 size += has_value()
229 if (from.has_value()) {
279 bool has_value() const { return (_has_bits_[0] & 0x00000002u) != 0; } function in class:google::protobuf::internal::MapEntryLite
type.pb.cc 3247 bool Option::has_value() const { function in class:google::protobuf::Option
    [all...]
type.pb.h 830 bool has_value() const;
1653 inline bool Option::has_value() const { function in class:google::protobuf::Option
    [all...]
  /external/webrtc/webrtc/base/
win32regkey.cc 761 bool has_value = false; local
769 has_value = key.HasValue(value_name);
773 return has_value;
  /prebuilts/tools/darwin-x86_64/protoc/include/google/protobuf/
map_entry_lite.h 174 size += has_value() ? kTagSize + ValueTypeHandler::ByteSize(value()) : 0;
194 size += has_value()
229 if (from.has_value()) {
279 bool has_value() const { return (_has_bits_[0] & 0x00000002u) != 0; } function in class:google::protobuf::internal::MapEntryLite
type.pb.h 830 bool has_value() const;
1653 inline bool Option::has_value() const { function in class:google::protobuf::Option
    [all...]
  /external/mesa3d/src/compiler/glsl/
ir.cpp 1059 ir_constant::has_value(const ir_constant *c) const function in class:ir_constant
1066 if (!this->array_elements[i]->has_value(c->array_elements[i]))
1082 if (!a_field->has_value(b_field))
    [all...]
  /libnativehelper/platform_include/nativehelper/detail/
signature_checker.h 321 constexpr bool has_value() const { function in struct:nativehelper::detail::ConstexprOptional
326 X_ASSERT(has_value());
350 return lhs.has_value() == rhs.has_value();
    [all...]
  /external/tensorflow/tensorflow/core/common_runtime/
executor.cc 791 // TODO(yuanbyu): A better way to do "has_value"?
797 has_value(other.has_value),
815 has_value = other.has_value;
831 has_value = other.has_value;
846 has_value = false;
857 bool has_value = false; member in struct:tensorflow::__anon39475::ExecutorState::Entry
    [all...]

Completed in 876 milliseconds

1 2