Home
last modified time | relevance | path

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

/external/perfetto/include/perfetto/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.cc375 EXPECT_CALL(listener_, InvalidValue(_, StringPiece("TYPE_INT32"), in TEST_P()
378 EXPECT_CALL(listener_, InvalidValue(_, StringPiece("TYPE_UINT32"), in TEST_P()
381 EXPECT_CALL(listener_, InvalidValue(_, StringPiece("TYPE_SFIXED64"), in TEST_P()
384 EXPECT_CALL(listener_, InvalidValue(_, StringPiece("TYPE_BOOL"), in TEST_P()
408 EXPECT_CALL(listener_, InvalidValue(_, StringPiece("TYPE_INT32"), in TEST_P()
411 EXPECT_CALL(listener_, InvalidValue(_, StringPiece("TYPE_UINT32"), in TEST_P()
414 EXPECT_CALL(listener_, InvalidValue(_, StringPiece("TYPE_SFIXED64"), in TEST_P()
418 InvalidValue(_, StringPiece("TYPE_BOOL"), StringPiece("\"NaN\""))) in TEST_P()
730 EXPECT_CALL(listener_, InvalidValue(_, StringPiece("TYPE_UINT32"), in TEST_P()
741 EXPECT_CALL(listener_, InvalidValue(_, StringPiece("TYPE_UINT32"), in TEST_P()
[all …]
Dprotostream_objectwriter.cc199 parent_->InvalidValue("Any", in StartObject()
208 parent_->InvalidValue("Any", in StartObject()
243 parent_->InvalidValue("Any", in StartList()
250 parent_->InvalidValue("Any", in StartList()
280 parent_->InvalidValue("Any", in RenderDataPiece()
287 parent_->InvalidValue("Any", in RenderDataPiece()
295 parent_->InvalidValue("Any", "Expect a JSON object."); in RenderDataPiece()
301 if (!status.ok()) ow_->InvalidValue("Any", status.error_message()); in RenderDataPiece()
317 parent_->InvalidValue("String", s.status().error_message()); in StartAny()
327 parent_->InvalidValue("Any", resolved_type.status().error_message()); in StartAny()
[all …]
Derror_listener.h63 virtual void InvalidValue(const LocationTrackerInterface& loc,
87 virtual void InvalidValue(const LocationTrackerInterface& loc, in InvalidValue() function
Dmock_error_listener.h52 MOCK_METHOD3(InvalidValue, void(const LocationTrackerInterface& loc,
Dproto_writer.cc413 void ProtoWriter::InvalidValue(StringPiece type_name, StringPiece value) { in InvalidValue() function in google::protobuf::util::converter::ProtoWriter
414 listener_->InvalidValue(location(), type_name, value); in InvalidValue()
527 InvalidValue( in ValidOneof()
568 InvalidValue(field.type_url().empty() in RenderPrimitiveField()
648 InvalidValue(google::protobuf::Field_Kind_Name(field.kind()), in RenderPrimitiveField()
Dproto_writer.h234 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/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.cc119 virtual void InvalidValue(const converter::LocationTrackerInterface& loc, in InvalidValue() function in google::protobuf::util::__anon112fe5750111::StatusErrorListener
/external/tensorflow/tensorflow/stream_executor/rocm/
Drocm_driver.cc82 OSTREAM_ROCM_ERROR(InvalidValue) in ToString()