Home
last modified time | relevance | path

Searched refs:InvalidValue (Results 1 – 23 of 23) sorted by relevance

/external/perfetto/include/perfetto/ext/base/
Dscoped_file.h40 template <typename T, T InvalidValue>
42 static bool IsValid(T t) { return t != InvalidValue; } in IsValid()
51 T InvalidValue,
53 class Checker = internal::DefaultValidityChecker<T, InvalidValue>>
57 static constexpr T kInvalid = InvalidValue;
59 explicit ScopedResource(T t = InvalidValue) : t_(t) {} in t_()
62 other.t_ = InvalidValue; in ScopedResource()
66 other.t_ = InvalidValue;
72 void reset(T r = InvalidValue) {
82 t_ = InvalidValue; in release()
[all …]
/external/crosvm/src/
Dmain.rs83 return Err(argument::Error::InvalidValue { in parse_cpu_set()
90 .map_err(|_| argument::Error::InvalidValue { in parse_cpu_set()
97 .map_err(|_| argument::Error::InvalidValue { in parse_cpu_set()
106 return Err(argument::Error::InvalidValue { in parse_cpu_set()
131 return Err(argument::Error::InvalidValue { in parse_cpu_affinity()
138 .map_err(|_| argument::Error::InvalidValue { in parse_cpu_affinity()
144 return Err(argument::Error::InvalidValue { in parse_cpu_affinity()
199 return Err(argument::Error::InvalidValue { in parse_gpu_options()
215 return Err(argument::Error::InvalidValue { in parse_gpu_options()
229 return Err(argument::Error::InvalidValue { in parse_gpu_options()
[all …]
Dargument.rs59 InvalidValue { value: String, expected: String }, enumerator
78 InvalidValue { value, expected } => { in fmt()
443 let c: u32 = value.unwrap().parse().map_err(|_| Error::InvalidValue { in mixed_args()
513 return Err(Error::InvalidValue { in flag_or_value()
/external/protobuf/src/google/protobuf/util/internal/
Dprotostream_objectwriter_test.cc548 EXPECT_CALL(listener_, InvalidValue(_, StringPiece("TYPE_INT32"), in TEST_P()
551 EXPECT_CALL(listener_, InvalidValue(_, StringPiece("TYPE_UINT32"), in TEST_P()
554 EXPECT_CALL(listener_, InvalidValue(_, StringPiece("TYPE_SFIXED64"), in TEST_P()
557 EXPECT_CALL(listener_, InvalidValue(_, StringPiece("TYPE_BOOL"), in TEST_P()
581 EXPECT_CALL(listener_, InvalidValue(_, StringPiece("TYPE_INT32"), in TEST_P()
584 EXPECT_CALL(listener_, InvalidValue(_, StringPiece("TYPE_UINT32"), in TEST_P()
587 EXPECT_CALL(listener_, InvalidValue(_, StringPiece("TYPE_SFIXED64"), in TEST_P()
590 EXPECT_CALL(listener_, InvalidValue(_, StringPiece("TYPE_BOOL"), in TEST_P()
1005 InvalidValue(_, StringPiece("TYPE_ENUM"), in TEST_P()
1020 EXPECT_CALL(listener_, InvalidValue(_, _, _)).Times(0); in TEST_P()
[all …]
Dprotostream_objectwriter.cc228 parent_->InvalidValue("Any", in StartObject()
270 parent_->InvalidValue("Any", in StartList()
305 parent_->InvalidValue("Any", in RenderDataPiece()
313 parent_->InvalidValue("Any", "Expect a JSON object."); in RenderDataPiece()
319 if (!status.ok()) ow_->InvalidValue("Any", status.message()); in RenderDataPiece()
335 parent_->InvalidValue("String", s.status().message()); in StartAny()
345 parent_->InvalidValue("Any", resolved_type.status().message()); in StartAny()
395 parent_->InvalidValue("Any", in WriteAny()
526 InvalidValue(kStructListValueType, in StartObject()
756 InvalidValue("Map", StrCat("Cannot have repeated items ('", name, in StartList()
[all …]
Derror_listener.h63 virtual void InvalidValue(const LocationTrackerInterface& loc,
89 void InvalidValue(const LocationTrackerInterface& loc, in InvalidValue() function
Dmock_error_listener.h52 MOCK_METHOD3(InvalidValue,
Dproto_writer.cc445 void ProtoWriter::InvalidValue(StringPiece type_name, in InvalidValue() function in google::protobuf::util::converter::ProtoWriter
447 listener_->InvalidValue(location(), type_name, value); in InvalidValue()
560 InvalidValue( in ValidOneof()
626 InvalidValue(field.type_url().empty() in RenderPrimitiveField()
712 InvalidValue(google::protobuf::Field_Kind_Name(field.kind()), in RenderPrimitiveField()
Dproto_writer.h252 void InvalidValue(StringPiece type_name, StringPiece value);
/external/libchrome/base/
Dscoped_generic.h73 ScopedGeneric() : data_(traits_type::InvalidValue()) {} in ScopedGeneric()
102 void reset(const element_type& value = traits_type::InvalidValue()) {
103 if (data_.generic != traits_type::InvalidValue() && data_.generic == value)
123 data_.generic = traits_type::InvalidValue(); in release()
138 bool is_valid() const { return data_.generic != traits_type::InvalidValue(); } in is_valid()
152 if (data_.generic != traits_type::InvalidValue()) { in FreeIfNecessary()
154 data_.generic = traits_type::InvalidValue(); in FreeIfNecessary()
Dscoped_generic_unittest.cc19 static int InvalidValue() { in InvalidValue() function
39 ScopedInt a(IntTraits::InvalidValue(), traits); in TEST()
57 ScopedInt b(IntTraits::InvalidValue(), traits); in TEST()
58 EXPECT_EQ(IntTraits::InvalidValue(), b.release()); in TEST()
95 ASSERT_EQ(IntTraits::InvalidValue(), a.get()); in TEST()
110 ASSERT_EQ(IntTraits::InvalidValue(), a.get()); in TEST()
/external/webrtc/sdk/objc/helpers/
Dscoped_cftyperef.h27 static T InvalidValue() { return nullptr; } in InvalidValue() function
38 ScopedTypeRef() : ptr_(Traits::InvalidValue()) {} in ScopedTypeRef()
91 ptr_ = Traits::InvalidValue(); in release()
/external/libchrome/base/files/
Dscoped_file.h23 static int InvalidValue() { in InvalidValue() function
/external/libbrillo/brillo/files/
Dscoped_dir.h24 static DIR* InvalidValue() { return nullptr; } in InvalidValue() function
/external/libwebm/webm_parser/tests/
Dbool_parser_test.cc29 TEST_F(BoolParserTest, InvalidValue) { in TEST_F() argument
/external/libchrome/base/memory/
Dshared_memory_helper.cc19 static const FilePath* InvalidValue() { return nullptr; } in InvalidValue() function
Dplatform_shared_memory_region_posix.cc22 static const FilePath* InvalidValue() { return nullptr; } in InvalidValue() function
/external/webrtc/sdk/objc/unittests/
Dscoped_cftyperef_tests.mm27 static TestTypeRef InvalidValue() { return TestTypeRef(false); }
/external/rust/crates/clap/src/
Derrors.rs39 InvalidValue, enumerator
515 kind: ErrorKind::InvalidValue, in invalid_value()
/external/protobuf/src/google/protobuf/util/
Djson_util.cc144 void InvalidValue(const converter::LocationTrackerInterface& loc, in InvalidValue() function in google::protobuf::util::__anonef3bb9530111::StatusErrorListener
/external/tensorflow/tensorflow/stream_executor/rocm/
Drocm_driver.cc89 OSTREAM_ROCM_ERROR(InvalidValue) in ToString()
/external/llvm-project/openmp/runtime/src/i18n/
Den_US.txt177 InvalidValue "%1$s value \"%2$s\" is invalid."
/external/llvm-project/openmp/runtime/src/
Dkmp_settings.cpp666 __kmp_msg(kmp_ms_warning, KMP_MSG(InvalidValue, name, value), in __kmp_stg_parse_blocktime()