Home
last modified time | relevance | path

Searched refs:Validator (Results 1 - 17 of 17) sorted by relevance

/third_party/typescript/tests/baselines/reference/
H A DgenericClassPropertyInheritanceSpecialization.js43 export class Validator<TValue> {
56 export class Validator<TValue> extends Portal.Controls.Validators.Validator<TValue> {
67 validators: KnockoutObservableArray<PortalFx.ViewModels.Controls.Validators.Validator<TValue>>;
73 public validators: KnockoutObservableArray<PortalFx.ViewModels.Controls.Validators.Validator<TValue>> = ko.observableArray<PortalFx.ViewModels.Controls.Validators.Validator<TValue>>();
100 var Validator = /** @class */ (function () {
101 function Validator(message) {
103 Validator.prototype.destroy = function () { };
104 Validator
[all...]
H A DpropTypeValidatorInference.js8 export type RequiredKeys<V> = { [K in keyof V]-?: Exclude<V[K], undefined> extends Validator<infer T> ? IsOptional<T> extends true ? never : K : never }[keyof V];
12 export interface Validator<T> {
17 export interface Requireable<T> extends Validator<T> {
18 isRequired: Validator<NonNullable<T>>;
21 export type ValidationMap<T> = { [K in keyof T]?: Validator<T[K]> };
23 export type InferType<V> = V extends Validator<infer T> ? T : any;
34 export function oneOfType<T extends Validator<any>>(types: T[]): Requireable<NonNullable<InferType<T>>>;
H A DreverseMappedTypeDeepDeclarationEmit.js2 export type Validator<T> = NativeTypeValidator<T> | ObjectValidator<T>
6 [K in keyof O]: Validator<O[K]>
55 export type Validator<T> = NativeTypeValidator<T> | ObjectValidator<T>;
58 [K in keyof O]: Validator<O[K]>;
H A DidenticalTypesNoDifferByCheckOrder.js18 type Validator<T> = {(): boolean, opt?: T};
19 type WeakValidationMap<T> = {[K in keyof T]?: null extends T[K] ? Validator<T[K] | null | undefined> : Validator<T[K]>};
H A DtypeGuardsWithInstanceOf.js16 interface Validator {
27 let v: Validator & Partial<OnChanges> = null as any;
29 v // Validator & Partial<OnChanges> & C
31 v // Validator & Partial<OnChanges> via subtype reduction
63 v; // Validator & Partial<OnChanges> & C
65 v; // Validator & Partial<OnChanges> via subtype reduction
H A DreactReduxLikeDeferredInferenceAllowsAssignment.js21 interface Validator<T> {
33 ? Validator<T[K] | null | undefined>
35 ? Validator<T[K] | null | undefined>
36 : Validator<T[K]>
/third_party/skia/src/image/
H A DSkImage_Lazy.h23 struct Validator { struct in SkImage_Lazy
24 Validator(sk_sp<SharedGenerator>, const SkColorType*, sk_sp<SkColorSpace>);
34 SkImage_Lazy(Validator* validator);
H A DSkImage_Lazy.cpp62 SkImage_Lazy::Validator::Validator(sk_sp<SharedGenerator> gen, const SkColorType* colorType, in Validator() function in SkImage_Lazy::Validator
120 SkImage_Lazy::SkImage_Lazy(Validator* validator) in SkImage_Lazy()
218 Validator validator(fSharedGenerator, &targetCT, targetCS); in onMakeColorTypeAndColorSpace()
245 SkImage_Lazy::Validator in MakeFromGenerator()
/third_party/protobuf/conformance/
H A Dbinary_json_conformance_suite.h94 typedef std::function<bool(const Json::Value&)> Validator; typedef in google::protobuf::BinaryAndJsonConformanceSuite
98 const Validator& validator,
H A Dbinary_json_conformance_suite.cc566 const Validator& validator, bool is_proto3) { in RunValidJsonTestWithValidator()
576 test_name, ".Validator"); in RunValidJsonTestWithValidator()
/third_party/rust/crates/clap/src/parser/
H A Dmod.rs20 pub(crate) use self::validator::Validator;
H A Dparser.rs20 use crate::parser::{Validator, ValueSource};
459 return Validator::new(self.cmd).validate(parse_state, matcher);
481 Validator::new(self.cmd).validate(parse_state, matcher)
1324 debug!("Validator::validate_arg_num_vals: Sending error WrongNumberOfValues"); in verify_num_args()
1342 debug!("Validator::validate_arg_num_vals: Sending error TooManyValues"); in verify_num_args()
H A Dvalidator.rs13 pub(crate) struct Validator<'cmd> {
18 impl<'cmd> Validator<'cmd> { impls
21 Validator { cmd, required }
29 debug!("Validator::validate");
34 debug!("Validator::validate: needs_val_of={:?}", a);
96 debug!("Validator::validate_conflicts"); in validate_conflicts()
105 debug!("Validator::validate_conflicts::iter: id={:?}", arg_id); in validate_conflicts()
114 debug!("Validator::validate_exclusive"); in validate_exclusive()
133 debug!("Validator::validate_exclusive:iter:{:?}", id); in validate_exclusive()
162 debug!("Validator in build_conflict_err()
[all...]
/third_party/python/Lib/idlelib/idle_test/
H A Dtest_config_key.py20 class Validator(config_key.GetKeysFrame): class in ValidationTest
35 cls.dialog = cls.Validator(cls.root, '<<Test>>', keylist)
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
H A DvktPipelineCreationCacheControlTests.cpp91 using Validator = qpTestResult (*)(VkResult, const vector<UniquePipeline>&, duration, string&);
94 using ValidatorArray = ConstexprVector<Validator, VALIDATOR_ARRAY_MAX>;
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineCreationCacheControlTests.cpp91 using Validator = qpTestResult (*)(VkResult, const vector<UniquePipeline>&, duration, string&);
94 using ValidatorArray = ConstexprVector<Validator, VALIDATOR_ARRAY_MAX>;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
H A DFileCheck.cpp1711 static const Regex Validator("^[a-zA-Z0-9_-]*$"); in ValidateCheckPrefix()
1712 return Validator.match(CheckPrefix); in ValidateCheckPrefix()

Completed in 31 milliseconds