Lines Matching refs:entries

49   AllocEntry* entries;  in TEST()  local
51 GetUnwindInfo(file_name.c_str(), &entries, &num_entries); in TEST()
58 EXPECT_EQ(12345, entries[0].tid); in TEST()
59 EXPECT_EQ(MALLOC, entries[0].type); in TEST()
60 EXPECT_EQ(0x1000U, entries[0].ptr); in TEST()
61 EXPECT_EQ(16U, entries[0].size); in TEST()
62 EXPECT_EQ(0U, entries[0].u.old_ptr); in TEST()
64 EXPECT_EQ(12345, entries[1].tid); in TEST()
65 EXPECT_EQ(FREE, entries[1].type); in TEST()
66 EXPECT_EQ(0x1000U, entries[1].ptr); in TEST()
67 EXPECT_EQ(0U, entries[1].size); in TEST()
68 EXPECT_EQ(0U, entries[1].u.old_ptr); in TEST()
70 FreeEntries(entries, num_entries); in TEST()
74 AllocEntry* entries; in TEST() local
76 EXPECT_DEATH(GetUnwindInfo("/does/not/exist.zip", &entries, &num_entries), ""); in TEST()
84 AllocEntry* entries; in TEST() local
86 GetUnwindInfo(file_name.c_str(), &entries, &num_entries); in TEST()
93 EXPECT_EQ(98765, entries[0].tid); in TEST()
94 EXPECT_EQ(MEMALIGN, entries[0].type); in TEST()
95 EXPECT_EQ(0xa000U, entries[0].ptr); in TEST()
96 EXPECT_EQ(124U, entries[0].size); in TEST()
97 EXPECT_EQ(16U, entries[0].u.align); in TEST()
99 EXPECT_EQ(98765, entries[1].tid); in TEST()
100 EXPECT_EQ(FREE, entries[1].type); in TEST()
101 EXPECT_EQ(0xa000U, entries[1].ptr); in TEST()
102 EXPECT_EQ(0U, entries[1].size); in TEST()
103 EXPECT_EQ(0U, entries[1].u.old_ptr); in TEST()
105 FreeEntries(entries, num_entries); in TEST()
109 AllocEntry* entries; in TEST() local
111 EXPECT_DEATH(GetUnwindInfo("/does/not/exist", &entries, &num_entries), ""); in TEST()