Lines Matching refs:dest
53 FPDF_DEST dest; in TEST_F() local
57 dest = FPDF_GetNamedDest(document(), 0, nullptr, &buffer_size); in TEST_F()
58 EXPECT_NE(nullptr, dest); in TEST_F()
63 dest = FPDF_GetNamedDest(document(), 0, fixed_buffer, &buffer_size); in TEST_F()
64 EXPECT_NE(nullptr, dest); in TEST_F()
70 dest = FPDF_GetNamedDest(document(), 0, fixed_buffer, &buffer_size); in TEST_F()
71 EXPECT_NE(nullptr, dest); in TEST_F()
79 dest = FPDF_GetNamedDest(document(), 1, fixed_buffer, &buffer_size); in TEST_F()
80 EXPECT_NE(nullptr, dest); in TEST_F()
89 dest = FPDF_GetNamedDest(document(), 2, fixed_buffer, &buffer_size); in TEST_F()
90 EXPECT_EQ(nullptr, dest); in TEST_F()
96 dest = FPDF_GetNamedDest(document(), 3, fixed_buffer, &buffer_size); in TEST_F()
97 EXPECT_EQ(nullptr, dest); in TEST_F()
103 dest = FPDF_GetNamedDest(document(), 4, fixed_buffer, &buffer_size); in TEST_F()
104 EXPECT_NE(nullptr, dest); in TEST_F()
113 dest = FPDF_GetNamedDest(document(), 5, fixed_buffer, &buffer_size); in TEST_F()
114 EXPECT_NE(nullptr, dest); in TEST_F()
121 dest = FPDF_GetNamedDest(document(), 6, fixed_buffer, &buffer_size); in TEST_F()
122 EXPECT_EQ(nullptr, dest); in TEST_F()
127 dest = FPDF_GetNamedDest(document(), std::numeric_limits<int>::max(), in TEST_F()
129 EXPECT_EQ(nullptr, dest); in TEST_F()
133 dest = FPDF_GetNamedDest(document(), std::numeric_limits<int>::min(), in TEST_F()
135 EXPECT_EQ(nullptr, dest); in TEST_F()
139 dest = FPDF_GetNamedDest(document(), -1, fixed_buffer, &buffer_size); in TEST_F()
140 EXPECT_EQ(nullptr, dest); in TEST_F()
148 FPDF_DEST dest = FPDF_GetNamedDestByName(document(), nullptr); in TEST_F() local
149 EXPECT_EQ(nullptr, dest); in TEST_F()
152 dest = FPDF_GetNamedDestByName(document(), ""); in TEST_F()
153 EXPECT_EQ(nullptr, dest); in TEST_F()
156 dest = FPDF_GetNamedDestByName(document(), "First"); in TEST_F()
157 EXPECT_NE(nullptr, dest); in TEST_F()
162 EXPECT_EQ(dest_by_index, dest); in TEST_F()
165 dest = FPDF_GetNamedDestByName(document(), "FirstAlternate"); in TEST_F()
166 EXPECT_NE(nullptr, dest); in TEST_F()
170 EXPECT_EQ(dest_by_index, dest); in TEST_F()
173 dest = FPDF_GetNamedDestByName(document(), "WrongType"); in TEST_F()
174 EXPECT_EQ(nullptr, dest); in TEST_F()
177 dest = FPDF_GetNamedDestByName(document(), "Bogus"); in TEST_F()
178 EXPECT_EQ(nullptr, dest); in TEST_F()