/external/perfetto/include/perfetto/base/ |
H A D | scoped_file.h | 33 template <typename T, int (*CloseFunction)(T), T InvalidValue> 36 explicit ScopedResource(T t = InvalidValue) : t_(t) {} argument 39 other.t_ = InvalidValue; 43 other.t_ = InvalidValue; 48 explicit operator bool() const { return t_ != InvalidValue; } 49 void reset(T r = InvalidValue) { argument 50 if (t_ != InvalidValue) { 58 t_ = InvalidValue; 61 ~ScopedResource() { reset(InvalidValue); }
|
/external/libchrome/base/files/ |
H A D | scoped_file.h | 23 static int InvalidValue() { function in struct:base::internal::ScopedFDCloseTraits
|
/external/libchrome/base/ |
H A D | scoped_generic.h | 43 // static int InvalidValue() { 47 // // This free function will not be called if f == InvalidValue()! 73 ScopedGeneric() : data_(traits_type::InvalidValue()) {} 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(); 131 bool is_valid() const { return data_.generic != traits_type::InvalidValue(); } 145 if (data_.generic != traits_type::InvalidValue()) { 147 data_.generic = traits_type::InvalidValue();
|
H A D | scoped_generic_unittest.cc | 19 static int InvalidValue() { function in struct:base::__anon10933::IntTraits 39 ScopedInt a(IntTraits::InvalidValue(), traits); 57 ScopedInt b(IntTraits::InvalidValue(), traits); 58 EXPECT_EQ(IntTraits::InvalidValue(), b.release()); 95 ASSERT_EQ(IntTraits::InvalidValue(), a.get()); 110 ASSERT_EQ(IntTraits::InvalidValue(), a.get());
|
/external/protobuf/src/google/protobuf/util/internal/ |
H A D | protostream_objectwriter_test.cc | 375 EXPECT_CALL(listener_, InvalidValue(_, StringPiece("TYPE_INT32"), 378 EXPECT_CALL(listener_, InvalidValue(_, StringPiece("TYPE_UINT32"), 381 EXPECT_CALL(listener_, InvalidValue(_, StringPiece("TYPE_SFIXED64"), 384 EXPECT_CALL(listener_, InvalidValue(_, StringPiece("TYPE_BOOL"), 408 EXPECT_CALL(listener_, InvalidValue(_, StringPiece("TYPE_INT32"), 411 EXPECT_CALL(listener_, InvalidValue(_, StringPiece("TYPE_UINT32"), 414 EXPECT_CALL(listener_, InvalidValue(_, StringPiece("TYPE_SFIXED64"), 418 InvalidValue(_, StringPiece("TYPE_BOOL"), StringPiece("\"NaN\""))) 730 EXPECT_CALL(listener_, InvalidValue(_, StringPiece("TYPE_UINT32"), 741 EXPECT_CALL(listener_, InvalidValue( [all...] |
H A D | error_listener.h | 63 virtual void InvalidValue(const LocationTrackerInterface& loc, 87 virtual void InvalidValue(const LocationTrackerInterface& loc, function in class:google::protobuf::util::converter::NoopErrorListener
|
H A D | mock_error_listener.h | 52 MOCK_METHOD3(InvalidValue, void(const LocationTrackerInterface& loc,
|
H A D | protostream_objectwriter.cc | 197 // multiple unnecessary InvalidValue calls. 199 parent_->InvalidValue("Any", 208 parent_->InvalidValue("Any", 243 parent_->InvalidValue("Any", 250 parent_->InvalidValue("Any", 280 parent_->InvalidValue("Any", 287 parent_->InvalidValue("Any", 295 parent_->InvalidValue("Any", "Expect a JSON object."); 301 if (!status.ok()) ow_->InvalidValue("Any", status.error_message()); 317 parent_->InvalidValue("Strin [all...] |
H A D | proto_writer.cc | 413 void ProtoWriter::InvalidValue(StringPiece type_name, StringPiece value) { function in class:google::protobuf::util::converter::ProtoWriter 414 listener_->InvalidValue(location(), type_name, value); 527 InvalidValue( 568 InvalidValue(field.type_url().empty() 648 InvalidValue(google::protobuf::Field_Kind_Name(field.kind()),
|
H A D | proto_writer.h | 234 void InvalidValue(StringPiece type_name, StringPiece value);
|
/external/libchrome/base/memory/ |
H A D | shared_memory_helper.cc | 12 static const FilePath* InvalidValue() { return nullptr; } function in struct:base::ScopedPathUnlinkerTraits
|
/external/protobuf/src/google/protobuf/util/ |
H A D | json_util.cc | 119 virtual void InvalidValue(const converter::LocationTrackerInterface& loc, function in class:google::protobuf::util::__anon19126::StatusErrorListener
|
/external/guice/extensions/persist/lib/ |
H A D | hibernate-annotations.jar | META-INF/ META-INF/MANIFEST.MF org/ org/hibernate/ org/hibernate/annotationfactory/ org/hibernate/annotations/ org/ ... |