/external/apache-commons-lang/src/test/java/org/apache/commons/lang3/ |
D | ValidateTest.java | 52 Validate.isTrue(true); in shouldNotThrowForTrueExpression() 57 …lArgumentException ex = assertThrows(IllegalArgumentException.class, () -> Validate.isTrue(false)); in shouldThrowExceptionWithDefaultMessageForFalseExpression() 68 Validate.isTrue(true, "MSG"); in shouldNotThrowForTrueExpression() 73 …gumentException ex = assertThrows(IllegalArgumentException.class, () -> Validate.isTrue(false, "MS… in shouldThrowExceptionWithGivenMessageForFalseExpression() 79 …gumentException ex = assertThrows(IllegalArgumentException.class, () -> Validate.isTrue(false, "%"… in shouldThrowExceptionWithGivenMessageContainingSpecialCharacterForFalseExpression() 89 Validate.isTrue(true, "MSG", 6); in shouldNotThrowForTrueExpression() 94 …gumentException ex = assertThrows(IllegalArgumentException.class, () -> Validate.isTrue(false, "MS… in shouldThrowExceptionWithLongInsertedIntoTemplateMessageForFalseExpression() 104 Validate.isTrue(true, "MSG", 7.4d); in shouldNotThrowForTrueExpression() 109 …gumentException ex = assertThrows(IllegalArgumentException.class, () -> Validate.isTrue(false, "MS… in shouldThrowExceptionWithDoubleInsertedIntoTemplateMessageForFalseExpression() 119 Validate.isTrue(true, "MSG", "Object 1", "Object 2"); in shouldNotThrowForTrueExpression() [all …]
|
/external/armnn/include/armnn/backends/ |
D | WorkloadData.hpp | 78 void Validate(const WorkloadInfo& workloadInfo) const; 83 void Validate(const WorkloadInfo& workloadInfo) const; 88 void Validate(const WorkloadInfo& workloadInfo) const; 96 void Validate(const WorkloadInfo& workloadInfo) const; 101 void Validate(const WorkloadInfo& workloadInfo) const; 107 void Validate(const WorkloadInfo& workloadInfo) const; 126 void Validate(const WorkloadInfo& workloadInfo) const; 145 void Validate(const WorkloadInfo& workloadInfo) const; 154 void Validate(const WorkloadInfo& workloadInfo) const; 160 void Validate(const WorkloadInfo& workloadInfo) const; [all …]
|
/external/icing/icing/util/ |
D | document-validator_test.cc | 178 EXPECT_THAT(document_validator_->Validate(email), IsOk()); in TEST_F() 181 EXPECT_THAT(document_validator_->Validate(conversation), IsOk()); in TEST_F() 186 EXPECT_THAT(document_validator_->Validate(email), in TEST_F() 193 EXPECT_THAT(document_validator_->Validate(email), in TEST_F() 209 EXPECT_THAT(document_validator_->Validate(conversation), IsOk()); in TEST_F() 214 EXPECT_THAT(document_validator_->Validate(email), in TEST_F() 222 EXPECT_THAT(document_validator_->Validate(email), in TEST_F() 231 EXPECT_THAT(document_validator_->Validate(email), in TEST_F() 243 EXPECT_THAT(document_validator_->Validate(email), in TEST_F() 254 EXPECT_THAT(document_validator_->Validate(email), in TEST_F() [all …]
|
/external/apache-commons-lang/src/main/java/org/apache/commons/lang3/ |
D | RandomUtils.java | 58 Validate.isTrue(count >= 0, "Count cannot be negative."); in nextBytes() 89 Validate.isTrue(endExclusive >= startInclusive, in nextDouble() 91 Validate.isTrue(startInclusive >= 0, "Both range values must be non-negative."); in nextDouble() 124 Validate.isTrue(endExclusive >= startInclusive, in nextFloat() 126 Validate.isTrue(startInclusive >= 0, "Both range values must be non-negative."); in nextFloat() 159 Validate.isTrue(endExclusive >= startInclusive, in nextInt() 161 Validate.isTrue(startInclusive >= 0, "Both range values must be non-negative."); in nextInt() 214 Validate.isTrue(endExclusive >= startInclusive, in nextLong() 216 Validate.isTrue(startInclusive >= 0, "Both range values must be non-negative."); in nextLong()
|
/external/webrtc/api/video/ |
D | hdr_metadata.h | 26 bool Validate() const { in Validate() function 48 bool Validate() const { in Validate() function 51 primary_r.Validate() && primary_g.Validate() && in Validate() 52 primary_b.Validate() && white_point.Validate(); in Validate() 87 bool Validate() const { in Validate() function 91 mastering_metadata.Validate(); in Validate()
|
/external/webrtc/net/dcsctp/packet/ |
D | chunk_validators_test.cc | 26 EXPECT_TRUE(ChunkValidators::Validate(sack)); in TEST() 35 EXPECT_TRUE(ChunkValidators::Validate(sack)); in TEST() 47 EXPECT_TRUE(ChunkValidators::Validate(sack)); in TEST() 58 EXPECT_FALSE(ChunkValidators::Validate(sack)); in TEST() 72 EXPECT_FALSE(ChunkValidators::Validate(sack)); in TEST() 85 EXPECT_FALSE(ChunkValidators::Validate(sack)); in TEST() 99 EXPECT_FALSE(ChunkValidators::Validate(sack)); in TEST() 114 EXPECT_FALSE(ChunkValidators::Validate(sack)); in TEST() 125 EXPECT_FALSE(ChunkValidators::Validate(sack)); in TEST() 139 EXPECT_FALSE(ChunkValidators::Validate(sack)); in TEST() [all …]
|
/external/perfetto/src/tracing/core/ |
D | packet_stream_validator_unittest.cc | 34 EXPECT_TRUE(PacketStreamValidator::Validate(seq)); in TEST() 44 EXPECT_TRUE(PacketStreamValidator::Validate(seq)); in TEST() 61 EXPECT_TRUE(PacketStreamValidator::Validate(seq)); in TEST() 71 EXPECT_FALSE(PacketStreamValidator::Validate(seq)); in TEST() 81 EXPECT_FALSE(PacketStreamValidator::Validate(seq)); in TEST() 91 EXPECT_FALSE(PacketStreamValidator::Validate(seq)); in TEST() 109 EXPECT_FALSE(PacketStreamValidator::Validate(seq)); in TEST() 128 EXPECT_TRUE(PacketStreamValidator::Validate(seq)); in TEST() 150 EXPECT_FALSE(PacketStreamValidator::Validate(seq)); in TEST() 161 EXPECT_FALSE(PacketStreamValidator::Validate(seq)); in TEST() [all …]
|
/external/avb/test/ |
D | avb_atx_validate_unittest.cc | 228 virtual AvbIOResult Validate(bool* is_trusted) { in Validate() function in avb::AvbAtxValidateTest 336 EXPECT_EQ(AVB_IO_RESULT_OK, Validate(&is_trusted)); in TEST_F() 370 EXPECT_EQ(AVB_IO_RESULT_OK, Validate(&is_trusted)); in TEST_F() 377 EXPECT_EQ(AVB_IO_RESULT_ERROR_IO, Validate(&is_trusted)); in TEST_F() 384 EXPECT_EQ(AVB_IO_RESULT_ERROR_IO, Validate(&is_trusted)); in TEST_F() 392 EXPECT_EQ(AVB_IO_RESULT_OK, Validate(&is_trusted)); in TEST_F() 399 EXPECT_EQ(AVB_IO_RESULT_OK, Validate(&is_trusted)); in TEST_F() 408 AvbIOResult Validate(bool* is_trusted) override { in Validate() function in avb::AvbAtxValidateTestWithMetadataLength 421 EXPECT_EQ(AVB_IO_RESULT_OK, Validate(&is_trusted)); in TEST_P() 437 EXPECT_EQ(AVB_IO_RESULT_OK, Validate(&is_trusted)); in TEST_F() [all …]
|
/external/libcups/examples/ |
D | validate-job.test | 1 # Validate a test page using Validate-Job 4 NAME "Validate file/ticket using Validate-Job" 7 OPERATION Validate-Job
|
/external/apache-commons-lang/src/main/java/org/apache/commons/lang3/reflect/ |
D | FieldUtils.java | 33 import org.apache.commons.lang3.Validate; 89 … Validate.isTrue(StringUtils.isNotBlank(fieldName), "The field name must not be blank/empty"); in getField() 128 Validate.isTrue(match == null, "Reference to field %s is ambiguous relative to %s" in getField() 171 … Validate.isTrue(StringUtils.isNotBlank(fieldName), "The field name must not be blank/empty"); in getDeclaredField() 286 … Validate.isTrue(MemberUtils.isStatic(field), "The field '%s' is not static", field.getName()); in readStaticField() 328 Validate.notNull(field, "Cannot locate field '%s' on %s", fieldName, cls); in readStaticField() 372 Validate.notNull(field, "Cannot locate declared field %s.%s", cls.getName(), fieldName); in readDeclaredStaticField() 458 Validate.isTrue(field != null, "Cannot locate field %s on %s", fieldName, cls); in readField() 501 Validate.isTrue(field != null, "Cannot locate declared field %s.%s", cls, fieldName); in readDeclaredField() 540 …Validate.isTrue(MemberUtils.isStatic(field), "The field %s.%s is not static", field.getDeclaringCl… in writeStaticField() [all …]
|
/external/icing/icing/schema/ |
D | schema-util_test.cc | 125 SchemaUtil::Validate(schema, GetParam())); in TEST_P() 233 SchemaUtil::Validate(schema, GetParam())); in TEST_P() 340 SchemaUtil::Validate(schema, GetParam())); in TEST_P() 393 EXPECT_THAT(SchemaUtil::Validate(schema, GetParam()), in TEST_P() 430 SchemaUtil::Validate(schema, GetParam())); in TEST_P() 474 EXPECT_THAT(SchemaUtil::Validate(schema, GetParam()), in TEST_P() 518 EXPECT_THAT(SchemaUtil::Validate(schema, GetParam()), in TEST_P() 565 SchemaUtil::Validate(schema, GetParam())); in TEST_P() 637 EXPECT_THAT(SchemaUtil::Validate(schema, GetParam()), in TEST_P() 706 SchemaUtil::Validate(schema, GetParam())); in TEST_P() [all …]
|
/external/webrtc/modules/audio_processing/ |
D | gain_controller2_unittest.cc | 76 EXPECT_TRUE(GainController2::Validate(config)); in CreateAgc2FixedDigitalMode() 100 EXPECT_TRUE(GainController2::Validate(config)); in TEST() 107 EXPECT_FALSE(GainController2::Validate(config)); in TEST() 110 EXPECT_TRUE(GainController2::Validate(config)); in TEST() 113 EXPECT_TRUE(GainController2::Validate(config)); in TEST() 119 EXPECT_FALSE(GainController2::Validate(config)); in TEST() 121 EXPECT_TRUE(GainController2::Validate(config)); in TEST() 123 EXPECT_TRUE(GainController2::Validate(config)); in TEST() 129 EXPECT_FALSE(GainController2::Validate(config)); in TEST() 131 EXPECT_FALSE(GainController2::Validate(config)); in TEST() [all …]
|
/external/angle/src/libANGLE/ |
D | validationCL.h | 27 if (Validate##EP(__VA_ARGS__) != CL_SUCCESS) \ 36 cl_int errorCode = Validate##EP(__VA_ARGS__); \ 46 cl_int errorCode = Validate##EP(__VA_ARGS__); \ 60 cl_int errorCode = Validate##EP(__VA_ARGS__); \
|
/external/webrtc/api/audio/test/ |
D | echo_canceller3_config_unittest.cc | 20 EXPECT_TRUE(EchoCanceller3Config::Validate(&config)); in TEST() 30 EXPECT_FALSE(EchoCanceller3Config::Validate(&config)); in TEST() 43 EXPECT_FALSE(EchoCanceller3Config::Validate(&config)); in TEST() 44 EXPECT_TRUE(EchoCanceller3Config::Validate(&config)); in TEST()
|
/external/openscreen/cast/protocol/castv2/ |
D | validation.cc | 46 std::vector<Error> Validate(const Json::Value& document, in Validate() function 58 std::vector<Error> Validate(const Json::Value& document, in Validate() function 65 return Validate(document, schema); in Validate() 72 return Validate(message, schema); in ValidateStreamingMessage() 79 return Validate(message, schema); in ValidateReceiverMessage()
|
/external/apache-commons-lang/src/main/java/org/apache/commons/lang3/math/ |
D | IEEE754rUtils.java | 21 import org.apache.commons.lang3.Validate; 43 Validate.isTrue(array.length != 0, "Array cannot be empty."); in min() 65 Validate.isTrue(array.length != 0, "Array cannot be empty."); in min() 153 Validate.isTrue(array.length != 0, "Array cannot be empty."); in max() 175 Validate.isTrue(array.length != 0, "Array cannot be empty."); in max()
|
/external/apache-velocity-engine/velocity-engine-core/src/main/java/org/apache/velocity/util/introspection/ |
D | IntrospectorBase.java | 22 import org.apache.commons.lang3.Validate; 94 ClassMap classMap = ic.get(Validate.notNull(c, "class object is null!")); in getMethod() 100 return classMap.findMethod(name, Validate.notNull(params, "params object is null!")); in getMethod() 117 ClassFieldMap classFieldMap = ic.getFieldMap(Validate.notNull(c, "class object is null!")); in getField()
|
D | IntrospectorCache.java | 22 import org.apache.commons.lang3.Validate; 108 ClassMap classMap = classMapCache.get(Validate.notNull(c)); in get() 138 ClassFieldMap classFieldMap = classFieldMapCache.get(Validate.notNull(c)); in getFieldMap()
|
/external/armnn/src/backends/backendsCommon/ |
D | WorkloadData.cpp | 480 void MapQueueDescriptor::Validate(const WorkloadInfo& workloadInfo) const in Validate() function in armnn::MapQueueDescriptor 498 void UnmapQueueDescriptor::Validate(const WorkloadInfo& workloadInfo) const in Validate() function in armnn::UnmapQueueDescriptor 516 void MemCopyQueueDescriptor::Validate(const WorkloadInfo& workloadInfo) const in Validate() function in armnn::MemCopyQueueDescriptor 552 void MemImportQueueDescriptor::Validate(const WorkloadInfo& workloadInfo) const in Validate() function in armnn::MemImportQueueDescriptor 608 void MemSyncQueueDescriptor::Validate(const WorkloadInfo& workloadInfo) const in Validate() function in armnn::MemSyncQueueDescriptor 629 void ActivationQueueDescriptor::Validate(const WorkloadInfo& workloadInfo) const in Validate() function in armnn::ActivationQueueDescriptor 654 void ArgMinMaxQueueDescriptor::Validate(const WorkloadInfo& workloadInfo) const in Validate() function in armnn::ArgMinMaxQueueDescriptor 720 void CastQueueDescriptor::Validate(const WorkloadInfo& workloadInfo) const in Validate() function in armnn::CastQueueDescriptor 747 void SoftmaxQueueDescriptor::Validate(const WorkloadInfo& workloadInfo) const in Validate() function in armnn::SoftmaxQueueDescriptor 772 void SplitterQueueDescriptor::Validate(const WorkloadInfo& workloadInfo) const in Validate() function in armnn::SplitterQueueDescriptor [all …]
|
/external/tensorflow/tensorflow/core/lib/histogram/ |
D | histogram_test.cc | 25 static void Validate(const Histogram& h) { in Validate() function 51 Validate(h); in TEST() 57 Validate(h); in TEST() 66 Validate(h); in TEST() 112 Validate(h); in TEST()
|
/external/cronet/base/ |
D | scoped_observation_traits_internal.h | 14 static auto Validate(Source* source, Observer* observer) 20 static auto Validate(...) -> std::false_type; 25 decltype(HasAddAndRemoveObserverMethodsHelper::Validate<Source, Observer>(
|
/external/libchrome/mojo/public/cpp/bindings/lib/ |
D | validation_util.h | 90 return ParamsType::Validate(message->payload(), validation_context); in ValidateMessagePayload() 160 T::Validate(input.Get(), validation_context, validate_params); in ValidateContainer() 173 T::Validate(input.Get(), validation_context); in ValidateStruct() 185 return T::Validate(&input, validation_context, true); in ValidateInlinedUnion() 198 T::Validate(input.Get(), validation_context, false); in ValidateNonInlinedUnion()
|
/external/angle/src/common/spirv/ |
D | angle_spirv_utils.cpp | 30 bool Validate(const Blob &blob) in Validate() function 38 const bool result = spirvTools.Validate(blob.data(), blob.size(), options); in Validate() 58 bool Validate(const Blob &blob)
|
/external/rust/crates/x509-parser/src/ |
D | validate.rs | 64 pub trait Validate { trait 93 use super::Validate; 99 impl Validate for V1 {
|
/external/deqp-deps/SPIRV-Tools/test/ |
D | cpp_interface_test.cpp | 64 EXPECT_FALSE(t.Validate(binary)); in TEST() 156 EXPECT_TRUE(t.Validate(binary)); in TEST() 165 { EXPECT_TRUE(t.Validate(binary)); } in TEST() 166 { EXPECT_TRUE(t.Validate(binary.data(), binary.size())); } in TEST() 183 EXPECT_FALSE(t.Validate({})); in TEST() 204 EXPECT_TRUE(t.Validate(binary.data(), binary.size(), opts)); in TEST() 218 EXPECT_FALSE(t.Validate(binary.data(), binary.size(), opts)); in TEST()
|