Lines Matching refs:validator
137 Each validator represents a constraint over one flag, which is enforced
1072 for validator in flag.validators:
1073 all_validators.add(validator)
1081 validators: Iterable(gflags_validators.Validator), validators to be
1085 IllegalFlagValue: if validation fails for at least one validator
1087 for validator in sorted(
1088 validators, key=lambda validator: validator.insertion_index):
1090 validator.Verify(self)
1092 message = validator.PrintFlagsWithValues(self)
1748 def AddValidator(self, validator):
1749 """Register new flags validator to be checked.
1752 validator: gflags_validators.Validator
1756 for flag_name in validator.GetFlagsNames():
1758 flag.validators.append(validator)
2097 Must return True if validator constraint is satisfied.
2115 Registers a flag validator, which will follow usual validator