Lines Matching refs:Bytes
11 (Bytes::from_static(&[0x0, 0x1]), ParamType::HeartbeatInfo), in test_parse_param_type_success()
12 (Bytes::from_static(&[0x0, 0xd]), ParamType::OutSsnResetReq), in test_parse_param_type_success()
28 static PARAM_HEADER_BYTES: Bytes = Bytes::from_static(&[0x0, 0x1, 0x0, 0x4]);
57 Bytes::from_static(&[0x0, 0xd, 0x0, 0x3]), in test_param_header_unmarshal_failure()
75 static PARAM_FORWARD_TSN_SUPPORTED_BYTES: Bytes = Bytes::from_static(&[0xc0, 0x0, 0x0, 0x4]);
96 let tests = vec![("param too short", Bytes::from_static(&[0x0, 0xd, 0x0]))]; in test_param_forward_tsn_supported_failure()
111 static CHUNK_RECONFIG_PARAM_A: Bytes = Bytes::from_static(&[
115 static CHUNK_RECONFIG_PARAM_B: Bytes = Bytes::from_static(&[
156 ("param too short", Bytes::from_static(&[0x0, 0xd, 0x0, 0x4])), in test_param_outgoing_reset_request_failure()
173 static CHUNK_RECONFIG_RESPONCE: Bytes =
174 Bytes::from_static(&[0x0, 0x10, 0x0, 0xc, 0x0, 0x0, 0x0, 0x1, 0x0, 0x0, 0x0, 0x1]);
202 Bytes::from_static(&[0x0, 0x10, 0x0, 0x4]), in test_param_reconfig_response_failure()
260 ("invalid ParamType", Bytes::from_static(&[0x0, 0x0])), in test_build_param_failure()