Lines Matching refs:header
46 packet->header.len = headerSize; in TestReadInvalidLength()
59 packet->header.len = size; in TestWriteInvalidLength()
70 request.header.len = sizeof(FuseRequest); in TEST()
71 request.header.opcode = 1; in TEST()
72 request.header.unique = 2; in TEST()
73 request.header.nodeid = 3; in TEST()
74 request.header.uid = 4; in TEST()
75 request.header.gid = 5; in TEST()
76 request.header.pid = 6; in TEST()
85 EXPECT_EQ(sizeof(FuseRequest), request.header.len); in TEST()
86 EXPECT_EQ(1u, request.header.opcode); in TEST()
87 EXPECT_EQ(2u, request.header.unique); in TEST()
88 EXPECT_EQ(3u, request.header.nodeid); in TEST()
89 EXPECT_EQ(4u, request.header.uid); in TEST()
90 EXPECT_EQ(5u, request.header.gid); in TEST()
91 EXPECT_EQ(6u, request.header.pid); in TEST()
121 EXPECT_EQ(sizeof(fuse_out_header), response.header.len); in TEST()
122 EXPECT_EQ(-1, response.header.error); in TEST()
123 EXPECT_EQ(2u, response.header.unique); in TEST()
128 EXPECT_EQ(sizeof(fuse_out_header) + 5, response.header.len); in TEST()
129 EXPECT_EQ(-4, response.header.error); in TEST()
130 EXPECT_EQ(3u, response.header.unique); in TEST()
145 EXPECT_EQ(sizeof(fuse_out_header), response.header.len); in TEST()
146 EXPECT_EQ(-1, response.header.error); in TEST()
147 EXPECT_EQ(2u, response.header.unique); in TEST()
152 EXPECT_EQ(sizeof(fuse_out_header) + 5, response.header.len); in TEST()
153 EXPECT_EQ(-4, response.header.error); in TEST()
154 EXPECT_EQ(3u, response.header.unique); in TEST()
163 buffer.request.header.opcode = FUSE_INIT; in TEST()
170 buffer.response.header.len); in TEST()
171 EXPECT_EQ(kFuseSuccess, buffer.response.header.error); in TEST()
186 ASSERT_EQ(sizeof(fuse_out_header), buffer.response.header.len); in TEST()
187 EXPECT_EQ(-ENOSYS, buffer.response.header.error); in TEST()
194 request.header.len = sizeof(FuseRequest); in TEST()