Lines Matching refs:expected_len
335 static const size_t expected_len = sizeof(expected_url); in TEST_F() local
348 EXPECT_EQ(static_cast<int>(expected_len - 1), in TEST_F()
349 FPDFLink_GetURL(pagelink, 0, fixed_buffer, expected_len - 1)); in TEST_F()
351 check_unsigned_shorts(expected_url, fixed_buffer, expected_len - 1)); in TEST_F()
352 EXPECT_EQ(0xbdbd, fixed_buffer[expected_len - 1]); in TEST_F()
356 EXPECT_EQ(static_cast<int>(expected_len), in TEST_F()
357 FPDFLink_GetURL(pagelink, 0, fixed_buffer, expected_len)); in TEST_F()
358 EXPECT_TRUE(check_unsigned_shorts(expected_url, fixed_buffer, expected_len)); in TEST_F()
359 EXPECT_EQ(0u, fixed_buffer[expected_len - 1]); in TEST_F()
360 EXPECT_EQ(0xbdbd, fixed_buffer[expected_len]); in TEST_F()
364 EXPECT_EQ(static_cast<int>(expected_len), in TEST_F()
366 EXPECT_TRUE(check_unsigned_shorts(expected_url, fixed_buffer, expected_len)); in TEST_F()
367 EXPECT_EQ(0u, fixed_buffer[expected_len - 1]); in TEST_F()
368 EXPECT_EQ(0xbdbd, fixed_buffer[expected_len]); in TEST_F()
442 const size_t expected_len = strlen(kExpectedUrls[i]) + 1; in TEST_F() local
444 EXPECT_EQ(static_cast<int>(expected_len), in TEST_F()
447 static_cast<int>(expected_len), in TEST_F()
450 check_unsigned_shorts(kExpectedUrls[i], fixed_buffer, expected_len)); in TEST_F()