| /external/apache-commons-lang/src/test/java/org/apache/commons/lang3/ |
| D | ValidateTest.java | 40 * Tests {@link Validate}. 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() [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/aws-sdk-java-v2/utils/src/test/java/software/amazon/awssdk/utils/ |
| D | ValidateTest.java | 35 * Unit tests {@link Validate}. 46 Validate.isTrue(true, "MSG"); in testIsTrue2() 48 Validate.isTrue(false, "MSG"); in testIsTrue2() 58 Validate.isTrue(true, "MSG", 6); in testIsTrue3() 60 Validate.isTrue(false, "MSG", 6); in testIsTrue3() 70 Validate.isTrue(true, "MSG", 7); in testIsTrue4() 72 Validate.isTrue(false, "MSG", 7); in testIsTrue4() 82 Validate.isTrue(true, "MSG", 7.4d); in testIsTrue5() 84 Validate.isTrue(false, "MSG", 7.4d); in testIsTrue5() 95 Validate.notNull(new Object(), "MSG"); in testNotNull2() [all …]
|
| /external/libexif/test/ |
| D | test-tagtable.c | 28 #define VALIDATE(s) if (!(s)) {printf("Test %s FAILED\n", #s); fail=1;} macro 42 VALIDATE(exif_tag_get_support_level_in_ifd(EXIF_TAG_PLANAR_CONFIGURATION, in support_level() 46 VALIDATE(exif_tag_get_support_level_in_ifd(EXIF_TAG_PLANAR_CONFIGURATION, in support_level() 50 VALIDATE(exif_tag_get_support_level_in_ifd(EXIF_TAG_PLANAR_CONFIGURATION, in support_level() 54 VALIDATE(exif_tag_get_support_level_in_ifd(EXIF_TAG_PLANAR_CONFIGURATION, in support_level() 58 VALIDATE(exif_tag_get_support_level_in_ifd(EXIF_TAG_PLANAR_CONFIGURATION, in support_level() 66 VALIDATE(exif_tag_get_support_level_in_ifd(EXIF_TAG_YCBCR_POSITIONING, in support_level() 70 VALIDATE(exif_tag_get_support_level_in_ifd(EXIF_TAG_YCBCR_POSITIONING, in support_level() 74 VALIDATE(exif_tag_get_support_level_in_ifd(EXIF_TAG_YCBCR_POSITIONING, in support_level() 78 VALIDATE(exif_tag_get_support_level_in_ifd(EXIF_TAG_YCBCR_POSITIONING, in support_level() [all …]
|
| /external/grpc-grpc/src/core/ext/upbdefs-gen/validate/ |
| D | validate.upbdefs.h | 3 * validate/validate.proto 23 return upb_DefPool_FindMessageByName(s, "validate.FieldRules"); in validate_FieldRules_getmsgdef() 28 return upb_DefPool_FindMessageByName(s, "validate.FloatRules"); in validate_FloatRules_getmsgdef() 33 return upb_DefPool_FindMessageByName(s, "validate.DoubleRules"); in validate_DoubleRules_getmsgdef() 38 return upb_DefPool_FindMessageByName(s, "validate.Int32Rules"); in validate_Int32Rules_getmsgdef() 43 return upb_DefPool_FindMessageByName(s, "validate.Int64Rules"); in validate_Int64Rules_getmsgdef() 48 return upb_DefPool_FindMessageByName(s, "validate.UInt32Rules"); in validate_UInt32Rules_getmsgdef() 53 return upb_DefPool_FindMessageByName(s, "validate.UInt64Rules"); in validate_UInt64Rules_getmsgdef() 58 return upb_DefPool_FindMessageByName(s, "validate.SInt32Rules"); in validate_SInt32Rules_getmsgdef() 63 return upb_DefPool_FindMessageByName(s, "validate.SInt64Rules"); in validate_SInt64Rules_getmsgdef() [all …]
|
| /external/rust/android-crates-io/crates/grpcio-sys/grpc/src/core/ext/upbdefs-generated/validate/ |
| D | validate.upbdefs.h | 4 * validate/validate.proto 27 return upb_DefPool_FindMessageByName(s, "validate.FieldRules"); in validate_FieldRules_getmsgdef() 32 return upb_DefPool_FindMessageByName(s, "validate.FloatRules"); in validate_FloatRules_getmsgdef() 37 return upb_DefPool_FindMessageByName(s, "validate.DoubleRules"); in validate_DoubleRules_getmsgdef() 42 return upb_DefPool_FindMessageByName(s, "validate.Int32Rules"); in validate_Int32Rules_getmsgdef() 47 return upb_DefPool_FindMessageByName(s, "validate.Int64Rules"); in validate_Int64Rules_getmsgdef() 52 return upb_DefPool_FindMessageByName(s, "validate.UInt32Rules"); in validate_UInt32Rules_getmsgdef() 57 return upb_DefPool_FindMessageByName(s, "validate.UInt64Rules"); in validate_UInt64Rules_getmsgdef() 62 return upb_DefPool_FindMessageByName(s, "validate.SInt32Rules"); in validate_SInt32Rules_getmsgdef() 67 return upb_DefPool_FindMessageByName(s, "validate.SInt64Rules"); in validate_SInt64Rules_getmsgdef() [all …]
|
| /external/ComputeLibrary/tests/validation/NEON/ |
| D | DepthConvertLayer.cpp | 87 DATA_TEST_CASE(Validate, framework::DatasetMode::ALL, zip(zip(zip(zip( in TEST_SUITE() 112 …ARM_COMPUTE_EXPECT(bool(NEDepthConvertLayer::validate(&input_info.clone()->set_is_resizable(false)… 147 // Validate output 148 validate(Accessor(_target), _reference); 156 // Validate output 157 validate(Accessor(_target), _reference); 168 // Validate output 169 validate(Accessor(_target), _reference); 177 // Validate output 178 validate(Accessor(_target), _reference); [all …]
|
| D | StackLayer.cpp | 91 DATA_TEST_CASE(Validate, framework::DatasetMode::ALL, zip(zip(zip( in TEST_SUITE() 118 …ARM_COMPUTE_EXPECT(bool(NEStackLayer::validate(vec, axis, &output_info)) == expected, framework::L… 128 // Validate output 129 validate(Accessor(_target), _reference); 137 // Validate output 138 validate(Accessor(_target), _reference); 148 // Validate output 149 validate(Accessor(_target), _reference); 157 // Validate output 158 validate(Accessor(_target), _reference); [all …]
|
| D | Scale.cpp | 93 TEST_SUITE(Validate) in TEST_SUITE() 95 /** Validate test suite is to test ARM_COMPUTE_RETURN_ON_* macros in TEST_SUITE() 97 * Since this is using validate() of @ref NEScale, which pre-adjust in TEST_SUITE() 102 * This suite also tests two different validate() APIs - one is in TEST_SUITE() 129 …result = NEScale::validate(nullptr, &output, ScaleKernelInfo{ default_interpolation_policy, defaul… in TEST_CASE() 133 …result = NEScale::validate(&input, nullptr, ScaleKernelInfo{ default_interpolation_policy, default… in TEST_CASE() 171 …result = NEScale::validate(&input, &output, ScaleKernelInfo{ default_interpolation_policy, default… in TEST_CASE() 184 …result = NEScale::validate(&input, &output, ScaleKernelInfo{ default_interpolation_policy, default… in TEST_CASE() 198 …result = NEScale::validate(&input, &output, ScaleKernelInfo{ default_interpolation_policy, border_… in TEST_CASE() 212 …result = NEScale::validate(&input, &output, ScaleKernelInfo{ interpolation_policy, default_border_… in TEST_CASE() [all …]
|
| /external/json-schema-validator/src/test/java/com/networknt/schema/ |
| D | Issue619Test.java | 48 assertTrue(referencingRootSchema.validate(one).isEmpty()); in bundledSchemaLoadsAndValidatesCorrectly_Ref() 49 assertTrue(referencingRootSchema.validate(two).isEmpty()); in bundledSchemaLoadsAndValidatesCorrectly_Ref() 50 assertFalse(referencingRootSchema.validate(three).isEmpty()); in bundledSchemaLoadsAndValidatesCorrectly_Ref() 57 assertTrue(rootSchema.validate(one).isEmpty()); in bundledSchemaLoadsAndValidatesCorrectly_Uri() 58 assertTrue(rootSchema.validate(two).isEmpty()); in bundledSchemaLoadsAndValidatesCorrectly_Uri() 59 assertFalse(rootSchema.validate(three).isEmpty()); in bundledSchemaLoadsAndValidatesCorrectly_Uri() 66 assertTrue(referencingRootSchema.validate(one).isEmpty()); in uriWithEmptyFragment_Ref() 67 assertTrue(referencingRootSchema.validate(two).isEmpty()); in uriWithEmptyFragment_Ref() 68 assertFalse(referencingRootSchema.validate(three).isEmpty()); in uriWithEmptyFragment_Ref() 75 assertTrue(rootSchema.validate(one).isEmpty()); in uriWithEmptyFragment_Uri() [all …]
|
| /external/ComputeLibrary/tests/validation/CL/ |
| D | StackLayer.cpp | 91 DATA_TEST_CASE(Validate, framework::DatasetMode::ALL, zip(zip(zip( in TEST_SUITE() 114 …ARM_COMPUTE_EXPECT(bool(CLStackLayer::validate(vec, axis, &output_info)) == expected, framework::L… 126 // Validate output 127 validate(CLAccessor(_target), _reference); 135 // Validate output 136 validate(CLAccessor(_target), _reference); 146 // Validate output 147 validate(CLAccessor(_target), _reference); 155 // Validate output 156 validate(CLAccessor(_target), _reference); [all …]
|
| D | Logical.cpp | 44 const auto wrong_shape = TensorShape(1, 2, 2, 4); // wrong shape to check validate logic 46 const auto wrong_dt = DataType::F32; // wrong data type to check validate logic 57 TEST_SUITE(Validate) in TEST_SUITE() 60 Status s = CLLogicalOr::validate(nullptr, nullptr, nullptr); in TEST_SUITE() 70 Status s = CLLogicalOr::validate(&in1, &in2, &out); in TEST_CASE() 73 TEST_SUITE_END() // Validate 79 // Validate output in FIXTURE_DATA_TEST_CASE() 80 validate(CLAccessor(_target), _reference); in FIXTURE_DATA_TEST_CASE() 85 // Validate output in FIXTURE_DATA_TEST_CASE() 86 validate(CLAccessor(_target), _reference); in FIXTURE_DATA_TEST_CASE() [all …]
|
| D | Scale.cpp | 93 TEST_SUITE(Validate) in TEST_SUITE() 111 …result = CLScale::validate(nullptr, &output, ScaleKernelInfo{ default_interpolation_policy, defaul… in TEST_CASE() 115 …result = CLScale::validate(&input, nullptr, ScaleKernelInfo{ default_interpolation_policy, default… in TEST_CASE() 149 …result = CLScale::validate(&input, &output, ScaleKernelInfo{ default_interpolation_policy, default… in TEST_CASE() 159 …result = CLScale::validate(&input, &input, ScaleKernelInfo{ default_interpolation_policy, default_… in TEST_CASE() 171 …result = CLScale::validate(&input, &output, ScaleKernelInfo{ default_interpolation_policy, default… in TEST_CASE() 186 …result = CLScale::validate(&input, &output, ScaleKernelInfo{ interpolation_policy, default_border_… in TEST_CASE() 197 …result = CLScale::validate(&input, &output, ScaleKernelInfo{ interpolation_policy, default_border_… in TEST_CASE() 200 TEST_SUITE_END() // Validate 216 // Validate output in FIXTURE_DATA_TEST_CASE() [all …]
|
| D | Winograd.cpp | 87 DATA_TEST_CASE(Validate, framework::DatasetMode::ALL, zip(zip(zip(zip(zip( in TEST_SUITE() 126 …ARM_COMPUTE_EXPECT(bool(CLWinogradConvolutionLayer::validate(&input_info.clone()->set_is_resizable… 139 // Validate output 140 validate(CLAccessor(_target), _reference, tolerance_convolution_layer_f32); 154 // Validate output 155 validate(CLAccessor(_target), _reference, tolerance_convolution_layer_f32); 163 // Validate output 164 validate(CLAccessor(_target), _reference, tolerance_convolution_layer_f32); 175 // Validate output 176 validate(CLAccessor(_target), _reference, tolerance_convolution_layer_f32); [all …]
|
| D | GEMMLowp.cpp | 60 // Validate output in FIXTURE_DATA_TEST_CASE() 61 validate(CLAccessor(_target), _reference); in FIXTURE_DATA_TEST_CASE() 66 // Validate output in FIXTURE_DATA_TEST_CASE() 67 validate(CLAccessor(_target), _reference); in FIXTURE_DATA_TEST_CASE() 79 validate(CLAccessor(_target), _reference, tolerance_quant); 91 validate(CLAccessor(_target), _reference, tolerance_quant); 103 // Validate output 104 validate(CLAccessor(_target), _reference, tolerance_quant); 115 // Validate output 116 validate(CLAccessor(_target), _reference, tolerance_quant); [all …]
|
| /external/rust/android-crates-io/crates/grpcio-sys/grpc/third_party/xds/go/xds/type/matcher/v3/ |
| D | matcher.pb.validate.go | 1 // Code generated by protoc-gen-validate. DO NOT EDIT. 36 // Validate checks the field values on Matcher with the rules defined in the 38 func (m *Matcher) Validate() error { func 43 if v, ok := interface{}(m.GetOnNoMatch()).(interface{ Validate() error }); ok { 44 if err := v.Validate(); err != nil { 57 if v, ok := interface{}(m.GetMatcherList()).(interface{ Validate() error }); ok { 58 if err := v.Validate(); err != nil { 69 if v, ok := interface{}(m.GetMatcherTree()).(interface{ Validate() error }); ok { 70 if err := v.Validate(); err != nil { 84 // MatcherValidationError is the validation error returned by Matcher.Validate [all …]
|
| /external/aws-sdk-java-v2/codegen/src/main/java/software/amazon/awssdk/codegen/jmespath/component/ |
| D | Expression.java | 19 import software.amazon.awssdk.utils.Validate; 46 Validate.notNull(subExpression, "subExpression"); in subExpression() 53 Validate.notNull(indexExpression, "indexExpression"); in indexExpression() 60 Validate.notNull(comparatorExpression, "comparatorExpression"); in comparatorExpression() 67 Validate.notNull(orExpression, "orExpression"); in orExpression() 74 Validate.notNull(identifier, "identifier"); in identifier() 81 Validate.notNull(andExpression, "andExpression"); in andExpression() 88 Validate.notNull(notExpression, "notExpression"); in notExpression() 95 Validate.notNull(parenExpression, "parenExpression"); in parenExpression() 102 Validate.notNull(wildcardExpression, "wildcardExpression"); in wildcardExpression() [all …]
|
| /external/cronet/tot/third_party/boringssl/src/pki/testdata/nist-pkits/ |
| D | generate_tests.py | 131 # "path not should validate" instead of "path should not validate". 133 '^.*path (should validate|should not validate|not should validate)') 265 # should validate successfully 270 # initial-policy-set = {NIST-test-policy-1}. The path should validate 277 # initial-policy-set = {NIST-test-policy-2}. The path should not validate 285 # should validate successfully. 292 # 1. default settings. The path should validate successfully. 296 # should not validate successfully 302 # 1. default settings. The path should validate successfully. 306 # should not validate successfully. [all …]
|
| /external/cronet/stable/third_party/boringssl/src/pki/testdata/nist-pkits/ |
| D | generate_tests.py | 131 # "path not should validate" instead of "path should not validate". 133 '^.*path (should validate|should not validate|not should validate)') 265 # should validate successfully 270 # initial-policy-set = {NIST-test-policy-1}. The path should validate 277 # initial-policy-set = {NIST-test-policy-2}. The path should not validate 285 # should validate successfully. 292 # 1. default settings. The path should validate successfully. 296 # should not validate successfully 302 # 1. default settings. The path should validate successfully. 306 # should not validate successfully. [all …]
|
| /external/fonttools/Lib/fontTools/ufoLib/ |
| D | glifLib.py | 159 ``validateRead`` will validate read operations. Its default is ``True``. 160 ``validateWrite`` will validate write operations. Its default is ``True``. 225 ``validateRead`` will validate the data, by default it is set to the 231 # validate the contents 280 ``validateRead`` will validate the data, by default it is set to the 302 ``validateWrite`` will validate the data, by default it is set to the 327 # validate 370 def readGlyph(self, glyphName, glyphObject=None, pointPen=None, validate=None): argument 411 ``validate`` will validate the data, by default it is set to the 414 if validate is None: [all …]
|
| D | __init__.py | 203 By default read data is validated. Set ``validate`` to 204 ``False`` to not validate the data. 207 def __init__(self, path, validate=True): argument 271 self._validate = validate 275 self.readMetaInfo(validate=validate) 329 def _upConvertKerning(self, validate): argument 337 ``validate`` will validate the data. 352 if validate: 415 def _readMetaInfo(self, validate=None): argument 419 ``validate`` will validate the read data, by default it is set [all …]
|
| /external/tink/python/tink/jwt/ |
| D | _jwt_validator_test.py | 75 _jwt_validator.validate(validator, token) 82 _jwt_validator.validate(validator, token) 89 _jwt_validator.validate(validator, token) 97 _jwt_validator.validate(validator, token) 105 _jwt_validator.validate(validator, token) 112 _jwt_validator.validate(validator, token) 118 _jwt_validator.validate(validator, token) 126 _jwt_validator.validate(validator, token) 140 _jwt_validator.validate(validator, token_with_issued_at_in_the_future) 141 _jwt_validator.validate(validator, token_with_issued_at_in_the_past) [all …]
|
| /external/ComputeLibrary/arm_compute/graph/backends/ |
| D | ValidateHelpers.h | 59 * @param[in] node Node to validate 74 // Validate function in validate_arg_min_max_layer() 75 return ArgMinMaxLayer::validate(input, node.axis(), output, node.reduction_operation()); in validate_arg_min_max_layer() 82 * @param[in] node Node to validate 99 return BoundingBoxTransformLayer::validate(input, output, deltas, bbox_info); in validate_bounding_box_transform_layer() 106 * @param[in] node Node to validate 122 return ChannelShuffleLayer::validate(input, output, num_groups); in validate_channel_shuffle_layer() 132 * @param[in] node Node to validate 159 // Validate function in validate_convolution_layer() 165 status = DirectConvolutionLayer::validate(input, weights, biases, output, conv_info); in validate_convolution_layer() [all …]
|
| /external/aws-sdk-java-v2/services/neptunegraph/src/main/resources/codegen-resources/ |
| D | endpoint-tests.json | 55 …"documentation": "Validate CP endpoint in region: us-east-1, useFipsEndpoint: true, useDualStackEn… 69 …"documentation": "Validate DP endpoint in region: us-east-1, useFipsEndpoint: true, useDualStackEn… 81 …"documentation": "Validate CP endpoint in region: us-east-1, useFipsEndpoint: true, useDualStackEn… 95 …"documentation": "Validate DP endpoint in region: us-east-1, useFipsEndpoint: true, useDualStackEn… 107 …"documentation": "Validate CP endpoint in region: us-east-1, useFipsEndpoint: false, useDualStackE… 121 …"documentation": "Validate DP endpoint in region: us-east-1, useFipsEndpoint: false, useDualStackE… 135 …"documentation": "Validate CP endpoint in region: us-east-1, useFipsEndpoint: false, useDualStackE… 149 …"documentation": "Validate DP endpoint in region: us-east-1, useFipsEndpoint: false, useDualStackE… 163 …"documentation": "Validate CP endpoint in region: us-east-2, useFipsEndpoint: true, useDualStackEn… 177 …"documentation": "Validate DP endpoint in region: us-east-2, useFipsEndpoint: true, useDualStackEn… [all …]
|
| /external/ksp/test-utils/src/main/kotlin/com/google/devtools/ksp/processor/ |
| D | ValidateProcessor.kt | 10 import com.google.devtools.ksp.validate in <lambda>() 15 …private fun validate(symbol: KSDeclaration, predicate: (KSNode?, KSNode) -> Boolean = { _, _ -> tr… in <lambda>() method in com.google.devtools.ksp.processor.ValidateProcessor 16 if (symbol.validate(predicate)) { in <lambda>() 40 validate(ErrorInMember) in <lambda>() 41 ErrorInMember.declarations.forEach { validate(it) } in <lambda>() 42 validate(SkipErrorInMember) { node, _ -> in <lambda>() 46 validate(it) { node, _ -> in <lambda>() 50 validate(GoodClass) in <lambda>() 51 validate(C) in <lambda>() 52 validate(BadJavaClass) in <lambda>() [all …]
|