Home
last modified time | relevance | path

Searched refs:nameTree (Results 1 – 4 of 4) sorted by relevance

/external/pdfium/core/fpdfdoc/
Dcpdf_nametree_unittest.cpp92 CPDF_NameTree nameTree(pRootDict.Get()); in TEST() local
94 nameTree.LookupValueAndName(0, &storedName); in TEST()
99 CPDF_Object* pObj = nameTree.LookupValue(matchName); in TEST()
111 CPDF_NameTree nameTree(pRootDict.Get()); in TEST() local
112 pNames = nameTree.GetRootForTest()->GetArrayFor("Names"); in TEST()
116 nameTree.AddValueAndName(pdfium::MakeRetain<CPDF_Number>(111), L"2.txt")); in TEST()
120 nameTree.AddValueAndName(pdfium::MakeRetain<CPDF_Number>(111), L"1.txt")); in TEST()
124 nameTree.AddValueAndName(pdfium::MakeRetain<CPDF_Number>(555), L"5.txt")); in TEST()
128 nameTree.AddValueAndName(pdfium::MakeRetain<CPDF_Number>(999), L"9.txt")); in TEST()
142 CPDF_NameTree nameTree(pRootDict.Get()); in TEST() local
[all …]
/external/pdfium/fpdfsdk/
Dfpdf_attachment.cpp97 CPDF_NameTree nameTree(pDoc, "EmbeddedFiles"); in FPDFDoc_AddAttachment() local
98 if (!nameTree.AddValueAndName(pFile->MakeReference(pDoc), wsName)) { in FPDFDoc_AddAttachment()
111 CPDF_NameTree nameTree(pDoc, "EmbeddedFiles"); in FPDFDoc_GetAttachment() local
112 if (static_cast<size_t>(index) >= nameTree.GetCount()) in FPDFDoc_GetAttachment()
117 nameTree.LookupValueAndName(index, &csName)); in FPDFDoc_GetAttachment()
126 CPDF_NameTree nameTree(pDoc, "EmbeddedFiles"); in FPDFDoc_DeleteAttachment() local
127 if (static_cast<size_t>(index) >= nameTree.GetCount()) in FPDFDoc_DeleteAttachment()
130 return nameTree.DeleteValueAndName(index); in FPDFDoc_DeleteAttachment()
Dfpdf_view.cpp998 CPDF_NameTree nameTree(pDoc, "Dests"); in FPDF_CountNamedDests() local
999 pdfium::base::CheckedNumeric<FPDF_DWORD> count = nameTree.GetCount(); in FPDF_CountNamedDests()
1101 CPDF_NameTree nameTree(pDoc, "Dests"); in FPDF_GetNamedDest() local
1102 int count = nameTree.GetCount(); in FPDF_GetNamedDest()
1128 pDestObj = nameTree.LookupValueAndName(index, &wsName); in FPDF_GetNamedDest()
/external/pdfium/fxjs/
Dcjs_document.cpp1373 CPDF_NameTree nameTree(pDocument, "Dests"); in gotoNamedDest() local
1375 nameTree.LookupNamedDest(pDocument, pRuntime->ToWideString(params[0])); in gotoNamedDest()