Home
last modified time | relevance | path

Searched refs:SetFor (Results 1 – 21 of 21) sorted by relevance

/external/pdfium/core/fpdfapi/parser/
Dcpdf_object_walker_unittest.cpp69 dict->SetFor("1", pdfium::MakeUnique<CPDF_String>()); in TEST()
70 dict->SetFor("2", pdfium::MakeUnique<CPDF_Boolean>()); in TEST()
76 dict->SetFor("3", std::move(array)); in TEST()
84 level_3->SetFor("Length", std::move(level_4)); in TEST()
90 level_0->SetFor("Array", std::move(level_1)); in TEST()
128 dict->SetFor("1", pdfium::MakeUnique<CPDF_Null>()); in TEST()
129 dict->SetFor("2", pdfium::MakeUnique<CPDF_Null>()); in TEST()
130 dict->SetFor("3", pdfium::MakeUnique<CPDF_Null>()); in TEST()
131 dict->SetFor("4", pdfium::MakeUnique<CPDF_Null>()); in TEST()
132 dict->SetFor("5", pdfium::MakeUnique<CPDF_Null>()); in TEST()
Dcpdf_dictionary.h65 CPDF_Object* SetFor(const ByteString& key, std::unique_ptr<CPDF_Object> pObj);
74 SetFor(key, pdfium::MakeUnique<T>(std::forward<Args>(args)...))); in SetNewFor()
80 return static_cast<T*>(SetFor( in SetNewFor()
Dcpdf_page_object_avail_unittest.cpp112 holder.GetTestObject(3)->GetDict()->SetFor( in TEST()
Dcpdf_dictionary.cpp174 CPDF_Object* CPDF_Dictionary::SetFor(const ByteString& key, in SetFor() function in CPDF_Dictionary
Dcpdf_document.cpp314 pBaseDict->SetFor("Widths", std::move(pWidths)); in ProcessNonbCJK()
331 pFontDesc->SetFor("FontBBox", std::move(bbox)); in CalculateFontDesc()
Dcpdf_object_unittest.cpp883 dict_obj->SetFor("arr", pdfium::WrapUnique(arr_obj.get())); in TEST()
920 dict_obj->SetFor("arr", std::move(arr_obj)); in TEST()
Dcpdf_syntax_parser.cpp459 pDict->SetFor(keyNoSlash, std::move(pObj)); in GetObjectBodyInternal()
Dcpdf_parser.cpp911 GetTrailer()->SetFor(key, pElement->Clone()); in RebuildCrossRef()
/external/pdfium/fpdfsdk/
Dfpdfppo.cpp68 pCurPageDict->SetFor(key, pInheritable->Clone()); in CopyInheritable()
211 pCurPageDict->SetFor(cbSrcKeyStr, pObj->Clone()); in ExportPage()
224 pCurPageDict->SetFor("MediaBox", pInheritable->Clone()); in ExportPage()
394 pDstDict->SetFor("ViewerPreferences", pSrcDict->CloneDirectObject()); in FPDF_CopyViewerPreferences()
Dfpdfedittext.cpp60 fontDesc->SetFor("FontBBox", std::move(pBBox)); in LoadFontDesc()
394 fontDict->SetFor("DescendantFonts", std::move(pDescendant)); in LoadCompositeFont()
Dcpdfsdk_baannot.cpp334 m_pAnnot->GetAnnotDict()->SetFor("AA", pdfium::WrapUnique(aa.GetDict())); in SetAAction()
Dfpdfannot.cpp782 pApDict->SetFor(modeKey, std::move(pNewApStream)); in FPDFAnnot_SetAP()
/external/pdfium/testing/libfuzzer/
Dpdf_hint_table_fuzzer.cc82 linearized_dict->SetFor("H", std::move(hint_info)); in LLVMFuzzerTestOneInput()
/external/pdfium/core/fpdfdoc/
Dcpdf_interform.cpp1016 pParent->SetFor("FT", pFTValue->Clone()); in AddTerminalField()
1022 pParent->SetFor("Ff", pFfValue->Clone()); in AddTerminalField()
1032 pDict->SetFor("T", std::move(pClone)); in AddTerminalField()
1136 pMainDict->SetFor("F", std::move(pNewDict)); in ExportToFDF()
1173 pFieldDict->SetFor("V", pV->CloneDirectObject()); in ExportToFDF()
Dcpvt_generateap.cpp482 pExtGStateDict->SetFor(sExtGSDictName, std::move(pGSDict)); in GenerateExtGStateDict()
493 pResourceDict->SetFor("ExtGState", std::move(pExtGStateDict)); in GenerateResourceDict()
495 pResourceDict->SetFor("Font", std::move(pResourceFontDict)); in GenerateResourceDict()
522 pStreamDict->SetFor("Resources", std::move(pResourceDict)); in GenerateAndSetAPDict()
1056 pStreamDict->SetFor("Resources", pFormDict->GetDictFor("DR")->Clone()); in GenerateFormAP()
1304 pStreamDict->SetFor("Resources", pFormDict->GetDictFor("DR")->Clone()); in GenerateFormAP()
Dcpdf_formfield.h188 m_pDict->SetFor("Opt", std::move(pOpt)); in SetOpt()
Dcpdf_formfield.cpp226 m_pDict->SetFor("V", std::move(pClone)); in ResetField()
228 m_pDict->SetFor("RV", pDV->Clone()); in ResetField()
576 m_pDict->SetFor("V", std::move(pArray)); in SetItemSelection()
/external/pdfium/core/fpdfapi/font/
Dcpdf_fontencoding.cpp1715 pDict->SetFor("Differences", std::move(pDiff)); in Realize()
/external/pdfium/core/fpdfapi/page/
Dcpdf_docpagedata.cpp178 pDict->SetFor("Encoding", in GetStandardFont()
Dcpdf_streamparser.cpp351 pDict->SetFor(key, std::move(pObj)); in ReadNextObject()
Dcpdf_streamcontentparser.cpp628 pDict->SetFor(key, std::move(pObj)); in Handle_BeginImage()
640 pDict->SetFor("ColorSpace", pCSObj->Clone()); in Handle_BeginImage()