/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/crosvm/src/ |
D | main.rs | 83 return Err(argument::Error::InvalidValue { in parse_cpu_set() 90 .map_err(|_| argument::Error::InvalidValue { in parse_cpu_set() 97 .map_err(|_| argument::Error::InvalidValue { in parse_cpu_set() 106 return Err(argument::Error::InvalidValue { in parse_cpu_set() 131 return Err(argument::Error::InvalidValue { in parse_cpu_affinity() 138 .map_err(|_| argument::Error::InvalidValue { in parse_cpu_affinity() 144 return Err(argument::Error::InvalidValue { in parse_cpu_affinity() 199 return Err(argument::Error::InvalidValue { in parse_gpu_options() 215 return Err(argument::Error::InvalidValue { in parse_gpu_options() 229 return Err(argument::Error::InvalidValue { in parse_gpu_options() [all …]
|
D | argument.rs | 59 InvalidValue { value: String, expected: String }, enumerator 78 InvalidValue { value, expected } => { in fmt() 443 let c: u32 = value.unwrap().parse().map_err(|_| Error::InvalidValue { in mixed_args() 513 return Err(Error::InvalidValue { in flag_or_value()
|
/external/protobuf/src/google/protobuf/util/internal/ |
D | protostream_objectwriter_test.cc | 548 EXPECT_CALL(listener_, InvalidValue(_, StringPiece("TYPE_INT32"), in TEST_P() 551 EXPECT_CALL(listener_, InvalidValue(_, StringPiece("TYPE_UINT32"), in TEST_P() 554 EXPECT_CALL(listener_, InvalidValue(_, StringPiece("TYPE_SFIXED64"), in TEST_P() 557 EXPECT_CALL(listener_, InvalidValue(_, StringPiece("TYPE_BOOL"), in TEST_P() 581 EXPECT_CALL(listener_, InvalidValue(_, StringPiece("TYPE_INT32"), in TEST_P() 584 EXPECT_CALL(listener_, InvalidValue(_, StringPiece("TYPE_UINT32"), in TEST_P() 587 EXPECT_CALL(listener_, InvalidValue(_, StringPiece("TYPE_SFIXED64"), in TEST_P() 590 EXPECT_CALL(listener_, InvalidValue(_, StringPiece("TYPE_BOOL"), in TEST_P() 1005 InvalidValue(_, StringPiece("TYPE_ENUM"), in TEST_P() 1020 EXPECT_CALL(listener_, InvalidValue(_, _, _)).Times(0); 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() 526 InvalidValue(kStructListValueType, in StartObject() 756 InvalidValue("Map", StrCat("Cannot have repeated items ('", name, in StartList() [all …]
|
D | error_listener.h | 63 virtual void InvalidValue(const LocationTrackerInterface& loc, 89 void InvalidValue(const LocationTrackerInterface& loc, in InvalidValue() function
|
D | mock_error_listener.h | 52 MOCK_METHOD3(InvalidValue,
|
D | proto_writer.cc | 445 void ProtoWriter::InvalidValue(StringPiece type_name, in InvalidValue() function in google::protobuf::util::converter::ProtoWriter 447 listener_->InvalidValue(location(), type_name, value); in InvalidValue() 560 InvalidValue( in ValidOneof() 626 InvalidValue(field.type_url().empty() in RenderPrimitiveField() 712 InvalidValue(google::protobuf::Field_Kind_Name(field.kind()), in RenderPrimitiveField()
|
D | proto_writer.h | 252 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() 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/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/libchrome/base/files/ |
D | scoped_file.h | 23 static int InvalidValue() { in InvalidValue() function
|
/external/libbrillo/brillo/files/ |
D | scoped_dir.h | 24 static DIR* InvalidValue() { return nullptr; } in InvalidValue() function
|
/external/libwebm/webm_parser/tests/ |
D | bool_parser_test.cc | 29 TEST_F(BoolParserTest, InvalidValue) { in TEST_F() argument
|
/external/libchrome/base/memory/ |
D | shared_memory_helper.cc | 19 static const FilePath* InvalidValue() { return nullptr; } in InvalidValue() function
|
D | platform_shared_memory_region_posix.cc | 22 static const FilePath* InvalidValue() { return nullptr; } in InvalidValue() function
|
/external/webrtc/sdk/objc/unittests/ |
D | scoped_cftyperef_tests.mm | 27 static TestTypeRef InvalidValue() { return TestTypeRef(false); }
|
/external/rust/crates/clap/src/ |
D | errors.rs | 39 InvalidValue, enumerator 515 kind: ErrorKind::InvalidValue, in invalid_value()
|
/external/protobuf/src/google/protobuf/util/ |
D | json_util.cc | 144 void InvalidValue(const converter::LocationTrackerInterface& loc, in InvalidValue() function in google::protobuf::util::__anonef3bb9530111::StatusErrorListener
|
/external/tensorflow/tensorflow/stream_executor/rocm/ |
D | rocm_driver.cc | 89 OSTREAM_ROCM_ERROR(InvalidValue) in ToString()
|
/external/llvm-project/openmp/runtime/src/i18n/ |
D | en_US.txt | 177 InvalidValue "%1$s value \"%2$s\" is invalid."
|
/external/llvm-project/openmp/runtime/src/ |
D | kmp_settings.cpp | 666 __kmp_msg(kmp_ms_warning, KMP_MSG(InvalidValue, name, value), in __kmp_stg_parse_blocktime()
|