Searched refs:FX_TryAlloc (Results 1 – 7 of 7) sorted by relevance
/external/pdfium/core/src/fxcrt/ |
D | fx_basic_memmgr_unittest.cpp | 47 EXPECT_FALSE(FX_TryAlloc(int, kMaxIntAlloc)); in TEST() 56 EXPECT_FALSE(FX_TryAlloc(int, kOverflowIntAlloc)); in TEST()
|
/external/pdfium/core/include/fxcrt/ |
D | fx_memory.h | 67 #define FX_TryAlloc(type, size) (type*)calloc(size, sizeof(type)) macro
|
/external/pdfium/core/src/fxge/dib/ |
D | fx_dib_engine.cpp | 31 m_pWeightTables = FX_TryAlloc(FX_BYTE, (dest_max - dest_min) * m_ItemSize + 4); in Calc() 205 m_pDestScanline = FX_TryAlloc(FX_BYTE, size); in CStretchEngine() 314 m_pInterBuf = FX_TryAlloc(unsigned char, m_SrcClip.Height() * m_InterPitch); in StartStretchHorz() 321 m_pDestMaskScanline = FX_TryAlloc(unsigned char, size); in StartStretchHorz()
|
D | fx_dib_convert.cpp | 999 FX_LPBYTE dest_buf = FX_TryAlloc(FX_BYTE, dest_pitch * m_Height + 4); in ConvertFormat()
|
D | fx_dib_main.cpp | 87 m_pBuffer = FX_TryAlloc(FX_BYTE, size); in Create()
|
/external/pdfium/core/src/fxcodec/codec/ |
D | fx_codec_jpeg.cpp | 144 dest_buf = FX_TryAlloc(FX_BYTE, dest_buf_length); in _JpegEncode() 148 dest_buf = FX_TryAlloc(FX_BYTE, dest_buf_length); in _JpegEncode()
|
D | fx_codec.cpp | 122 …m_pDataCache = (CCodec_ImageDataCache*)FX_TryAlloc(FX_BYTE, sizeof(CCodec_ImageDataCache) + m_Pitc… in DownScale()
|