Home
last modified time | relevance | path

Searched refs:Validate (Results 1 – 25 of 659) sorted by relevance

12345678910>>...27

/external/apache-commons-lang/src/test/java/org/apache/commons/lang3/
DValidateTest.java52 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/
DWorkloadData.hpp78 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/
Ddocument-validator_test.cc178 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/
DRandomUtils.java58 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/
Dhdr_metadata.h26 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/
Dchunk_validators_test.cc26 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/
Dpacket_stream_validator_unittest.cc34 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/
Davb_atx_validate_unittest.cc228 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/
Dvalidate-job.test1 # 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/
DFieldUtils.java33 import org.apache.commons.lang3.Validate;
89Validate.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()
171Validate.isTrue(StringUtils.isNotBlank(fieldName), "The field name must not be blank/empty"); in getDeclaredField()
286Validate.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()
540Validate.isTrue(MemberUtils.isStatic(field), "The field %s.%s is not static", field.getDeclaringCl… in writeStaticField()
[all …]
/external/icing/icing/schema/
Dschema-util_test.cc125 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/
Dgain_controller2_unittest.cc76 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/
DvalidationCL.h27 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/
Decho_canceller3_config_unittest.cc20 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/
Dvalidation.cc46 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/
DIEEE754rUtils.java21 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/
DIntrospectorBase.java22 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()
DIntrospectorCache.java22 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/
DWorkloadData.cpp480 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/
Dhistogram_test.cc25 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/
Dscoped_observation_traits_internal.h14 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/
Dvalidation_util.h90 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/
Dangle_spirv_utils.cpp30 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/
Dvalidate.rs64 pub trait Validate { trait
93 use super::Validate;
99 impl Validate for V1 {
/external/deqp-deps/SPIRV-Tools/test/
Dcpp_interface_test.cpp64 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()

12345678910>>...27