Lines Matching refs:contents
63 string contents; in TEST() local
64 ASSERT_TRUE(section.GetContents(&contents)); in TEST()
65 EXPECT_EQ(string("\x78\x56\x34\x12", 4), contents); in TEST()
75 string contents; in TEST() local
76 ASSERT_TRUE(section1.GetContents(&contents)); in TEST()
78 EXPECT_EQ(expected, contents); in TEST()
89 string contents; in TEST() local
90 ASSERT_TRUE(section.GetContents(&contents)); in TEST()
96 EXPECT_EQ(expected, contents); in TEST()
107 string contents; in TEST() local
108 ASSERT_TRUE(section.GetContents(&contents)); in TEST()
114 EXPECT_EQ(contents, expected); in TEST()
129 string contents; in TEST() local
130 ASSERT_TRUE(context.GetContents(&contents)); in TEST()
131 EXPECT_EQ(sizeof(x86_expected_contents), contents.size()); in TEST()
132 EXPECT_TRUE(memcmp(contents.data(), x86_expected_contents, contents.size()) in TEST()
140 string contents; in TEST() local
141 ASSERT_TRUE(context.GetContents(&contents)); in TEST()
142 EXPECT_EQ(sizeof(arm_expected_contents), contents.size()); in TEST()
143 EXPECT_TRUE(memcmp(contents.data(), arm_expected_contents, contents.size()) in TEST()
176 string contents; in TEST() local
177 ASSERT_TRUE(thread.GetContents(&contents)); in TEST()
190 EXPECT_EQ(sizeof(expected_bytes), contents.size()); in TEST()
191 EXPECT_TRUE(memcmp(contents.data(), expected_bytes, contents.size()) == 0); in TEST()
204 string contents; in TEST() local
205 ASSERT_TRUE(exception.GetContents(&contents)); in TEST()
233 EXPECT_EQ(sizeof(expected_bytes), contents.size()); in TEST()
234 EXPECT_TRUE(memcmp(contents.data(), expected_bytes, contents.size()) == 0); in TEST()
240 string contents; in TEST() local
241 ASSERT_TRUE(s.GetContents(&contents)); in TEST()
246 EXPECT_EQ(expected_string, contents); in TEST()
256 string contents; in TEST() local
257 ASSERT_TRUE(section.GetContents(&contents)); in TEST()
258 EXPECT_EQ(string("initial\x69\xb4\x2b\xdc", 7 + 4), contents); in TEST()
266 string contents; in TEST() local
267 ASSERT_TRUE(list.GetContents(&contents)); in TEST()
268 EXPECT_EQ(string("\0\0\0\0", 4), contents); in TEST()
283 string contents; in TEST() local
284 ASSERT_TRUE(list.GetContents(&contents)); in TEST()
286 contents); in TEST()
292 string contents; in TEST() local
293 ASSERT_TRUE(dump.GetContents(&contents)); in TEST()
302 contents); in TEST()
308 string contents; in TEST() local
309 ASSERT_TRUE(dump.GetContents(&contents)); in TEST()
318 contents); in TEST()
333 string contents; in TEST() local
334 ASSERT_TRUE(referencing_section.GetContents(&contents)); in TEST()
335 ASSERT_EQ(string("\x10\0\0\0\x20\0\0\0", 8), contents); in TEST()