Home
last modified time | relevance | path

Searched refs:pAcc (Results 1 – 20 of 20) sorted by relevance

/external/pdfium/core/fpdfapi/parser/
Dcpdf_stream.cpp82 auto pAcc = pdfium::MakeRetain<CPDF_StreamAcc>(this); in CloneNonCyclic() local
83 pAcc->LoadAllDataRaw(); in CloneNonCyclic()
85 uint32_t streamSize = pAcc->GetSize(); in CloneNonCyclic()
92 return pdfium::MakeUnique<CPDF_Stream>(pAcc->DetachData(), streamSize, in CloneNonCyclic()
149 auto pAcc = pdfium::MakeRetain<CPDF_StreamAcc>(this); in GetUnicodeText() local
150 pAcc->LoadAllDataFiltered(); in GetUnicodeText()
151 return PDF_DecodeText(pAcc->GetData(), pAcc->GetSize()); in GetUnicodeText()
158 auto pAcc = pdfium::MakeRetain<CPDF_StreamAcc>(this); in WriteTo() local
159 pAcc->LoadAllDataRaw(); in WriteTo()
160 return archive->WriteBlock(pAcc->GetData(), pAcc->GetSize()) && in WriteTo()
Dfpdf_parser_utility.cpp211 auto pAcc = pdfium::MakeRetain<CPDF_StreamAcc>(p); in operator <<() local
212 pAcc->LoadAllDataRaw(); in operator <<()
213 buf.write(reinterpret_cast<const char*>(pAcc->GetData()), in operator <<()
214 pAcc->GetSize()); in operator <<()
Dcpdf_hint_tables.cpp473 auto pAcc = pdfium::MakeRetain<CPDF_StreamAcc>(pHintStream); in LoadHintStream() local
474 pAcc->LoadAllDataFiltered(); in LoadHintStream()
476 uint32_t size = pAcc->GetSize(); in LoadHintStream()
490 CFX_BitStream bs(pAcc->GetData(), size); in LoadHintStream()
Dcpdf_parser.cpp1098 auto pAcc = pdfium::MakeRetain<CPDF_StreamAcc>(pStream); in LoadCrossRefV5() local
1099 pAcc->LoadAllDataFiltered(); in LoadCrossRefV5()
1101 const uint8_t* pData = pAcc->GetData(); in LoadCrossRefV5()
1102 uint32_t dwTotalSize = pAcc->GetSize(); in LoadCrossRefV5()
/external/pdfium/core/fpdfdoc/
Dcpdf_metadata.cpp23 auto pAcc = pdfium::MakeRetain<CPDF_StreamAcc>(pStream); in CPDF_Metadata() local
24 pAcc->LoadAllDataFiltered(); in CPDF_Metadata()
25 m_pXmlElement = CXML_Element::Parse(pAcc->GetData(), pAcc->GetSize()); in CPDF_Metadata()
/external/pdfium/core/fpdfapi/page/
Dcpdf_psfunc.cpp17 auto pAcc = pdfium::MakeRetain<CPDF_StreamAcc>(pObj->AsStream()); in v_Init() local
18 pAcc->LoadAllDataFiltered(); in v_Init()
19 return m_PS.Parse(reinterpret_cast<const char*>(pAcc->GetData()), in v_Init()
20 pAcc->GetSize()); in v_Init()
Dcpdf_colorspace.cpp1057 auto pAcc = pdfium::MakeRetain<CPDF_StreamAcc>(pStream); in v_Load() local
1058 pAcc->LoadAllDataFiltered(); in v_Load()
1059 m_Table = ByteStringView(pAcc->GetData(), pAcc->GetSize()); in v_Load()
/external/pdfium/xfa/fxfa/
Dcxfa_ffnotify.cpp198 CXFA_WidgetAcc* pAcc = pItem->GetWidgetAcc(); in StartFieldDrawLayout() local
199 if (!pAcc) in StartFieldDrawLayout()
202 pAcc->StartWidgetLayout(m_pDoc.Get(), fCalcWidth, fCalcHeight); in StartFieldDrawLayout()
208 CXFA_WidgetAcc* pAcc = pItem->GetWidgetAcc(); in FindSplitPos() local
209 return pAcc && in FindSplitPos()
210 pAcc->FindSplitPos(m_pDoc->GetDocView(), iBlockIndex, fCalcHeightPos); in FindSplitPos()
328 CXFA_WidgetAcc* pAcc = pDocView->GetFocusWidgetAcc(); in GetFocusWidgetNode() local
329 return pAcc ? pAcc->GetNode() : nullptr; in GetFocusWidgetNode()
337 CXFA_WidgetAcc* pAcc = pNode ? pNode->GetWidgetAcc() : nullptr; in SetFocusWidgetNode() local
338 pDocView->SetFocusWidgetAcc(pAcc); in SetFocusWidgetNode()
Dcxfa_ffdocview.cpp257 while (CXFA_WidgetAcc* pAcc = Iterator.MoveToNext()) { in ResetWidgetAcc() local
258 bChanged |= ResetSingleWidgetAccData(pAcc); in ResetWidgetAcc()
259 if (pAcc->GetNode()->GetElementType() == XFA_Element::ExclGroup) in ResetWidgetAcc()
498 CXFA_WidgetAcc* pAcc = GetWidgetAccByName(wsName, pRefAcc); in GetWidgetByName() local
499 if (!pAcc) in GetWidgetByName()
501 return GetWidgetForNode(pAcc->GetNode()); in GetWidgetByName()
705 for (CXFA_WidgetAcc* pAcc : m_ValidateAccs) { in RunValidate()
706 CXFA_Node* node = pAcc->GetNode(); in RunValidate()
732 CXFA_WidgetAcc* pAcc = pWidgetNode->GetWidgetAcc(); in RunBindItems() local
733 if (!pAcc) in RunBindItems()
[all …]
Dcxfa_fffield.cpp643 CXFA_WidgetAcc* pAcc = exclNode->GetWidgetAcc(); in CalculateOverride() local
644 if (!pAcc) in CalculateOverride()
646 if (CalculateWidgetAcc(pAcc) == 0) in CalculateOverride()
649 CXFA_Node* pNode = pAcc->GetExclGroupFirstMember(); in CalculateOverride()
666 int32_t CXFA_FFField::CalculateWidgetAcc(CXFA_WidgetAcc* pAcc) { in CalculateWidgetAcc() argument
667 CXFA_Calculate* calc = pAcc->GetNode()->GetCalculateIfExists(); in CalculateWidgetAcc()
694 if (pAcc->GetNode()->IsUserInteractive()) in CalculateWidgetAcc()
708 pAcc->GetNode()->SetFlag(XFA_NodeFlag_UserInteractive, false); in CalculateWidgetAcc()
716 pAcc->GetNode()->SetFlag(XFA_NodeFlag_UserInteractive, false); in CalculateWidgetAcc()
Dcxfa_ffdoc.cpp383 auto pAcc = pdfium::MakeRetain<CPDF_StreamAcc>(pStream); in GetPDFNamedImage() local
384 pAcc->LoadAllDataFiltered(); in GetPDFNamedImage()
388 const_cast<uint8_t*>(pAcc->GetData()), pAcc->GetSize(), false); in GetPDFNamedImage()
Dcxfa_fftextedit.cpp196 CXFA_WidgetAcc* pAcc = GetNode()->GetWidgetAcc(); in ValidateNumberField() local
197 if (!pAcc || pAcc->GetUIType() != XFA_Element::NumericEdit) in ValidateNumberField()
204 WideString wsSomField = pAcc->GetNode()->GetSOMExpression(); in ValidateNumberField()
Dcxfa_widgetacc.cpp220 void LoadText(CXFA_FFDoc* doc, CXFA_WidgetAcc* pAcc) { in LoadText() argument
225 pdfium::MakeUnique<CXFA_TextProvider>(pAcc, XFA_TEXTPROVIDERTYPE_Text); in LoadText()
242 bool LoadImageData(CXFA_FFDoc* doc, CXFA_WidgetAcc* pAcc) { in LoadImageData() argument
246 CXFA_Value* value = pAcc->GetNode()->GetFormValueIfExists(); in LoadImageData()
254 pAcc->SetImageImage(XFA_LoadImageData(doc, image, m_bNamedImage, in LoadImageData()
270 bool LoadCaption(CXFA_FFDoc* doc, CXFA_WidgetAcc* pAcc) { in LoadCaption() argument
273 CXFA_Caption* caption = pAcc->GetNode()->GetCaptionIfExists(); in LoadCaption()
278 pAcc, XFA_TEXTPROVIDERTYPE_Caption); in LoadCaption()
299 bool LoadImageData(CXFA_FFDoc* doc, CXFA_WidgetAcc* pAcc) { in LoadImageData() argument
303 CXFA_Value* value = pAcc->GetNode()->GetFormValueIfExists(); in LoadImageData()
[all …]
Dcxfa_fffield.h75 int32_t CalculateWidgetAcc(CXFA_WidgetAcc* pAcc);
/external/pdfium/fpdfsdk/
Dfpdf_flatten.cpp200 auto pAcc = pdfium::MakeRetain<CPDF_StreamAcc>(pContentsStream); in SetPageContents() local
201 pAcc->LoadAllDataFiltered(); in SetPageContents()
203 ByteString sBody = ByteString(pAcc->GetData(), pAcc->GetSize()); in SetPageContents()
396 auto pAcc = pdfium::MakeRetain<CPDF_StreamAcc>(pNewXObject); in FPDFPage_Flatten() local
397 pAcc->LoadAllDataFiltered(); in FPDFPage_Flatten()
398 ByteString sStream(pAcc->GetData(), pAcc->GetSize()); in FPDFPage_Flatten()
Dfpdfsave.cpp101 auto pAcc = pdfium::MakeRetain<CPDF_StreamAcc>(pTemplateStream); in SaveXFADocumentData() local
102 pAcc->LoadAllDataFiltered(); in SaveXFADocumentData()
105 const_cast<uint8_t*>(pAcc->GetData()), pAcc->GetSize(), false); in SaveXFADocumentData()
Dcpdfsdk_widget.cpp260 CXFA_WidgetAcc* pAcc = hGroupWidget->GetNode()->GetWidgetAcc(); in OnXFAAAction() local
261 param.m_pTarget = pAcc; in OnXFAAAction()
262 if (pXFAWidgetHandler->ProcessEvent(pAcc, &param) != in OnXFAAAction()
268 CXFA_WidgetAcc* pAcc = hWidget->GetNode()->GetWidgetAcc(); in OnXFAAAction() local
269 param.m_pTarget = pAcc; in OnXFAAAction()
270 int32_t nRet = pXFAWidgetHandler->ProcessEvent(pAcc, &param); in OnXFAAAction()
995 CXFA_WidgetAcc* pAcc = hWidget->GetNode()->GetWidgetAcc(); local
996 param.m_pTarget = pAcc;
997 int32_t nRet = pXFAWidgetHandler->ProcessEvent(pAcc, &param);
/external/pdfium/core/fpdfapi/font/
Dcpdf_tounicodemap.cpp127 auto pAcc = pdfium::MakeRetain<CPDF_StreamAcc>(pStream); in Load() local
128 pAcc->LoadAllDataFiltered(); in Load()
129 CPDF_SimpleParser parser(pAcc->GetData(), pAcc->GetSize()); in Load()
Dcpdf_cidfont.cpp376 auto pAcc = pdfium::MakeRetain<CPDF_StreamAcc>(pStream); in Load() local
377 pAcc->LoadAllDataFiltered(); in Load()
379 m_pCMap->LoadEmbedded(pAcc->GetData(), pAcc->GetSize()); in Load()
/external/pdfium/fpdfsdk/fpdfxfa/
Dcpdfxfa_docenvironment.cpp499 auto pAcc = pdfium::MakeRetain<CPDF_StreamAcc>(pStream); in ExportData() local
500 pAcc->LoadAllDataFiltered(); in ExportData()
501 fileWrite->WriteBlock(pAcc->GetData(), fileWrite->GetSize(), in ExportData()
502 pAcc->GetSize()); in ExportData()