Lines Matching refs:pFile
91 CPDF_Dictionary* pFile = pDoc->NewIndirect<CPDF_Dictionary>(); in FPDFDoc_AddAttachment() local
92 pFile->SetNewFor<CPDF_Name>("Type", "Filespec"); in FPDFDoc_AddAttachment()
93 pFile->SetNewFor<CPDF_String>("UF", wsName); in FPDFDoc_AddAttachment()
94 pFile->SetNewFor<CPDF_String>(pdfium::stream::kF, wsName); in FPDFDoc_AddAttachment()
98 if (!nameTree.AddValueAndName(pFile->MakeReference(pDoc), wsName)) { in FPDFDoc_AddAttachment()
102 return FPDFAttachmentFromCPDFObject(pFile); in FPDFDoc_AddAttachment()
137 CPDF_Object* pFile = CPDFObjectFromFPDFAttachment(attachment); in FPDFAttachment_GetName() local
138 if (!pFile) in FPDFAttachment_GetName()
141 return Utf16EncodeMaybeCopyAndReturnLength(CPDF_FileSpec(pFile).GetFileName(), in FPDFAttachment_GetName()
147 CPDF_Object* pFile = CPDFObjectFromFPDFAttachment(attachment); in FPDFAttachment_HasKey() local
148 if (!pFile) in FPDFAttachment_HasKey()
151 CPDF_Dictionary* pParamsDict = CPDF_FileSpec(pFile).GetParamsDict(); in FPDFAttachment_HasKey()
169 CPDF_Object* pFile = CPDFObjectFromFPDFAttachment(attachment); in FPDFAttachment_SetStringValue() local
170 if (!pFile) in FPDFAttachment_SetStringValue()
173 CPDF_Dictionary* pParamsDict = CPDF_FileSpec(pFile).GetParamsDict(); in FPDFAttachment_SetStringValue()
192 CPDF_Object* pFile = CPDFObjectFromFPDFAttachment(attachment); in FPDFAttachment_GetStringValue() local
193 if (!pFile) in FPDFAttachment_GetStringValue()
196 CPDF_Dictionary* pParamsDict = CPDF_FileSpec(pFile).GetParamsDict(); in FPDFAttachment_GetStringValue()
219 CPDF_Object* pFile = CPDFObjectFromFPDFAttachment(attachment); in FPDFAttachment_SetFile() local
221 if (!pFile || !pFile->IsDictionary() || !pDoc || len > INT_MAX) in FPDFAttachment_SetFile()
259 pFile->AsDictionary()->SetNewFor<CPDF_Dictionary>("EF"); in FPDFAttachment_SetFile()
268 CPDF_Object* pFile = CPDFObjectFromFPDFAttachment(attachment); in FPDFAttachment_GetFile() local
269 if (!pFile) in FPDFAttachment_GetFile()
272 CPDF_Stream* pFileStream = CPDF_FileSpec(pFile).GetFileStream(); in FPDFAttachment_GetFile()