Home
last modified time | relevance | path

Searched refs:gennum (Results 1 – 5 of 5) sorted by relevance

/external/pdfium/core/src/fpdfapi/fpdf_parser/
Dfpdf_parser_encrypt.cpp663 void CPDF_StandardCryptoHandler::CryptBlock(FX_BOOL bEncrypt, FX_DWORD objnum, FX_DWORD gennum, FX_… in CryptBlock() argument
678 key1[m_KeyLen + 3] = (FX_BYTE)gennum; in CryptBlock()
679 key1[m_KeyLen + 4] = (FX_BYTE)(gennum >> 8); in CryptBlock()
681 FXSYS_memcpy32(key1 + m_KeyLen + 3, &gennum, 2); in CryptBlock()
727 FX_LPVOID CPDF_StandardCryptoHandler::CryptStart(FX_DWORD objnum, FX_DWORD gennum, FX_BOOL bEncrypt) in CryptStart() argument
748 FXSYS_memcpy32(key1 + m_KeyLen + 3, &gennum, 2); in CryptStart()
861 FX_LPVOID CPDF_StandardCryptoHandler::DecryptStart(FX_DWORD objnum, FX_DWORD gennum) in DecryptStart() argument
863 return CryptStart(objnum, gennum, FALSE); in DecryptStart()
934 FX_BOOL CPDF_StandardCryptoHandler::EncryptContent(FX_DWORD objnum, FX_DWORD gennum, FX_LPCBYTE src… in EncryptContent() argument
937 CryptBlock(TRUE, objnum, gennum, src_buf, src_size, dest_buf, dest_size); in EncryptContent()
[all …]
Dfpdf_parser_parser.cpp630 FX_DWORD objnum = 0, gennum = 0; in RebuildCrossRef() local
710 gennum = byte - '0'; in RebuildCrossRef()
723 gennum = gennum * 10 + byte - '0'; in RebuildCrossRef()
739 objnum = gennum; in RebuildCrossRef()
740 gennum = byte - '0'; in RebuildCrossRef()
824 m_ObjVersion.SetAt(objnum, (FX_SHORT)gennum); in RebuildCrossRef()
825 if (oldgen != gennum) { in RebuildCrossRef()
832 m_ObjVersion.SetAtGrow(objnum, (FX_SHORT)gennum); in RebuildCrossRef()
1436 FX_DWORD gennum = FXSYS_atoi(word); in ParseIndirectObjectAtByStrict() local
1441 CPDF_Object* pObj = m_Syntax.GetObjectByStrict(pObjList, objnum, gennum, pContext); in ParseIndirectObjectAtByStrict()
[all …]
Dfilters_int.h13 CPDF_DecryptFilter(CPDF_CryptoHandler* pCryptoHandler, FX_DWORD objnum, FX_DWORD gennum);
Dfpdf_parser_filters.cpp266 …yptFilter::CPDF_DecryptFilter(CPDF_CryptoHandler* pCryptoHandler, FX_DWORD objnum, FX_DWORD gennum) in CPDF_DecryptFilter() argument
271 m_GenNum = gennum; in CPDF_DecryptFilter()
/external/pdfium/core/include/fpdfapi/
Dfpdf_parser.h259 …CPDF_Object* GetObject(CPDF_IndirectObjects* pObjList, FX_DWORD objnum, FX_DWORD gennum, struct P…
262 …ObjectByStrict(CPDF_IndirectObjects* pObjList, FX_DWORD objnum, FX_DWORD gennum, struct PARSE_CONT…
266 CFX_ByteString GetString(FX_DWORD objnum, FX_DWORD gennum);
315 …am* ReadStream(CPDF_Dictionary* pDict, PARSE_CONTEXT* pContext, FX_DWORD objnum, FX_DWORD gennum);
695 virtual FX_LPVOID DecryptStart(FX_DWORD objnum, FX_DWORD gennum) = 0;
720 virtual FX_LPVOID DecryptStart(FX_DWORD objnum, FX_DWORD gennum);
728 …virtual void CryptBlock(FX_BOOL bEncrypt, FX_DWORD objnum, FX_DWORD gennum, FX_LPCBYTE src_buf, F…
730 virtual FX_LPVOID CryptStart(FX_DWORD objnum, FX_DWORD gennum, FX_BOOL bEncrypt);