/external/pdfium/core/src/fpdfapi/fpdf_parser/ |
D | fpdf_parser_decode.cpp | 234 K = pParams->GetInteger("K"); in FPDFAPI_CreateFaxDecoder() 235 EndOfLine = pParams->GetInteger("EndOfLine"); in FPDFAPI_CreateFaxDecoder() 236 ByteAlign = pParams->GetInteger("EncodedByteAlign"); in FPDFAPI_CreateFaxDecoder() 237 BlackIs1 = pParams->GetInteger("BlackIs1"); in FPDFAPI_CreateFaxDecoder() 238 Columns = pParams->GetInteger("Columns", 1728); in FPDFAPI_CreateFaxDecoder() 239 Rows = pParams->GetInteger("Rows"); in FPDFAPI_CreateFaxDecoder() 283 predictor = pParams->GetInteger("Predictor"); in FPDFAPI_CreateFlateDecoder() 284 Colors = pParams->GetInteger("Colors", 1); in FPDFAPI_CreateFlateDecoder() 285 BitsPerComponent = pParams->GetInteger("BitsPerComponent", 8); in FPDFAPI_CreateFlateDecoder() 286 Columns = pParams->GetInteger("Columns", 1); in FPDFAPI_CreateFlateDecoder() [all …]
|
D | fpdf_parser_document.cpp | 78 dwPageCount = pCount->GetInteger(); in LoadAsynDoc() 83 m_dwFirstPageNo = pNo->GetInteger(); in LoadAsynDoc() 87 m_dwFirstPageObjNum = pObjNum->GetInteger(); in LoadAsynDoc() 133 int nPages = pKid->GetInteger("Count"); in _FindPDFPage() 190 FX_DWORD count = pNode->GetInteger("Count"); in _FindPageIndex() 263 int count = pPages->GetInteger("Count"); in _CountPages()
|
D | fpdf_parser_encrypt.cpp | 24 int revision = pEncrypt->GetInteger("R"); in CalcEncryptKey() 34 FX_DWORD perm = pEncrypt->GetInteger("P"); in CalcEncryptKey() 41 !pEncrypt->GetInteger("EncryptMetadata", 1)) { in CalcEncryptKey() 113 int Version = pEncryptDict->GetInteger("V"); in _LoadCryptInfo() 130 nKeyBits = pDefFilter->GetInteger("Length", 0); in _LoadCryptInfo() 132 nKeyBits = pEncryptDict->GetInteger("Length", 128); in _LoadCryptInfo() 135 nKeyBits = pEncryptDict->GetInteger("Length", 256); in _LoadCryptInfo() 147 keylen = Version > 1 ? pEncryptDict->GetInteger("Length", 40) / 8 : 5; in _LoadCryptInfo() 157 m_Version = pEncryptDict->GetInteger("V"); in LoadDict() 158 m_Revision = pEncryptDict->GetInteger("R"); in LoadDict() [all …]
|
D | fpdf_parser_parser.cpp | 76 return pObj ? pObj->GetInteger() : 0; in GetDirectInteger() 87 return pObjStream->GetDict()->GetInteger("N"); in GetStreamNCount() 91 return pObjStream->GetDict()->GetInteger("First"); in GetStreamFirst() 423 XRefStreamList.InsertAt(0, pDict->GetInteger("XRefStm")); in LoadAllCrossRefV4() 466 XRefStreamList.InsertAt(0, pDict->GetInteger("XRefStm")); in LoadLinearizedAllCrossRefV4() 1042 *pos = pStream->GetDict()->GetInteger("Prev"); in LoadCrossRefV5() 1043 int32_t size = pStream->GetDict()->GetInteger("Size"); in LoadCrossRefV5() 1065 int nStartNum = pStartNumObj->GetInteger(); in LoadCrossRefV5() 1066 int nCount = pCountObj->GetInteger(); in LoadCrossRefV5() 1084 WidthArray.Add(pArray->GetInteger(i)); in LoadCrossRefV5() [all …]
|
D | fpdf_parser_objects.cpp | 117 int CPDF_Object::GetInteger() const { in GetInteger() function in CPDF_Object 126 return AsNumber()->GetInteger(); in GetInteger() 136 return pObj ? pObj->GetInteger() : 0; in GetInteger() 477 int CPDF_Array::GetInteger(FX_DWORD i) const { in GetInteger() function in CPDF_Array 480 return m_Objects.GetAt(i)->GetInteger(); in GetInteger() 635 int CPDF_Dictionary::GetInteger(const CFX_ByteStringC& key) const { in GetInteger() function in CPDF_Dictionary 638 return p->GetInteger(); in GetInteger() 642 int CPDF_Dictionary::GetInteger(const CFX_ByteStringC& key, int def) const { in GetInteger() function in CPDF_Dictionary 645 return p->GetInteger(); in GetInteger() 660 return p->GetInteger(); in GetBoolean()
|
D | fpdf_parser_utility.cpp | 426 (num < pLimits->GetInteger(0) || num > pLimits->GetInteger(1))) { in SearchNumberNode() 433 int index = pNumbers->GetInteger(i * 2); in SearchNumberNode()
|
/external/pdfium/core/src/fpdfapi/fpdf_page/ |
D | fpdf_page_image.cpp | 92 m_bIsMask = !pDict->KeyExist("ColorSpace") || pDict->GetInteger("ImageMask"); in LoadImageF() 93 m_bInterpolate = pDict->GetInteger("Interpolate"); in LoadImageF() 94 m_Height = pDict->GetInteger("Height"); in LoadImageF() 95 m_Width = pDict->GetInteger("Width"); in LoadImageF()
|
D | fpdf_page_pattern.cpp | 47 m_bColored = pDict->GetInteger("PaintType") == 1; in CPDF_TilingPattern() 65 m_bColored = pDict->GetInteger("PaintType") == 1; in Load() 149 m_ShadingType = ToShadingType(pShadingDict->GetInteger("ShadingType")); in Load() 167 m_nCoordBits = pDict->GetInteger("BitsPerCoordinate"); in Load() 168 m_nCompBits = pDict->GetInteger("BitsPerComponent"); in Load() 169 m_nFlagBits = pDict->GetInteger("BitsPerFlag"); in Load()
|
D | fpdf_page_graph_state.cpp | 475 (CFX_GraphStateData::LineCap)pObject->GetInteger(); in ProcessExtGS() 479 (CFX_GraphStateData::LineJoin)pObject->GetInteger(); in ProcessExtGS() 543 pGeneralState->m_StrokeOP = pObject->GetInteger(); in ProcessExtGS() 545 pGeneralState->m_FillOP = pObject->GetInteger(); in ProcessExtGS() 549 pGeneralState->m_FillOP = pObject->GetInteger(); in ProcessExtGS() 552 pGeneralState->m_OPMode = pObject->GetInteger(); in ProcessExtGS() 578 pGeneralState->m_StrokeAdjust = pObject->GetInteger(); in ProcessExtGS() 581 pGeneralState->m_AlphaSource = pObject->GetInteger(); in ProcessExtGS() 584 pGeneralState->m_TextKnockout = pObject->GetInteger(); in ProcessExtGS() 628 return pDict->GetInteger("MCID"); in GetMCID()
|
D | fpdf_page_doc.cpp | 426 int type = pDict->GetInteger("PatternType"); in GetPattern() 556 int32_t org_size = pFontDict->GetInteger("Length1") + in GetFontFileStreamAcc() 557 pFontDict->GetInteger("Length2") + in GetFontFileStreamAcc() 558 pFontDict->GetInteger("Length3"); in GetFontFileStreamAcc()
|
/external/libchrome/base/trace_event/ |
D | trace_event_unittest.cc | 650 EXPECT_TRUE((item && item->GetInteger("args.value", &value))); in ValidateAllTraceMacrosCreatedData() 661 EXPECT_TRUE((item && item->GetInteger("args.a", &value))); in ValidateAllTraceMacrosCreatedData() 664 EXPECT_TRUE((item && item->GetInteger("args.b", &value))); in ValidateAllTraceMacrosCreatedData() 675 EXPECT_TRUE((item && item->GetInteger("args.value", &value))); in ValidateAllTraceMacrosCreatedData() 679 EXPECT_TRUE((item && item->GetInteger("ts", &ts))); in ValidateAllTraceMacrosCreatedData() 690 EXPECT_TRUE((item && item->GetInteger("args.a", &value))); in ValidateAllTraceMacrosCreatedData() 693 EXPECT_TRUE((item && item->GetInteger("args.b", &value))); in ValidateAllTraceMacrosCreatedData() 697 EXPECT_TRUE((item && item->GetInteger("ts", &ts))); in ValidateAllTraceMacrosCreatedData() 712 EXPECT_TRUE((item && item->GetInteger("args.value", &value))); in ValidateAllTraceMacrosCreatedData() 727 EXPECT_TRUE((item && item->GetInteger("args.a", &value))); in ValidateAllTraceMacrosCreatedData() [all …]
|
/external/libweave/third_party/chromium/base/ |
D | values_unittest.cc | 77 ASSERT_FALSE(mixed_list->GetInteger(0, &int_value)); in TEST() 83 ASSERT_FALSE(mixed_list->GetInteger(2, &int_value)); in TEST() 90 ASSERT_TRUE(mixed_list->GetInteger(1, &int_value)); in TEST() 871 EXPECT_FALSE(main_dict.GetInteger("bool", NULL)); in TEST() 872 EXPECT_TRUE(main_dict.GetInteger("int", NULL)); in TEST() 873 EXPECT_FALSE(main_dict.GetInteger("double", NULL)); in TEST() 874 EXPECT_FALSE(main_dict.GetInteger("string", NULL)); in TEST() 875 EXPECT_FALSE(main_dict.GetInteger("binary", NULL)); in TEST() 876 EXPECT_FALSE(main_dict.GetInteger("dict", NULL)); in TEST() 877 EXPECT_FALSE(main_dict.GetInteger("list", NULL)); in TEST() [all …]
|
/external/libchrome/base/ |
D | values_unittest.cc | 77 ASSERT_FALSE(mixed_list->GetInteger(0, &int_value)); in TEST() 83 ASSERT_FALSE(mixed_list->GetInteger(2, &int_value)); in TEST() 90 ASSERT_TRUE(mixed_list->GetInteger(1, &int_value)); in TEST() 911 EXPECT_FALSE(main_dict.GetInteger("bool", NULL)); in TEST() 912 EXPECT_TRUE(main_dict.GetInteger("int", NULL)); in TEST() 913 EXPECT_FALSE(main_dict.GetInteger("double", NULL)); in TEST() 914 EXPECT_FALSE(main_dict.GetInteger("string", NULL)); in TEST() 915 EXPECT_FALSE(main_dict.GetInteger("binary", NULL)); in TEST() 916 EXPECT_FALSE(main_dict.GetInteger("dict", NULL)); in TEST() 917 EXPECT_FALSE(main_dict.GetInteger("list", NULL)); in TEST() [all …]
|
/external/pdfium/core/src/fpdfdoc/ |
D | doc_tagged.cpp | 16 return pMarkInfo != NULL && pMarkInfo->GetInteger("Marked"); in IsTagged() 102 int parents_id = pPageDict->GetInteger("StructParents", -1); in LoadPageTree() 258 pKid->m_PageContent.m_ContentId = pKidObj->GetInteger(); in LoadKid() 282 pKid->m_StreamContent.m_ContentId = pKidDict->GetInteger("MCID"); in LoadKid() 425 int CPDF_StructElementImpl::GetInteger(const CFX_ByteStringC& owner, in GetInteger() function in CPDF_StructElementImpl 431 return ToNumber(pAttr) ? pAttr->GetInteger() : default_value; in GetInteger()
|
D | doc_formfield.cpp | 34 ? FPDF_GetFieldAttr(m_pDict, "Ff")->GetInteger() in SyncFieldFlags() 268 return pObj->GetInteger(); in GetFieldFlags() 400 return pObj->GetInteger(); in GetMaxLen() 409 return pWidgetDict->GetInteger("MaxLen"); in GetMaxLen() 435 return pValue->GetInteger(); in GetSelectedIndex() 523 return (pValue->GetInteger() == index); in IsItemSelected() 925 return pObj->GetInteger(); in GetTopVisibleIndex() 949 return pArray->GetInteger(index); in GetSelectedOptionIndex() 964 if (pArray->GetInteger(i) == iOptIndex) { in IsOptionSelected() 983 int iFind = pArray->GetInteger(i); in SelectOption()
|
D | doc_formcontrol.cpp | 155 if (m_pWidgetDict->GetInteger("F") & ANNOTFLAG_HIDDEN) { in DrawControl() 314 return m_pWidgetDict->GetInteger("Q", 0); in GetControlAlignment() 318 return pObj->GetInteger(); in GetControlAlignment() 329 return m_pDict ? m_pDict->GetInteger("R") : 0; in GetRotation() 424 return m_pDict ? m_pDict->GetInteger("TP", TEXTPOS_CAPTION) : TEXTPOS_CAPTION; in GetTextPosition()
|
D | doc_ap.cpp | 19 ? FPDF_GetFieldAttr(pAnnotDict, "Ff")->GetInteger() in FPDF_GenerateAP() 329 nRotate = pMKDict->GetInteger("R"); in GenerateWidgetAP() 364 dsBorder = CPVT_Dash(pArray->GetInteger(0), pArray->GetInteger(1), in GenerateWidgetAP() 365 pArray->GetInteger(2)); in GenerateWidgetAP() 454 ? FPDF_GetFieldAttr(pAnnotDict, "Q")->GetInteger() in GenerateWidgetAP() 457 ? FPDF_GetFieldAttr(pAnnotDict, "Ff")->GetInteger() in GenerateWidgetAP() 461 ? FPDF_GetFieldAttr(pAnnotDict, "MaxLen")->GetInteger() in GenerateWidgetAP() 597 ? FPDF_GetFieldAttr(pAnnotDict, "TI")->GetInteger() in GenerateWidgetAP() 616 if (i == pSels->GetInteger(s)) { in GenerateWidgetAP()
|
D | doc_viewerPreferences.cpp | 34 return pDict->GetInteger("NumCopies"); in NumCopies()
|
/external/pdfium/core/src/fpdfapi/fpdf_font/ |
D | fpdf_font.cpp | 197 m_Flags = pFontDesc->GetInteger("Flags", PDFFONT_NONSYMBOLIC); in LoadFontDescriptor() 201 ItalicAngle = pFontDesc->GetInteger("ItalicAngle"); in LoadFontDescriptor() 210 m_StemV = pFontDesc->GetInteger("StemV"); in LoadFontDescriptor() 215 m_Ascent = pFontDesc->GetInteger("Ascent"); in LoadFontDescriptor() 220 m_Descent = pFontDesc->GetInteger("Descent"); in LoadFontDescriptor() 236 m_FontBBox.left = pBBox->GetInteger(0); in LoadFontDescriptor() 237 m_FontBBox.bottom = pBBox->GetInteger(1); in LoadFontDescriptor() 238 m_FontBBox.right = pBBox->GetInteger(2); in LoadFontDescriptor() 239 m_FontBBox.top = pBBox->GetInteger(3); in LoadFontDescriptor() 740 cur_code = pElement->GetInteger(); in LoadPDFEncoding() [all …]
|
/external/pdfium/xfa/src/fee/src/fee/ |
D | fde_txtedtblock.cpp | 468 m_nLength = wsVal.GetInteger(); in CFDE_TxtEdtField_Integer() 470 m_bSign = wsVal.GetInteger() != 0; in CFDE_TxtEdtField_Integer() 520 m_nDecPartLength = wsVal.GetInteger(); in CFDE_TxtEdtField_Float() 522 m_nIntPartlength = wsVal.GetInteger(); in CFDE_TxtEdtField_Float() 524 m_bSigned = wsVal.GetInteger() != 0; in CFDE_TxtEdtField_Float() 595 m_nLength = wsVal.GetInteger(); in CFDE_TxtEdtField_Password() 638 m_nLength = wsVal.GetInteger(); in CFDE_TxtEdtField_String()
|
/external/libweave/examples/daemon/ledflasher/ |
D | ledflasher.cc | 87 if (params.GetInteger("_led", &led_index) && in OnFlasherSetCommand() 117 if (params.GetInteger("_led", &led_index)) { in OnFlasherToggleCommand()
|
/external/pdfium/core/include/fpdfapi/ |
D | fpdf_objects.h | 72 int GetInteger() const; 179 int GetInteger() const { return m_bInteger ? m_Integer : (int)m_Float; } in GetInteger() function 284 int GetInteger(FX_DWORD index) const; 365 int GetInteger(const CFX_ByteStringC& key) const; 367 int GetInteger(const CFX_ByteStringC& key, int default_int) const;
|
/external/pdfium/core/src/fpdfapi/fpdf_render/ |
D | fpdf_render_loadimage.cpp | 225 m_Width = m_pDict->GetInteger("Width"); in Load() 226 m_Height = m_pDict->GetInteger("Height"); in Load() 345 m_Width = m_pDict->GetInteger("Width"); in StartLoadDIBSource() 346 m_Height = m_pDict->GetInteger("Height"); in StartLoadDIBSource() 476 m_bpc_orig = m_pDict->GetInteger("BitsPerComponent"); in LoadColorInfo() 477 if (m_pDict->GetInteger("ImageMask")) in LoadColorInfo() 500 m_bDefaultDecode = !pDecode || !pDecode->GetInteger(0); in LoadColorInfo() 575 int min_num = pArray->GetInteger(i * 2); in GetDecodeAndMaskArray() 576 int max_num = pArray->GetInteger(i * 2 + 1); in GetDecodeAndMaskArray() 617 pParams ? pParams->GetInteger("ColorTransform", 1) : 1); in CreateDecoder()
|
/external/pdfium/core/src/fpdfapi/fpdf_edit/ |
D | fpdf_edit_doc.cpp | 200 int first = pWidthArray->GetInteger(pWidthArray->GetCount() - 1); in _InsertWidthArray() 536 int first = pWidthArray->GetInteger(pWidthArray->GetCount() - 1); in _InsertWidthArray() 814 int first = pWidthArray->GetInteger(pWidthArray->GetCount() - 1); in _InsertWidthArray1() 1037 pPages->GetInteger("Count") + (bInsert ? 1 : -1)); in InsertDeletePDFPage() 1042 int nPages = pKid->GetInteger("Count"); in InsertDeletePDFPage() 1057 pPages->GetInteger("Count") + (bInsert ? 1 : -1)); in InsertDeletePDFPage() 1128 int nPages = pPages->GetInteger("Count"); in DeletePage()
|
/external/pdfium/fpdfsdk/src/ |
D | fsdk_baseannot.cpp | 650 return m_pAnnot->GetAnnotDict()->GetInteger("F"); in GetFlags() 669 return m_pAnnot->GetAnnotDict()->GetInteger("StructParent"); in GetStructParent() 692 return pBorder->GetInteger(2); in GetBorderWidth() 695 return pBSDict->GetInteger("W", 1); in GetBorderWidth() 784 array.Add(pDash->GetInteger(i)); in GetBorderDash()
|