| { |
| "version": "0.0.1", |
| "name": "fidl.test.protocols", |
| "library_dependencies": [], |
| "bits_declarations": [ |
| { |
| "name": "fidl.test.protocols/rights", |
| "naming_context": [ |
| "rights" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 11, |
| "column": 6, |
| "length": 6 |
| }, |
| "type": { |
| "kind": "primitive", |
| "subtype": "uint32", |
| "type_shape_v1": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "mask": "3", |
| "members": [ |
| { |
| "name": "TRANSFER", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 12, |
| "column": 5, |
| "length": 8 |
| }, |
| "value": { |
| "kind": "literal", |
| "value": "1", |
| "expression": "1", |
| "literal": { |
| "kind": "numeric", |
| "value": "1", |
| "expression": "1" |
| } |
| } |
| }, |
| { |
| "name": "DUPLICATE", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 13, |
| "column": 5, |
| "length": 9 |
| }, |
| "value": { |
| "kind": "literal", |
| "value": "2", |
| "expression": "2", |
| "literal": { |
| "kind": "numeric", |
| "value": "2", |
| "expression": "2" |
| } |
| } |
| } |
| ], |
| "strict": true |
| } |
| ], |
| "const_declarations": [], |
| "enum_declarations": [ |
| { |
| "name": "fidl.test.protocols/obj_type", |
| "naming_context": [ |
| "obj_type" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 6, |
| "column": 6, |
| "length": 8 |
| }, |
| "type": "uint32", |
| "members": [ |
| { |
| "name": "NONE", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 7, |
| "column": 5, |
| "length": 4 |
| }, |
| "value": { |
| "kind": "literal", |
| "value": "0", |
| "expression": "0", |
| "literal": { |
| "kind": "numeric", |
| "value": "0", |
| "expression": "0" |
| } |
| } |
| }, |
| { |
| "name": "SOCKET", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 8, |
| "column": 5, |
| "length": 6 |
| }, |
| "value": { |
| "kind": "literal", |
| "value": "14", |
| "expression": "14", |
| "literal": { |
| "kind": "numeric", |
| "value": "14", |
| "expression": "14" |
| } |
| } |
| } |
| ], |
| "strict": true |
| }, |
| { |
| "name": "fidl.test.protocols/ErrorEnum", |
| "naming_context": [ |
| "ErrorEnum" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 46, |
| "column": 6, |
| "length": 9 |
| }, |
| "type": "uint32", |
| "members": [ |
| { |
| "name": "ERR_FOO", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 47, |
| "column": 5, |
| "length": 7 |
| }, |
| "value": { |
| "kind": "literal", |
| "value": "1", |
| "expression": "1", |
| "literal": { |
| "kind": "numeric", |
| "value": "1", |
| "expression": "1" |
| } |
| } |
| }, |
| { |
| "name": "ERR_BAR", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 48, |
| "column": 5, |
| "length": 7 |
| }, |
| "value": { |
| "kind": "literal", |
| "value": "2", |
| "expression": "2", |
| "literal": { |
| "kind": "numeric", |
| "value": "2", |
| "expression": "2" |
| } |
| } |
| } |
| ], |
| "strict": true |
| } |
| ], |
| "experimental_resource_declarations": [ |
| { |
| "name": "fidl.test.protocols/handle", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 16, |
| "column": 21, |
| "length": 6 |
| }, |
| "type": { |
| "kind": "primitive", |
| "subtype": "uint32", |
| "type_shape_v1": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "properties": [ |
| { |
| "name": "subtype", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 18, |
| "column": 9, |
| "length": 7 |
| }, |
| "type": { |
| "kind": "identifier", |
| "identifier": "fidl.test.protocols/obj_type", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| } |
| }, |
| { |
| "name": "rights", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 19, |
| "column": 9, |
| "length": 6 |
| }, |
| "type": { |
| "kind": "identifier", |
| "identifier": "fidl.test.protocols/rights", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| } |
| } |
| ] |
| } |
| ], |
| "interface_declarations": [ |
| { |
| "name": "fidl.test.protocols/WithAndWithoutRequestResponse", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 23, |
| "column": 10, |
| "length": 29 |
| }, |
| "composed_protocols": [], |
| "methods": [ |
| { |
| "ordinal": 7699066378708085668, |
| "name": "NoRequestNoResponse", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 24, |
| "column": 5, |
| "length": 19 |
| }, |
| "has_request": true, |
| "maybe_request": [], |
| "maybe_request_type_shape_v1": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "maybe_request_type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "has_response": false, |
| "is_composed": false |
| }, |
| { |
| "ordinal": 4641225961522096302, |
| "name": "NoRequestEmptyResponse", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 25, |
| "column": 5, |
| "length": 22 |
| }, |
| "has_request": true, |
| "maybe_request": [], |
| "maybe_request_type_shape_v1": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "maybe_request_type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "has_response": true, |
| "maybe_response": [], |
| "maybe_response_type_shape_v1": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "maybe_response_type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "is_composed": false |
| }, |
| { |
| "ordinal": 4935493674668456948, |
| "name": "NoRequestWithResponse", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 26, |
| "column": 5, |
| "length": 21 |
| }, |
| "has_request": true, |
| "maybe_request": [], |
| "maybe_request_type_shape_v1": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "maybe_request_type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "has_response": true, |
| "maybe_response": [ |
| { |
| "type": { |
| "kind": "string", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 4294967295, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 4294967295, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "ret", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 27, |
| "column": 9, |
| "length": 3 |
| }, |
| "field_shape_v1": { |
| "offset": 16, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 16, |
| "padding": 0 |
| } |
| } |
| ], |
| "maybe_response_payload": "fidl.test.protocols/WithAndWithoutRequestResponseNoRequestWithResponseTopResponse", |
| "maybe_response_type_shape_v1": { |
| "inline_size": 32, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 4294967295, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "maybe_response_type_shape_v2": { |
| "inline_size": 32, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 4294967295, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "is_composed": false |
| }, |
| { |
| "ordinal": 8985942600963248509, |
| "name": "WithRequestNoResponse", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 29, |
| "column": 5, |
| "length": 21 |
| }, |
| "has_request": true, |
| "maybe_request": [ |
| { |
| "type": { |
| "kind": "string", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 4294967295, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 4294967295, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "arg", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 30, |
| "column": 9, |
| "length": 3 |
| }, |
| "field_shape_v1": { |
| "offset": 16, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 16, |
| "padding": 0 |
| } |
| } |
| ], |
| "maybe_request_payload": "fidl.test.protocols/WithAndWithoutRequestResponseWithRequestNoResponseRequest", |
| "maybe_request_type_shape_v1": { |
| "inline_size": 32, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 4294967295, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "maybe_request_type_shape_v2": { |
| "inline_size": 32, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 4294967295, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "has_response": false, |
| "is_composed": false |
| }, |
| { |
| "ordinal": 7344052883704365182, |
| "name": "WithRequestEmptyResponse", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 32, |
| "column": 5, |
| "length": 24 |
| }, |
| "has_request": true, |
| "maybe_request": [ |
| { |
| "type": { |
| "kind": "string", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 4294967295, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 4294967295, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "arg", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 33, |
| "column": 9, |
| "length": 3 |
| }, |
| "field_shape_v1": { |
| "offset": 16, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 16, |
| "padding": 0 |
| } |
| } |
| ], |
| "maybe_request_payload": "fidl.test.protocols/WithAndWithoutRequestResponseWithRequestEmptyResponseRequest", |
| "maybe_request_type_shape_v1": { |
| "inline_size": 32, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 4294967295, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "maybe_request_type_shape_v2": { |
| "inline_size": 32, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 4294967295, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "has_response": true, |
| "maybe_response": [], |
| "maybe_response_type_shape_v1": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "maybe_response_type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "is_composed": false |
| }, |
| { |
| "ordinal": 2103802322332450033, |
| "name": "WithRequestWithResponse", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 35, |
| "column": 5, |
| "length": 23 |
| }, |
| "has_request": true, |
| "maybe_request": [ |
| { |
| "type": { |
| "kind": "string", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 4294967295, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 4294967295, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "arg", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 36, |
| "column": 9, |
| "length": 3 |
| }, |
| "field_shape_v1": { |
| "offset": 16, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 16, |
| "padding": 0 |
| } |
| } |
| ], |
| "maybe_request_payload": "fidl.test.protocols/WithAndWithoutRequestResponseWithRequestWithResponseRequest", |
| "maybe_request_type_shape_v1": { |
| "inline_size": 32, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 4294967295, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "maybe_request_type_shape_v2": { |
| "inline_size": 32, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 4294967295, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "has_response": true, |
| "maybe_response": [ |
| { |
| "type": { |
| "kind": "string", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 4294967295, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 4294967295, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "ret", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 38, |
| "column": 9, |
| "length": 3 |
| }, |
| "field_shape_v1": { |
| "offset": 16, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 16, |
| "padding": 0 |
| } |
| } |
| ], |
| "maybe_response_payload": "fidl.test.protocols/WithAndWithoutRequestResponseWithRequestWithResponseTopResponse", |
| "maybe_response_type_shape_v1": { |
| "inline_size": 32, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 4294967295, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "maybe_response_type_shape_v2": { |
| "inline_size": 32, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 4294967295, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "is_composed": false |
| }, |
| { |
| "ordinal": 1323081535741489193, |
| "name": "OnEmptyResponse", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 40, |
| "column": 8, |
| "length": 15 |
| }, |
| "has_request": false, |
| "has_response": true, |
| "maybe_response": [], |
| "maybe_response_type_shape_v1": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "maybe_response_type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "is_composed": false |
| }, |
| { |
| "ordinal": 1691906546593908418, |
| "name": "OnWithResponse", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 41, |
| "column": 8, |
| "length": 14 |
| }, |
| "has_request": false, |
| "has_response": true, |
| "maybe_response": [ |
| { |
| "type": { |
| "kind": "string", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 4294967295, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 4294967295, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "ret", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 42, |
| "column": 9, |
| "length": 3 |
| }, |
| "field_shape_v1": { |
| "offset": 16, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 16, |
| "padding": 0 |
| } |
| } |
| ], |
| "maybe_response_payload": "fidl.test.protocols/WithAndWithoutRequestResponseOnWithResponseRequest", |
| "maybe_response_type_shape_v1": { |
| "inline_size": 32, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 4294967295, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "maybe_response_type_shape_v2": { |
| "inline_size": 32, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 4294967295, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "is_composed": false |
| } |
| ] |
| }, |
| { |
| "name": "fidl.test.protocols/WithErrorSyntax", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 51, |
| "column": 10, |
| "length": 15 |
| }, |
| "composed_protocols": [], |
| "methods": [ |
| { |
| "ordinal": 4000554951765344912, |
| "name": "ResponseAsStruct", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 52, |
| "column": 5, |
| "length": 16 |
| }, |
| "has_request": true, |
| "maybe_request": [], |
| "maybe_request_type_shape_v1": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "maybe_request_type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "has_response": true, |
| "maybe_response": [ |
| { |
| "type": { |
| "kind": "identifier", |
| "identifier": "fidl.test.protocols/WithErrorSyntax_ResponseAsStruct_Result", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 24, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 24, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "result", |
| "location": { |
| "filename": "generated", |
| "line": 1, |
| "column": 1, |
| "length": 6 |
| }, |
| "field_shape_v1": { |
| "offset": 16, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 16, |
| "padding": 0 |
| } |
| } |
| ], |
| "maybe_response_payload": "fidl.test.protocols/WithErrorSyntaxResponseAsStructTopResponse", |
| "maybe_response_type_shape_v1": { |
| "inline_size": 40, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 24, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "maybe_response_type_shape_v2": { |
| "inline_size": 32, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 24, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "is_composed": false |
| }, |
| { |
| "ordinal": 3421672554503271630, |
| "name": "ErrorAsPrimitive", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 57, |
| "column": 5, |
| "length": 16 |
| }, |
| "has_request": true, |
| "maybe_request": [], |
| "maybe_request_type_shape_v1": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "maybe_request_type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "has_response": true, |
| "maybe_response": [ |
| { |
| "type": { |
| "kind": "identifier", |
| "identifier": "fidl.test.protocols/WithErrorSyntax_ErrorAsPrimitive_Result", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 8, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "result", |
| "location": { |
| "filename": "generated", |
| "line": 4, |
| "column": 1, |
| "length": 6 |
| }, |
| "field_shape_v1": { |
| "offset": 16, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 16, |
| "padding": 0 |
| } |
| } |
| ], |
| "maybe_response_payload": "fidl.test.protocols/WithErrorSyntaxErrorAsPrimitiveTopResponse", |
| "maybe_response_type_shape_v1": { |
| "inline_size": 40, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 8, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "maybe_response_type_shape_v2": { |
| "inline_size": 32, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "is_composed": false |
| }, |
| { |
| "ordinal": 627496610701472780, |
| "name": "ErrorAsEnum", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 58, |
| "column": 5, |
| "length": 11 |
| }, |
| "has_request": true, |
| "maybe_request": [], |
| "maybe_request_type_shape_v1": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "maybe_request_type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "has_response": true, |
| "maybe_response": [ |
| { |
| "type": { |
| "kind": "identifier", |
| "identifier": "fidl.test.protocols/WithErrorSyntax_ErrorAsEnum_Result", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 8, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "result", |
| "location": { |
| "filename": "generated", |
| "line": 7, |
| "column": 1, |
| "length": 6 |
| }, |
| "field_shape_v1": { |
| "offset": 16, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 16, |
| "padding": 0 |
| } |
| } |
| ], |
| "maybe_response_payload": "fidl.test.protocols/WithErrorSyntaxErrorAsEnumTopResponse", |
| "maybe_response_type_shape_v1": { |
| "inline_size": 40, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 8, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "maybe_response_type_shape_v2": { |
| "inline_size": 32, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "is_composed": false |
| }, |
| { |
| "ordinal": 2147949819621101463, |
| "name": "HandleInResult", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 59, |
| "column": 5, |
| "length": 14 |
| }, |
| "has_request": true, |
| "maybe_request": [], |
| "maybe_request_type_shape_v1": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "maybe_request_type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "has_response": true, |
| "maybe_response": [ |
| { |
| "type": { |
| "kind": "identifier", |
| "identifier": "fidl.test.protocols/WithErrorSyntax_HandleInResult_Result", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 1, |
| "max_out_of_line": 8, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "result", |
| "location": { |
| "filename": "generated", |
| "line": 10, |
| "column": 1, |
| "length": 6 |
| }, |
| "field_shape_v1": { |
| "offset": 16, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 16, |
| "padding": 0 |
| } |
| } |
| ], |
| "maybe_response_payload": "fidl.test.protocols/WithErrorSyntaxHandleInResultTopResponse", |
| "maybe_response_type_shape_v1": { |
| "inline_size": 40, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 1, |
| "max_out_of_line": 8, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "maybe_response_type_shape_v2": { |
| "inline_size": 32, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "is_composed": false |
| } |
| ] |
| }, |
| { |
| "name": "fidl.test.protocols/ChannelProtocol", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 65, |
| "column": 10, |
| "length": 15 |
| }, |
| "maybe_attributes": [ |
| { |
| "name": "transport", |
| "arguments": [ |
| { |
| "name": "value", |
| "value": { |
| "kind": "literal", |
| "value": "Channel", |
| "expression": "\"Channel\"", |
| "literal": { |
| "kind": "string", |
| "value": "Channel", |
| "expression": "\"Channel\"" |
| } |
| }, |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 64, |
| "column": 12, |
| "length": 9 |
| } |
| } |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 64, |
| "column": 1, |
| "length": 21 |
| } |
| } |
| ], |
| "composed_protocols": [], |
| "methods": [ |
| { |
| "ordinal": 565531679656837166, |
| "name": "MethodA", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 66, |
| "column": 5, |
| "length": 7 |
| }, |
| "has_request": true, |
| "maybe_request": [ |
| { |
| "type": { |
| "kind": "primitive", |
| "subtype": "int64", |
| "type_shape_v1": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "a", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 67, |
| "column": 9, |
| "length": 1 |
| }, |
| "field_shape_v1": { |
| "offset": 16, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 16, |
| "padding": 0 |
| } |
| }, |
| { |
| "type": { |
| "kind": "primitive", |
| "subtype": "int64", |
| "type_shape_v1": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "b", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 68, |
| "column": 9, |
| "length": 1 |
| }, |
| "field_shape_v1": { |
| "offset": 24, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 24, |
| "padding": 0 |
| } |
| } |
| ], |
| "maybe_request_payload": "fidl.test.protocols/ChannelProtocolMethodARequest", |
| "maybe_request_type_shape_v1": { |
| "inline_size": 32, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "maybe_request_type_shape_v2": { |
| "inline_size": 32, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "has_response": false, |
| "is_composed": false |
| }, |
| { |
| "ordinal": 5963604044179602938, |
| "name": "EventA", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 70, |
| "column": 8, |
| "length": 6 |
| }, |
| "has_request": false, |
| "has_response": true, |
| "maybe_response": [ |
| { |
| "type": { |
| "kind": "primitive", |
| "subtype": "int64", |
| "type_shape_v1": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "a", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 71, |
| "column": 9, |
| "length": 1 |
| }, |
| "field_shape_v1": { |
| "offset": 16, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 16, |
| "padding": 0 |
| } |
| }, |
| { |
| "type": { |
| "kind": "primitive", |
| "subtype": "int64", |
| "type_shape_v1": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "b", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 72, |
| "column": 9, |
| "length": 1 |
| }, |
| "field_shape_v1": { |
| "offset": 24, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 24, |
| "padding": 0 |
| } |
| } |
| ], |
| "maybe_response_payload": "fidl.test.protocols/ChannelProtocolEventARequest", |
| "maybe_response_type_shape_v1": { |
| "inline_size": 32, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "maybe_response_type_shape_v2": { |
| "inline_size": 32, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "is_composed": false |
| }, |
| { |
| "ordinal": 6746905632127147242, |
| "name": "MethodB", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 74, |
| "column": 5, |
| "length": 7 |
| }, |
| "has_request": true, |
| "maybe_request": [ |
| { |
| "type": { |
| "kind": "primitive", |
| "subtype": "int64", |
| "type_shape_v1": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "a", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 75, |
| "column": 9, |
| "length": 1 |
| }, |
| "field_shape_v1": { |
| "offset": 16, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 16, |
| "padding": 0 |
| } |
| }, |
| { |
| "type": { |
| "kind": "primitive", |
| "subtype": "int64", |
| "type_shape_v1": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "b", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 76, |
| "column": 9, |
| "length": 1 |
| }, |
| "field_shape_v1": { |
| "offset": 24, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 24, |
| "padding": 0 |
| } |
| } |
| ], |
| "maybe_request_payload": "fidl.test.protocols/ChannelProtocolMethodBRequest", |
| "maybe_request_type_shape_v1": { |
| "inline_size": 32, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "maybe_request_type_shape_v2": { |
| "inline_size": 32, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "has_response": true, |
| "maybe_response": [ |
| { |
| "type": { |
| "kind": "primitive", |
| "subtype": "int64", |
| "type_shape_v1": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "result", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 78, |
| "column": 9, |
| "length": 6 |
| }, |
| "field_shape_v1": { |
| "offset": 16, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 16, |
| "padding": 0 |
| } |
| } |
| ], |
| "maybe_response_payload": "fidl.test.protocols/ChannelProtocolMethodBTopResponse", |
| "maybe_response_type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "maybe_response_type_shape_v2": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "is_composed": false |
| }, |
| { |
| "ordinal": 875219241480379432, |
| "name": "TakeHandle", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 80, |
| "column": 5, |
| "length": 10 |
| }, |
| "has_request": true, |
| "maybe_request": [ |
| { |
| "type": { |
| "kind": "handle", |
| "obj_type": 0, |
| "subtype": "handle", |
| "rights": 2147483648, |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "h", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 81, |
| "column": 9, |
| "length": 1 |
| }, |
| "field_shape_v1": { |
| "offset": 16, |
| "padding": 4 |
| }, |
| "field_shape_v2": { |
| "offset": 16, |
| "padding": 4 |
| } |
| } |
| ], |
| "maybe_request_payload": "fidl.test.protocols/ChannelProtocolTakeHandleRequest", |
| "maybe_request_type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "maybe_request_type_shape_v2": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "has_response": true, |
| "maybe_response": [], |
| "maybe_response_type_shape_v1": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "maybe_response_type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "is_composed": false |
| }, |
| { |
| "ordinal": 9065806117349865322, |
| "name": "MutateSocket", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 83, |
| "column": 5, |
| "length": 12 |
| }, |
| "has_request": true, |
| "maybe_request": [ |
| { |
| "type": { |
| "kind": "handle", |
| "obj_type": 14, |
| "subtype": "socket", |
| "rights": 2147483648, |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "a", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 84, |
| "column": 9, |
| "length": 1 |
| }, |
| "field_shape_v1": { |
| "offset": 16, |
| "padding": 4 |
| }, |
| "field_shape_v2": { |
| "offset": 16, |
| "padding": 4 |
| } |
| } |
| ], |
| "maybe_request_payload": "fidl.test.protocols/ChannelProtocolMutateSocketRequest", |
| "maybe_request_type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "maybe_request_type_shape_v2": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "has_response": true, |
| "maybe_response": [ |
| { |
| "type": { |
| "kind": "handle", |
| "obj_type": 14, |
| "subtype": "socket", |
| "rights": 2147483648, |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "b", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 86, |
| "column": 9, |
| "length": 1 |
| }, |
| "field_shape_v1": { |
| "offset": 16, |
| "padding": 4 |
| }, |
| "field_shape_v2": { |
| "offset": 16, |
| "padding": 4 |
| } |
| } |
| ], |
| "maybe_response_payload": "fidl.test.protocols/ChannelProtocolMutateSocketTopResponse", |
| "maybe_response_type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "maybe_response_type_shape_v2": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "is_composed": false |
| } |
| ] |
| }, |
| { |
| "name": "fidl.test.protocols/SyscallProtocol", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 91, |
| "column": 10, |
| "length": 15 |
| }, |
| "maybe_attributes": [ |
| { |
| "name": "transport", |
| "arguments": [ |
| { |
| "name": "value", |
| "value": { |
| "kind": "literal", |
| "value": "Syscall", |
| "expression": "\"Syscall\"", |
| "literal": { |
| "kind": "string", |
| "value": "Syscall", |
| "expression": "\"Syscall\"" |
| } |
| }, |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 90, |
| "column": 12, |
| "length": 9 |
| } |
| } |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 90, |
| "column": 1, |
| "length": 21 |
| } |
| } |
| ], |
| "composed_protocols": [], |
| "methods": [ |
| { |
| "ordinal": 1454353253880264687, |
| "name": "MethodC", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 92, |
| "column": 5, |
| "length": 7 |
| }, |
| "has_request": true, |
| "maybe_request": [ |
| { |
| "type": { |
| "kind": "primitive", |
| "subtype": "int64", |
| "type_shape_v1": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "a", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 93, |
| "column": 9, |
| "length": 1 |
| }, |
| "field_shape_v1": { |
| "offset": 16, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 16, |
| "padding": 0 |
| } |
| }, |
| { |
| "type": { |
| "kind": "primitive", |
| "subtype": "int64", |
| "type_shape_v1": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "b", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 94, |
| "column": 9, |
| "length": 1 |
| }, |
| "field_shape_v1": { |
| "offset": 24, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 24, |
| "padding": 0 |
| } |
| } |
| ], |
| "maybe_request_payload": "fidl.test.protocols/SyscallProtocolMethodCRequest", |
| "maybe_request_type_shape_v1": { |
| "inline_size": 32, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "maybe_request_type_shape_v2": { |
| "inline_size": 32, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "has_response": false, |
| "is_composed": false |
| } |
| ] |
| }, |
| { |
| "name": "fidl.test.protocols/Transitional", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 98, |
| "column": 10, |
| "length": 12 |
| }, |
| "composed_protocols": [], |
| "methods": [ |
| { |
| "ordinal": 7121112290509197032, |
| "name": "Request", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 100, |
| "column": 5, |
| "length": 7 |
| }, |
| "has_request": true, |
| "maybe_attributes": [ |
| { |
| "name": "transitional", |
| "arguments": [], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 99, |
| "column": 5, |
| "length": 13 |
| } |
| } |
| ], |
| "maybe_request": [ |
| { |
| "type": { |
| "kind": "primitive", |
| "subtype": "int64", |
| "type_shape_v1": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "x", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 101, |
| "column": 9, |
| "length": 1 |
| }, |
| "field_shape_v1": { |
| "offset": 16, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 16, |
| "padding": 0 |
| } |
| } |
| ], |
| "maybe_request_payload": "fidl.test.protocols/TransitionalRequestRequest", |
| "maybe_request_type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "maybe_request_type_shape_v2": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "has_response": true, |
| "maybe_response": [ |
| { |
| "type": { |
| "kind": "primitive", |
| "subtype": "int64", |
| "type_shape_v1": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "y", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 103, |
| "column": 9, |
| "length": 1 |
| }, |
| "field_shape_v1": { |
| "offset": 16, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 16, |
| "padding": 0 |
| } |
| } |
| ], |
| "maybe_response_payload": "fidl.test.protocols/TransitionalRequestTopResponse", |
| "maybe_response_type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "maybe_response_type_shape_v2": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "is_composed": false |
| }, |
| { |
| "ordinal": 1124136612964114085, |
| "name": "OneWay", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 107, |
| "column": 5, |
| "length": 6 |
| }, |
| "has_request": true, |
| "maybe_attributes": [ |
| { |
| "name": "transitional", |
| "arguments": [], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 106, |
| "column": 5, |
| "length": 13 |
| } |
| } |
| ], |
| "maybe_request": [ |
| { |
| "type": { |
| "kind": "primitive", |
| "subtype": "int64", |
| "type_shape_v1": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "x", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 108, |
| "column": 9, |
| "length": 1 |
| }, |
| "field_shape_v1": { |
| "offset": 16, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 16, |
| "padding": 0 |
| } |
| } |
| ], |
| "maybe_request_payload": "fidl.test.protocols/TransitionalOneWayRequest", |
| "maybe_request_type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "maybe_request_type_shape_v2": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "has_response": false, |
| "is_composed": false |
| }, |
| { |
| "ordinal": 6033576734966581606, |
| "name": "Event", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 112, |
| "column": 8, |
| "length": 5 |
| }, |
| "has_request": false, |
| "maybe_attributes": [ |
| { |
| "name": "transitional", |
| "arguments": [], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 111, |
| "column": 5, |
| "length": 13 |
| } |
| } |
| ], |
| "has_response": true, |
| "maybe_response": [ |
| { |
| "type": { |
| "kind": "primitive", |
| "subtype": "int64", |
| "type_shape_v1": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "x", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 113, |
| "column": 9, |
| "length": 1 |
| }, |
| "field_shape_v1": { |
| "offset": 16, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 16, |
| "padding": 0 |
| } |
| } |
| ], |
| "maybe_response_payload": "fidl.test.protocols/TransitionalEventRequest", |
| "maybe_response_type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "maybe_response_type_shape_v2": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "is_composed": false |
| } |
| ] |
| }, |
| { |
| "name": "fidl.test.protocols/DiscoverableProtocol", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 118, |
| "column": 10, |
| "length": 20 |
| }, |
| "maybe_attributes": [ |
| { |
| "name": "discoverable", |
| "arguments": [], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 117, |
| "column": 1, |
| "length": 13 |
| } |
| } |
| ], |
| "composed_protocols": [], |
| "methods": [ |
| { |
| "ordinal": 16177161678225767, |
| "name": "Method", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 119, |
| "column": 5, |
| "length": 6 |
| }, |
| "has_request": true, |
| "maybe_request": [], |
| "maybe_request_type_shape_v1": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "maybe_request_type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "has_response": false, |
| "is_composed": false |
| } |
| ] |
| }, |
| { |
| "name": "fidl.test.protocols/HandleRightsProtocol", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 122, |
| "column": 10, |
| "length": 20 |
| }, |
| "composed_protocols": [], |
| "methods": [ |
| { |
| "ordinal": 5073990954122988412, |
| "name": "NoResponseMethod", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 123, |
| "column": 5, |
| "length": 16 |
| }, |
| "has_request": true, |
| "maybe_request": [ |
| { |
| "type": { |
| "kind": "handle", |
| "obj_type": 14, |
| "subtype": "socket", |
| "rights": 3, |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "h", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 124, |
| "column": 9, |
| "length": 1 |
| }, |
| "field_shape_v1": { |
| "offset": 16, |
| "padding": 4 |
| }, |
| "field_shape_v2": { |
| "offset": 16, |
| "padding": 4 |
| } |
| } |
| ], |
| "maybe_request_payload": "fidl.test.protocols/HandleRightsProtocolNoResponseMethodRequest", |
| "maybe_request_type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "maybe_request_type_shape_v2": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "has_response": false, |
| "is_composed": false |
| }, |
| { |
| "ordinal": 6841738779450413052, |
| "name": "ResponseMethod", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 126, |
| "column": 5, |
| "length": 14 |
| }, |
| "has_request": true, |
| "maybe_request": [ |
| { |
| "type": { |
| "kind": "handle", |
| "obj_type": 14, |
| "subtype": "socket", |
| "rights": 3, |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "h", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 127, |
| "column": 9, |
| "length": 1 |
| }, |
| "field_shape_v1": { |
| "offset": 16, |
| "padding": 4 |
| }, |
| "field_shape_v2": { |
| "offset": 16, |
| "padding": 4 |
| } |
| } |
| ], |
| "maybe_request_payload": "fidl.test.protocols/HandleRightsProtocolResponseMethodRequest", |
| "maybe_request_type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "maybe_request_type_shape_v2": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "has_response": true, |
| "maybe_response": [ |
| { |
| "type": { |
| "kind": "handle", |
| "obj_type": 14, |
| "subtype": "socket", |
| "rights": 1, |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "h", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 129, |
| "column": 9, |
| "length": 1 |
| }, |
| "field_shape_v1": { |
| "offset": 16, |
| "padding": 4 |
| }, |
| "field_shape_v2": { |
| "offset": 16, |
| "padding": 4 |
| } |
| } |
| ], |
| "maybe_response_payload": "fidl.test.protocols/HandleRightsProtocolResponseMethodTopResponse", |
| "maybe_response_type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "maybe_response_type_shape_v2": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "is_composed": false |
| }, |
| { |
| "ordinal": 929632006073412977, |
| "name": "AnEvent", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 131, |
| "column": 8, |
| "length": 7 |
| }, |
| "has_request": false, |
| "has_response": true, |
| "maybe_response": [ |
| { |
| "type": { |
| "kind": "handle", |
| "obj_type": 14, |
| "subtype": "socket", |
| "rights": 3, |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "h", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 132, |
| "column": 9, |
| "length": 1 |
| }, |
| "field_shape_v1": { |
| "offset": 16, |
| "padding": 4 |
| }, |
| "field_shape_v2": { |
| "offset": 16, |
| "padding": 4 |
| } |
| } |
| ], |
| "maybe_response_payload": "fidl.test.protocols/HandleRightsProtocolAnEventRequest", |
| "maybe_response_type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "maybe_response_type_shape_v2": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "is_composed": false |
| } |
| ] |
| }, |
| { |
| "name": "fidl.test.protocols/WithProtocolEnds", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 143, |
| "column": 10, |
| "length": 16 |
| }, |
| "composed_protocols": [], |
| "methods": [ |
| { |
| "ordinal": 6967495859718087341, |
| "name": "ClientEnds", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 144, |
| "column": 5, |
| "length": 10 |
| }, |
| "has_request": true, |
| "maybe_request": [ |
| { |
| "type": { |
| "kind": "identifier", |
| "identifier": "fidl.test.protocols/DiscoverableProtocol", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "in", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 145, |
| "column": 9, |
| "length": 2 |
| }, |
| "field_shape_v1": { |
| "offset": 16, |
| "padding": 4 |
| }, |
| "field_shape_v2": { |
| "offset": 16, |
| "padding": 4 |
| } |
| } |
| ], |
| "maybe_request_payload": "fidl.test.protocols/WithProtocolEndsClientEndsRequest", |
| "maybe_request_type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "maybe_request_type_shape_v2": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "has_response": true, |
| "maybe_response": [ |
| { |
| "type": { |
| "kind": "identifier", |
| "identifier": "fidl.test.protocols/DiscoverableProtocol", |
| "nullable": true, |
| "type_shape_v1": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "out", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 147, |
| "column": 9, |
| "length": 3 |
| }, |
| "field_shape_v1": { |
| "offset": 16, |
| "padding": 4 |
| }, |
| "field_shape_v2": { |
| "offset": 16, |
| "padding": 4 |
| } |
| } |
| ], |
| "maybe_response_payload": "fidl.test.protocols/WithProtocolEndsClientEndsTopResponse", |
| "maybe_response_type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "maybe_response_type_shape_v2": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "is_composed": false |
| }, |
| { |
| "ordinal": 4493250268989071740, |
| "name": "ServerEnds", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 149, |
| "column": 5, |
| "length": 10 |
| }, |
| "has_request": true, |
| "maybe_request": [ |
| { |
| "type": { |
| "kind": "request", |
| "subtype": "fidl.test.protocols/DiscoverableProtocol", |
| "nullable": true, |
| "type_shape_v1": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "in", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 150, |
| "column": 9, |
| "length": 2 |
| }, |
| "field_shape_v1": { |
| "offset": 16, |
| "padding": 4 |
| }, |
| "field_shape_v2": { |
| "offset": 16, |
| "padding": 4 |
| } |
| } |
| ], |
| "maybe_request_payload": "fidl.test.protocols/WithProtocolEndsServerEndsRequest", |
| "maybe_request_type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "maybe_request_type_shape_v2": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "has_response": true, |
| "maybe_response": [ |
| { |
| "type": { |
| "kind": "request", |
| "subtype": "fidl.test.protocols/DiscoverableProtocol", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "out", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 152, |
| "column": 9, |
| "length": 3 |
| }, |
| "field_shape_v1": { |
| "offset": 16, |
| "padding": 4 |
| }, |
| "field_shape_v2": { |
| "offset": 16, |
| "padding": 4 |
| } |
| } |
| ], |
| "maybe_response_payload": "fidl.test.protocols/WithProtocolEndsServerEndsTopResponse", |
| "maybe_response_type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "maybe_response_type_shape_v2": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "is_composed": false |
| }, |
| { |
| "ordinal": 175407360796475740, |
| "name": "StructContainingEnds", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 154, |
| "column": 5, |
| "length": 20 |
| }, |
| "has_request": true, |
| "maybe_request": [ |
| { |
| "type": { |
| "kind": "identifier", |
| "identifier": "fidl.test.protocols/ProtocolEnds", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 16, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 4, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 4, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "in", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 155, |
| "column": 9, |
| "length": 2 |
| }, |
| "field_shape_v1": { |
| "offset": 16, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 16, |
| "padding": 0 |
| } |
| } |
| ], |
| "maybe_request_payload": "fidl.test.protocols/WithProtocolEndsStructContainingEndsRequest", |
| "maybe_request_type_shape_v1": { |
| "inline_size": 32, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 4, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "maybe_request_type_shape_v2": { |
| "inline_size": 32, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 4, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "has_response": true, |
| "maybe_response": [ |
| { |
| "type": { |
| "kind": "identifier", |
| "identifier": "fidl.test.protocols/ProtocolEnds", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 16, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 4, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 4, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "out", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 157, |
| "column": 9, |
| "length": 3 |
| }, |
| "field_shape_v1": { |
| "offset": 16, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 16, |
| "padding": 0 |
| } |
| } |
| ], |
| "maybe_response_payload": "fidl.test.protocols/WithProtocolEndsStructContainingEndsTopResponse", |
| "maybe_response_type_shape_v1": { |
| "inline_size": 32, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 4, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "maybe_response_type_shape_v2": { |
| "inline_size": 32, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 4, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "is_composed": false |
| } |
| ] |
| }, |
| { |
| "name": "fidl.test.protocols/ManyParameters", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 161, |
| "column": 10, |
| "length": 14 |
| }, |
| "composed_protocols": [], |
| "methods": [ |
| { |
| "ordinal": 2979943048488637411, |
| "name": "Fifteen", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 164, |
| "column": 5, |
| "length": 7 |
| }, |
| "has_request": true, |
| "maybe_attributes": [ |
| { |
| "name": "bindings_denylist", |
| "arguments": [ |
| { |
| "name": "value", |
| "value": { |
| "kind": "literal", |
| "value": "rust", |
| "expression": "\"rust\"", |
| "literal": { |
| "kind": "string", |
| "value": "rust", |
| "expression": "\"rust\"" |
| } |
| }, |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 163, |
| "column": 24, |
| "length": 6 |
| } |
| } |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 163, |
| "column": 5, |
| "length": 26 |
| } |
| } |
| ], |
| "maybe_request": [ |
| { |
| "type": { |
| "kind": "primitive", |
| "subtype": "bool", |
| "type_shape_v1": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "p1", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 165, |
| "column": 9, |
| "length": 2 |
| }, |
| "field_shape_v1": { |
| "offset": 16, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 16, |
| "padding": 0 |
| } |
| }, |
| { |
| "type": { |
| "kind": "primitive", |
| "subtype": "bool", |
| "type_shape_v1": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "p2", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 166, |
| "column": 9, |
| "length": 2 |
| }, |
| "field_shape_v1": { |
| "offset": 17, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 17, |
| "padding": 0 |
| } |
| }, |
| { |
| "type": { |
| "kind": "primitive", |
| "subtype": "bool", |
| "type_shape_v1": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "p3", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 167, |
| "column": 9, |
| "length": 2 |
| }, |
| "field_shape_v1": { |
| "offset": 18, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 18, |
| "padding": 0 |
| } |
| }, |
| { |
| "type": { |
| "kind": "primitive", |
| "subtype": "bool", |
| "type_shape_v1": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "p4", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 168, |
| "column": 9, |
| "length": 2 |
| }, |
| "field_shape_v1": { |
| "offset": 19, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 19, |
| "padding": 0 |
| } |
| }, |
| { |
| "type": { |
| "kind": "primitive", |
| "subtype": "bool", |
| "type_shape_v1": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "p5", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 169, |
| "column": 9, |
| "length": 2 |
| }, |
| "field_shape_v1": { |
| "offset": 20, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 20, |
| "padding": 0 |
| } |
| }, |
| { |
| "type": { |
| "kind": "primitive", |
| "subtype": "bool", |
| "type_shape_v1": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "p6", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 170, |
| "column": 9, |
| "length": 2 |
| }, |
| "field_shape_v1": { |
| "offset": 21, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 21, |
| "padding": 0 |
| } |
| }, |
| { |
| "type": { |
| "kind": "primitive", |
| "subtype": "bool", |
| "type_shape_v1": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "p7", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 171, |
| "column": 9, |
| "length": 2 |
| }, |
| "field_shape_v1": { |
| "offset": 22, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 22, |
| "padding": 0 |
| } |
| }, |
| { |
| "type": { |
| "kind": "primitive", |
| "subtype": "bool", |
| "type_shape_v1": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "p8", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 172, |
| "column": 9, |
| "length": 2 |
| }, |
| "field_shape_v1": { |
| "offset": 23, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 23, |
| "padding": 0 |
| } |
| }, |
| { |
| "type": { |
| "kind": "primitive", |
| "subtype": "bool", |
| "type_shape_v1": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "p9", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 173, |
| "column": 9, |
| "length": 2 |
| }, |
| "field_shape_v1": { |
| "offset": 24, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 24, |
| "padding": 0 |
| } |
| }, |
| { |
| "type": { |
| "kind": "primitive", |
| "subtype": "bool", |
| "type_shape_v1": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "p10", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 174, |
| "column": 9, |
| "length": 3 |
| }, |
| "field_shape_v1": { |
| "offset": 25, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 25, |
| "padding": 0 |
| } |
| }, |
| { |
| "type": { |
| "kind": "primitive", |
| "subtype": "bool", |
| "type_shape_v1": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "p11", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 175, |
| "column": 9, |
| "length": 3 |
| }, |
| "field_shape_v1": { |
| "offset": 26, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 26, |
| "padding": 0 |
| } |
| }, |
| { |
| "type": { |
| "kind": "primitive", |
| "subtype": "bool", |
| "type_shape_v1": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "p12", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 176, |
| "column": 9, |
| "length": 3 |
| }, |
| "field_shape_v1": { |
| "offset": 27, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 27, |
| "padding": 0 |
| } |
| }, |
| { |
| "type": { |
| "kind": "primitive", |
| "subtype": "bool", |
| "type_shape_v1": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "p13", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 177, |
| "column": 9, |
| "length": 3 |
| }, |
| "field_shape_v1": { |
| "offset": 28, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 28, |
| "padding": 0 |
| } |
| }, |
| { |
| "type": { |
| "kind": "primitive", |
| "subtype": "bool", |
| "type_shape_v1": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "p14", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 178, |
| "column": 9, |
| "length": 3 |
| }, |
| "field_shape_v1": { |
| "offset": 29, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 29, |
| "padding": 0 |
| } |
| }, |
| { |
| "type": { |
| "kind": "primitive", |
| "subtype": "bool", |
| "type_shape_v1": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "p15", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 179, |
| "column": 9, |
| "length": 3 |
| }, |
| "field_shape_v1": { |
| "offset": 30, |
| "padding": 1 |
| }, |
| "field_shape_v2": { |
| "offset": 30, |
| "padding": 1 |
| } |
| } |
| ], |
| "maybe_request_payload": "fidl.test.protocols/ManyParametersFifteenRequest", |
| "maybe_request_type_shape_v1": { |
| "inline_size": 32, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "maybe_request_type_shape_v2": { |
| "inline_size": 32, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "has_response": false, |
| "is_composed": false |
| } |
| ] |
| }, |
| { |
| "name": "fidl.test.protocols/MethodWithUnion", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 187, |
| "column": 10, |
| "length": 15 |
| }, |
| "composed_protocols": [], |
| "methods": [ |
| { |
| "ordinal": 6602599911470270762, |
| "name": "UnionMethod", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 188, |
| "column": 5, |
| "length": 11 |
| }, |
| "has_request": true, |
| "maybe_request": [ |
| { |
| "type": { |
| "kind": "identifier", |
| "identifier": "fidl.test.protocols/TheUnion", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 8, |
| "has_padding": true, |
| "has_flexible_envelope": true |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_flexible_envelope": true |
| } |
| }, |
| "name": "u", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 189, |
| "column": 9, |
| "length": 1 |
| }, |
| "field_shape_v1": { |
| "offset": 16, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 16, |
| "padding": 0 |
| } |
| } |
| ], |
| "maybe_request_payload": "fidl.test.protocols/MethodWithUnionUnionMethodRequest", |
| "maybe_request_type_shape_v1": { |
| "inline_size": 40, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 8, |
| "has_padding": true, |
| "has_flexible_envelope": true |
| }, |
| "maybe_request_type_shape_v2": { |
| "inline_size": 32, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_flexible_envelope": true |
| }, |
| "has_response": false, |
| "is_composed": false |
| } |
| ] |
| } |
| ], |
| "service_declarations": [], |
| "struct_declarations": [ |
| { |
| "name": "fidl.test.protocols/WithAndWithoutRequestResponseNoRequestWithResponseTopResponse", |
| "naming_context": [ |
| "WithAndWithoutRequestResponse", |
| "NoRequestWithResponse", |
| "Response" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 26, |
| "column": 33, |
| "length": 34 |
| }, |
| "is_request_or_response": true, |
| "members": [ |
| { |
| "type": { |
| "kind": "string", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 4294967295, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 4294967295, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "ret", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 27, |
| "column": 9, |
| "length": 3 |
| }, |
| "field_shape_v1": { |
| "offset": 0, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 0, |
| "padding": 0 |
| } |
| } |
| ], |
| "resource": false, |
| "type_shape_v1": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 4294967295, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 4294967295, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| } |
| }, |
| { |
| "name": "fidl.test.protocols/WithAndWithoutRequestResponseWithRequestNoResponseRequest", |
| "naming_context": [ |
| "WithAndWithoutRequestResponse", |
| "WithRequestNoResponse", |
| "Request" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 29, |
| "column": 27, |
| "length": 34 |
| }, |
| "is_request_or_response": true, |
| "members": [ |
| { |
| "type": { |
| "kind": "string", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 4294967295, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 4294967295, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "arg", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 30, |
| "column": 9, |
| "length": 3 |
| }, |
| "field_shape_v1": { |
| "offset": 0, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 0, |
| "padding": 0 |
| } |
| } |
| ], |
| "resource": false, |
| "type_shape_v1": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 4294967295, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 4294967295, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| } |
| }, |
| { |
| "name": "fidl.test.protocols/WithAndWithoutRequestResponseWithRequestEmptyResponseRequest", |
| "naming_context": [ |
| "WithAndWithoutRequestResponse", |
| "WithRequestEmptyResponse", |
| "Request" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 32, |
| "column": 30, |
| "length": 34 |
| }, |
| "is_request_or_response": true, |
| "members": [ |
| { |
| "type": { |
| "kind": "string", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 4294967295, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 4294967295, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "arg", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 33, |
| "column": 9, |
| "length": 3 |
| }, |
| "field_shape_v1": { |
| "offset": 0, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 0, |
| "padding": 0 |
| } |
| } |
| ], |
| "resource": false, |
| "type_shape_v1": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 4294967295, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 4294967295, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| } |
| }, |
| { |
| "name": "fidl.test.protocols/WithAndWithoutRequestResponseWithRequestWithResponseRequest", |
| "naming_context": [ |
| "WithAndWithoutRequestResponse", |
| "WithRequestWithResponse", |
| "Request" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 35, |
| "column": 29, |
| "length": 34 |
| }, |
| "is_request_or_response": true, |
| "members": [ |
| { |
| "type": { |
| "kind": "string", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 4294967295, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 4294967295, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "arg", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 36, |
| "column": 9, |
| "length": 3 |
| }, |
| "field_shape_v1": { |
| "offset": 0, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 0, |
| "padding": 0 |
| } |
| } |
| ], |
| "resource": false, |
| "type_shape_v1": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 4294967295, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 4294967295, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| } |
| }, |
| { |
| "name": "fidl.test.protocols/WithAndWithoutRequestResponseWithRequestWithResponseTopResponse", |
| "naming_context": [ |
| "WithAndWithoutRequestResponse", |
| "WithRequestWithResponse", |
| "Response" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 37, |
| "column": 12, |
| "length": 34 |
| }, |
| "is_request_or_response": true, |
| "members": [ |
| { |
| "type": { |
| "kind": "string", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 4294967295, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 4294967295, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "ret", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 38, |
| "column": 9, |
| "length": 3 |
| }, |
| "field_shape_v1": { |
| "offset": 0, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 0, |
| "padding": 0 |
| } |
| } |
| ], |
| "resource": false, |
| "type_shape_v1": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 4294967295, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 4294967295, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| } |
| }, |
| { |
| "name": "fidl.test.protocols/WithAndWithoutRequestResponseOnWithResponseRequest", |
| "naming_context": [ |
| "WithAndWithoutRequestResponse", |
| "OnWithResponse", |
| "Request" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 41, |
| "column": 23, |
| "length": 34 |
| }, |
| "is_request_or_response": true, |
| "members": [ |
| { |
| "type": { |
| "kind": "string", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 4294967295, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 4294967295, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "ret", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 42, |
| "column": 9, |
| "length": 3 |
| }, |
| "field_shape_v1": { |
| "offset": 0, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 0, |
| "padding": 0 |
| } |
| } |
| ], |
| "resource": false, |
| "type_shape_v1": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 4294967295, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 4294967295, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| } |
| }, |
| { |
| "name": "fidl.test.protocols/WithErrorSyntax_ResponseAsStruct_Response", |
| "naming_context": [ |
| "WithErrorSyntax", |
| "ResponseAsStruct", |
| "Response", |
| "result", |
| "response" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 52, |
| "column": 28, |
| "length": 65 |
| }, |
| "is_request_or_response": false, |
| "members": [ |
| { |
| "type": { |
| "kind": "primitive", |
| "subtype": "int64", |
| "type_shape_v1": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "a", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 53, |
| "column": 9, |
| "length": 1 |
| }, |
| "field_shape_v1": { |
| "offset": 0, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 0, |
| "padding": 0 |
| } |
| }, |
| { |
| "type": { |
| "kind": "primitive", |
| "subtype": "int64", |
| "type_shape_v1": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "b", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 54, |
| "column": 9, |
| "length": 1 |
| }, |
| "field_shape_v1": { |
| "offset": 8, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 8, |
| "padding": 0 |
| } |
| }, |
| { |
| "type": { |
| "kind": "primitive", |
| "subtype": "int64", |
| "type_shape_v1": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "c", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 55, |
| "column": 9, |
| "length": 1 |
| }, |
| "field_shape_v1": { |
| "offset": 16, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 16, |
| "padding": 0 |
| } |
| } |
| ], |
| "resource": false, |
| "type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| { |
| "name": "fidl.test.protocols/WithErrorSyntaxResponseAsStructTopResponse", |
| "naming_context": [ |
| "WithErrorSyntax", |
| "ResponseAsStruct", |
| "Response" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 52, |
| "column": 27, |
| "length": 67 |
| }, |
| "is_request_or_response": true, |
| "members": [ |
| { |
| "type": { |
| "kind": "identifier", |
| "identifier": "fidl.test.protocols/WithErrorSyntax_ResponseAsStruct_Result", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 24, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 24, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "result", |
| "location": { |
| "filename": "generated", |
| "line": 1, |
| "column": 1, |
| "length": 6 |
| }, |
| "field_shape_v1": { |
| "offset": 0, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 0, |
| "padding": 0 |
| } |
| } |
| ], |
| "resource": false, |
| "type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 24, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 24, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| } |
| }, |
| { |
| "name": "fidl.test.protocols/WithErrorSyntax_ErrorAsPrimitive_Response", |
| "naming_context": [ |
| "WithErrorSyntax", |
| "ErrorAsPrimitive", |
| "Response", |
| "result", |
| "response" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 57, |
| "column": 28, |
| "length": 9 |
| }, |
| "is_request_or_response": false, |
| "members": [], |
| "resource": false, |
| "type_shape_v1": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| { |
| "name": "fidl.test.protocols/WithErrorSyntaxErrorAsPrimitiveTopResponse", |
| "naming_context": [ |
| "WithErrorSyntax", |
| "ErrorAsPrimitive", |
| "Response" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 57, |
| "column": 27, |
| "length": 11 |
| }, |
| "is_request_or_response": true, |
| "members": [ |
| { |
| "type": { |
| "kind": "identifier", |
| "identifier": "fidl.test.protocols/WithErrorSyntax_ErrorAsPrimitive_Result", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 8, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "result", |
| "location": { |
| "filename": "generated", |
| "line": 4, |
| "column": 1, |
| "length": 6 |
| }, |
| "field_shape_v1": { |
| "offset": 0, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 0, |
| "padding": 0 |
| } |
| } |
| ], |
| "resource": false, |
| "type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 8, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| } |
| }, |
| { |
| "name": "fidl.test.protocols/WithErrorSyntax_ErrorAsEnum_Response", |
| "naming_context": [ |
| "WithErrorSyntax", |
| "ErrorAsEnum", |
| "Response", |
| "result", |
| "response" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 58, |
| "column": 23, |
| "length": 9 |
| }, |
| "is_request_or_response": false, |
| "members": [], |
| "resource": false, |
| "type_shape_v1": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| { |
| "name": "fidl.test.protocols/WithErrorSyntaxErrorAsEnumTopResponse", |
| "naming_context": [ |
| "WithErrorSyntax", |
| "ErrorAsEnum", |
| "Response" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 58, |
| "column": 22, |
| "length": 11 |
| }, |
| "is_request_or_response": true, |
| "members": [ |
| { |
| "type": { |
| "kind": "identifier", |
| "identifier": "fidl.test.protocols/WithErrorSyntax_ErrorAsEnum_Result", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 8, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "result", |
| "location": { |
| "filename": "generated", |
| "line": 7, |
| "column": 1, |
| "length": 6 |
| }, |
| "field_shape_v1": { |
| "offset": 0, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 0, |
| "padding": 0 |
| } |
| } |
| ], |
| "resource": false, |
| "type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 8, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| } |
| }, |
| { |
| "name": "fidl.test.protocols/WithErrorSyntax_HandleInResult_Response", |
| "naming_context": [ |
| "WithErrorSyntax", |
| "HandleInResult", |
| "Response", |
| "result", |
| "response" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 59, |
| "column": 26, |
| "length": 41 |
| }, |
| "is_request_or_response": false, |
| "members": [ |
| { |
| "type": { |
| "kind": "handle", |
| "obj_type": 0, |
| "subtype": "handle", |
| "rights": 2147483648, |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "h", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 60, |
| "column": 9, |
| "length": 1 |
| }, |
| "field_shape_v1": { |
| "offset": 0, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 0, |
| "padding": 0 |
| } |
| } |
| ], |
| "resource": true, |
| "type_shape_v1": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| { |
| "name": "fidl.test.protocols/WithErrorSyntaxHandleInResultTopResponse", |
| "naming_context": [ |
| "WithErrorSyntax", |
| "HandleInResult", |
| "Response" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 59, |
| "column": 25, |
| "length": 43 |
| }, |
| "is_request_or_response": true, |
| "members": [ |
| { |
| "type": { |
| "kind": "identifier", |
| "identifier": "fidl.test.protocols/WithErrorSyntax_HandleInResult_Result", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 1, |
| "max_out_of_line": 8, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "result", |
| "location": { |
| "filename": "generated", |
| "line": 10, |
| "column": 1, |
| "length": 6 |
| }, |
| "field_shape_v1": { |
| "offset": 0, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 0, |
| "padding": 0 |
| } |
| } |
| ], |
| "resource": true, |
| "type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 1, |
| "max_out_of_line": 8, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| } |
| }, |
| { |
| "name": "fidl.test.protocols/ChannelProtocolMethodARequest", |
| "naming_context": [ |
| "ChannelProtocol", |
| "MethodA", |
| "Request" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 66, |
| "column": 13, |
| "length": 48 |
| }, |
| "is_request_or_response": true, |
| "members": [ |
| { |
| "type": { |
| "kind": "primitive", |
| "subtype": "int64", |
| "type_shape_v1": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "a", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 67, |
| "column": 9, |
| "length": 1 |
| }, |
| "field_shape_v1": { |
| "offset": 0, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 0, |
| "padding": 0 |
| } |
| }, |
| { |
| "type": { |
| "kind": "primitive", |
| "subtype": "int64", |
| "type_shape_v1": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "b", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 68, |
| "column": 9, |
| "length": 1 |
| }, |
| "field_shape_v1": { |
| "offset": 8, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 8, |
| "padding": 0 |
| } |
| } |
| ], |
| "resource": false, |
| "type_shape_v1": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| { |
| "name": "fidl.test.protocols/ChannelProtocolEventARequest", |
| "naming_context": [ |
| "ChannelProtocol", |
| "EventA", |
| "Request" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 70, |
| "column": 15, |
| "length": 48 |
| }, |
| "is_request_or_response": true, |
| "members": [ |
| { |
| "type": { |
| "kind": "primitive", |
| "subtype": "int64", |
| "type_shape_v1": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "a", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 71, |
| "column": 9, |
| "length": 1 |
| }, |
| "field_shape_v1": { |
| "offset": 0, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 0, |
| "padding": 0 |
| } |
| }, |
| { |
| "type": { |
| "kind": "primitive", |
| "subtype": "int64", |
| "type_shape_v1": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "b", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 72, |
| "column": 9, |
| "length": 1 |
| }, |
| "field_shape_v1": { |
| "offset": 8, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 8, |
| "padding": 0 |
| } |
| } |
| ], |
| "resource": false, |
| "type_shape_v1": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| { |
| "name": "fidl.test.protocols/ChannelProtocolMethodBRequest", |
| "naming_context": [ |
| "ChannelProtocol", |
| "MethodB", |
| "Request" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 74, |
| "column": 13, |
| "length": 48 |
| }, |
| "is_request_or_response": true, |
| "members": [ |
| { |
| "type": { |
| "kind": "primitive", |
| "subtype": "int64", |
| "type_shape_v1": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "a", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 75, |
| "column": 9, |
| "length": 1 |
| }, |
| "field_shape_v1": { |
| "offset": 0, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 0, |
| "padding": 0 |
| } |
| }, |
| { |
| "type": { |
| "kind": "primitive", |
| "subtype": "int64", |
| "type_shape_v1": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "b", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 76, |
| "column": 9, |
| "length": 1 |
| }, |
| "field_shape_v1": { |
| "offset": 8, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 8, |
| "padding": 0 |
| } |
| } |
| ], |
| "resource": false, |
| "type_shape_v1": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| { |
| "name": "fidl.test.protocols/ChannelProtocolMethodBTopResponse", |
| "naming_context": [ |
| "ChannelProtocol", |
| "MethodB", |
| "Response" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 77, |
| "column": 12, |
| "length": 36 |
| }, |
| "is_request_or_response": true, |
| "members": [ |
| { |
| "type": { |
| "kind": "primitive", |
| "subtype": "int64", |
| "type_shape_v1": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "result", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 78, |
| "column": 9, |
| "length": 6 |
| }, |
| "field_shape_v1": { |
| "offset": 0, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 0, |
| "padding": 0 |
| } |
| } |
| ], |
| "resource": false, |
| "type_shape_v1": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| { |
| "name": "fidl.test.protocols/ChannelProtocolTakeHandleRequest", |
| "naming_context": [ |
| "ChannelProtocol", |
| "TakeHandle", |
| "Request" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 80, |
| "column": 16, |
| "length": 41 |
| }, |
| "is_request_or_response": true, |
| "members": [ |
| { |
| "type": { |
| "kind": "handle", |
| "obj_type": 0, |
| "subtype": "handle", |
| "rights": 2147483648, |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "h", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 81, |
| "column": 9, |
| "length": 1 |
| }, |
| "field_shape_v1": { |
| "offset": 0, |
| "padding": 4 |
| }, |
| "field_shape_v2": { |
| "offset": 0, |
| "padding": 4 |
| } |
| } |
| ], |
| "resource": true, |
| "type_shape_v1": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| } |
| }, |
| { |
| "name": "fidl.test.protocols/ChannelProtocolMutateSocketRequest", |
| "naming_context": [ |
| "ChannelProtocol", |
| "MutateSocket", |
| "Request" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 83, |
| "column": 18, |
| "length": 48 |
| }, |
| "is_request_or_response": true, |
| "members": [ |
| { |
| "type": { |
| "kind": "handle", |
| "obj_type": 14, |
| "subtype": "socket", |
| "rights": 2147483648, |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "a", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 84, |
| "column": 9, |
| "length": 1 |
| }, |
| "field_shape_v1": { |
| "offset": 0, |
| "padding": 4 |
| }, |
| "field_shape_v2": { |
| "offset": 0, |
| "padding": 4 |
| } |
| } |
| ], |
| "resource": true, |
| "type_shape_v1": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| } |
| }, |
| { |
| "name": "fidl.test.protocols/ChannelProtocolMutateSocketTopResponse", |
| "naming_context": [ |
| "ChannelProtocol", |
| "MutateSocket", |
| "Response" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 85, |
| "column": 12, |
| "length": 48 |
| }, |
| "is_request_or_response": true, |
| "members": [ |
| { |
| "type": { |
| "kind": "handle", |
| "obj_type": 14, |
| "subtype": "socket", |
| "rights": 2147483648, |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "b", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 86, |
| "column": 9, |
| "length": 1 |
| }, |
| "field_shape_v1": { |
| "offset": 0, |
| "padding": 4 |
| }, |
| "field_shape_v2": { |
| "offset": 0, |
| "padding": 4 |
| } |
| } |
| ], |
| "resource": true, |
| "type_shape_v1": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| } |
| }, |
| { |
| "name": "fidl.test.protocols/SyscallProtocolMethodCRequest", |
| "naming_context": [ |
| "SyscallProtocol", |
| "MethodC", |
| "Request" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 92, |
| "column": 13, |
| "length": 48 |
| }, |
| "is_request_or_response": true, |
| "members": [ |
| { |
| "type": { |
| "kind": "primitive", |
| "subtype": "int64", |
| "type_shape_v1": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "a", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 93, |
| "column": 9, |
| "length": 1 |
| }, |
| "field_shape_v1": { |
| "offset": 0, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 0, |
| "padding": 0 |
| } |
| }, |
| { |
| "type": { |
| "kind": "primitive", |
| "subtype": "int64", |
| "type_shape_v1": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "b", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 94, |
| "column": 9, |
| "length": 1 |
| }, |
| "field_shape_v1": { |
| "offset": 8, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 8, |
| "padding": 0 |
| } |
| } |
| ], |
| "resource": false, |
| "type_shape_v1": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| { |
| "name": "fidl.test.protocols/TransitionalRequestRequest", |
| "naming_context": [ |
| "Transitional", |
| "Request", |
| "Request" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 100, |
| "column": 13, |
| "length": 31 |
| }, |
| "is_request_or_response": true, |
| "members": [ |
| { |
| "type": { |
| "kind": "primitive", |
| "subtype": "int64", |
| "type_shape_v1": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "x", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 101, |
| "column": 9, |
| "length": 1 |
| }, |
| "field_shape_v1": { |
| "offset": 0, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 0, |
| "padding": 0 |
| } |
| } |
| ], |
| "resource": false, |
| "type_shape_v1": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| { |
| "name": "fidl.test.protocols/TransitionalRequestTopResponse", |
| "naming_context": [ |
| "Transitional", |
| "Request", |
| "Response" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 102, |
| "column": 12, |
| "length": 31 |
| }, |
| "is_request_or_response": true, |
| "members": [ |
| { |
| "type": { |
| "kind": "primitive", |
| "subtype": "int64", |
| "type_shape_v1": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "y", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 103, |
| "column": 9, |
| "length": 1 |
| }, |
| "field_shape_v1": { |
| "offset": 0, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 0, |
| "padding": 0 |
| } |
| } |
| ], |
| "resource": false, |
| "type_shape_v1": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| { |
| "name": "fidl.test.protocols/TransitionalOneWayRequest", |
| "naming_context": [ |
| "Transitional", |
| "OneWay", |
| "Request" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 107, |
| "column": 12, |
| "length": 31 |
| }, |
| "is_request_or_response": true, |
| "members": [ |
| { |
| "type": { |
| "kind": "primitive", |
| "subtype": "int64", |
| "type_shape_v1": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "x", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 108, |
| "column": 9, |
| "length": 1 |
| }, |
| "field_shape_v1": { |
| "offset": 0, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 0, |
| "padding": 0 |
| } |
| } |
| ], |
| "resource": false, |
| "type_shape_v1": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| { |
| "name": "fidl.test.protocols/TransitionalEventRequest", |
| "naming_context": [ |
| "Transitional", |
| "Event", |
| "Request" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 112, |
| "column": 14, |
| "length": 31 |
| }, |
| "is_request_or_response": true, |
| "members": [ |
| { |
| "type": { |
| "kind": "primitive", |
| "subtype": "int64", |
| "type_shape_v1": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "x", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 113, |
| "column": 9, |
| "length": 1 |
| }, |
| "field_shape_v1": { |
| "offset": 0, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 0, |
| "padding": 0 |
| } |
| } |
| ], |
| "resource": false, |
| "type_shape_v1": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| { |
| "name": "fidl.test.protocols/HandleRightsProtocolNoResponseMethodRequest", |
| "naming_context": [ |
| "HandleRightsProtocol", |
| "NoResponseMethod", |
| "Request" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 123, |
| "column": 22, |
| "length": 86 |
| }, |
| "is_request_or_response": true, |
| "members": [ |
| { |
| "type": { |
| "kind": "handle", |
| "obj_type": 14, |
| "subtype": "socket", |
| "rights": 3, |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "h", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 124, |
| "column": 9, |
| "length": 1 |
| }, |
| "field_shape_v1": { |
| "offset": 0, |
| "padding": 4 |
| }, |
| "field_shape_v2": { |
| "offset": 0, |
| "padding": 4 |
| } |
| } |
| ], |
| "resource": true, |
| "type_shape_v1": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| } |
| }, |
| { |
| "name": "fidl.test.protocols/HandleRightsProtocolResponseMethodRequest", |
| "naming_context": [ |
| "HandleRightsProtocol", |
| "ResponseMethod", |
| "Request" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 126, |
| "column": 20, |
| "length": 86 |
| }, |
| "is_request_or_response": true, |
| "members": [ |
| { |
| "type": { |
| "kind": "handle", |
| "obj_type": 14, |
| "subtype": "socket", |
| "rights": 3, |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "h", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 127, |
| "column": 9, |
| "length": 1 |
| }, |
| "field_shape_v1": { |
| "offset": 0, |
| "padding": 4 |
| }, |
| "field_shape_v2": { |
| "offset": 0, |
| "padding": 4 |
| } |
| } |
| ], |
| "resource": true, |
| "type_shape_v1": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| } |
| }, |
| { |
| "name": "fidl.test.protocols/HandleRightsProtocolResponseMethodTopResponse", |
| "naming_context": [ |
| "HandleRightsProtocol", |
| "ResponseMethod", |
| "Response" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 128, |
| "column": 12, |
| "length": 67 |
| }, |
| "is_request_or_response": true, |
| "members": [ |
| { |
| "type": { |
| "kind": "handle", |
| "obj_type": 14, |
| "subtype": "socket", |
| "rights": 1, |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "h", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 129, |
| "column": 9, |
| "length": 1 |
| }, |
| "field_shape_v1": { |
| "offset": 0, |
| "padding": 4 |
| }, |
| "field_shape_v2": { |
| "offset": 0, |
| "padding": 4 |
| } |
| } |
| ], |
| "resource": true, |
| "type_shape_v1": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| } |
| }, |
| { |
| "name": "fidl.test.protocols/HandleRightsProtocolAnEventRequest", |
| "naming_context": [ |
| "HandleRightsProtocol", |
| "AnEvent", |
| "Request" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 131, |
| "column": 16, |
| "length": 86 |
| }, |
| "is_request_or_response": true, |
| "members": [ |
| { |
| "type": { |
| "kind": "handle", |
| "obj_type": 14, |
| "subtype": "socket", |
| "rights": 3, |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "h", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 132, |
| "column": 9, |
| "length": 1 |
| }, |
| "field_shape_v1": { |
| "offset": 0, |
| "padding": 4 |
| }, |
| "field_shape_v2": { |
| "offset": 0, |
| "padding": 4 |
| } |
| } |
| ], |
| "resource": true, |
| "type_shape_v1": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| } |
| }, |
| { |
| "name": "fidl.test.protocols/WithProtocolEndsClientEndsRequest", |
| "naming_context": [ |
| "WithProtocolEnds", |
| "ClientEnds", |
| "Request" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 144, |
| "column": 16, |
| "length": 67 |
| }, |
| "is_request_or_response": true, |
| "members": [ |
| { |
| "type": { |
| "kind": "identifier", |
| "identifier": "fidl.test.protocols/DiscoverableProtocol", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "in", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 145, |
| "column": 9, |
| "length": 2 |
| }, |
| "field_shape_v1": { |
| "offset": 0, |
| "padding": 4 |
| }, |
| "field_shape_v2": { |
| "offset": 0, |
| "padding": 4 |
| } |
| } |
| ], |
| "resource": true, |
| "type_shape_v1": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| } |
| }, |
| { |
| "name": "fidl.test.protocols/WithProtocolEndsClientEndsTopResponse", |
| "naming_context": [ |
| "WithProtocolEnds", |
| "ClientEnds", |
| "Response" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 146, |
| "column": 12, |
| "length": 80 |
| }, |
| "is_request_or_response": true, |
| "members": [ |
| { |
| "type": { |
| "kind": "identifier", |
| "identifier": "fidl.test.protocols/DiscoverableProtocol", |
| "nullable": true, |
| "type_shape_v1": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "out", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 147, |
| "column": 9, |
| "length": 3 |
| }, |
| "field_shape_v1": { |
| "offset": 0, |
| "padding": 4 |
| }, |
| "field_shape_v2": { |
| "offset": 0, |
| "padding": 4 |
| } |
| } |
| ], |
| "resource": true, |
| "type_shape_v1": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| } |
| }, |
| { |
| "name": "fidl.test.protocols/WithProtocolEndsServerEndsRequest", |
| "naming_context": [ |
| "WithProtocolEnds", |
| "ServerEnds", |
| "Request" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 149, |
| "column": 16, |
| "length": 79 |
| }, |
| "is_request_or_response": true, |
| "members": [ |
| { |
| "type": { |
| "kind": "request", |
| "subtype": "fidl.test.protocols/DiscoverableProtocol", |
| "nullable": true, |
| "type_shape_v1": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "in", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 150, |
| "column": 9, |
| "length": 2 |
| }, |
| "field_shape_v1": { |
| "offset": 0, |
| "padding": 4 |
| }, |
| "field_shape_v2": { |
| "offset": 0, |
| "padding": 4 |
| } |
| } |
| ], |
| "resource": true, |
| "type_shape_v1": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| } |
| }, |
| { |
| "name": "fidl.test.protocols/WithProtocolEndsServerEndsTopResponse", |
| "naming_context": [ |
| "WithProtocolEnds", |
| "ServerEnds", |
| "Response" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 151, |
| "column": 12, |
| "length": 68 |
| }, |
| "is_request_or_response": true, |
| "members": [ |
| { |
| "type": { |
| "kind": "request", |
| "subtype": "fidl.test.protocols/DiscoverableProtocol", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "out", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 152, |
| "column": 9, |
| "length": 3 |
| }, |
| "field_shape_v1": { |
| "offset": 0, |
| "padding": 4 |
| }, |
| "field_shape_v2": { |
| "offset": 0, |
| "padding": 4 |
| } |
| } |
| ], |
| "resource": true, |
| "type_shape_v1": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| } |
| }, |
| { |
| "name": "fidl.test.protocols/WithProtocolEndsStructContainingEndsRequest", |
| "naming_context": [ |
| "WithProtocolEnds", |
| "StructContainingEnds", |
| "Request" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 154, |
| "column": 26, |
| "length": 48 |
| }, |
| "is_request_or_response": true, |
| "members": [ |
| { |
| "type": { |
| "kind": "identifier", |
| "identifier": "fidl.test.protocols/ProtocolEnds", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 16, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 4, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 4, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "in", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 155, |
| "column": 9, |
| "length": 2 |
| }, |
| "field_shape_v1": { |
| "offset": 0, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 0, |
| "padding": 0 |
| } |
| } |
| ], |
| "resource": true, |
| "type_shape_v1": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 4, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 4, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| { |
| "name": "fidl.test.protocols/WithProtocolEndsStructContainingEndsTopResponse", |
| "naming_context": [ |
| "WithProtocolEnds", |
| "StructContainingEnds", |
| "Response" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 156, |
| "column": 12, |
| "length": 49 |
| }, |
| "is_request_or_response": true, |
| "members": [ |
| { |
| "type": { |
| "kind": "identifier", |
| "identifier": "fidl.test.protocols/ProtocolEnds", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 16, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 4, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 4, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "out", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 157, |
| "column": 9, |
| "length": 3 |
| }, |
| "field_shape_v1": { |
| "offset": 0, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 0, |
| "padding": 0 |
| } |
| } |
| ], |
| "resource": true, |
| "type_shape_v1": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 4, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 4, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| { |
| "name": "fidl.test.protocols/ManyParametersFifteenRequest", |
| "naming_context": [ |
| "ManyParameters", |
| "Fifteen", |
| "Request" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 164, |
| "column": 13, |
| "length": 275 |
| }, |
| "is_request_or_response": true, |
| "members": [ |
| { |
| "type": { |
| "kind": "primitive", |
| "subtype": "bool", |
| "type_shape_v1": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "p1", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 165, |
| "column": 9, |
| "length": 2 |
| }, |
| "field_shape_v1": { |
| "offset": 0, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 0, |
| "padding": 0 |
| } |
| }, |
| { |
| "type": { |
| "kind": "primitive", |
| "subtype": "bool", |
| "type_shape_v1": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "p2", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 166, |
| "column": 9, |
| "length": 2 |
| }, |
| "field_shape_v1": { |
| "offset": 1, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 1, |
| "padding": 0 |
| } |
| }, |
| { |
| "type": { |
| "kind": "primitive", |
| "subtype": "bool", |
| "type_shape_v1": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "p3", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 167, |
| "column": 9, |
| "length": 2 |
| }, |
| "field_shape_v1": { |
| "offset": 2, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 2, |
| "padding": 0 |
| } |
| }, |
| { |
| "type": { |
| "kind": "primitive", |
| "subtype": "bool", |
| "type_shape_v1": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "p4", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 168, |
| "column": 9, |
| "length": 2 |
| }, |
| "field_shape_v1": { |
| "offset": 3, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 3, |
| "padding": 0 |
| } |
| }, |
| { |
| "type": { |
| "kind": "primitive", |
| "subtype": "bool", |
| "type_shape_v1": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "p5", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 169, |
| "column": 9, |
| "length": 2 |
| }, |
| "field_shape_v1": { |
| "offset": 4, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 4, |
| "padding": 0 |
| } |
| }, |
| { |
| "type": { |
| "kind": "primitive", |
| "subtype": "bool", |
| "type_shape_v1": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "p6", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 170, |
| "column": 9, |
| "length": 2 |
| }, |
| "field_shape_v1": { |
| "offset": 5, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 5, |
| "padding": 0 |
| } |
| }, |
| { |
| "type": { |
| "kind": "primitive", |
| "subtype": "bool", |
| "type_shape_v1": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "p7", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 171, |
| "column": 9, |
| "length": 2 |
| }, |
| "field_shape_v1": { |
| "offset": 6, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 6, |
| "padding": 0 |
| } |
| }, |
| { |
| "type": { |
| "kind": "primitive", |
| "subtype": "bool", |
| "type_shape_v1": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "p8", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 172, |
| "column": 9, |
| "length": 2 |
| }, |
| "field_shape_v1": { |
| "offset": 7, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 7, |
| "padding": 0 |
| } |
| }, |
| { |
| "type": { |
| "kind": "primitive", |
| "subtype": "bool", |
| "type_shape_v1": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "p9", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 173, |
| "column": 9, |
| "length": 2 |
| }, |
| "field_shape_v1": { |
| "offset": 8, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 8, |
| "padding": 0 |
| } |
| }, |
| { |
| "type": { |
| "kind": "primitive", |
| "subtype": "bool", |
| "type_shape_v1": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "p10", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 174, |
| "column": 9, |
| "length": 3 |
| }, |
| "field_shape_v1": { |
| "offset": 9, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 9, |
| "padding": 0 |
| } |
| }, |
| { |
| "type": { |
| "kind": "primitive", |
| "subtype": "bool", |
| "type_shape_v1": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "p11", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 175, |
| "column": 9, |
| "length": 3 |
| }, |
| "field_shape_v1": { |
| "offset": 10, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 10, |
| "padding": 0 |
| } |
| }, |
| { |
| "type": { |
| "kind": "primitive", |
| "subtype": "bool", |
| "type_shape_v1": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "p12", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 176, |
| "column": 9, |
| "length": 3 |
| }, |
| "field_shape_v1": { |
| "offset": 11, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 11, |
| "padding": 0 |
| } |
| }, |
| { |
| "type": { |
| "kind": "primitive", |
| "subtype": "bool", |
| "type_shape_v1": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "p13", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 177, |
| "column": 9, |
| "length": 3 |
| }, |
| "field_shape_v1": { |
| "offset": 12, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 12, |
| "padding": 0 |
| } |
| }, |
| { |
| "type": { |
| "kind": "primitive", |
| "subtype": "bool", |
| "type_shape_v1": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "p14", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 178, |
| "column": 9, |
| "length": 3 |
| }, |
| "field_shape_v1": { |
| "offset": 13, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 13, |
| "padding": 0 |
| } |
| }, |
| { |
| "type": { |
| "kind": "primitive", |
| "subtype": "bool", |
| "type_shape_v1": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "p15", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 179, |
| "column": 9, |
| "length": 3 |
| }, |
| "field_shape_v1": { |
| "offset": 14, |
| "padding": 1 |
| }, |
| "field_shape_v2": { |
| "offset": 14, |
| "padding": 1 |
| } |
| } |
| ], |
| "resource": false, |
| "type_shape_v1": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| } |
| }, |
| { |
| "name": "fidl.test.protocols/MethodWithUnionUnionMethodRequest", |
| "naming_context": [ |
| "MethodWithUnion", |
| "UnionMethod", |
| "Request" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 188, |
| "column": 17, |
| "length": 34 |
| }, |
| "is_request_or_response": true, |
| "members": [ |
| { |
| "type": { |
| "kind": "identifier", |
| "identifier": "fidl.test.protocols/TheUnion", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 8, |
| "has_padding": true, |
| "has_flexible_envelope": true |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_flexible_envelope": true |
| } |
| }, |
| "name": "u", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 189, |
| "column": 9, |
| "length": 1 |
| }, |
| "field_shape_v1": { |
| "offset": 0, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 0, |
| "padding": 0 |
| } |
| } |
| ], |
| "resource": false, |
| "type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 8, |
| "has_padding": true, |
| "has_flexible_envelope": true |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_flexible_envelope": true |
| } |
| }, |
| { |
| "name": "fidl.test.protocols/ProtocolEnds", |
| "naming_context": [ |
| "ProtocolEnds" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 136, |
| "column": 6, |
| "length": 12 |
| }, |
| "is_request_or_response": false, |
| "members": [ |
| { |
| "type": { |
| "kind": "identifier", |
| "identifier": "fidl.test.protocols/DiscoverableProtocol", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "client", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 137, |
| "column": 5, |
| "length": 6 |
| }, |
| "field_shape_v1": { |
| "offset": 0, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 0, |
| "padding": 0 |
| } |
| }, |
| { |
| "type": { |
| "kind": "request", |
| "subtype": "fidl.test.protocols/DiscoverableProtocol", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "server", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 138, |
| "column": 5, |
| "length": 6 |
| }, |
| "field_shape_v1": { |
| "offset": 4, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 4, |
| "padding": 0 |
| } |
| }, |
| { |
| "type": { |
| "kind": "identifier", |
| "identifier": "fidl.test.protocols/DiscoverableProtocol", |
| "nullable": true, |
| "type_shape_v1": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "client_opt", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 139, |
| "column": 5, |
| "length": 10 |
| }, |
| "field_shape_v1": { |
| "offset": 8, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 8, |
| "padding": 0 |
| } |
| }, |
| { |
| "type": { |
| "kind": "request", |
| "subtype": "fidl.test.protocols/DiscoverableProtocol", |
| "nullable": true, |
| "type_shape_v1": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "server_opt", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 140, |
| "column": 5, |
| "length": 10 |
| }, |
| "field_shape_v1": { |
| "offset": 12, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 12, |
| "padding": 0 |
| } |
| } |
| ], |
| "resource": true, |
| "type_shape_v1": { |
| "inline_size": 16, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 4, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 4, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| } |
| ], |
| "table_declarations": [], |
| "union_declarations": [ |
| { |
| "name": "fidl.test.protocols/WithErrorSyntax_ResponseAsStruct_Result", |
| "naming_context": [ |
| "WithErrorSyntax", |
| "ResponseAsStruct", |
| "Response", |
| "result" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 52, |
| "column": 27, |
| "length": 67 |
| }, |
| "maybe_attributes": [ |
| { |
| "name": "result", |
| "arguments": [] |
| } |
| ], |
| "members": [ |
| { |
| "ordinal": 1, |
| "reserved": false, |
| "name": "response", |
| "type": { |
| "kind": "identifier", |
| "identifier": "fidl.test.protocols/WithErrorSyntax_ResponseAsStruct_Response", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "location": { |
| "filename": "generated", |
| "line": 2, |
| "column": 1, |
| "length": 8 |
| } |
| }, |
| { |
| "ordinal": 2, |
| "reserved": false, |
| "name": "err", |
| "type": { |
| "kind": "primitive", |
| "subtype": "uint32", |
| "type_shape_v1": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "location": { |
| "filename": "generated", |
| "line": 3, |
| "column": 1, |
| "length": 3 |
| } |
| } |
| ], |
| "strict": true, |
| "resource": false, |
| "type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 24, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 24, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| } |
| }, |
| { |
| "name": "fidl.test.protocols/WithErrorSyntax_ErrorAsPrimitive_Result", |
| "naming_context": [ |
| "WithErrorSyntax", |
| "ErrorAsPrimitive", |
| "Response", |
| "result" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 57, |
| "column": 27, |
| "length": 11 |
| }, |
| "maybe_attributes": [ |
| { |
| "name": "result", |
| "arguments": [] |
| } |
| ], |
| "members": [ |
| { |
| "ordinal": 1, |
| "reserved": false, |
| "name": "response", |
| "type": { |
| "kind": "identifier", |
| "identifier": "fidl.test.protocols/WithErrorSyntax_ErrorAsPrimitive_Response", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "location": { |
| "filename": "generated", |
| "line": 5, |
| "column": 1, |
| "length": 8 |
| } |
| }, |
| { |
| "ordinal": 2, |
| "reserved": false, |
| "name": "err", |
| "type": { |
| "kind": "primitive", |
| "subtype": "uint32", |
| "type_shape_v1": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "location": { |
| "filename": "generated", |
| "line": 6, |
| "column": 1, |
| "length": 3 |
| } |
| } |
| ], |
| "strict": true, |
| "resource": false, |
| "type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 8, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| } |
| }, |
| { |
| "name": "fidl.test.protocols/WithErrorSyntax_ErrorAsEnum_Result", |
| "naming_context": [ |
| "WithErrorSyntax", |
| "ErrorAsEnum", |
| "Response", |
| "result" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 58, |
| "column": 22, |
| "length": 11 |
| }, |
| "maybe_attributes": [ |
| { |
| "name": "result", |
| "arguments": [] |
| } |
| ], |
| "members": [ |
| { |
| "ordinal": 1, |
| "reserved": false, |
| "name": "response", |
| "type": { |
| "kind": "identifier", |
| "identifier": "fidl.test.protocols/WithErrorSyntax_ErrorAsEnum_Response", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "location": { |
| "filename": "generated", |
| "line": 8, |
| "column": 1, |
| "length": 8 |
| } |
| }, |
| { |
| "ordinal": 2, |
| "reserved": false, |
| "name": "err", |
| "type": { |
| "kind": "identifier", |
| "identifier": "fidl.test.protocols/ErrorEnum", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "location": { |
| "filename": "generated", |
| "line": 9, |
| "column": 1, |
| "length": 3 |
| } |
| } |
| ], |
| "strict": true, |
| "resource": false, |
| "type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 8, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| } |
| }, |
| { |
| "name": "fidl.test.protocols/WithErrorSyntax_HandleInResult_Result", |
| "naming_context": [ |
| "WithErrorSyntax", |
| "HandleInResult", |
| "Response", |
| "result" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 59, |
| "column": 25, |
| "length": 43 |
| }, |
| "maybe_attributes": [ |
| { |
| "name": "result", |
| "arguments": [] |
| } |
| ], |
| "members": [ |
| { |
| "ordinal": 1, |
| "reserved": false, |
| "name": "response", |
| "type": { |
| "kind": "identifier", |
| "identifier": "fidl.test.protocols/WithErrorSyntax_HandleInResult_Response", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "location": { |
| "filename": "generated", |
| "line": 11, |
| "column": 1, |
| "length": 8 |
| } |
| }, |
| { |
| "ordinal": 2, |
| "reserved": false, |
| "name": "err", |
| "type": { |
| "kind": "primitive", |
| "subtype": "uint32", |
| "type_shape_v1": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "location": { |
| "filename": "generated", |
| "line": 12, |
| "column": 1, |
| "length": 3 |
| } |
| } |
| ], |
| "strict": true, |
| "resource": true, |
| "type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 1, |
| "max_out_of_line": 8, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 1, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| } |
| }, |
| { |
| "name": "fidl.test.protocols/TheUnion", |
| "naming_context": [ |
| "TheUnion" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 183, |
| "column": 6, |
| "length": 8 |
| }, |
| "members": [ |
| { |
| "ordinal": 1, |
| "reserved": false, |
| "name": "v", |
| "type": { |
| "kind": "primitive", |
| "subtype": "uint32", |
| "type_shape_v1": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/protocols.test.fidl", |
| "line": 184, |
| "column": 8, |
| "length": 1 |
| } |
| } |
| ], |
| "strict": false, |
| "resource": false, |
| "type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 8, |
| "has_padding": true, |
| "has_flexible_envelope": true |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_flexible_envelope": true |
| } |
| } |
| ], |
| "type_alias_declarations": [], |
| "declaration_order": [ |
| "fidl.test.protocols/rights", |
| "fidl.test.protocols/obj_type", |
| "fidl.test.protocols/handle", |
| "fidl.test.protocols/WithErrorSyntax_HandleInResult_Response", |
| "fidl.test.protocols/WithErrorSyntax_HandleInResult_Result", |
| "fidl.test.protocols/HandleRightsProtocol", |
| "fidl.test.protocols/WithErrorSyntax_ResponseAsStruct_Response", |
| "fidl.test.protocols/WithErrorSyntax_ResponseAsStruct_Result", |
| "fidl.test.protocols/WithErrorSyntax_ErrorAsPrimitive_Response", |
| "fidl.test.protocols/WithErrorSyntax_ErrorAsPrimitive_Result", |
| "fidl.test.protocols/WithErrorSyntax_ErrorAsEnum_Response", |
| "fidl.test.protocols/WithAndWithoutRequestResponse", |
| "fidl.test.protocols/Transitional", |
| "fidl.test.protocols/TheUnion", |
| "fidl.test.protocols/MethodWithUnion", |
| "fidl.test.protocols/SyscallProtocol", |
| "fidl.test.protocols/ProtocolEnds", |
| "fidl.test.protocols/WithProtocolEnds", |
| "fidl.test.protocols/ManyParameters", |
| "fidl.test.protocols/ErrorEnum", |
| "fidl.test.protocols/WithErrorSyntax_ErrorAsEnum_Result", |
| "fidl.test.protocols/WithErrorSyntax", |
| "fidl.test.protocols/DiscoverableProtocol", |
| "fidl.test.protocols/ChannelProtocol" |
| ], |
| "declarations": { |
| "fidl.test.protocols/rights": "bits", |
| "fidl.test.protocols/obj_type": "enum", |
| "fidl.test.protocols/ErrorEnum": "enum", |
| "fidl.test.protocols/handle": "experimental_resource", |
| "fidl.test.protocols/WithAndWithoutRequestResponse": "interface", |
| "fidl.test.protocols/WithErrorSyntax": "interface", |
| "fidl.test.protocols/ChannelProtocol": "interface", |
| "fidl.test.protocols/SyscallProtocol": "interface", |
| "fidl.test.protocols/Transitional": "interface", |
| "fidl.test.protocols/DiscoverableProtocol": "interface", |
| "fidl.test.protocols/HandleRightsProtocol": "interface", |
| "fidl.test.protocols/WithProtocolEnds": "interface", |
| "fidl.test.protocols/ManyParameters": "interface", |
| "fidl.test.protocols/MethodWithUnion": "interface", |
| "fidl.test.protocols/WithAndWithoutRequestResponseNoRequestWithResponseTopResponse": "struct", |
| "fidl.test.protocols/WithAndWithoutRequestResponseWithRequestNoResponseRequest": "struct", |
| "fidl.test.protocols/WithAndWithoutRequestResponseWithRequestEmptyResponseRequest": "struct", |
| "fidl.test.protocols/WithAndWithoutRequestResponseWithRequestWithResponseRequest": "struct", |
| "fidl.test.protocols/WithAndWithoutRequestResponseWithRequestWithResponseTopResponse": "struct", |
| "fidl.test.protocols/WithAndWithoutRequestResponseOnWithResponseRequest": "struct", |
| "fidl.test.protocols/WithErrorSyntax_ResponseAsStruct_Response": "struct", |
| "fidl.test.protocols/WithErrorSyntaxResponseAsStructTopResponse": "struct", |
| "fidl.test.protocols/WithErrorSyntax_ErrorAsPrimitive_Response": "struct", |
| "fidl.test.protocols/WithErrorSyntaxErrorAsPrimitiveTopResponse": "struct", |
| "fidl.test.protocols/WithErrorSyntax_ErrorAsEnum_Response": "struct", |
| "fidl.test.protocols/WithErrorSyntaxErrorAsEnumTopResponse": "struct", |
| "fidl.test.protocols/WithErrorSyntax_HandleInResult_Response": "struct", |
| "fidl.test.protocols/WithErrorSyntaxHandleInResultTopResponse": "struct", |
| "fidl.test.protocols/ChannelProtocolMethodARequest": "struct", |
| "fidl.test.protocols/ChannelProtocolEventARequest": "struct", |
| "fidl.test.protocols/ChannelProtocolMethodBRequest": "struct", |
| "fidl.test.protocols/ChannelProtocolMethodBTopResponse": "struct", |
| "fidl.test.protocols/ChannelProtocolTakeHandleRequest": "struct", |
| "fidl.test.protocols/ChannelProtocolMutateSocketRequest": "struct", |
| "fidl.test.protocols/ChannelProtocolMutateSocketTopResponse": "struct", |
| "fidl.test.protocols/SyscallProtocolMethodCRequest": "struct", |
| "fidl.test.protocols/TransitionalRequestRequest": "struct", |
| "fidl.test.protocols/TransitionalRequestTopResponse": "struct", |
| "fidl.test.protocols/TransitionalOneWayRequest": "struct", |
| "fidl.test.protocols/TransitionalEventRequest": "struct", |
| "fidl.test.protocols/HandleRightsProtocolNoResponseMethodRequest": "struct", |
| "fidl.test.protocols/HandleRightsProtocolResponseMethodRequest": "struct", |
| "fidl.test.protocols/HandleRightsProtocolResponseMethodTopResponse": "struct", |
| "fidl.test.protocols/HandleRightsProtocolAnEventRequest": "struct", |
| "fidl.test.protocols/WithProtocolEndsClientEndsRequest": "struct", |
| "fidl.test.protocols/WithProtocolEndsClientEndsTopResponse": "struct", |
| "fidl.test.protocols/WithProtocolEndsServerEndsRequest": "struct", |
| "fidl.test.protocols/WithProtocolEndsServerEndsTopResponse": "struct", |
| "fidl.test.protocols/WithProtocolEndsStructContainingEndsRequest": "struct", |
| "fidl.test.protocols/WithProtocolEndsStructContainingEndsTopResponse": "struct", |
| "fidl.test.protocols/ManyParametersFifteenRequest": "struct", |
| "fidl.test.protocols/MethodWithUnionUnionMethodRequest": "struct", |
| "fidl.test.protocols/ProtocolEnds": "struct", |
| "fidl.test.protocols/WithErrorSyntax_ResponseAsStruct_Result": "union", |
| "fidl.test.protocols/WithErrorSyntax_ErrorAsPrimitive_Result": "union", |
| "fidl.test.protocols/WithErrorSyntax_ErrorAsEnum_Result": "union", |
| "fidl.test.protocols/WithErrorSyntax_HandleInResult_Result": "union", |
| "fidl.test.protocols/TheUnion": "union" |
| } |
| } |