Home
last modified time | relevance | path

Searched refs:GetIntegerFor (Results 1 – 25 of 51) sorted by relevance

123

/external/pdfium/core/fpdfapi/parser/
Dcpdf_linearized_header.cpp88 : m_szFileSize(pDict->GetIntegerFor("L")), in CPDF_LinearizedHeader()
89 m_dwFirstPageNo(pDict->GetIntegerFor("P")), in CPDF_LinearizedHeader()
90 m_szMainXRefTableFirstEntryOffset(pDict->GetIntegerFor("T")), in CPDF_LinearizedHeader()
91 m_PageCount(pDict->GetIntegerFor("N")), in CPDF_LinearizedHeader()
92 m_szFirstPageEndOffset(pDict->GetIntegerFor("E")), in CPDF_LinearizedHeader()
93 m_FirstPageObjNum(pDict->GetIntegerFor("O")), in CPDF_LinearizedHeader()
Dfpdf_parser_decode.cpp306 K = pParams->GetIntegerFor("K"); in CreateFaxDecoder()
307 EndOfLine = !!pParams->GetIntegerFor("EndOfLine"); in CreateFaxDecoder()
308 ByteAlign = !!pParams->GetIntegerFor("EncodedByteAlign"); in CreateFaxDecoder()
309 BlackIs1 = !!pParams->GetIntegerFor("BlackIs1"); in CreateFaxDecoder()
310 Columns = pParams->GetIntegerFor("Columns", 1728); in CreateFaxDecoder()
311 Rows = pParams->GetIntegerFor("Rows"); in CreateFaxDecoder()
331 predictor = pParams->GetIntegerFor("Predictor"); in CreateFlateDecoder()
332 Colors = pParams->GetIntegerFor("Colors", 1); in CreateFlateDecoder()
333 BitsPerComponent = pParams->GetIntegerFor("BitsPerComponent", 8); in CreateFlateDecoder()
334 Columns = pParams->GetIntegerFor("Columns", 1); in CreateFlateDecoder()
[all …]
Dcpdf_security_handler.cpp52 uint32_t perm = pEncrypt->GetIntegerFor("P"); in CalcEncryptKey()
56 const bool is_revision_3_or_greater = pEncrypt->GetIntegerFor("R") >= 3; in CalcEncryptKey()
230 int Version = pEncryptDict->GetIntegerFor("V"); in LoadCryptInfo()
248 nKeyBits = pDefFilter->GetIntegerFor("Length", 0); in LoadCryptInfo()
250 nKeyBits = pEncryptDict->GetIntegerFor("Length", 128); in LoadCryptInfo()
253 nKeyBits = pEncryptDict->GetIntegerFor("Length", 256); in LoadCryptInfo()
267 keylen = Version > 1 ? pEncryptDict->GetIntegerFor("Length", 40) / 8 : 5; in LoadCryptInfo()
281 m_Version = pEncryptDict->GetIntegerFor("V"); in LoadDict()
282 m_Revision = pEncryptDict->GetIntegerFor("R"); in LoadDict()
283 m_Permissions = pEncryptDict->GetIntegerFor("P", -1); in LoadDict()
[all …]
Dcpdf_document_unittest.cpp177 EXPECT_EQ(i, page->GetIntegerFor("PageNumbering")); in TEST_F()
201 EXPECT_EQ(i, page->GetIntegerFor("PageNumbering")); in TEST_F()
214 EXPECT_EQ(1, page->GetIntegerFor("PageNumbering")); in TEST_F()
219 EXPECT_EQ(3, page->GetIntegerFor("PageNumbering")); in TEST_F()
227 EXPECT_EQ(6, page->GetIntegerFor("PageNumbering")); in TEST_F()
Dcpdf_document.cpp36 int count = pPages->GetIntegerFor("Count"); in CountPages()
269 size_t count = pNode->GetIntegerFor("Count"); in FindPageIndex()
397 "Count", pPages->GetIntegerFor("Count") + (bInsert ? 1 : -1)); in InsertDeletePDFPage()
401 int nPages = pKid->GetIntegerFor("Count"); in InsertDeletePDFPage()
414 "Count", pPages->GetIntegerFor("Count") + (bInsert ? 1 : -1)); in InsertDeletePDFPage()
465 int nPages = pPages->GetIntegerFor("Count"); in DeletePage()
Dcpdf_object_stream.cpp65 first_object_offset_(obj_stream->GetDict()->GetIntegerFor("First")) { in CPDF_ObjectStream()
105 const int object_count = stream->GetDict()->GetIntegerFor("N"); in Init()
Dcpdf_dictionary.h57 int GetIntegerFor(const ByteString& key) const;
58 int GetIntegerFor(const ByteString& key, int default_int) const;
Dcpdf_object_unittest.cpp809 stream->GetDict()->GetIntegerFor(pdfium::stream::kLength)); in TEST()
821 stream->GetDict()->GetIntegerFor(pdfium::stream::kLength)); in TEST()
835 stream->GetDict()->GetIntegerFor(pdfium::stream::kLength)); in TEST()
846 stream->GetDict()->GetIntegerFor(pdfium::stream::kLength)); in TEST()
862 stream->GetDict()->GetIntegerFor(pdfium::stream::kLength)); in TEST()
873 stream->GetDict()->GetIntegerFor(pdfium::stream::kLength)); in TEST()
972 EXPECT_EQ(42, dict->GetIntegerFor("clams")); in TEST()
Dcpdf_parser.cpp325 pDict->GetIntegerFor("XRefStm")); in LoadAllCrossRefV4()
392 pDict->GetIntegerFor("XRefStm")); in LoadLinearizedAllCrossRefV4()
665 *pos = pDict->GetIntegerFor("Prev"); in LoadCrossRefV5()
666 int32_t size = pDict->GetIntegerFor("Size"); in LoadCrossRefV5()
1060 const FX_SAFE_FILESIZE prev = GetTrailer()->GetIntegerFor("Prev"); in LoadLinearizedMainXRefTable()
Dcpdf_dictionary.cpp125 int CPDF_Dictionary::GetIntegerFor(const ByteString& key) const { in GetIntegerFor() function in CPDF_Dictionary
130 int CPDF_Dictionary::GetIntegerFor(const ByteString& key, int def) const { in GetIntegerFor() function in CPDF_Dictionary
/external/pdfium/core/fpdfapi/page/
Dcpdf_tilingpattern.cpp22 m_bColored = pattern_obj()->GetDict()->GetIntegerFor("PaintType") == 1; in CPDF_TilingPattern()
34 m_bColored = pDict->GetIntegerFor("PaintType") == 1; in Load()
Dcpdf_meshstream.cpp127 m_nCoordBits = pDict->GetIntegerFor("BitsPerCoordinate"); in Load()
128 m_nComponentBits = pDict->GetIntegerFor("BitsPerComponent"); in Load()
136 m_nFlagBits = pDict->GetIntegerFor("BitsPerFlag"); in Load()
Dcpdf_function.cpp43 iType = pStream->GetDict()->GetIntegerFor("FunctionType"); in Load()
45 iType = pDict->GetIntegerFor("FunctionType"); in Load()
Dcpdf_streamparser.cpp98 !pParam || pParam->GetIntegerFor("ColorTransform", 1)); in DecodeInlineStream()
154 uint32_t width = pDict->GetIntegerFor("Width"); in ReadInlineStream()
155 uint32_t height = pDict->GetIntegerFor("Height"); in ReadInlineStream()
162 bpc = pDict->GetIntegerFor("BitsPerComponent"); in ReadInlineStream()
Dcpdf_image.cpp67 pStreamDict->GetIntegerFor("ImageMask"); in FinishInitialization()
68 m_bInterpolate = !!pStreamDict->GetIntegerFor("Interpolate"); in FinishInitialization()
69 m_Height = pStreamDict->GetIntegerFor("Height"); in FinishInitialization()
70 m_Width = pStreamDict->GetIntegerFor("Width"); in FinishInitialization()
Dcpdf_dib.cpp152 m_Width = m_pDict->GetIntegerFor("Width"); in Load()
153 m_Height = m_pDict->GetIntegerFor("Height"); in Load()
251 m_Width = m_pDict->GetIntegerFor("Width"); in StartLoadDIBBase()
252 m_Height = m_pDict->GetIntegerFor("Height"); in StartLoadDIBBase()
371 m_bpc_orig = m_pDict->GetIntegerFor("BitsPerComponent"); in LoadColorInfo()
375 if (m_pDict->GetIntegerFor("ImageMask")) in LoadColorInfo()
547 !pParams || pParams->GetIntegerFor("ColorTransform", 1)); in CreateDCTDecoder()
Dcpdf_shadingpattern.cpp79 m_ShadingType = ToShadingType(pShadingDict->GetIntegerFor("ShadingType")); in Load()
/external/pdfium/core/fpdfapi/font/
Dcpdf_font.cpp162 m_Flags = pFontDesc->GetIntegerFor("Flags", FXFONT_NONSYMBOLIC); in LoadFontDescriptor()
166 ItalicAngle = pFontDesc->GetIntegerFor("ItalicAngle"); in LoadFontDescriptor()
175 m_StemV = pFontDesc->GetIntegerFor("StemV"); in LoadFontDescriptor()
180 m_Ascent = pFontDesc->GetIntegerFor("Ascent"); in LoadFontDescriptor()
185 m_Descent = pFontDesc->GetIntegerFor("Descent"); in LoadFontDescriptor()
Dcpdf_simplefont.cpp198 int MissingWidth = pFontDesc->GetIntegerFor("MissingWidth"); in LoadCommon()
203 size_t width_start = m_pFontDict->GetIntegerFor("FirstChar", 0); in LoadCommon()
204 size_t width_end = m_pFontDict->GetIntegerFor("LastChar", 0); in LoadCommon()
/external/pdfium/core/fpdfdoc/
Dcpdf_apsettings.cpp27 return m_pDict ? m_pDict->GetIntegerFor("R") : 0; in GetRotation()
122 return m_pDict ? m_pDict->GetIntegerFor("TP", TEXTPOS_CAPTION) in GetTextPosition()
Dcpdf_structtree.cpp23 return pMarkInfo && pMarkInfo->GetIntegerFor("Marked"); in IsTagged()
70 int parents_id = pPageDict->GetIntegerFor("StructParents", -1); in LoadPageTree()
Dcpdf_viewerpreferences.cpp30 return pDict ? pDict->GetIntegerFor("NumCopies") : 1; in NumCopies()
Dcpdf_pagelabel.cpp114 int nLabelNum = nPage - n + pLabel->GetIntegerFor("St", 1); in GetLabel()
/external/pdfium/fpdfsdk/
Dfpdf_catalog.cpp22 return pMarkInfo && pMarkInfo->GetIntegerFor("Marked") != 0; in FPDFCatalog_IsTagged()
Dcpdfsdk_baannot.cpp99 return GetAnnotDict()->GetIntegerFor(pdfium::annotation::kF); in GetFlags()
134 return pBSDict->GetIntegerFor("W", 1); in GetBorderWidth()

123