/external/perfetto/include/perfetto/base/ |
D | scoped_file.h | 33 template <typename T, int (*CloseFunction)(T), T InvalidValue> 36 explicit ScopedResource(T t = InvalidValue) : t_(t) {} in t_() 39 other.t_ = InvalidValue; in ScopedResource() 43 other.t_ = InvalidValue; 48 explicit operator bool() const { return t_ != InvalidValue; } 49 void reset(T r = InvalidValue) { 50 if (t_ != InvalidValue) { 58 t_ = InvalidValue; in release() 61 ~ScopedResource() { reset(InvalidValue); } in ~ScopedResource()
|
/external/protobuf/src/google/protobuf/util/internal/ |
D | protostream_objectwriter_test.cc | 375 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 …]
|
D | protostream_objectwriter.cc | 199 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 …]
|
D | error_listener.h | 63 virtual void InvalidValue(const LocationTrackerInterface& loc, 87 virtual void InvalidValue(const LocationTrackerInterface& loc, in InvalidValue() function
|
D | mock_error_listener.h | 52 MOCK_METHOD3(InvalidValue, void(const LocationTrackerInterface& loc,
|
D | proto_writer.cc | 413 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()
|
D | proto_writer.h | 234 void InvalidValue(StringPiece type_name, StringPiece value);
|
/external/libchrome/base/ |
D | scoped_generic.h | 73 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() 131 bool is_valid() const { return data_.generic != traits_type::InvalidValue(); } in is_valid() 145 if (data_.generic != traits_type::InvalidValue()) { in FreeIfNecessary() 147 data_.generic = traits_type::InvalidValue(); in FreeIfNecessary()
|
D | scoped_generic_unittest.cc | 19 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/ |
D | scoped_file.h | 23 static int InvalidValue() { in InvalidValue() function
|
/external/libchrome/base/memory/ |
D | shared_memory_helper.cc | 12 static const FilePath* InvalidValue() { return nullptr; } in InvalidValue() function
|
/external/protobuf/src/google/protobuf/util/ |
D | json_util.cc | 119 virtual void InvalidValue(const converter::LocationTrackerInterface& loc, in InvalidValue() function in google::protobuf::util::__anon1fe65f690111::StatusErrorListener
|