Searched refs:InvalidValue (Results 1 - 13 of 13) sorted by relevance

/external/perfetto/include/perfetto/base/
H A Dscoped_file.h33 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 Dscoped_file.h23 static int InvalidValue() { function in struct:base::internal::ScopedFDCloseTraits
/external/libchrome/base/
H A Dscoped_generic.h43 // 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 Dscoped_generic_unittest.cc19 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 Dprotostream_objectwriter_test.cc375 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 Derror_listener.h63 virtual void InvalidValue(const LocationTrackerInterface& loc,
87 virtual void InvalidValue(const LocationTrackerInterface& loc, function in class:google::protobuf::util::converter::NoopErrorListener
H A Dmock_error_listener.h52 MOCK_METHOD3(InvalidValue, void(const LocationTrackerInterface& loc,
H A Dprotostream_objectwriter.cc197 // 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 Dproto_writer.cc413 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 Dproto_writer.h234 void InvalidValue(StringPiece type_name, StringPiece value);
/external/libchrome/base/memory/
H A Dshared_memory_helper.cc12 static const FilePath* InvalidValue() { return nullptr; } function in struct:base::ScopedPathUnlinkerTraits
/external/protobuf/src/google/protobuf/util/
H A Djson_util.cc119 virtual void InvalidValue(const converter::LocationTrackerInterface& loc, function in class:google::protobuf::util::__anon19126::StatusErrorListener
/external/guice/extensions/persist/lib/
H A Dhibernate-annotations.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/hibernate/ org/hibernate/annotationfactory/ org/hibernate/annotations/ org/ ...

Completed in 453 milliseconds