Searched refs:messageValidator (Results 1 – 9 of 9) sorted by relevance
/external/libchrome/mojo/public/tools/bindings/generators/js_templates/ |
D | validation_macros.tmpl | 9 err = messageValidator.validateStringPointer({{offset}}, {{field|validate_nullable_params}}) 13 err = messageValidator.validateArrayPointer({{offset}}, {{field|validate_array_params}}); 17 err = messageValidator.validateStructPointer({{offset}}, {{field|validate_struct_params}}); 21 err = messageValidator.validateMapPointer({{offset}}, {{field|validate_map_params}}); 25 err = messageValidator.validateInterface({{offset}}, {{field|validate_nullable_params}}); 29 err = messageValidator.validateInterfaceRequest({{offset}}, {{field|validate_nullable_params}}) 33 err = messageValidator.validateAssociatedInterface({{offset}}, {{field|validate_nullable_params}}); 37 err = messageValidator.validateAssociatedInterfaceRequest({{offset}}, {{field|validate_nullable_par… 41 err = messageValidator.validateHandle({{offset}}, {{field|validate_nullable_params}}) 45 err = messageValidator.validateEnum({{offset}}, {{field|validate_enum_params}}); [all …]
|
D | interface_definition.tmpl | 166 function validate{{interface.name}}Request(messageValidator) { 170 var message = messageValidator.message; 189 return paramsClass.validate(messageValidator, messageValidator.message.getHeaderNumBytes()); 193 function validate{{interface.name}}Response(messageValidator) { 197 var message = messageValidator.message; 213 return paramsClass.validate(messageValidator, messageValidator.message.getHeaderNumBytes());
|
D | struct_definition.tmpl | 83 {{struct.name}}.validate = function(messageValidator, offset) { 85 err = messageValidator.validateStructHeader(offset, codec.kStructHeaderSize); 95 err = messageValidator.validateStructVersion(offset, kVersionSizes); 115 if (!messageValidator.isFieldInStructVersion(offset, {{packed_field.min_version}}))
|
D | union_definition.tmpl | 194 {{union.name}}.validate = function(messageValidator, offset) { 195 var size = messageValidator.decodeUnionSize(offset); 200 var tag = messageValidator.decodeUnionTag(offset);
|
/external/libchrome/mojo/public/js/lib/ |
D | control_message_handler.js | 9 var messageValidator = new internal.Validator(message); 10 var error = messageValidator.validateMessageIsRequestExpectingResponse(); 20 error = mojo.interfaceControl.RunMessageParams.validate(messageValidator, 28 var messageValidator = new internal.Validator(message); 29 var error = messageValidator.validateMessageIsRequestWithoutResponse(); 40 messageValidator, message.getHeaderNumBytes());
|
D | router.js | 134 var messageValidator = this.cachedMessageData.messageValidator; 138 messageValidator); 205 var messageValidator = new internal.Validator(message); 206 var err = messageValidator.validateMessageHeader(); 225 messageValidator: messageValidator}; property 229 ok = endpoint.client.handleIncomingMessage(message, messageValidator);
|
D | pipe_control_message_handler.js | 9 var messageValidator = new internal.Validator(message); 10 var error = messageValidator.validateMessageIsRequestWithoutResponse(); 21 messageValidator, message.getHeaderNumBytes());
|
D | control_message_proxy.js | 24 var messageValidator = new internal.Validator(message); 25 var error = messageValidator.validateMessageIsResponse(); 36 messageValidator, message.getHeaderNumBytes());
|
D | interface_endpoint_client.js | 137 messageValidator) { argument 141 err = this.payloadValidators_[i](messageValidator);
|