/dports/www/bolt/bolt-2.2.24/vendor/siriusphp/validation/src/ |
H A D | RuleFactory.php | 17 Validator::RULE_REQUIRED => 'Required', 22 Validator::RULE_ALPHA => 'Alpha', 25 Validator::RULE_LENGTH => 'Length', 36 Validator::RULE_DATE => 'Date', 38 Validator::RULE_TIME => 'Time', 46 Validator::RULE_REGEX => 'Regex', 49 Validator::RULE_EMAIL => 'Email', 51 Validator::RULE_URL => 'Url', 53 Validator::RULE_IP => 'IpAddress', 55 Validator::RULE_MATCH => 'Match', [all …]
|
/dports/www/osticket/upload/setup/test/tests/ |
H A D | test.validation.php | 10 $this->assert(Validator::is_username('jared')); 11 $this->assert(Validator::is_username('jared12')); 13 $this->assert(Validator::is_username('järed')); 14 $this->assert(Validator::is_username('järed12')); 15 $this->assert(Validator::is_username('中国期刊全文数据')); 17 $this->assert(!Validator::is_username('j®red')); 19 $this->assert(Validator::is_username('jar.ed')); 20 $this->assert(Validator::is_username('jar_ed')); 21 $this->assert(Validator::is_username('jar-ed')); 23 $this->assert(!Validator::is_username('j red')); [all …]
|
/dports/textproc/p5-JSON-Validator/JSON-Validator-5.04/lib/JSON/Validator/Schema/ |
H A D | Draft7.pm | 1 package JSON::Validator::Schema::Draft7; 4 use JSON::Validator::Schema::Draft4; 5 use JSON::Validator::Schema::Draft6; 6 use JSON::Validator::Util qw(E is_type); 17 'date' => JSON::Validator::Formats->can('check_date'), 19 'email' => JSON::Validator::Formats->can('check_email'), 23 'ipv4' => JSON::Validator::Formats->can('check_ipv4'), 24 'ipv6' => JSON::Validator::Formats->can('check_ipv6'), 25 'iri' => JSON::Validator::Formats->can('check_iri'), 30 'time' => JSON::Validator::Formats->can('check_time'), [all …]
|
/dports/www/tikiwiki/tiki-21.2/vendor_bundled/vendor/laminas/laminas-i18n/src/ |
H A D | ConfigProvider.php | 96 'alnum' => Validator\Alnum::class, 97 'Alnum' => Validator\Alnum::class, 98 'alpha' => Validator\Alpha::class, 99 'Alpha' => Validator\Alpha::class, 121 \Zend\I18n\Validator\Alnum::class => Validator\Alnum::class, 122 \Zend\I18n\Validator\Alpha::class => Validator\Alpha::class, 123 \Zend\I18n\Validator\DateTime::class => Validator\DateTime::class, 124 \Zend\I18n\Validator\IsFloat::class => Validator\IsFloat::class, 125 \Zend\I18n\Validator\IsInt::class => Validator\IsInt::class, 126 \Zend\I18n\Validator\PhoneNumber::class => Validator\PhoneNumber::class, [all …]
|
/dports/biology/pbbam/pbbam-0.18.0/tests/src/ |
H A D | test_Validator.cpp | 186 EXPECT_FALSE(Validator::IsValid(rg)); in TEST() 192 EXPECT_FALSE(Validator::IsValid(rg)); in TEST() 198 EXPECT_FALSE(Validator::IsValid(rg)); in TEST() 204 EXPECT_FALSE(Validator::IsValid(rg)); in TEST() 210 EXPECT_FALSE(Validator::IsValid(rg)); in TEST() 216 EXPECT_FALSE(Validator::IsValid(rg)); in TEST() 222 EXPECT_FALSE(Validator::IsValid(rg)); in TEST() 232 EXPECT_FALSE(Validator::IsValid(rg)); in TEST() 238 EXPECT_FALSE(Validator::IsValid(rg)); in TEST() 244 EXPECT_FALSE(Validator::IsValid(rg)); in TEST() [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.ComponentModel.Annotations/tests/ |
H A D | ValidatorTests.cs | 347 Validator.ValidateObject(instance, context); in ValidateObject_IValidatableObject_Success() 356 () => Validator.ValidateObject(instance, context)); in ValidateObject_IValidatableObject_Error() 367 Validator.ValidateObject(instance, context); in ValidateObject_IValidatableObject_Null() 549 () => Validator.ValidateProperty(null, validationContext)); in ValidatePropertyThrowsIf_ValidationContext_MemberName_is_null_or_empty() 553 () => Validator.ValidateProperty(null, validationContext)); in ValidatePropertyThrowsIf_ValidationContext_MemberName_is_null_or_empty() 614 Validator.ValidateProperty(null, validationContext); in ValidateProperty_succeeds_if_null_passed_to_nullable_property() 622 Validator.ValidateProperty("Any Value", validationContext); in ValidateProperty_succeeds_if_no_attributes_to_validate() 643 () => Validator.ValidateProperty(null, validationContext)); in ValidateProperty_throws_ValidationException_if_Required_attribute_test_fails() 654 Validator.ValidateProperty("Valid Value", validationContext); in ValidateProperty_succeeds_if_all_attributes_are_valid() 665 () => Validator.TryValidateValue(new object(), in TryValidateValueThrowsIf_ValidationContext_is_null() [all …]
|
/dports/devel/elixir-cachex/cachex-3.0.3/test/cachex/spec/ |
H A D | validator_test.exs | 4 alias Cachex.Spec.Validator 50 assert Validator.valid?(:entry, entry1) 51 assert Validator.valid?(:entry, entry2) 52 assert Validator.valid?(:entry, entry3) 53 assert Validator.valid?(:entry, entry4) 126 assert Validator.valid?(:hook, hook1) 127 assert Validator.valid?(:hook, hook2) 128 assert Validator.valid?(:hook, hook3) 129 assert Validator.valid?(:hook, hook4) 142 refute Validator.valid?(:hook, hook5) [all …]
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.ComponentModel.DataAnnotations/Test/System.ComponentModel.DataAnnotations/ |
H A D | ValidatorTest.cs | 512 Validator.ValidateObject (null, ctx); in ValidateObject_Object_ValidationContext_01() 520 Validator.ValidateObject (dummy, ctx); in ValidateObject_Object_ValidationContext_01() 533 Validator.ValidateObject (dummy, ctx); in ValidateObject_Object_ValidationContext_02() 543 Validator.ValidateObject (dummy, ctx); in ValidateObject_Object_ValidationContext_02() 549 Validator.ValidateObject (dummy, ctx); in ValidateObject_Object_ValidationContext_02() 559 Validator.ValidateObject (dummy, ctx); in ValidateObject_Object_ValidationContext_02() 569 Validator.ValidateObject (dummy, ctx); in ValidateObject_Object_ValidationContext_02() 578 Validator.ValidateObject (dummy, ctx); in ValidateObject_Object_ValidationContext_02() 588 Validator.ValidateObject (dummy, ctx); in ValidateObject_Object_ValidationContext_02() 598 Validator.ValidateObject (dummy, ctx); in ValidateObject_Object_ValidationContext_02() [all …]
|
/dports/graphics/krita/krita-4.4.8/libs/metadata/ |
H A D | kis_meta_data_validator.cc | 40 Validator::Reason::Reason(const Validator::Reason& _rhs) : d(new Private(*_rhs.d)) in Reason() 44 Validator::Reason& Validator::Reason::operator=(const Validator::Reason & _rhs) in operator =() 50 Validator::Reason::~Reason() in ~Reason() 55 Validator::Reason::Type Validator::Reason::type() const in type() 62 struct Q_DECL_HIDDEN Validator::Private { 70 Validator::Validator(const Store* store) : d(new Private) in Validator() function in Validator 76 Validator::~Validator() in ~Validator() 81 void Validator::revalidate() in revalidate() 104 int Validator::countInvalidEntries() const in countInvalidEntries() 108 int Validator::countValidEntries() const in countValidEntries() [all …]
|
/dports/devel/p5-Data-Validator/Data-Validator-1.07/ |
H A D | META.yml | 17 name: Data-Validator 29 Data::Validator: 30 file: lib/Data/Validator.pm 32 Data::Validator::Role::AllowExtra: 34 Data::Validator::Role::Croak: 35 file: lib/Data/Validator/Role/Croak.pm 36 Data::Validator::Role::Method: 38 Data::Validator::Role::NoRestricted: 40 Data::Validator::Role::NoThrow: 42 Data::Validator::Role::Sequenced: [all …]
|
/dports/www/phalcon4/cphalcon-4.1.1/phalcon/Validation/ |
H A D | ValidatorFactory.zep | 41 "alnum" : "Phalcon\\Validation\\Validator\\Alnum", 42 "alpha" : "Phalcon\\Validation\\Validator\\Alpha", 43 "between" : "Phalcon\\Validation\\Validator\\Between", 44 "callback" : "Phalcon\\Validation\\Validator\\Callback", 47 "date" : "Phalcon\\Validation\\Validator\\Date", 48 "digit" : "Phalcon\\Validation\\Validator\\Digit", 49 "email" : "Phalcon\\Validation\\Validator\\Email", 52 "file" : "Phalcon\\Validation\\Validator\\File", 55 "ip" : "Phalcon\\Validation\\Validator\\Ip", 58 "regex" : "Phalcon\\Validation\\Validator\\Regex", [all …]
|
/dports/www/tikiwiki/tiki-21.2/vendor_bundled/vendor/laminas/laminas-validator/src/ |
H A D | ValidatorPluginManager.php | 9 namespace Laminas\Validator; 12 use Laminas\I18n\Validator as I18nValidator; 200 \Zend\Validator\Csrf::class => Csrf::class, 202 \Zend\Validator\Date::class => Date::class, 231 \Zend\Validator\Hex::class => Hex::class, 233 \Zend\Validator\Iban::class => Iban::class, 237 \Zend\Validator\Ip::class => Ip::class, 238 \Zend\Validator\Isbn::class => Isbn::class, 250 \Zend\Validator\Step::class => Step::class, 252 \Zend\Validator\Uri::class => Uri::class, [all …]
|
/dports/www/owncloud/owncloud/lib/composer/laminas/laminas-validator/src/ |
H A D | ValidatorPluginManager.php | 9 namespace Laminas\Validator; 12 use Laminas\I18n\Validator as I18nValidator; 200 \Zend\Validator\Csrf::class => Csrf::class, 202 \Zend\Validator\Date::class => Date::class, 231 \Zend\Validator\Hex::class => Hex::class, 233 \Zend\Validator\Iban::class => Iban::class, 237 \Zend\Validator\Ip::class => Ip::class, 238 \Zend\Validator\Isbn::class => Isbn::class, 250 \Zend\Validator\Step::class => Step::class, 252 \Zend\Validator\Uri::class => Uri::class, [all …]
|
/dports/biology/figtree/figtree-1.4.4/packaging_tools/windows/launch4j/src/net/sf/launch4j/config/ |
H A D | Jre.java | 43 import net.sf.launch4j.binding.Validator; 105 if (Validator.isEmpty(path)) { in checkInvariants() 110 Validator.checkFalse(Validator.isEmpty(minVersion), in checkInvariants() 113 Validator.checkString(path, Validator.MAX_PATH, in checkInvariants() 117 Validator.checkFalse(Validator.isEmpty(minVersion), in checkInvariants() 146 Validator.checkOptStrings(options, in checkInvariants() 147 Validator.MAX_ARGS, in checkInvariants() 148 Validator.MAX_ARGS, in checkInvariants() 155 Validator.checkOptStrings(options, in checkInvariants() 156 Validator.MAX_ARGS, in checkInvariants() [all …]
|
/dports/textproc/p5-Validator-Custom/Validator-Custom-1.0201/lib/Validator/ |
H A D | Custom.pm | 1 package Validator::Custom; 7 use Validator::Custom::Validation; 8 use Validator::Custom::FilterFunction; 9 use Validator::Custom::CheckFunction; 12 use Validator::Custom::Constraints; 13 use Validator::Custom::Constraint; 14 use Validator::Custom::Result; 15 use Validator::Custom::Rule; 17 sub validation { Validator::Custom::Validation->new } 27 in => \&Validator::Custom::CheckFunction::in [all …]
|
/dports/multimedia/neolink/neolink-cf54129/cargo-crates/validator-0.10.1/src/validation/ |
H A D | mod.rs | 21 pub enum Validator { enum 53 impl Validator { impl 57 Validator::Email => "email", in code() 58 Validator::Url => "url", in code() 59 Validator::Custom(_) => "custom", in code() 60 Validator::Contains(_) => "contains", in code() 61 Validator::Regex(_) => "regex", in code() 62 Validator::Range { .. } => "range", in code() 67 Validator::Phone => "phone", in code() 68 Validator::Nested => "nested", in code() [all …]
|
/dports/net/storj/storj-1.45.3/web/satellite/tests/unit/utils/ |
H A D | validation.spec.ts | 4 import { Validator } from '@/utils/validation'; 16 expect(Validator.password(testString1)).toBe(false); 18 expect(Validator.password(testString3)).toBe(true); 19 expect(Validator.password(testString4)).toBe(true); 20 expect(Validator.password(testString5)).toBe(true); 34 expect(Validator.email(testString1)).toBe(false); 35 expect(Validator.email(testString2)).toBe(false); 36 expect(Validator.email(testString3)).toBe(false); 37 expect(Validator.email(testString4)).toBe(false); 38 expect(Validator.email(testString5)).toBe(true); [all …]
|
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/test/jdk/sun/security/validator/ |
H A D | ConstructorTest.java | 330 Validator valOK; in testCtorByCollection() 331 Validator valNoGood; in testCtorByCollection() 338 valOK = Validator.getInstance(Validator.TYPE_PKIX, in testCtorByCollection() 356 valNoGood = Validator.getInstance(Validator.TYPE_PKIX, in testCtorByCollection() 372 valNoGood = Validator.getInstance(Validator.TYPE_PKIX, in testCtorByCollection() 389 valNoGood = Validator.getInstance(Validator.TYPE_PKIX, in testCtorByCollection() 404 valNoGood = Validator.getInstance(Validator.TYPE_PKIX, in testCtorByCollection() 412 valNoGood = Validator.getInstance(Validator.TYPE_PKIX, null, in testCtorByCollection() 427 Validator valOK; in testCtorByPKIXBuilderParams() 443 valOK = Validator.getInstance(Validator.TYPE_PKIX, in testCtorByPKIXBuilderParams() [all …]
|
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/test/jdk/sun/security/validator/ |
H A D | ConstructorTest.java | 330 Validator valOK; in testCtorByCollection() 331 Validator valNoGood; in testCtorByCollection() 338 valOK = Validator.getInstance(Validator.TYPE_PKIX, in testCtorByCollection() 356 valNoGood = Validator.getInstance(Validator.TYPE_PKIX, in testCtorByCollection() 372 valNoGood = Validator.getInstance(Validator.TYPE_PKIX, in testCtorByCollection() 389 valNoGood = Validator.getInstance(Validator.TYPE_PKIX, in testCtorByCollection() 404 valNoGood = Validator.getInstance(Validator.TYPE_PKIX, in testCtorByCollection() 412 valNoGood = Validator.getInstance(Validator.TYPE_PKIX, null, in testCtorByCollection() 427 Validator valOK; in testCtorByPKIXBuilderParams() 443 valOK = Validator.getInstance(Validator.TYPE_PKIX, in testCtorByPKIXBuilderParams() [all …]
|
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/test/jdk/sun/security/validator/ |
H A D | ConstructorTest.java | 330 Validator valOK; in testCtorByCollection() 331 Validator valNoGood; in testCtorByCollection() 338 valOK = Validator.getInstance(Validator.TYPE_PKIX, in testCtorByCollection() 356 valNoGood = Validator.getInstance(Validator.TYPE_PKIX, in testCtorByCollection() 372 valNoGood = Validator.getInstance(Validator.TYPE_PKIX, in testCtorByCollection() 389 valNoGood = Validator.getInstance(Validator.TYPE_PKIX, in testCtorByCollection() 404 valNoGood = Validator.getInstance(Validator.TYPE_PKIX, in testCtorByCollection() 412 valNoGood = Validator.getInstance(Validator.TYPE_PKIX, null, in testCtorByCollection() 427 Validator valOK; in testCtorByPKIXBuilderParams() 443 valOK = Validator.getInstance(Validator.TYPE_PKIX, in testCtorByPKIXBuilderParams() [all …]
|
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/test/jdk/sun/security/validator/ |
H A D | ConstructorTest.java | 330 Validator valOK; in testCtorByCollection() 331 Validator valNoGood; in testCtorByCollection() 338 valOK = Validator.getInstance(Validator.TYPE_PKIX, in testCtorByCollection() 356 valNoGood = Validator.getInstance(Validator.TYPE_PKIX, in testCtorByCollection() 372 valNoGood = Validator.getInstance(Validator.TYPE_PKIX, in testCtorByCollection() 389 valNoGood = Validator.getInstance(Validator.TYPE_PKIX, in testCtorByCollection() 404 valNoGood = Validator.getInstance(Validator.TYPE_PKIX, in testCtorByCollection() 412 valNoGood = Validator.getInstance(Validator.TYPE_PKIX, null, in testCtorByCollection() 427 Validator valOK; in testCtorByPKIXBuilderParams() 443 valOK = Validator.getInstance(Validator.TYPE_PKIX, in testCtorByPKIXBuilderParams() [all …]
|
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/test/jdk/sun/security/validator/ |
H A D | ConstructorTest.java | 330 Validator valOK; in testCtorByCollection() 331 Validator valNoGood; in testCtorByCollection() 338 valOK = Validator.getInstance(Validator.TYPE_PKIX, in testCtorByCollection() 356 valNoGood = Validator.getInstance(Validator.TYPE_PKIX, in testCtorByCollection() 372 valNoGood = Validator.getInstance(Validator.TYPE_PKIX, in testCtorByCollection() 389 valNoGood = Validator.getInstance(Validator.TYPE_PKIX, in testCtorByCollection() 404 valNoGood = Validator.getInstance(Validator.TYPE_PKIX, in testCtorByCollection() 412 valNoGood = Validator.getInstance(Validator.TYPE_PKIX, null, in testCtorByCollection() 427 Validator valOK; in testCtorByPKIXBuilderParams() 443 valOK = Validator.getInstance(Validator.TYPE_PKIX, in testCtorByPKIXBuilderParams() [all …]
|
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/test/jdk/sun/security/validator/ |
H A D | ConstructorTest.java | 330 Validator valOK; in testCtorByCollection() 331 Validator valNoGood; in testCtorByCollection() 338 valOK = Validator.getInstance(Validator.TYPE_PKIX, in testCtorByCollection() 356 valNoGood = Validator.getInstance(Validator.TYPE_PKIX, in testCtorByCollection() 372 valNoGood = Validator.getInstance(Validator.TYPE_PKIX, in testCtorByCollection() 389 valNoGood = Validator.getInstance(Validator.TYPE_PKIX, in testCtorByCollection() 404 valNoGood = Validator.getInstance(Validator.TYPE_PKIX, in testCtorByCollection() 412 valNoGood = Validator.getInstance(Validator.TYPE_PKIX, null, in testCtorByCollection() 427 Validator valOK; in testCtorByPKIXBuilderParams() 443 valOK = Validator.getInstance(Validator.TYPE_PKIX, in testCtorByPKIXBuilderParams() [all …]
|
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/test/jdk/sun/security/validator/ |
H A D | ConstructorTest.java | 330 Validator valOK; in testCtorByCollection() 331 Validator valNoGood; in testCtorByCollection() 338 valOK = Validator.getInstance(Validator.TYPE_PKIX, in testCtorByCollection() 356 valNoGood = Validator.getInstance(Validator.TYPE_PKIX, in testCtorByCollection() 372 valNoGood = Validator.getInstance(Validator.TYPE_PKIX, in testCtorByCollection() 389 valNoGood = Validator.getInstance(Validator.TYPE_PKIX, in testCtorByCollection() 404 valNoGood = Validator.getInstance(Validator.TYPE_PKIX, in testCtorByCollection() 412 valNoGood = Validator.getInstance(Validator.TYPE_PKIX, null, in testCtorByCollection() 427 Validator valOK; in testCtorByPKIXBuilderParams() 443 valOK = Validator.getInstance(Validator.TYPE_PKIX, in testCtorByPKIXBuilderParams() [all …]
|
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/test/jdk/sun/security/validator/ |
H A D | ConstructorTest.java | 330 Validator valOK; in testCtorByCollection() 331 Validator valNoGood; in testCtorByCollection() 338 valOK = Validator.getInstance(Validator.TYPE_PKIX, in testCtorByCollection() 356 valNoGood = Validator.getInstance(Validator.TYPE_PKIX, in testCtorByCollection() 372 valNoGood = Validator.getInstance(Validator.TYPE_PKIX, in testCtorByCollection() 389 valNoGood = Validator.getInstance(Validator.TYPE_PKIX, in testCtorByCollection() 404 valNoGood = Validator.getInstance(Validator.TYPE_PKIX, in testCtorByCollection() 412 valNoGood = Validator.getInstance(Validator.TYPE_PKIX, null, in testCtorByCollection() 427 Validator valOK; in testCtorByPKIXBuilderParams() 443 valOK = Validator.getInstance(Validator.TYPE_PKIX, in testCtorByPKIXBuilderParams() [all …]
|