Home
last modified time | relevance | path

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

/external/perfetto/include/perfetto/ext/base/
Dscoped_file.h46 T InvalidValue,
50 explicit ScopedResource(T t = InvalidValue) : t_(t) {} in t_()
53 other.t_ = InvalidValue; in ScopedResource()
57 other.t_ = InvalidValue;
62 explicit operator bool() const { return t_ != InvalidValue; }
63 void reset(T r = InvalidValue) {
64 if (t_ != InvalidValue) {
73 t_ = InvalidValue; in release()
76 ~ScopedResource() { reset(InvalidValue); } in ~ScopedResource()
/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/crosvm/src/
Dmain.rs210 return Err(argument::Error::InvalidValue { in parse_cpu_set()
217 .map_err(|_| argument::Error::InvalidValue { in parse_cpu_set()
224 .map_err(|_| argument::Error::InvalidValue { in parse_cpu_set()
233 return Err(argument::Error::InvalidValue { in parse_cpu_set()
271 return Err(argument::Error::InvalidValue { in parse_serial_options()
310 return Err(argument::Error::InvalidValue { in set_argument()
327 return Err(argument::Error::InvalidValue { in set_argument()
349 .map_err(|_| argument::Error::InvalidValue { in set_argument()
374 .map_err(|_| argument::Error::InvalidValue { in set_argument()
424 return Err(argument::Error::InvalidValue { in set_argument()
[all …]
Dargument.rs56 InvalidValue { enumerator
76 InvalidValue { value, expected } => { in fmt()
389 let c: u32 = value.unwrap().parse().map_err(|_| Error::InvalidValue { in mixed_args()
/external/libchrome/base/files/
Dscoped_file.h23 static int InvalidValue() { in InvalidValue() function
/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/protobuf/src/google/protobuf/util/
Djson_util.cc144 void InvalidValue(const converter::LocationTrackerInterface& loc, in InvalidValue() function in google::protobuf::util::__anon338b84770111::StatusErrorListener
/external/v8/src/builtins/
Dbase.tq1319 otherwise InvalidValue, InvalidValue, InvalidValue;
1320 } label InvalidValue {
1330 otherwise InvalidValue, IfUIntPtrOverflow, InvalidValue;
1331 } label InvalidValue {
/external/tensorflow/tensorflow/stream_executor/rocm/
Drocm_driver.cc89 OSTREAM_ROCM_ERROR(InvalidValue) in ToString()