Lines Matching refs:expectedMsgLength

267     size_t expectedMsgLength = NLMSG_HDRLEN + NLMSG_ALIGN(sizeof(xfrm_userspi_info));  in TEST_P()  local
272 .WillOnce(DoAll(SaveFlattenedIovecs<1>(&nlMsgBuf), Return(expectedMsgLength))); in TEST_P()
283 EXPECT_EQ(expectedMsgLength, nlMsgBuf.size()); in TEST_P()
328 size_t expectedMsgLength = in testIpSecAddSecurityAssociation() local
338 expectedMsgLength += params.getTunnelInterfaceNlAttrsLen(); in testIpSecAddSecurityAssociation()
339 expectedMsgLength += NLA_ALIGN(sizeof(XfrmController::nlattr_xfrm_output_mark)); in testIpSecAddSecurityAssociation()
349 .WillOnce(DoAll(SaveFlattenedIovecs<1>(&nlMsgBuf), Return(expectedMsgLength))); in testIpSecAddSecurityAssociation()
364 EXPECT_EQ(expectedMsgLength, nlMsgBuf.size()); in testIpSecAddSecurityAssociation()
597 size_t expectedMsgLength = NLMSG_HDRLEN + NLMSG_ALIGN(sizeof(xfrm_usersa_id)) + in TEST_P() local
602 .WillOnce(DoAll(SaveFlattenedIovecs<1>(&nlMsgBuf), Return(expectedMsgLength))); in TEST_P()
612 EXPECT_EQ(expectedMsgLength, nlMsgBuf.size()); in TEST_P()
647 size_t expectedMsgLength = NLMSG_HDRLEN + NLMSG_ALIGN(sizeof(xfrm_userpolicy_info)) + in TEST_P() local
653 .WillOnce(DoAll(SaveFlattenedIovecs<1>(&nlMsgBuf), Return(expectedMsgLength))); in TEST_P()
663 EXPECT_EQ(expectedMsgLength, nlMsgBuf.size()); in TEST_P()
721 size_t expectedMsgLength = NLMSG_HDRLEN + NLMSG_ALIGN(sizeof(xfrm_userpolicy_info)) + in TEST_P() local
727 .WillOnce(DoAll(SaveFlattenedIovecs<1>(&nlMsgBuf), Return(expectedMsgLength))); in TEST_P()
738 EXPECT_EQ(expectedMsgLength, nlMsgBuf.size()); in TEST_P()
757 size_t expectedMsgLength = NLMSG_HDRLEN + NLMSG_ALIGN(sizeof(xfrm_userpolicy_id)) + in TEST_P() local
762 .WillOnce(DoAll(SaveFlattenedIovecs<1>(&nlMsgBuf), Return(expectedMsgLength))); in TEST_P()
772 EXPECT_EQ(expectedMsgLength, nlMsgBuf.size()); in TEST_P()