Searched refs:pNames (Results 1 – 4 of 4) sorted by relevance
/external/pdfium/core/fpdfdoc/ |
D | cpdf_nametree_unittest.cpp | 15 void AddNameKeyValue(CPDF_Array* pNames, const char* key, const int value) { in AddNameKeyValue() argument 16 pNames->AddNew<CPDF_String>(key, false); in AddNameKeyValue() 17 pNames->AddNew<CPDF_Number>(value); in AddNameKeyValue() 20 void CheckNameKeyValue(CPDF_Array* pNames, in CheckNameKeyValue() argument 24 EXPECT_STREQ(key, pNames->GetStringAt(index * 2).c_str()); in CheckNameKeyValue() 25 EXPECT_EQ(value, pNames->GetIntegerAt(index * 2 + 1)); in CheckNameKeyValue() 61 CPDF_Array* pNames = pKid3->SetNewFor<CPDF_Array>("Names"); in FillNameTreeDict() local 62 AddNameKeyValue(pNames, "9.txt", 999); in FillNameTreeDict() 66 pNames = pKid4->SetNewFor<CPDF_Array>("Names"); in FillNameTreeDict() 67 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->size() / 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->size() / 2 - 1; in SearchNameNodeByName() [all …]
|
/external/pdfium/fpdfsdk/ |
D | fpdf_attachment.cpp | 76 CPDF_Dictionary* pNames = pRoot->GetDictFor("Names"); in FPDFDoc_AddAttachment() local 77 if (!pNames) { in FPDFDoc_AddAttachment() 78 pNames = pDoc->NewIndirect<CPDF_Dictionary>(); in FPDFDoc_AddAttachment() 79 pRoot->SetNewFor<CPDF_Reference>("Names", pDoc, pNames->GetObjNum()); in FPDFDoc_AddAttachment() 83 if (!pNames->GetDictFor("EmbeddedFiles")) { in FPDFDoc_AddAttachment() 86 pNames->SetNewFor<CPDF_Reference>("EmbeddedFiles", pDoc, in FPDFDoc_AddAttachment()
|
/external/pdfium/xfa/fxfa/ |
D | cxfa_ffdoc.cpp | 186 CPDF_Dictionary* pNames = pRoot->GetDictFor("Names"); in GetPDFNamedImage() local 187 if (!pNames) in GetPDFNamedImage() 190 CPDF_Dictionary* pXFAImages = pNames->GetDictFor("XFAImages"); in GetPDFNamedImage()
|