Home
last modified time | relevance | path

Searched refs:Validator (Results 1 – 25 of 38) sorted by relevance

12

/external/chromium_org/mojo/public/js/bindings/
Dvalidator.js41 function Validator(message) { class
47 Object.defineProperty(Validator.prototype, "offsetLimit", {
51 Object.defineProperty(Validator.prototype, "handleIndexLimit", {
57 Validator.prototype.isValidRange = function(start, numBytes) { class
72 Validator.prototype.claimRange = function(start, numBytes) {
80 Validator.prototype.claimHandle = function(index) {
92 Validator.prototype.validateHandle = function(offset, nullable) {
104 Validator.prototype.validateStructHeader =
124 Validator.prototype.validateMessageHeader = function() {
156 Validator.prototype.decodePointer = function(offset) {
[all …]
Drouter.js72 var messageValidator = new validator.Validator(message);
Dvalidation_unittests.js237 var messageValidator = new validator.Validator(message);
/external/chromium_org/chromeos/network/onc/
Donc_validator.cc39 Validator::Validator(bool error_on_unknown_field, in Validator() function in chromeos::onc::Validator
49 Validator::~Validator() {} in ~Validator()
51 scoped_ptr<base::DictionaryValue> Validator::ValidateAndRepairObject( in ValidateAndRepairObject()
79 scoped_ptr<base::Value> Validator::MapValue(const OncValueSignature& signature, in MapValue()
98 scoped_ptr<base::DictionaryValue> Validator::MapObject( in MapObject()
148 scoped_ptr<base::Value> Validator::MapField( in MapField()
175 scoped_ptr<base::ListValue> Validator::MapArray( in MapArray()
193 scoped_ptr<base::Value> Validator::MapEntry(int index, in MapEntry()
206 bool Validator::ValidateObjectDefault(const OncValueSignature& signature, in ValidateObjectDefault()
225 bool Validator::ValidateRecommendedField( in ValidateRecommendedField()
[all …]
Donc_validator_unittest.cc34 scoped_ptr<Validator> validator; in Validate()
37 validator.reset(new Validator(true, true, true, managed_onc)); in Validate()
40 validator.reset(new Validator(false, false, false, managed_onc)); in Validate()
50 EXPECT_EQ(Validator::VALID, validation_result_); in ExpectValid()
57 EXPECT_EQ(Validator::VALID_WITH_WARNINGS, validation_result_); in ExpectRepairWithWarnings()
62 EXPECT_EQ(Validator::INVALID, validation_result_); in ExpectInvalid()
67 Validator::Result validation_result_;
Donc_validator.h56 class CHROMEOS_EXPORT Validator : public Mapper {
65 Validator(bool error_on_unknown_field,
70 virtual ~Validator();
225 DISALLOW_COPY_AND_ASSIGN(Validator);
Donc_utils.cc389 Validator validator(false, // Ignore unknown fields. in ParseAndValidateOncForImport()
395 Validator::Result validation_result; in ParseAndValidateOncForImport()
403 validation_result == Validator::VALID); in ParseAndValidateOncForImport()
407 if (validation_result == Validator::VALID_WITH_WARNINGS) { in ParseAndValidateOncForImport()
411 } else if (validation_result == Validator::INVALID || toplevel_onc == NULL) { in ParseAndValidateOncForImport()
/external/droiddriver/src/com/google/android/droiddriver/validators/
DFirstApplicableValidator.java26 public class FirstApplicableValidator implements Validator {
27 private final Validator[] validators;
29 public FirstApplicableValidator(Validator... validators) { in FirstApplicableValidator()
40 for (Validator validator : validators) { in validate()
DValidator.java27 public interface Validator { interface
DVisibilityValidator.java25 public class VisibilityValidator implements Validator {
DExemptRootValidator.java25 public class ExemptRootValidator implements Validator {
DExemptScrollActionValidator.java27 public class ExemptScrollActionValidator implements Validator {
DExemptedClassesValidator.java28 public class ExemptedClassesValidator implements Validator {
DDefaultAccessibilityValidator.java29 public class DefaultAccessibilityValidator implements Validator {
/external/chromium-trace/trace-viewer/third_party/python_gflags/
Dgflags_validators.py45 class Validator(object): class
66 Validator.validators_count += 1
68 self.insertion_index = Validator.validators_count
105 class SimpleValidator(Validator):
144 class DictionaryValidator(Validator):
/external/chromium_org/third_party/python_gflags/
Dgflags_validators.py45 class Validator(object): class
66 Validator.validators_count += 1
68 self.insertion_index = Validator.validators_count
105 class SimpleValidator(Validator):
144 class DictionaryValidator(Validator):
/external/droiddriver/src/com/google/android/droiddriver/uiautomation/
DAccessibilityDriver.java27 import com.google.android.droiddriver.validators.Validator;
33 private Validator validator = new FirstApplicableValidator(new ExemptRootValidator(),
53 public Validator getValidator() { in getValidator()
60 public void setValidator(Validator validator) { in setValidator()
/external/chromium_org/chromeos/tools/onc_validator/
Donc_validator.cc124 chromeos::onc::Validator validator( in main()
150 chromeos::onc::Validator::Result result; in main()
154 case chromeos::onc::Validator::VALID: in main()
156 case chromeos::onc::Validator::VALID_WITH_WARNINGS: in main()
158 case chromeos::onc::Validator::INVALID: in main()
/external/droiddriver/src/com/google/android/droiddriver/base/
DBaseUiElement.java33 import com.google.android.droiddriver.validators.Validator;
57 private Validator validator = null;
299 public void setValidator(Validator validator) { in setValidator()
/external/chromium_org/mojo/public/java/bindings/src/org/chromium/mojo/bindings/
DDecoder.java28 static final class Validator { class in Decoder
52 Validator(long maxMemory, int numberOfHandles) { in Validator() method in Decoder.Validator
98 private final Validator mValidator;
106 this(message, new Validator(message.getData().limit(), message.getHandles().size()), 0); in Decoder()
109 private Decoder(Message message, Validator validator, int baseOffset) { in Decoder()
/external/chromium_org/chrome/browser/chromeos/policy/
Dconfiguration_policy_handler_chromeos.cc210 chromeos::onc::Validator validator( in CheckPolicySettings()
218 chromeos::onc::Validator::Result validation_result; in CheckPolicySettings()
222 if (validation_result == chromeos::onc::Validator::VALID_WITH_WARNINGS) in CheckPolicySettings()
224 else if (validation_result == chromeos::onc::Validator::INVALID) in CheckPolicySettings()
/external/chromium_org/chromeos/network/
Dmanaged_network_configuration_handler_impl.cc270 onc::Validator validator(false, // Ignore unknown fields. in SetProperties()
275 onc::Validator::Result validation_result; in SetProperties()
282 if (validation_result == onc::Validator::INVALID) { in SetProperties()
286 if (validation_result == onc::Validator::VALID_WITH_WARNINGS) in SetProperties()
/external/clang/lib/Sema/
DSemaExprMember.cpp642 RecordMemberExprValidatorCCC Validator(RTy); in LookupMemberExprInRecord() local
645 &SS, Validator, in LookupMemberExprInRecord()
1282 DeclFilterCCC<ObjCIvarDecl> Validator; in LookupMemberExpr() local
1283 Validator.IsObjCIvarLookup = IsArrow; in LookupMemberExpr()
1286 Validator, Sema::CTK_ErrorRecovery, IDecl)) { in LookupMemberExpr()
DSemaTemplateVariadic.cpp803 ParameterPackValidatorCCC Validator; in ActOnSizeofParameterPackExpr() local
813 Validator, CTK_ErrorRecovery)) { in ActOnSizeofParameterPackExpr()
DSemaCXXScopeSpec.cpp544 NestedNameSpecifierValidatorCCC Validator(*this); in BuildCXXNestedNameSpecifier() local
548 &SS, Validator, CTK_ErrorRecovery, LookupCtx, in BuildCXXNestedNameSpecifier()

12