/external/perfetto/include/perfetto/ext/base/ |
D | scoped_file.h | 40 template <typename T, T InvalidValue> 42 static bool IsValid(T t) { return t != InvalidValue; } in IsValid() 51 T InvalidValue, 53 class Checker = internal::DefaultValidityChecker<T, InvalidValue>> 57 static constexpr T kInvalid = InvalidValue; 59 explicit ScopedResource(T t = InvalidValue) : t_(t) {} in t_() 62 other.t_ = InvalidValue; in ScopedResource() 66 other.t_ = InvalidValue; 72 void reset(T r = InvalidValue) { 82 t_ = InvalidValue; in release() [all …]
|
/external/cronet/base/mac/ |
D | scoped_nsobject.h | 71 static NST InvalidValue() { return nil; } in InvalidValue() function 86 NST object = Traits::InvalidValue(), 90 explicit constexpr scoped_nsprotocol(NST object = Traits::InvalidValue()) 114 void reset(NST object = Traits::InvalidValue(), 120 void reset(NST object = Traits::InvalidValue()) { 154 NST* object = Traits::InvalidValue(), 158 explicit constexpr scoped_nsobject(NST* object = Traits::InvalidValue()) 182 void reset(NST* object = Traits::InvalidValue(), 188 void reset(NST* object = Traits::InvalidValue()) { 207 id object = Traits::InvalidValue(), [all …]
|
D | scoped_mach_port.h | 19 static mach_port_t InvalidValue() { in InvalidValue() function 27 static mach_port_t InvalidValue() { in InvalidValue() function 35 static mach_port_t InvalidValue() { in InvalidValue() function
|
D | scoped_typeref.h | 56 element_type object = Traits::InvalidValue(), 78 that.object_ = Traits::InvalidValue(); in ScopedTypeRef() 103 void reset(element_type object = Traits::InvalidValue(), 140 object_ = Traits::InvalidValue(); in release()
|
D | scoped_ionotificationportref.h | 17 static IONotificationPortRef InvalidValue() { return nullptr; } in InvalidValue() function
|
D | scoped_cffiledescriptorref.h | 17 static CFFileDescriptorRef InvalidValue() { return nullptr; } in InvalidValue() function
|
/external/cronet/third_party/protobuf/src/google/protobuf/util/internal/ |
D | protostream_objectwriter_test.cc | 546 EXPECT_CALL(listener_, InvalidValue(_, StringPiece("TYPE_INT32"), in TEST_P() 549 EXPECT_CALL(listener_, InvalidValue(_, StringPiece("TYPE_UINT32"), in TEST_P() 552 EXPECT_CALL(listener_, InvalidValue(_, StringPiece("TYPE_SFIXED64"), in TEST_P() 555 EXPECT_CALL(listener_, InvalidValue(_, StringPiece("TYPE_BOOL"), in TEST_P() 579 EXPECT_CALL(listener_, InvalidValue(_, StringPiece("TYPE_INT32"), in TEST_P() 582 EXPECT_CALL(listener_, InvalidValue(_, StringPiece("TYPE_UINT32"), in TEST_P() 585 EXPECT_CALL(listener_, InvalidValue(_, StringPiece("TYPE_SFIXED64"), in TEST_P() 588 EXPECT_CALL(listener_, InvalidValue(_, StringPiece("TYPE_BOOL"), in TEST_P() 711 EXPECT_CALL(listener_, InvalidValue(_, _, _)).Times(0); in TEST_P() 736 InvalidValue( in TEST_P() [all …]
|
D | protostream_objectwriter.cc | 228 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() 527 InvalidValue(kStructListValueType, in StartObject() 615 InvalidValue( in StartObject() [all …]
|
D | error_listener.h | 64 virtual void InvalidValue(const LocationTrackerInterface& loc, 90 void InvalidValue(const LocationTrackerInterface& /*loc*/, in InvalidValue() function
|
/external/protobuf/src/google/protobuf/util/internal/ |
D | protostream_objectwriter_test.cc | 546 EXPECT_CALL(listener_, InvalidValue(_, StringPiece("TYPE_INT32"), in TEST_P() 549 EXPECT_CALL(listener_, InvalidValue(_, StringPiece("TYPE_UINT32"), in TEST_P() 552 EXPECT_CALL(listener_, InvalidValue(_, StringPiece("TYPE_SFIXED64"), in TEST_P() 555 EXPECT_CALL(listener_, InvalidValue(_, StringPiece("TYPE_BOOL"), in TEST_P() 579 EXPECT_CALL(listener_, InvalidValue(_, StringPiece("TYPE_INT32"), in TEST_P() 582 EXPECT_CALL(listener_, InvalidValue(_, StringPiece("TYPE_UINT32"), in TEST_P() 585 EXPECT_CALL(listener_, InvalidValue(_, StringPiece("TYPE_SFIXED64"), in TEST_P() 588 EXPECT_CALL(listener_, InvalidValue(_, StringPiece("TYPE_BOOL"), in TEST_P() 711 EXPECT_CALL(listener_, InvalidValue(_, _, _)).Times(0); in TEST_P() 736 InvalidValue( in TEST_P() [all …]
|
D | protostream_objectwriter.cc | 228 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() 527 InvalidValue(kStructListValueType, in StartObject() 615 InvalidValue( in StartObject() [all …]
|
D | error_listener.h | 64 virtual void InvalidValue(const LocationTrackerInterface& loc, 90 void InvalidValue(const LocationTrackerInterface& /*loc*/, in InvalidValue() function
|
/external/cronet/base/ |
D | scoped_generic.h | 101 ScopedGeneric() : data_(traits_type::InvalidValue()) {} in ScopedGeneric() 137 void reset(const element_type& value = traits_type::InvalidValue()) { 138 if (data_.generic != traits_type::InvalidValue() && data_.generic == value) 150 data_.generic = traits_type::InvalidValue(); in release() 233 T value_ = Traits::InvalidValue(); 242 bool is_valid() const { return data_.generic != traits_type::InvalidValue(); } in is_valid() 256 if (data_.generic != traits_type::InvalidValue()) { in FreeIfNecessary() 259 data_.generic = traits_type::InvalidValue(); in FreeIfNecessary() 268 if (value != traits_type::InvalidValue()) { in TrackAcquire() 284 if (value != traits_type::InvalidValue()) { in TrackRelease()
|
D | scoped_generic_unittest.cc | 25 static int InvalidValue() { in InvalidValue() function 45 ScopedInt a(IntTraits::InvalidValue(), traits); in TEST() 63 ScopedInt b(IntTraits::InvalidValue(), traits); in TEST() 64 EXPECT_EQ(IntTraits::InvalidValue(), b.release()); in TEST() 86 ASSERT_EQ(IntTraits::InvalidValue(), a.get()); in TEST() 101 ASSERT_EQ(IntTraits::InvalidValue(), a.get()); in TEST() 169 static int InvalidValue() { return -1; } in InvalidValue() function
|
/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() 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()
|
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/cronet/base/allocator/partition_allocator/partition_alloc_base/mac/ |
D | scoped_typeref.h | 56 element_type object = Traits::InvalidValue(), 77 that.object_ = Traits::InvalidValue(); in ScopedTypeRef() 102 void reset(element_type object = Traits::InvalidValue(), 135 object_ = Traits::InvalidValue(); in release()
|
/external/cronet/crypto/ |
D | scoped_capi_types.h | 22 static CAPIHandle InvalidValue() { return 0; } in InvalidValue() function 36 static CAPIHandle InvalidValue() { return 0; } in InvalidValue() function 61 static HCERTCHAINENGINE InvalidValue() { return nullptr; } in InvalidValue() function
|
/external/webrtc/sdk/objc/helpers/ |
D | scoped_cftyperef.h | 27 static T InvalidValue() { return nullptr; } in InvalidValue() function 38 ScopedTypeRef() : ptr_(Traits::InvalidValue()) {} in ScopedTypeRef() 91 ptr_ = Traits::InvalidValue(); in release()
|
/external/cronet/base/files/ |
D | scoped_file.h | 23 static int InvalidValue() { return -1; } in InvalidValue() function 36 static int InvalidValue() {
|
/external/rust/crates/clap/src/error/ |
D | kind.rs | 19 InvalidValue, enumerator 319 Self::InvalidValue => Some("one of the values isn't valid for an argument"), in as_str()
|
D | context.rs | 17 InvalidValue, enumerator 51 Self::InvalidValue => Some("Invalid Value"), in as_str()
|
D | format.rs | 177 ErrorKind::InvalidValue => { in write_dynamic_context() 179 let invalid_value = error.get(ContextKind::InvalidValue); in write_dynamic_context() 275 let invalid_value = error.get(ContextKind::InvalidValue); in write_dynamic_context() 315 let invalid_value = error.get(ContextKind::InvalidValue); in write_dynamic_context()
|
/external/rust/crates/clap/3.2.23/src/error/ |
D | kind.rs | 19 InvalidValue, enumerator 402 Self::InvalidValue => Some("One of the values isn't valid for an argument"), in as_str()
|
/external/cronet/base/win/ |
D | scoped_devinfo.h | 16 static HDEVINFO InvalidValue() { return INVALID_HANDLE_VALUE; } in InvalidValue() function
|