/external/pdfium/core/src/fxcrt/ |
D | fx_basic_memmgr_unittest.cpp | 23 EXPECT_DEATH_IF_SUPPORTED((void)FX_Alloc(int, kMaxIntAlloc), ""); in TEST() 25 int* ptr = FX_Alloc(int, 1); in TEST() 32 EXPECT_DEATH_IF_SUPPORTED((void)FX_Alloc(int, kOverflowIntAlloc), ""); in TEST() 34 int* ptr = FX_Alloc(int, 1); in TEST() 48 int* ptr = FX_Alloc(int, 1); in TEST() 57 int* ptr = FX_Alloc(int, 1); in TEST()
|
D | fx_basic_array.cpp | 36 m_pData = FX_Alloc(uint8_t, totalSize.ValueOrDie()); in SetSize() 188 void** pIndex = FX_Alloc(void*, m_IndexSize); in Add() 209 void** pIndex = FX_Alloc(void*, m_IndexSize); in Add() 219 pSpot[seg_index / tree_size] = FX_Alloc(void*, m_IndexSize); in Add()
|
D | fx_basic_plex.cpp | 14 (CFX_Plex*)FX_Alloc(uint8_t, sizeof(CFX_Plex) + nMax * cbElement); in Create()
|
D | extension.h | 200 uint8_t* block = FX_Alloc(uint8_t, m_nTotalSize); in WriteBlock() 250 FX_Alloc(uint8_t, std::max(nInitSize, static_cast<size_t>(4096))); in EstimateSize() 302 uint8_t* pBlock = FX_Alloc(uint8_t, m_nGrowSize); in ExpandBlocks()
|
/external/pdfium/xfa/src/fxbarcode/qrcode/ |
D | BC_QRCoderMode.cpp | 57 sBYTE = new CBC_QRCoderMode(FX_Alloc(int32_t, 3), 8, 16, 16, 0x4, "BYTE"); in Initialize() 59 new CBC_QRCoderMode(FX_Alloc(int32_t, 3), 9, 11, 13, 0x2, "ALPHANUMERIC"); in Initialize() 61 sKANJI = new CBC_QRCoderMode(FX_Alloc(int32_t, 3), 8, 10, 12, 0x8, "KANJI"); in Initialize() 63 new CBC_QRCoderMode(FX_Alloc(int32_t, 3), 10, 12, 14, 0x1, "NUMERIC"); in Initialize() 64 sGBK = new CBC_QRCoderMode(FX_Alloc(int32_t, 3), 8, 10, 12, 0x0D, "GBK"); in Initialize() 66 new CBC_QRCoderMode(FX_Alloc(int32_t, 3), 0, 0, 0, 0x00, "TERMINATOR"); in Initialize() 71 sSTRUCTURED_APPEND = new CBC_QRCoderMode(FX_Alloc(int32_t, 3), 0, 0, 0, 0x03, in Initialize()
|
D | BC_QRCoderBitVector.cpp | 30 m_array = FX_Alloc(uint8_t, m_size); in Init() 46 m_array = FX_Alloc(uint8_t, m_size); in Clear() 121 uint8_t* newArray = FX_Alloc(uint8_t, m_size << 1); in AppendByte()
|
/external/pdfium/xfa/src/fxbarcode/common/ |
D | BC_CommonByteArray.cpp | 34 m_bytes = FX_Alloc(uint8_t, size); in CBC_CommonByteArray() 40 m_bytes = FX_Alloc(uint8_t, size); in CBC_CommonByteArray() 74 uint8_t* newArray = FX_Alloc(uint8_t, capacity); in Reserve() 88 m_bytes = FX_Alloc(uint8_t, count); in Set() 99 m_bytes = FX_Alloc(uint8_t, count); in Set()
|
/external/pdfium/third_party/agg23/ |
D | agg_array.h | 117 m_array = FX_Alloc(T, full_cap); in capacity() 132 T* data = FX_Alloc(T, new_size); in resize() 142 m_size(0), m_capacity(cap + extra_tail), m_array(FX_Alloc(T, m_capacity)) {} in pod_array() 146 m_array(v.m_capacity ? FX_Alloc(T, v.m_capacity) : 0) in pod_array() 319 m_blocks(v.m_max_blocks ? FX_Alloc(T*, v.m_max_blocks) : 0), in pod_deque() 324 m_blocks[i] = FX_Alloc(T, block_size); in pod_deque() 345 T** new_blocks = FX_Alloc(T*, m_max_blocks + m_block_ptr_inc); in allocate_block() 355 m_blocks[nb] = FX_Alloc(T, block_size); in allocate_block() 477 int8u** new_blocks = FX_Alloc(int8u*, m_max_blocks + m_block_ptr_inc); in allocate_block() 487 m_blocks[m_num_blocks] = m_buf_ptr = FX_Alloc(int8u, size); in allocate_block()
|
D | agg_scanline_u.h | 61 m_covers = FX_Alloc( cover_type , max_len); in reset() 62 m_spans = FX_Alloc( span , max_len); in reset()
|
/external/pdfium/core/src/fxcodec/codec/ |
D | fx_codec_jpx_opj.cpp | 185 d0 = r = FX_Alloc(int, max_size.ValueOrDie()); in sycc444_to_rgb() 186 d1 = g = FX_Alloc(int, max_size.ValueOrDie()); in sycc444_to_rgb() 187 d2 = b = FX_Alloc(int, max_size.ValueOrDie()); in sycc444_to_rgb() 221 d0 = r = FX_Alloc(int, max_size.ValueOrDie()); in sycc422_to_rgb() 222 d1 = g = FX_Alloc(int, max_size.ValueOrDie()); in sycc422_to_rgb() 223 d2 = b = FX_Alloc(int, max_size.ValueOrDie()); in sycc422_to_rgb() 296 int* r = FX_Alloc(int, safeSize.ValueOrDie()); in sycc420_to_rgb() 297 int* g = FX_Alloc(int, safeSize.ValueOrDie()); in sycc420_to_rgb() 298 int* b = FX_Alloc(int, safeSize.ValueOrDie()); in sycc420_to_rgb() 492 in = inbuf = FX_Alloc(unsigned char, nr_samples); in color_apply_icc_profile() [all …]
|
D | fx_codec_flate.cpp | 645 FX_Alloc(uint8_t, guess_size + 1)); in FlateUncompress() 707 cur_buf = FX_Alloc(uint8_t, buf_size + 1); in FlateUncompress() 715 uint8_t* result_buf = FX_Alloc(uint8_t, dest_size); in FlateUncompress() 808 m_pScanline = FX_Alloc(uint8_t, m_Pitch); in Create() 829 m_pLastLine = FX_Alloc(uint8_t, m_PredictPitch); in Create() 830 m_pPredictRaw = FX_Alloc(uint8_t, m_PredictPitch + 1); in Create() 831 m_pPredictBuffer = FX_Alloc(uint8_t, m_PredictPitch); in Create() 948 dest_buf = FX_Alloc(uint8_t, dest_size + 1); in FlateOrLZWDecode() 980 pSrcBuf = FX_Alloc(uint8_t, src_size); in Encode() 1000 dest_buf = FX_Alloc(uint8_t, dest_size); in Encode()
|
D | fx_codec_bmp.cpp | 21 return FX_Alloc(char, size); in _bmp_alloc_func() 48 FXBMP_Context* p = (FXBMP_Context*)FX_Alloc(uint8_t, sizeof(FXBMP_Context)); in Start()
|
D | fx_codec_jpx_unittest.cpp | 495 img.comps = FX_Alloc(opj_image_comp_t, 3); in TEST() 512 y.data = FX_Alloc(OPJ_INT32, y.w * y.h); in TEST() 514 u.data = FX_Alloc(OPJ_INT32, u.w * u.h); in TEST() 516 v.data = FX_Alloc(OPJ_INT32, v.w * v.h); in TEST()
|
D | fx_codec_fax.cpp | 663 m_pScanlineBuf = FX_Alloc(uint8_t, m_Pitch); in Create() 664 m_pRefBuf = FX_Alloc(uint8_t, m_Pitch); in Create() 744 uint8_t* ref_buf = FX_Alloc(uint8_t, pitch); in FaxG4Decode() 777 m_pRefLine = FX_Alloc(uint8_t, m_Pitch); in CCodec_FaxEncoder()
|
/external/pdfium/core/src/fxcodec/jbig2/ |
D | JBig2_SddProc.cpp | 62 SDNEWSYMS = FX_Alloc(CJBig2_Image*, SDNUMNEWSYMS); in decode_Arith() 132 SBSYMS = FX_Alloc(CJBig2_Image*, SBNUMSYMS); in decode_Arith() 210 SBSYMS = FX_Alloc(CJBig2_Image*, SBNUMSYMS); in decode_Arith() 245 EXFLAGS = FX_Alloc(FX_BOOL, SDNUMINSYMS + SDNUMNEWSYMS); in decode_Arith() 317 SDNEWSYMS = FX_Alloc(CJBig2_Image*, SDNUMNEWSYMS); in decode_Huffman() 322 SDNEWSYMWIDTHS = FX_Alloc(FX_DWORD, SDNUMNEWSYMS); in decode_Huffman() 379 SBSYMCODES = FX_Alloc(JBig2HuffmanCode, SBNUMSYMS); in decode_Huffman() 389 SBSYMS = FX_Alloc(CJBig2_Image*, SBNUMSYMS); in decode_Huffman() 456 SBSYMCODES = FX_Alloc(JBig2HuffmanCode, SBNUMSYMS); in decode_Huffman() 495 SBSYMS = FX_Alloc(CJBig2_Image*, SBNUMSYMS); in decode_Huffman() [all …]
|
D | JBig2_PddProc.cpp | 23 pDict->HDPATS = FX_Alloc(CJBig2_Image*, pDict->NUMPATS); in decode_Arith() 66 pDict->HDPATS = FX_Alloc(CJBig2_Image*, pDict->NUMPATS); in decode_MMR()
|
D | JBig2_Context.cpp | 292 FX_Alloc(FX_DWORD, pSegment->m_nReferred_to_segment_count); in parseSegmentHeader() 487 SDINSYMS.reset(FX_Alloc(CJBig2_Image*, pSymbolDictDecoder->SDNUMINSYMS)); in parseSymbolDict() 727 SBSYMS.reset(FX_Alloc(CJBig2_Image*, pTRD->SBNUMSYMS)); in parseTextRegion() 935 grContext.reset(FX_Alloc(JBig2ArithCtx, size)); in parseTextRegion() 991 FX_Alloc(JBig2ArithCtx, size)); in parsePatternDict() 1057 FX_Alloc(JBig2ArithCtx, size)); in parseHalftoneRegion() 1129 m_gbContext = FX_Alloc(JBig2ArithCtx, size); in parseGenericRegion() 1241 FX_Alloc(JBig2ArithCtx, size)); in parseGenericRefinementRegion() 1305 FX_Alloc(JBig2HuffmanCode, SBNUMSYMS)); in decodeSymbolIDHuffmanTable() 1375 LENCOUNT = FX_Alloc(int, LENMAX + 1); in huffman_assign_code() [all …]
|
/external/pdfium/core/src/fxcodec/lgif/ |
D | fx_gif.cpp | 358 (gif_decompress_struct*)FX_Alloc(uint8_t, sizeof(gif_decompress_struct)); in _gif_create_decompress() 445 (gif_compress_struct*)FX_Alloc(uint8_t, sizeof(gif_compress_struct)); in _gif_create_compress() 451 gif_ptr->header_ptr = (GifHeader*)FX_Alloc(uint8_t, sizeof(GifHeader)); in _gif_create_compress() 459 gif_ptr->lsd_ptr = (GifLSD*)FX_Alloc(uint8_t, sizeof(GifLSD)); in _gif_create_compress() 468 (GifImageInfo*)FX_Alloc(uint8_t, sizeof(GifImageInfo)); in _gif_create_compress() 482 gif_ptr->gce_ptr = (GifGCE*)FX_Alloc(uint8_t, sizeof(GifGCE)); in _gif_create_compress() 493 gif_ptr->pte_ptr = (GifPTE*)FX_Alloc(uint8_t, sizeof(GifPTE)); in _gif_create_compress() 598 gif_ptr->global_pal_ptr = (GifPalette*)FX_Alloc(uint8_t, global_pal_size); in _gif_read_header() 763 gif_ptr->app_data = FX_Alloc(uint8_t, gif_ptr->app_data_size); in _gif_decode_extension() 795 GifPlainText* gif_pt_ptr = FX_Alloc(GifPlainText, 1); in _gif_decode_extension() [all …]
|
/external/pdfium/core/src/fxge/android/ |
D | fpf_skiafontmgr.h | 34 m_pFamily = FX_Alloc(FX_CHAR, iSize + 1); in SetFamily() 56 m_pPath = FX_Alloc(FX_CHAR, iSize + 1); in SetPath()
|
/external/pdfium/core/src/fpdfapi/fpdf_parser/ |
D | fpdf_parser_encrypt.cpp | 246 uint8_t* aes = FX_Alloc(uint8_t, 2048); in Revision6_Hash() 353 uint8_t* aes = FX_Alloc(uint8_t, 2048); in AES256_CheckPassword() 683 uint8_t* aes = FX_Alloc(uint8_t, 2048); in AES256_SetPassword() 710 uint8_t* aes = FX_Alloc(uint8_t, 2048); in AES256_SetPerms() 798 AESCryptContext* pContext = FX_Alloc(AESCryptContext, 1); in CryptStart() 825 AESCryptContext* pContext = FX_Alloc(AESCryptContext, 1); in CryptStart() 837 void* pContext = FX_Alloc(uint8_t, 1040); in CryptStart() 957 m_pAESContext = FX_Alloc(uint8_t, 2048); in Init() 990 m_pAESContext = FX_Alloc(uint8_t, 2048); in Init()
|
/external/pdfium/core/src/fpdfapi/fpdf_page/ |
D | fpdf_page_graph_state.cpp | 54 m_pTypeList = FX_Alloc(uint8_t, alloc_size); in CPDF_ClipPathData() 62 m_pTextList = FX_Alloc(CPDF_TextObject*, m_TextCount); in CPDF_ClipPathData() 81 m_pTypeList = FX_Alloc(uint8_t, alloc_size); in SetCount() 85 m_pTextList = FX_Alloc(CPDF_TextObject*, text_count); in SetCount() 146 uint8_t* pNewType = FX_Alloc(uint8_t, pData->m_PathCount + 8); in AppendPath() 180 FX_Alloc(CPDF_TextObject*, pData->m_TextCount + count + 1); in AppendTexts()
|
D | fpdf_page.cpp | 197 m_pCharCodes = FX_Alloc(FX_DWORD, m_nChars); in CopyData() 198 m_pCharPos = FX_Alloc(FX_FLOAT, m_nChars - 1); in CopyData() 234 m_pCharCodes = FX_Alloc(FX_DWORD, m_nChars); in SetSegments() 235 m_pCharPos = FX_Alloc(FX_FLOAT, m_nChars - 1); in SetSegments() 299 m_pCharCodes = FX_Alloc(FX_DWORD, m_nChars); in SetText() 300 m_pCharPos = FX_Alloc(FX_FLOAT, m_nChars - 1); in SetText() 597 m_pCharCodes = FX_Alloc(FX_DWORD, nChars); in SetData() 599 m_pCharPos = FX_Alloc(FX_FLOAT, nChars - 1); in SetData()
|
/external/pdfium/fpdfsdk/src/ |
D | fpdf_sysfontinfo.cpp | 63 char* buffer = FX_Alloc(char, size); in GetFaceName() 177 FX_Alloc(FPDF_SYSFONTINFO_DEFAULT, 1); in FPDF_GetDefaultSystemFontInfo()
|
/external/pdfium/xfa/src/fgas/src/crt/ |
D | fx_memory.cpp | 48 FX_LPSTATICSTORECHUNK pChunk = (FX_LPSTATICSTORECHUNK)FX_Alloc( in AllocChunk() 104 (FX_LPFIXEDSTORECHUNK)FX_Alloc(uint8_t, iTotalSize); in AllocChunk() 197 FX_LPDYNAMICSTORECHUNK pChunk = (FX_LPDYNAMICSTORECHUNK)FX_Alloc( in AllocChunk()
|
/external/pdfium/core/src/fpdfapi/fpdf_edit/ |
D | fpdf_edit_content.cpp | 129 CPDF_StreamAcc** pContentArray = FX_Alloc(CPDF_StreamAcc*, iCount); in TransformContent() 144 uint8_t* pBuf = FX_Alloc(uint8_t, size); in TransformContent()
|