Home
last modified time | relevance | path

Searched refs:FX_NEW (Results 1 – 25 of 100) sorted by relevance

1234

/external/pdfium/fpdfsdk/src/
Dfpdf_transformpage.cpp16 CPDF_Array* pMediaBoxArray = FX_NEW CPDF_Array; in FPDFPage_SetMediaBox()
17 pMediaBoxArray->Add(FX_NEW CPDF_Number(left)); in FPDFPage_SetMediaBox()
18 pMediaBoxArray->Add(FX_NEW CPDF_Number(bottom)); in FPDFPage_SetMediaBox()
19 pMediaBoxArray->Add(FX_NEW CPDF_Number(FX_FLOAT(right))); in FPDFPage_SetMediaBox()
20 pMediaBoxArray->Add(FX_NEW CPDF_Number(FX_FLOAT(top))); in FPDFPage_SetMediaBox()
32 CPDF_Array* pCropBoxArray = FX_NEW CPDF_Array; in FPDFPage_SetCropBox()
33 pCropBoxArray->Add(FX_NEW CPDF_Number(left)); in FPDFPage_SetCropBox()
34 pCropBoxArray->Add(FX_NEW CPDF_Number(bottom)); in FPDFPage_SetCropBox()
35 pCropBoxArray->Add(FX_NEW CPDF_Number(FX_FLOAT(right))); in FPDFPage_SetCropBox()
36 pCropBoxArray->Add(FX_NEW CPDF_Number(FX_FLOAT(top))); in FPDFPage_SetCropBox()
[all …]
Dfpdfeditpage.cpp20 CPDF_Document* pDoc = FX_NEW CPDF_Document; in FPDF_CreateNewDocument()
48 pInfoDict->SetAt("Creator",FX_NEW CPDF_String(L"Google")); in FPDF_CreateNewDocument()
50 pInfoDict->SetAt("Creator",FX_NEW CPDF_String(L"Foxit PDF SDK DLL 2.0 - Foxit Software")); in FPDF_CreateNewDocument()
85 CPDF_Array* pMediaBoxArray = FX_NEW CPDF_Array; in FPDFPage_New()
86 pMediaBoxArray->Add(FX_NEW CPDF_Number(0)); in FPDFPage_New()
87 pMediaBoxArray->Add(FX_NEW CPDF_Number(0)); in FPDFPage_New()
88 pMediaBoxArray->Add(FX_NEW CPDF_Number(FX_FLOAT(width))); in FPDFPage_New()
89 pMediaBoxArray->Add(FX_NEW CPDF_Number(FX_FLOAT(height))); in FPDFPage_New()
92 pPageDict->SetAt("Rotate", FX_NEW CPDF_Number(0)); in FPDFPage_New()
93 pPageDict->SetAt("Resources", FX_NEW CPDF_Dictionary); in FPDFPage_New()
[all …]
Dfpdf_flatten.cpp43 CPDF_Page* pPDFPage = FX_NEW CPDF_Page; in GetContentsRect()
218 CPDF_Stream* pNewContents = FX_NEW CPDF_Stream(NULL, 0, FX_NEW CPDF_Dictionary); in SetPageContents()
236 pContentsArray = FX_NEW CPDF_Array; in SetPageContents()
265 CPDF_Stream* pNewContents = FX_NEW CPDF_Stream(NULL, 0, FX_NEW CPDF_Dictionary); in SetPageContents()
381 CPDF_Array* pMediaBox = FX_NEW CPDF_Array(); in FPDFPage_Flatten()
383 pMediaBox->Add(FX_NEW CPDF_Number(rcOriginalMB.left)); in FPDFPage_Flatten()
384 pMediaBox->Add(FX_NEW CPDF_Number(rcOriginalMB.bottom)); in FPDFPage_Flatten()
385 pMediaBox->Add(FX_NEW CPDF_Number(rcOriginalMB.right)); in FPDFPage_Flatten()
386 pMediaBox->Add(FX_NEW CPDF_Number(rcOriginalMB.top)); in FPDFPage_Flatten()
393 CPDF_Array* pCropBox = FX_NEW CPDF_Array(); in FPDFPage_Flatten()
[all …]
Dfpdfview.cpp272 CPDF_Parser* pParser = FX_NEW CPDF_Parser; in FPDF_LoadDocument()
311 CPDF_Parser* pParser = FX_NEW CPDF_Parser; in FPDF_LoadMemDocument()
314 CMemFile* pMemFile = FX_NEW CMemFile((FX_BYTE*)data_buf, size); in FPDF_LoadMemDocument()
335 CPDF_Parser* pParser = FX_NEW CPDF_Parser; in FPDF_LoadCustomDocument()
337 CPDF_CustomAccess* pFile = FX_NEW CPDF_CustomAccess(pFileAccess); in FPDF_LoadCustomDocument()
396 CPDF_Page* pPage = FX_NEW CPDF_Page; in FPDF_LoadPage()
445 CRenderContext* pContext = FX_NEW CRenderContext; in FPDF_RenderPage()
455 pBitmap = FX_NEW CFX_DIBitmap; in FPDF_RenderPage()
459 pContext->m_pDevice = FX_NEW CFX_SkiaDevice; in FPDF_RenderPage()
462 pContext->m_pDevice = FX_NEW CFX_FxgeDevice; in FPDF_RenderPage()
[all …]
Dfpdfeditimg.cpp15 CPDF_ImageObject* pImageObj = FX_NEW CPDF_ImageObject; in FPDFPageObj_NewImgeObj()
16 CPDF_Image* pImg = FX_NEW CPDF_Image((CPDF_Document *)document); in FPDFPageObj_NewImgeObj()
26 IFX_FileRead* pFile = FX_NEW CPDF_CustomAccess(fileAccess); in FPDFImageObj_LoadJpegFile()
Dfpdf_progressive.cpp35 CRenderContext* pContext = FX_NEW CRenderContext; in FPDF_RenderPageBitmap_Start()
38 pContext->m_pDevice = FX_NEW CFX_SkiaDevice; in FPDF_RenderPageBitmap_Start()
44 pContext->m_pDevice = FX_NEW CFX_FxgeDevice; in FPDF_RenderPageBitmap_Start()
Dfpdf_dataavail.cpp100 CFPDF_DataAvail* pAvail = FX_NEW CFPDF_DataAvail; in FPDFAvail_Create()
103 pAvail->m_pDataAvail = FX_NEW CPDF_DataAvail(&pAvail->m_FileAvail, &pAvail->m_FileRead); in FPDFAvail_Create()
125 CPDF_Parser* pParser = FX_NEW CPDF_Parser; in FPDFAvail_GetDocument()
/external/pdfium/core/src/fpdfapi/fpdf_edit/
Dfpdf_edit_doc.cpp24 m_pRootDict = FX_NEW CPDF_Dictionary; in CreateNewDoc()
27 CPDF_Dictionary* pPages = FX_NEW CPDF_Dictionary; in CreateNewDoc()
30 pPages->SetAt("Kids", FX_NEW CPDF_Array); in CreateNewDoc()
33 m_pInfoDict = FX_NEW CPDF_Dictionary; in CreateNewDoc()
210 CPDF_Array* pWidthArray1 = FX_NEW CPDF_Array; in _InsertWidthArray()
291 CPDF_Dictionary* pBaseDict = FX_NEW CPDF_Dictionary; in AddWindowsFont()
311 CPDF_Dictionary* pEncoding = FX_NEW CPDF_Dictionary; in AddWindowsFont()
313 CPDF_Array* pArray = FX_NEW CPDF_Array; in AddWindowsFont()
342 CPDF_Array* pWidths = FX_NEW CPDF_Array; in AddWindowsFont()
349 pFontDict = FX_NEW CPDF_Dictionary; in AddWindowsFont()
[all …]
Dfpdf_edit_image.cpp20 CPDF_Dictionary* pDict = FX_NEW CPDF_Dictionary; in InitJPEG()
43 CPDF_Dictionary* pParms = FX_NEW CPDF_Dictionary; in InitJPEG()
51 m_pStream = FX_NEW CPDF_Stream(NULL, 0, NULL); in InitJPEG()
111 CPDF_Dictionary* pDict = FX_NEW CPDF_Dictionary; in SetImage()
126 pDict->SetAt(FX_BSTRC("ImageMask"), FX_NEW CPDF_Boolean(TRUE)); in SetImage()
128 CPDF_Array* pArray = FX_NEW CPDF_Array; in SetImage()
134 CPDF_Array* pCS = FX_NEW CPDF_Array; in SetImage()
160 CPDF_Array* pCS = FX_NEW CPDF_Array; in SetImage()
214 CPDF_Dictionary* pMaskDict = FX_NEW CPDF_Dictionary; in SetImage()
238 CPDF_Array* pMatte = FX_NEW CPDF_Array; in SetImage()
[all …]
Dfpdf_edit_content.cpp55 CPDF_Stream* pStream = FX_NEW CPDF_Stream(NULL, 0, NULL); in GenerateContent()
63 m_pPage->m_pResources = FX_NEW CPDF_Dictionary; in RealizeResource()
69 pResList = FX_NEW CPDF_Dictionary; in RealizeResource()
108 CPDF_Stream* pStream = FX_NEW CPDF_Stream(NULL, 0, NULL); in ProcessForm()
139 CPDF_StreamAcc* pStream = FX_NEW CPDF_StreamAcc(); in TransformContent()
160 CPDF_Stream* pStream = FX_NEW CPDF_Stream(NULL, 0, NULL); in TransformContent()
/external/pdfium/core/src/fpdfapi/fpdf_page/
Dfpdf_page_doc.cpp24 return FX_NEW CPDF_DocPageData(pDoc); in CreateDocData()
65 CPDF_PageModule* pPageModule = FX_NEW CPDF_PageModule; in InitPageModule()
272 fontData = FX_NEW CPDF_CountedObject<CPDF_Font*>; in GetFont()
323 CPDF_Dictionary* pDict = FX_NEW CPDF_Dictionary; in GetStandardFont()
331 CPDF_CountedObject<CPDF_Font*>* fontData = FX_NEW CPDF_CountedObject<CPDF_Font*>; in GetStandardFont()
417 csData = FX_NEW CPDF_CountedObject<CPDF_ColorSpace*>; in GetColorSpace()
478 ptData = FX_NEW CPDF_CountedObject<CPDF_Pattern*>; in GetPattern()
486 pPattern = FX_NEW CPDF_ShadingPattern(m_pPDFDoc, pPatternObj, bShading, matrix); in GetPattern()
492 pPattern = FX_NEW CPDF_TilingPattern(m_pPDFDoc, pPatternObj, matrix); in GetPattern()
494 pPattern = FX_NEW CPDF_ShadingPattern(m_pPDFDoc, pPatternObj, FALSE, matrix); in GetPattern()
[all …]
Dfpdf_page_parser_new.cpp359 CPDF_Array* pArray = FX_NEW CPDF_Array; in StartArray()
383 CPDF_Dictionary* pDict = FX_NEW CPDF_Dictionary; in StartDict()
433 CPDF_Number *pObj = FX_NEW CPDF_Number(CFX_ByteStringC(m_pWordBuf, m_WordSize)); in EndNumber()
441 CPDF_String *pObj = FX_NEW CPDF_String(_FPDF_ByteStringFromHex(m_StringBuf), TRUE); in EndHexString()
448 CPDF_String *pObj = FX_NEW CPDF_String(m_StringBuf.GetByteString()); in EndString()
543 CPDF_InlineImages* pImages = FX_NEW CPDF_InlineImages; in EndInlineImage()
634 m_pParser = FX_NEW CPDF_StreamContentParser; in Start()
664 m_pParser = FX_NEW CPDF_StreamContentParser; in Start()
/external/pdfium/core/src/reflow/
Dreflowengine.cpp11 CPDF_ReflowedPage* pRefPage = FX_NEW CPDF_ReflowedPage(NULL); in Create()
24 CPDF_ProgressiveReflowPageParser* pParser = FX_NEW CPDF_ProgressiveReflowPageParser; in Create()
37 return FX_NEW CPDF_ProgressiveReflowPageRender; in Create()
/external/pdfium/core/include/fpdfapi/
Dfpdf_objects.h114 return FX_NEW CPDF_Boolean(value); in Create()
143 return FX_NEW CPDF_Number(value); in Create()
148 return FX_NEW CPDF_Number(value); in Create()
153 return FX_NEW CPDF_Number(str); in Create()
158 return FX_NEW CPDF_Number(bInteger, pData); in Create()
224 return FX_NEW CPDF_String(str, bHex);
229 return FX_NEW CPDF_String(str); in Create()
273 return FX_NEW CPDF_Name(str); in Create()
278 return FX_NEW CPDF_Name(str); in Create()
283 return FX_NEW CPDF_Name(str); in Create()
[all …]
/external/pdfium/core/src/fxcodec/codec/
Dfx_codec.cpp11 m_pBasicModule = FX_NEW CCodec_BasicModule; in CCodec_ModuleMgr()
12 m_pFaxModule = FX_NEW CCodec_FaxModule; in CCodec_ModuleMgr()
13 m_pJpegModule = FX_NEW CCodec_JpegModule; in CCodec_ModuleMgr()
14 m_pJpxModule = FX_NEW CCodec_JpxModule; in CCodec_ModuleMgr()
15 m_pJbig2Module = FX_NEW CCodec_Jbig2Module; in CCodec_ModuleMgr()
16 m_pIccModule = FX_NEW CCodec_IccModule; in CCodec_ModuleMgr()
17 m_pFlateModule = FX_NEW CCodec_FlateModule; in CCodec_ModuleMgr()
247 return FX_NEW CCodec_ModuleMgr; in Create()
438 CCodec_RLScanlineDecoder* pRLScanlineDecoder = FX_NEW CCodec_RLScanlineDecoder; in CreateRunLengthDecoder()
/external/pdfium/core/src/fxge/ge/
Dfx_ge.cpp36 g_pGEModule = FX_NEW CFX_GEModule; in Create()
40 g_pGEModule->m_pFontMgr = FX_NEW CFX_FontMgr; in Create()
58 m_pFontCache = FX_NEW CFX_FontCache(); in GetFontCache()
/external/pdfium/core/src/fpdfapi/fpdf_parser/
Dfpdf_parser_objects.cpp269 return FX_NEW CPDF_Boolean(((CPDF_Boolean*)this)->m_bValue); in CloneInternal()
271 … return FX_NEW CPDF_Number(((CPDF_Number*)this)->m_bInteger, &((CPDF_Number*)this)->m_Integer); in CloneInternal()
273 … return FX_NEW CPDF_String(((CPDF_String*)this)->m_String, ((CPDF_String*)this)->IsHex()); in CloneInternal()
275 return FX_NEW CPDF_Name(((CPDF_Name*)this)->m_Name); in CloneInternal()
277 CPDF_Array* pCopy = FX_NEW CPDF_Array(); in CloneInternal()
287 CPDF_Dictionary* pCopy = FX_NEW CPDF_Dictionary(); in CloneInternal()
299 return FX_NEW CPDF_Null; in CloneInternal()
306 …CPDF_Stream* pObj = FX_NEW CPDF_Stream(acc.DetachData(), streamSize, (CPDF_Dictionary*)((CPDF_Obje… in CloneInternal()
317 return FX_NEW CPDF_Reference(pRef->m_pObjList, obj_num); in CloneInternal()
329 return FX_NEW CPDF_Reference(pDoc, m_ObjNum); in CloneRef()
[all …]
Dfpdf_parser_filters.cpp79 pFilter = FX_NEW CPDF_LzwFilter(pParam->GetInteger("EarlyChange", 1)); in FPDF_CreateFilter()
81 pFilter = FX_NEW CPDF_FlateFilter; in FPDF_CreateFilter()
84 …CFX_DataFilter* pPredictor = FX_NEW CPDF_PredictorFilter(pParam->GetInteger(FX_BSTRC("Predictor"),… in FPDF_CreateFilter()
93 return FX_NEW CPDF_AsciiHexFilter; in FPDF_CreateFilter()
95 return FX_NEW CPDF_Ascii85Filter; in FPDF_CreateFilter()
97 return FX_NEW CPDF_AsciiHexFilter; in FPDF_CreateFilter()
99 return FX_NEW CPDF_Ascii85Filter; in FPDF_CreateFilter()
101 return FX_NEW CPDF_RunLenFilter; in FPDF_CreateFilter()
123 CPDF_FaxFilter* pFilter = FX_NEW CPDF_FaxFilter(); in FPDF_CreateFilter()
128 return FX_NEW CPDF_JpegFilter; in FPDF_CreateFilter()
[all …]
Dfpdf_parser_fdf.cpp22 CFDF_Document* pDoc = FX_NEW CFDF_Document; in CreateNewDoc()
23 pDoc->m_pRootDict = FX_NEW CPDF_Dictionary; in CreateNewDoc()
25 CPDF_Dictionary* pFDFDict = FX_NEW CPDF_Dictionary; in CreateNewDoc()
42 CFDF_Document* pDoc = FX_NEW CFDF_Document; in ParseFile()
/external/pdfium/core/src/fpdfapi/
Dfpdf_basic_module.cpp16 g_FPDFAPI_pDefaultMgr = FX_NEW CPDF_ModuleMgr; in Create()
41 m_pPageModule = FX_NEW CPDF_PageModuleDef; in InitModules()
42 m_pRenderModule = FX_NEW CPDF_RenderModuleDef; in InitModules()
86 m_ModulePathList.SetAt(module_name, FX_NEW CFX_ByteString(path, -1)); in SetModulePath()
/external/pdfium/core/src/fxge/android/
Dfpf_skiamodule.cpp15 gs_pPFModule = FX_NEW CFPF_SkiaDeviceModule; in FPF_GetDeviceModule()
35 m_pFontMgr = FX_NEW CFPF_SkiaFontMgr; in GetFontMgr()
/external/pdfium/fpdfsdk/src/formfiller/
DFFL_CBA_Fontmap.cpp177 pAPDict = FX_NEW CPDF_Dictionary; in AddFontToAnnotDict()
189 pStream = FX_NEW CPDF_Stream(NULL, 0, NULL); in AddFontToAnnotDict()
198 pStreamDict = FX_NEW CPDF_Dictionary; in AddFontToAnnotDict()
207 pStreamResList = FX_NEW CPDF_Dictionary(); in AddFontToAnnotDict()
216 pStreamResFontList = FX_NEW CPDF_Dictionary; in AddFontToAnnotDict()
/external/pdfium/core/src/fxge/apple/
Dfx_mac_imp.cpp93 CFX_MacFontInfo* pInfo = FX_NEW CFX_MacFontInfo; in CreateDefault()
107 m_pPlatformData = FX_NEW CApplePlatform; in InitPlatform()
/external/pdfium/core/src/fpdfapi/fpdf_render/
Dfpdf_render_cache.cpp114 pImageCache = FX_NEW CPDF_ImageCache(m_pPage->m_pDocument, pStream); in GetCachedBitmap()
129 m_pCurImageCache = FX_NEW CPDF_ImageCache(m_pPage->m_pDocument, pStream); in StartGetCachedBitmap()
166 pImageCache = FX_NEW CPDF_ImageCache(m_pPage->m_pDocument, pStream); in ResetBitmap()
243 CPDF_DIBSource* pSrc = FX_NEW CPDF_DIBSource; in GetCachedBitmap()
309 m_pCurBitmap = FX_NEW CPDF_DIBSource; in StartGetCachedBitmap()
Dfpdf_render.cpp64 m_pFontCache = FX_NEW CFX_FontCache; in Initialize()
71 CPDF_Type3Cache* pType3 = FX_NEW CPDF_Type3Cache(pFont); in GetCachedType3()
72 pCache = FX_NEW CPDF_CountedObject<CPDF_Type3Cache*>; in GetCachedType3()
105 return FX_NEW CPDF_PageRenderCache(pPage); in CreatePageCache()
118 CPDF_DocRenderData* pData = FX_NEW CPDF_DocRenderData(pDoc); in CreateDocData()
141 m_pRenderModule = FX_NEW CPDF_RenderModule; in InitRenderModule()
372 pRenderer = FX_NEW CPDF_ImageRenderer; in Create()
702 pTextClippingPath = FX_NEW CFX_PathData; in ProcessClipPath()
837 oriDevice = FX_NEW CFX_DIBitmap; in ProcessTransparency()
853 pTextMask = FX_NEW CFX_DIBitmap; in ProcessTransparency()
[all …]

1234