Lines Matching refs:page_id
65 bool GetTranslateMessage(int* page_id,
74 if (page_id)
75 *page_id = translate_param.a;
303 int page_id = 0;
305 EXPECT_TRUE(GetTranslateMessage(&page_id, &original_lang, &target_lang));
322 EXPECT_TRUE(GetTranslateMessage(&page_id, &original_lang, &target_lang));
337 EXPECT_TRUE(GetTranslateMessage(&page_id, &original_lang, &target_lang));
525 int page_id = 0;
527 EXPECT_TRUE(GetTranslateMessage(&page_id, &original_lang, &target_lang));
528 EXPECT_EQ(1, page_id);
537 EXPECT_FALSE(GetTranslateMessage(&page_id, &original_lang, &target_lang));
946 int page_id = 0;
948 EXPECT_TRUE(GetTranslateMessage(&page_id, &original_lang, &target_lang));
955 EXPECT_FALSE(GetTranslateMessage(&page_id, &original_lang, &target_lang));
965 EXPECT_FALSE(GetTranslateMessage(&page_id, &original_lang, &target_lang));
975 EXPECT_FALSE(GetTranslateMessage(&page_id, &original_lang, &target_lang));
1016 int page_id = 0;
1018 EXPECT_TRUE(GetTranslateMessage(&page_id, &original_lang, &target_lang));
1044 EXPECT_TRUE(GetTranslateMessage(&page_id, &original_lang, &target_lang));
1051 EXPECT_FALSE(GetTranslateMessage(&page_id, &original_lang, &target_lang));
1059 EXPECT_TRUE(GetTranslateMessage(&page_id, &original_lang, &target_lang));
1068 EXPECT_FALSE(GetTranslateMessage(&page_id, &original_lang, &target_lang));
1127 int page_id = 0;
1129 EXPECT_TRUE(GetTranslateMessage(&page_id, &original_lang, &target_lang));
1155 EXPECT_FALSE(GetTranslateMessage(&page_id, &original_lang, &target_lang));
1208 int page_id = 0;
1210 EXPECT_TRUE(GetTranslateMessage(&page_id, &original_lang, &target_lang));