Searched refs:FX_TryAlloc (Results 1 – 9 of 9) sorted by relevance
/external/pdfium/core/src/fxcrt/ |
D | fx_basic_memmgr_unittest.cpp | 46 EXPECT_FALSE(FX_TryAlloc(int, kMaxIntAlloc)); in TEST() 55 EXPECT_FALSE(FX_TryAlloc(int, kOverflowIntAlloc)); in TEST()
|
/external/pdfium/core/include/fxcrt/ |
D | fx_memory.h | 69 #define FX_TryAlloc(type, size) (type*) calloc(size, sizeof(type)) macro
|
/external/pdfium/core/src/fxge/dib/ |
D | fx_dib_engine.cpp | 38 FX_TryAlloc(uint8_t, (dest_max - dest_min) * m_ItemSize + 4); in Calc() 244 m_pDestScanline = FX_TryAlloc(uint8_t, size); in CStretchEngine() 347 m_pInterBuf = FX_TryAlloc(unsigned char, m_SrcClip.Height() * m_InterPitch); in StartStretchHorz() 355 m_pDestMaskScanline = FX_TryAlloc(unsigned char, size); in StartStretchHorz()
|
D | fx_dib_convert.cpp | 1169 uint8_t* dest_buf = FX_TryAlloc(uint8_t, dest_pitch * m_Height + 4); in ConvertFormat()
|
D | fx_dib_main.cpp | 91 m_pBuffer = FX_TryAlloc(uint8_t, size); in Create()
|
/external/pdfium/core/src/fxcodec/codec/ |
D | fx_codec_jpeg.cpp | 158 dest_buf = FX_TryAlloc(uint8_t, dest_buf_length); in _JpegEncode() 162 dest_buf = FX_TryAlloc(uint8_t, dest_buf_length); in _JpegEncode()
|
D | fx_codec.cpp | 50 m_Data.reset(FX_TryAlloc(uint8_t, size.ValueOrDie())); in AllocateCache()
|
/external/pdfium/core/src/fxcodec/lbmp/ |
D | fx_bmp.cpp | 944 dst_buf = FX_TryAlloc(uint8_t, dst_size); in _bmp_encode_image()
|
/external/pdfium/core/src/fxcodec/lgif/ |
D | fx_gif.cpp | 1200 dst_buf = FX_TryAlloc(uint8_t, dst_len); in _gif_write_header()
|