Searched refs:pNames (Results 1 – 4 of 4) sorted by relevance
/external/pdfium/core/fpdfdoc/ |
D | cpdf_nametree_unittest.cpp | 14 void AddNameKeyValue(CPDF_Array* pNames, const char* key, const int value) { in AddNameKeyValue() argument 15 pNames->AddNew<CPDF_String>(key, false); in AddNameKeyValue() 16 pNames->AddNew<CPDF_Number>(value); in AddNameKeyValue() 19 void CheckNameKeyValue(CPDF_Array* pNames, in CheckNameKeyValue() argument 23 EXPECT_STREQ(key, pNames->GetStringAt(index * 2).c_str()); in CheckNameKeyValue() 24 EXPECT_EQ(value, pNames->GetIntegerAt(index * 2 + 1)); in CheckNameKeyValue() 60 CPDF_Array* pNames = pKid3->SetNewFor<CPDF_Array>("Names"); in FillNameTreeDict() local 61 AddNameKeyValue(pNames, "9.txt", 999); in FillNameTreeDict() 65 pNames = pKid4->SetNewFor<CPDF_Array>("Names"); in FillNameTreeDict() 66 AddNameKeyValue(pNames, "1.txt", 111); in FillNameTreeDict() [all …]
|
D | cpdf_nametree.cpp | 84 CPDF_Array* pNames = pNode->GetArrayFor("Names"); in UpdateNodesAndLimitsUponDeletion() local 85 if (pNames) { in UpdateNodesAndLimitsUponDeletion() 86 if (pNames != pFind) in UpdateNodesAndLimitsUponDeletion() 88 if (pNames->IsEmpty() || !pLimits) in UpdateNodesAndLimitsUponDeletion() 97 for (size_t i = 0; i < pNames->GetCount() / 2; ++i) { in UpdateNodesAndLimitsUponDeletion() 98 WideString wsName = pNames->GetUnicodeTextAt(i * 2); in UpdateNodesAndLimitsUponDeletion() 166 CPDF_Array* pNames = pNode->GetArrayFor("Names"); in SearchNameNodeByName() local 177 if (csName.Compare(csRight) > 0 && pNames) { in SearchNameNodeByName() 179 *ppFind = pNames; in SearchNameNodeByName() 181 *pFindIndex = pNames->GetCount() / 2 - 1; in SearchNameNodeByName() [all …]
|
/external/pdfium/fpdfsdk/ |
D | fpdfattachment.cpp | 71 CPDF_Dictionary* pNames = pRoot->GetDictFor("Names"); in FPDFDoc_AddAttachment() local 72 if (!pNames) { in FPDFDoc_AddAttachment() 73 pNames = pDoc->NewIndirect<CPDF_Dictionary>(); in FPDFDoc_AddAttachment() 74 pRoot->SetNewFor<CPDF_Reference>("Names", pDoc, pNames->GetObjNum()); in FPDFDoc_AddAttachment() 78 if (!pNames->GetDictFor("EmbeddedFiles")) { in FPDFDoc_AddAttachment() 81 pNames->SetNewFor<CPDF_Reference>("EmbeddedFiles", pDoc, in FPDFDoc_AddAttachment()
|
/external/pdfium/xfa/fxfa/ |
D | cxfa_ffdoc.cpp | 358 CPDF_Dictionary* pNames = pRoot->GetDictFor("Names"); in GetPDFNamedImage() local 359 if (!pNames) in GetPDFNamedImage() 362 CPDF_Dictionary* pXFAImages = pNames->GetDictFor("XFAImages"); in GetPDFNamedImage()
|