Searched refs:rtf_break (Results 1 – 2 of 2) sorted by relevance
30 auto rtf_break = pdfium::MakeUnique<CFX_RTFBreak>(layout_styles); in CreateBreak() local31 rtf_break->SetFont(font_); in CreateBreak()32 return rtf_break; in CreateBreak()43 auto rtf_break = CreateBreak(FX_LAYOUTSTYLE_ExpandTab); in TEST_F() local47 EXPECT_EQ(CFX_BreakType::None, rtf_break->AppendChar(ch)); in TEST_F()49 EXPECT_EQ(CFX_BreakType::Paragraph, rtf_break->AppendChar(L'\n')); in TEST_F()50 ASSERT_EQ(1, rtf_break->CountBreakPieces()); in TEST_F()51 EXPECT_EQ(str + L"\n", rtf_break->GetBreakPieceUnstable(0)->GetString()); in TEST_F()53 rtf_break->ClearBreakPieces(); in TEST_F()54 rtf_break->Reset(); in TEST_F()[all …]
23 CFX_RTFBreak rtf_break(FX_LAYOUTSTYLE_ExpandTab); in LLVMFuzzerTestOneInput() local24 rtf_break.SetLineBreakTolerance(1); in LLVMFuzzerTestOneInput()25 rtf_break.SetFont(CFGAS_GEFont::LoadFont(std::move(font), fontmgr.get())); in LLVMFuzzerTestOneInput()26 rtf_break.SetFontSize(12); in LLVMFuzzerTestOneInput()32 rtf_break.AppendChar(ch); in LLVMFuzzerTestOneInput()35 rtf_break.GetCurrentLineForTesting()->m_LineChars; in LLVMFuzzerTestOneInput()