/external/pdfium/core/fxcrt/ |
D | fx_memory_unittest.cpp | 24 EXPECT_DEATH_IF_SUPPORTED((void)FX_Alloc(int, kMaxIntAlloc), ""); in TEST() 26 int* ptr = FX_Alloc(int, 1); in TEST() 36 EXPECT_DEATH_IF_SUPPORTED(ptr = FX_Alloc(int, kOverflowIntAlloc), "") << ptr; in TEST() 38 ptr = FX_Alloc(int, 1); in TEST() 56 int* ptr = FX_Alloc(int, 1); in TEST() 68 ptr = FX_Alloc(int, 1); in TEST()
|
D | cfx_blockbuffer.cpp | 33 m_BlockArray.emplace_back(FX_Alloc(wchar_t, kAllocStep)); in GetAvailableBlock() 42 m_BlockArray.emplace_back(FX_Alloc(wchar_t, kAllocStep)); in InitBuffer() 53 m_BlockArray.emplace_back(FX_Alloc(wchar_t, kAllocStep)); in SetTextChar()
|
D | cfx_memorystream.cpp | 119 m_Blocks.push_back(FX_Alloc(uint8_t, m_nTotalSize)); in WriteBlock() 155 FX_Alloc(uint8_t, std::max(nInitSize, static_cast<size_t>(4096)))); in EstimateSize() 195 m_Blocks[iCount++] = FX_Alloc(uint8_t, m_nGrowSize); in ExpandBlocks()
|
D | cfx_fixedbufgrow.h | 19 m_pGrowData.reset(FX_Alloc(DataType, data_size)); in CFX_FixedBufGrow()
|
D | cfx_binarybuf.cpp | 60 : FX_Alloc(uint8_t, m_AllocSize)); in ExpandBuf()
|
/external/pdfium/fxbarcode/common/ |
D | BC_CommonByteArray.cpp | 35 m_bytes = FX_Alloc(uint8_t, size); in CBC_CommonByteArray() 41 m_bytes = FX_Alloc(uint8_t, size); in CBC_CommonByteArray() 70 uint8_t* newArray = FX_Alloc(uint8_t, capacity); in Reserve() 86 m_bytes = FX_Alloc(uint8_t, count); in Set() 95 m_bytes = FX_Alloc(uint8_t, count); in Set()
|
/external/pdfium/core/fxcodec/jbig2/ |
D | JBig2_BitStream_unittest.cpp | 15 std::unique_ptr<uint8_t, FxFreeDeleter> data(FX_Alloc(uint8_t, 1)); in TEST() 40 std::unique_ptr<uint8_t, FxFreeDeleter> data(FX_Alloc(uint8_t, 1)); in TEST() 69 std::unique_ptr<uint8_t, FxFreeDeleter> data(FX_Alloc(uint8_t, 1)); in TEST() 85 std::unique_ptr<uint8_t, FxFreeDeleter> data(FX_Alloc(uint8_t, 1)); in TEST() 102 std::unique_ptr<uint8_t, FxFreeDeleter> data(FX_Alloc(uint8_t, 5)); in TEST()
|
/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/codec/ |
D | fx_codec_flate.cpp | 60 z_stream* p = FX_Alloc(z_stream, 1); in FlateInit() 532 FX_Alloc(uint8_t, guess_size + 1)); in FlateUncompress() 546 cur_buf = FX_Alloc(uint8_t, buf_size + 1); in FlateUncompress() 558 uint8_t* result_buf = FX_Alloc(uint8_t, dest_size); in FlateUncompress() 652 m_pScanline = FX_Alloc(uint8_t, m_Pitch); in Create() 673 m_pLastLine = FX_Alloc(uint8_t, m_PredictPitch); in Create() 674 m_pPredictRaw = FX_Alloc(uint8_t, m_PredictPitch + 1); in Create() 675 m_pPredictBuffer = FX_Alloc(uint8_t, m_PredictPitch); in Create() 792 *dest_buf = FX_Alloc(uint8_t, *dest_size + 1); in FlateOrLZWDecode() 818 *dest_buf = FX_Alloc(uint8_t, *dest_size); in Encode() [all …]
|
D | fx_codec.cpp | 1396 *dest_buf = FX_Alloc(uint8_t, 3); in RunLengthEncode() 1408 *dest_buf = FX_Alloc(uint8_t, est_size); in RunLengthEncode() 1483 *dest_buf = FX_Alloc(uint8_t, est_size); in A85Encode() 1650 m_pScanline = FX_Alloc(uint8_t, m_Pitch); in Create()
|
/external/pdfium/core/fxge/ |
D | cfx_graphstatedata.cpp | 36 m_DashArray = FX_Alloc(float, m_DashCount); in Copy() 51 m_DashArray = FX_Alloc(float, count); in SetDashCount()
|
/external/pdfium/core/fpdfapi/parser/ |
D | cpdf_stream_acc.cpp | 40 pSrcData = m_pSrcData = FX_Alloc(uint8_t, dwSrcSize); in LoadAllData() 92 std::unique_ptr<uint8_t, FxFreeDeleter> p(FX_Alloc(uint8_t, m_dwSize)); in DetachData()
|
D | cpdf_crypto_handler.cpp | 125 AESCryptContext* pContext = FX_Alloc(AESCryptContext, 1); in CryptStart() 151 AESCryptContext* pContext = FX_Alloc(AESCryptContext, 1); in CryptStart() 163 CRYPT_rc4_context* pContext = FX_Alloc(CRYPT_rc4_context, 1); in CryptStart() 411 m_pAESContext.reset(FX_Alloc(CRYPT_aes_context, 1)); in CPDF_CryptoHandler()
|
D | fpdf_parser_decode.cpp | 113 *dest_buf = FX_Alloc(uint8_t, zcount * 4 + space_for_non_zeroes); in A85Decode() 173 *dest_buf = FX_Alloc(uint8_t, i / 2 + 1); in HexDecode() 225 *dest_buf = FX_Alloc(uint8_t, *dest_size); in RunLengthDecode()
|
/external/pdfium/fpdfsdk/ |
D | fpdf_sysfontinfo.cpp | 84 char* buffer = FX_Alloc(char, size); in GetFaceName() 204 FX_Alloc(FPDF_SYSFONTINFO_DEFAULT, 1); in FPDF_GetDefaultSystemFontInfo()
|
/external/pdfium/core/fxge/android/ |
D | cfpf_skiapathfont.cpp | 24 m_pPath = FX_Alloc(char, iSize + 1); in SetPath()
|
D | cfpf_skiafontdescriptor.cpp | 29 m_pFamily = FX_Alloc(char, iSize + 1); in SetFamily()
|
/external/pdfium/core/fpdfapi/edit/ |
D | cpdf_encryptor.cpp | 24 m_pData = FX_Alloc(uint8_t, m_dwSize); in CPDF_Encryptor()
|
/external/pdfium/core/fxge/dib/ |
D | cfx_imagestretcher.cpp | 163 m_pScanline.reset(FX_Alloc(uint8_t, (size / 8 + 3) / 4 * 4)); in StartQuickStretch() 165 m_pMaskScanline.reset(FX_Alloc(uint8_t, (m_ClipRect.Width() + 3) / 4 * 4)); in StartQuickStretch()
|
/external/pdfium/core/fxcrt/css/ |
D | cfx_csstextbuf.cpp | 46 m_pBuffer = FX_Alloc(wchar_t, iDesiredSize); in ExpandBuf()
|
/external/pdfium/core/fpdfdoc/ |
D | cpdf_filespec_unittest.cpp | 200 std::unique_ptr<uint8_t, FxFreeDeleter> buf(FX_Alloc(uint8_t, buf_len)); in TEST() 237 std::unique_ptr<uint8_t, FxFreeDeleter> buf(FX_Alloc(uint8_t, 6)); in TEST()
|
/external/pdfium/core/fpdfapi/page/ |
D | cpdf_stitchfunc.cpp | 61 m_pBounds = FX_Alloc(float, nSubs + 1); in v_Init()
|