/external/pdfium/core/fxcrt/ |
D | fx_memory_unittest.cpp | 23 uint8_t* ptr = FX_Alloc(uint8_t, 0); in TEST() 24 uint8_t* ptr2 = FX_Alloc(uint8_t, 0); in TEST() 34 EXPECT_DEATH_IF_SUPPORTED((void)FX_Alloc(int, kMaxIntAlloc), ""); in TEST() 36 int* ptr = FX_Alloc(int, 1); in TEST() 46 EXPECT_DEATH_IF_SUPPORTED(ptr = FX_Alloc(int, kOverflowIntAlloc), "") << ptr; in TEST() 48 ptr = FX_Alloc(int, 1); in TEST() 66 int* ptr = FX_Alloc(int, 1); in TEST() 79 ptr = FX_Alloc(int, 1); in TEST()
|
D | fx_memory_wrappers_unittest.cpp | 15 std::unique_ptr<int, FxFreeDeleter> thing(FX_Alloc(int, 1)); in TEST() 16 std::unique_ptr<int, FxFreeDeleter> several(FX_Alloc(int, 100)); in TEST()
|
D | cfx_fixedbufgrow.h | 19 m_pGrowData.reset(FX_Alloc(DataType, data_size)); in CFX_FixedBufGrow()
|
D | cfx_binarybuf.cpp | 68 : FX_Alloc(uint8_t, m_AllocSize)); in ExpandBuf()
|
D | fx_memory.h | 35 #define FX_Alloc(type, size) \ macro
|
D | cfx_memorystream.cpp | 94 m_data.reset(FX_Alloc(uint8_t, m_nTotalSize)); in WriteBlockAtOffset()
|
D | fx_random.cpp | 86 MTContext* pContext = FX_Alloc(MTContext, 1); in FX_Random_MT_Start()
|
/external/pdfium/third_party/agg23/ |
D | agg_array.h | 114 m_array = FX_Alloc(T, full_cap); in capacity() 129 T* data = FX_Alloc(T, new_size); in resize() 139 m_size(0), m_capacity(cap + extra_tail), m_array(FX_Alloc(T, m_capacity)) {} in pod_array() 143 m_array(v.m_capacity ? FX_Alloc(T, v.m_capacity) : 0) in pod_array() 316 m_blocks(v.m_max_blocks ? FX_Alloc(T*, v.m_max_blocks) : 0), in pod_deque() 321 m_blocks[i] = FX_Alloc(T, block_size); in pod_deque() 342 T** new_blocks = FX_Alloc(T*, m_max_blocks + m_block_ptr_inc); in allocate_block() 350 m_blocks[nb] = FX_Alloc(T, block_size); in allocate_block() 472 int8u** new_blocks = FX_Alloc(int8u*, m_max_blocks + m_block_ptr_inc); in allocate_block() 480 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()
|
D | agg_path_storage.cpp | 70 FX_Alloc( float, block_size * 2 + in allocate_block()
|
D | agg_rendering_buffer.h | 75 m_rows = FX_Alloc(int8u*, m_max_height = height); in attach()
|
/external/pdfium/core/fxcodec/basic/ |
D | basicmodule.cpp | 104 m_pScanline.reset(FX_Alloc(uint8_t, m_Pitch)); in Create() 226 dest_buf->reset(FX_Alloc(uint8_t, *dest_size)); in RunLengthEncode() 242 dest_buf->reset(FX_Alloc(uint8_t, estimated_size.ValueOrDie())); in RunLengthEncode() 322 dest_buf->reset(FX_Alloc(uint8_t, estimated_size.ValueOrDie())); in A85Encode()
|
/external/pdfium/core/fpdfapi/render/ |
D | cpdf_docrenderdata_unittest.cpp | 92 std::unique_ptr<uint8_t, FxFreeDeleter> buf(FX_Alloc(uint8_t, len)); in CreateType0FunctionStream() 134 std::unique_ptr<uint8_t, FxFreeDeleter> buf(FX_Alloc(uint8_t, len)); in CreateType4FunctionStream() 154 std::unique_ptr<uint8_t, FxFreeDeleter> buf(FX_Alloc(uint8_t, len)); in CreateBadType4FunctionStream()
|
/external/pdfium/core/fpdfapi/parser/ |
D | cpdf_stream_acc.cpp | 94 std::unique_ptr<uint8_t, FxFreeDeleter> p(FX_Alloc(uint8_t, m_dwSize)); in DetachData() 166 FX_Alloc(uint8_t, dwSrcSize)); in ReadRawStream()
|
D | cpdf_crypto_handler.cpp | 117 AESCryptContext* pContext = FX_Alloc(AESCryptContext, 1); in CryptStart() 141 AESCryptContext* pContext = FX_Alloc(AESCryptContext, 1); in CryptStart() 153 CRYPT_rc4_context* pContext = FX_Alloc(CRYPT_rc4_context, 1); in CryptStart() 393 m_pAESContext.reset(FX_Alloc(CRYPT_aes_context, 1)); in CPDF_CryptoHandler()
|
D | fpdf_parser_decode.cpp | 150 dest_buf->reset(FX_Alloc(uint8_t, size.ValueOrDie())); in A85Decode() 210 dest_buf->reset(FX_Alloc(uint8_t, i / 2 + 1)); in HexDecode() 262 dest_buf->reset(FX_Alloc(uint8_t, *dest_size)); in RunLengthDecode()
|
/external/pdfium/core/fxcodec/flate/ |
D | flatemodule.cpp | 66 z_stream* p = FX_Alloc(z_stream, 1); in FlateInit() 194 dest_buf_.reset(FX_Alloc(uint8_t, dest_buf_size_)); in Decode() 535 FX_Alloc(uint8_t, guess_size + 1)); in FlateUncompress() 550 cur_buf.reset(FX_Alloc(uint8_t, buf_size + 1)); in FlateUncompress() 566 FX_Alloc(uint8_t, *dest_size)); in FlateUncompress() 626 m_pScanline(FX_Alloc(uint8_t, m_Pitch)) {} in FlateScanlineDecoder() 857 dest_buf->reset(FX_Alloc(uint8_t, *dest_size)); in Encode()
|
/external/pdfium/core/fxcrt/css/ |
D | cfx_csstextbuf.cpp | 46 m_pBuffer = FX_Alloc(wchar_t, iDesiredSize); in ExpandBuf()
|
/external/pdfium/fpdfsdk/ |
D | fpdf_sysfontinfo.cpp | 100 char* buffer = FX_Alloc(char, size); in GetFaceName() 220 FX_Alloc(FPDF_SYSFONTINFO_DEFAULT, 1); in FPDF_GetDefaultSystemFontInfo()
|
/external/pdfium/core/fxcodec/ |
D | cfx_codec_memory.cpp | 10 : buffer_(FX_Alloc(uint8_t, buffer_size)), size_(buffer_size) {} in CFX_CodecMemory()
|
/external/pdfium/core/fpdfdoc/ |
D | cpdf_filespec_unittest.cpp | 213 std::unique_ptr<uint8_t, FxFreeDeleter> buf(FX_Alloc(uint8_t, buf_len)); in TEST() 250 std::unique_ptr<uint8_t, FxFreeDeleter> buf(FX_Alloc(uint8_t, 6)); in TEST()
|
/external/pdfium/core/fxge/win32/ |
D | fx_win32_gdipext.cpp | 432 FX_Alloc(float, FxAlignToBoundary<2>(pGraphState->m_DashArray.size())); in GdipCreatePenImpl() 694 LPBYTE buf = FX_Alloc(BYTE, info_size); in LoadDIBitmap() 702 Gdiplus::BitmapData* pBitmapData = FX_Alloc(Gdiplus::BitmapData, 1); in LoadDIBitmap() 721 PREVIEW3_DIBITMAP* pInfo = FX_Alloc(PREVIEW3_DIBITMAP, 1); in LoadDIBitmap() 830 Gdiplus::PointF* points = FX_Alloc(Gdiplus::PointF, pPoints.size()); in DrawPath() 831 BYTE* types = FX_Alloc(BYTE, pPoints.size()); in DrawPath()
|
/external/pdfium/core/fxcodec/jbig2/ |
D | JBig2_Context.cpp | 424 SDINSYMS.reset(FX_Alloc(CJBig2_Image*, pSymbolDictDecoder->SDNUMINSYMS)); in ParseSymbolDict() 638 SBSYMS.reset(FX_Alloc(CJBig2_Image*, pTRD->SBNUMSYMS)); in ParseTextRegion() 779 grContext.reset(FX_Alloc(JBig2ArithCtx, size)); in ParseTextRegion() 832 FX_Alloc(JBig2ArithCtx, size)); in ParsePatternDict() 900 FX_Alloc(JBig2ArithCtx, size)); in ParseHalftoneRegion() 1082 FX_Alloc(JBig2ArithCtx, size)); in ParseGenericRefinementRegion()
|
/external/pdfium/fxbarcode/oned/ |
D | BC_OnedCode128Writer.cpp | 155 std::unique_ptr<uint8_t, FxFreeDeleter> result(FX_Alloc(uint8_t, outLength)); in EncodeImpl()
|
/external/pdfium/core/fpdfapi/page/ |
D | cpdf_streamparser.cpp | 174 pData.reset(FX_Alloc(uint8_t, dwOrigSize)); in ReadInlineStream() 204 pData.reset(FX_Alloc(uint8_t, dwStreamSize)); in ReadInlineStream()
|