Lines Matching refs:pagelink
268 FPDF_PAGELINK pagelink = FPDFLink_LoadWebLinks(textpage); in TEST_F() local
269 EXPECT_NE(nullptr, pagelink); in TEST_F()
272 EXPECT_EQ(2, FPDFLink_CountWebLinks(pagelink)); in TEST_F()
275 EXPECT_EQ(1, FPDFLink_GetURL(pagelink, 2, nullptr, 0)); in TEST_F()
276 EXPECT_EQ(1, FPDFLink_GetURL(pagelink, 1400, nullptr, 0)); in TEST_F()
277 EXPECT_EQ(1, FPDFLink_GetURL(pagelink, -1, nullptr, 0)); in TEST_F()
280 EXPECT_EQ(25, FPDFLink_GetURL(pagelink, 0, nullptr, 0)); in TEST_F()
281 EXPECT_EQ(26, FPDFLink_GetURL(pagelink, 1, nullptr, 0)); in TEST_F()
290 EXPECT_EQ(1, FPDFLink_GetURL(pagelink, 0, fixed_buffer, 1)); in TEST_F()
297 pagelink, 0, fixed_buffer, sizeof(expected_url) - 1)); in TEST_F()
305 pagelink, 0, fixed_buffer, sizeof(expected_url))); in TEST_F()
314 pagelink, 0, fixed_buffer, 128)); in TEST_F()
321 EXPECT_EQ(1, FPDFLink_CountRects(pagelink, 0)); in TEST_F()
322 EXPECT_EQ(1, FPDFLink_CountRects(pagelink, 1)); in TEST_F()
325 EXPECT_EQ(0, FPDFLink_CountRects(pagelink, -1)); in TEST_F()
326 EXPECT_EQ(0, FPDFLink_CountRects(pagelink, 2)); in TEST_F()
327 EXPECT_EQ(0, FPDFLink_CountRects(pagelink, 10000)); in TEST_F()
334 FPDFLink_GetRect(pagelink, 0, 0, &left, &top, &right, &bottom); in TEST_F()
345 FPDFLink_GetRect(pagelink, 0, 1, &left, &top, &right, &bottom); in TEST_F()
356 FPDFLink_GetRect(pagelink, -1, 0, &left, &top, &right, &bottom); in TEST_F()
362 FPDFLink_CloseWebLinks(pagelink); in TEST_F()