Home
last modified time | relevance | path

Searched refs:messageValidator (Results 1 – 9 of 9) sorted by relevance

/external/libchrome/mojo/public/tools/bindings/generators/js_templates/
Dvalidation_macros.tmpl9 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 …]
Dinterface_definition.tmpl166 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());
Dstruct_definition.tmpl83 {{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}}))
Dunion_definition.tmpl194 {{union.name}}.validate = function(messageValidator, offset) {
195 var size = messageValidator.decodeUnionSize(offset);
200 var tag = messageValidator.decodeUnionTag(offset);
/external/libchrome/mojo/public/js/lib/
Dcontrol_message_handler.js9 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());
Drouter.js134 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);
Dpipe_control_message_handler.js9 var messageValidator = new internal.Validator(message);
10 var error = messageValidator.validateMessageIsRequestWithoutResponse();
21 messageValidator, message.getHeaderNumBytes());
Dcontrol_message_proxy.js24 var messageValidator = new internal.Validator(message);
25 var error = messageValidator.validateMessageIsResponse();
36 messageValidator, message.getHeaderNumBytes());
Dinterface_endpoint_client.js137 messageValidator) { argument
141 err = this.payloadValidators_[i](messageValidator);