Home
last modified time | relevance | path

Searched refs:FX_TryAlloc (Results 1 – 8 of 8) sorted by relevance

/external/pdfium/core/fxcrt/
Dfx_basic_memmgr_unittest.cpp53 EXPECT_FALSE(FX_TryAlloc(int, kMaxIntAlloc)); in TEST()
Dfx_memory.h72 #define FX_TryAlloc(type, size) (type*)calloc(size, sizeof(type)) macro
/external/pdfium/core/fxge/dib/
Dfx_dib_engine.cpp70 m_pWeightTables = FX_TryAlloc(uint8_t, m_dwWeightTablesSize); in Calc()
296 m_pDestScanline = FX_TryAlloc(uint8_t, size); in CStretchEngine()
404 m_pInterBuf = FX_TryAlloc(unsigned char, m_SrcClip.Height() * m_InterPitch); in StartStretchHorz()
412 m_pDestMaskScanline = FX_TryAlloc(unsigned char, size); in StartStretchHorz()
Dfx_dib_convert.cpp852 uint8_t* dest_buf = FX_TryAlloc(uint8_t, dest_pitch * m_Height + 4); in ConvertFormat()
Dfx_dib_main.cpp104 m_pBuffer = FX_TryAlloc(uint8_t, size); in Create()
/external/pdfium/core/fxcodec/codec/
Dfx_codec_jpeg.cpp514 *dest_buf = FX_TryAlloc(uint8_t, dest_buf_length);
518 *dest_buf = FX_TryAlloc(uint8_t, dest_buf_length);
/external/pdfium/core/fxcodec/lbmp/
Dfx_bmp.cpp909 dst_buf = FX_TryAlloc(uint8_t, dst_size); in bmp_encode_image()
/external/pdfium/core/fxcodec/lgif/
Dfx_gif.cpp1064 dst_buf = FX_TryAlloc(uint8_t, dst_len); in gif_write_header()