Home
last modified time | relevance | path

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

/external/pdfium/core/fpdfapi/parser/
Dcpdf_crypto_handler.h33 uint32_t gennum,
42 void* DecryptStart(uint32_t objnum, uint32_t gennum);
43 ByteString Decrypt(uint32_t objnum, uint32_t gennum, const ByteString& str);
49 void PopulateKey(uint32_t objnum, uint32_t gennum, uint8_t* key);
52 uint32_t gennum,
56 void* CryptStart(uint32_t objnum, uint32_t gennum, bool bEncrypt);
Dcpdf_crypto_handler.cpp47 uint32_t gennum, in CryptBlock() argument
59 PopulateKey(objnum, gennum, key1); in CryptBlock()
111 uint32_t gennum, in CryptStart() argument
130 PopulateKey(objnum, gennum, key1); in CryptStart()
255 uint32_t gennum, in Decrypt() argument
258 void* context = DecryptStart(objnum, gennum); in Decrypt()
264 void* CPDF_CryptoHandler::DecryptStart(uint32_t objnum, uint32_t gennum) { in DecryptStart() argument
265 return CryptStart(objnum, gennum, false); in DecryptStart()
372 uint32_t gennum, in EncryptContent() argument
376 CryptBlock(true, objnum, gennum, source, dest_buf, dest_size); in EncryptContent()
[all …]
Dcpdf_cross_ref_table.cpp44 if (info.gennum > 0) in AddCompressed()
52 info.gennum = 0; in AddCompressed()
66 if (info.gennum > gen_num) in AddNormal()
75 info.gennum = gen_num; in AddNormal()
87 info.gennum = 0xFFFF; in SetFree()
Dcpdf_cross_ref_table.h28 ObjectInfo() : pos(0), type(ObjectType::kFree), gennum(0) {} in ObjectInfo()
37 uint16_t gennum; member
Dcpdf_object.h49 void SetGenNum(uint32_t gennum) { m_GenNum = gennum; } in SetGenNum() argument
Dcpdf_parser.cpp489 info.gennum = version; in ParseAndAppendCrossRefSubsectionData()
549 if (obj.info.gennum > 0) in MergeCrossRefObjectsData()
554 m_CrossRefTable->AddNormal(obj.obj_num, obj.info.gennum, obj.info.pos); in MergeCrossRefObjectsData()
Dcpdf_parser_unittest.cpp85 EXPECT_EQ(versions[i], GetObjInfo(parser, i).gennum); in TEST()