HomeSort by relevance Sort by last modified time
    Searched refs:pAllocator (Results 1 - 25 of 27) sorted by null

1 2

  /external/pdfium/core/src/fxcrt/
plex.h 13 static CFX_Plex* Create(IFX_Allocator* pAllocator, CFX_Plex*& head, FX_DWORD nMax, FX_DWORD cbElement);
14 void FreeDataChain(IFX_Allocator* pAllocator);
fx_xml_composer.cpp 30 IFX_Allocator* pAllocator = m_Children.m_pAllocator;
31 m_QSpaceName.Set(qSpace, pAllocator);
32 m_TagName.Set(tagname, pAllocator);
37 IFX_Allocator* pAllocator = m_Children.m_pAllocator;
40 m_QSpaceName.Set(bsSpace, pAllocator);
41 m_TagName.Set(bsName, pAllocator);
fx_basic_plex.cpp 9 CFX_Plex* CFX_Plex::Create(IFX_Allocator* pAllocator, CFX_Plex*& pHead, FX_DWORD nMax, FX_DWORD cbElement)
11 CFX_Plex* p = (CFX_Plex*)FX_Allocator_Alloc(pAllocator, FX_BYTE, sizeof(CFX_Plex) + nMax * cbElement);
19 void CFX_Plex::FreeDataChain(IFX_Allocator* pAllocator)
25 FX_Allocator_Free(pAllocator, bytes);
fx_basic_memmgr.cpp 28 static void* _DefAllocDebug(IFX_Allocator* pAllocator, size_t size, FX_LPCSTR filename, int line)
30 return ((FX_DefAllocator*)pAllocator)->m_pFoxitMgr->AllocDebug(size, 0, filename, line);
32 static void* _DefAlloc(IFX_Allocator* pAllocator, size_t size)
34 return ((FX_DefAllocator*)pAllocator)->m_pFoxitMgr->Alloc(size, 0);
36 static void* _DefReallocDebug(IFX_Allocator* pAllocator, void* p, size_t size, FX_LPCSTR filename, int line)
38 return ((FX_DefAllocator*)pAllocator)->m_pFoxitMgr->ReallocDebug(p, size, 0, filename, line);
40 static void* _DefRealloc(IFX_Allocator* pAllocator, void* p, size_t size)
42 return ((FX_DefAllocator*)pAllocator)->m_pFoxitMgr->Realloc(p, size, 0);
44 static void _DefFree(IFX_Allocator* pAllocator, void* p)
46 ((FX_DefAllocator*)pAllocator)->m_pFoxitMgr->Free(p, 0);
    [all...]
fx_extension.cpp 14 FX_HFILE FX_File_Open(FX_BSTR fileName, FX_DWORD dwMode, IFX_Allocator* pAllocator)
16 IFXCRT_FileAccess* pFA = FXCRT_FileAccess_Create(pAllocator);
18 pFA->Release(pAllocator);
23 FX_HFILE FX_File_Open(FX_WSTR fileName, FX_DWORD dwMode, IFX_Allocator* pAllocator)
25 IFXCRT_FileAccess* pFA = FXCRT_FileAccess_Create(pAllocator);
27 pFA->Release(pAllocator);
32 void FX_File_Close(FX_HFILE hFile, IFX_Allocator* pAllocator)
36 ((IFXCRT_FileAccess*)hFile)->Release(pAllocator);
83 IFX_FileStream* FX_CreateFileStream(FX_LPCSTR filename, FX_DWORD dwModes, IFX_Allocator* pAllocator)
85 IFXCRT_FileAccess* pFA = FXCRT_FileAccess_Create(pAllocator);
    [all...]
extension.h 16 virtual void Release(IFX_Allocator* pAllocator = NULL) = 0;
27 IFXCRT_FileAccess* FXCRT_FileAccess_Create(IFX_Allocator* pAllocator = NULL);
31 CFX_CRTFileStream(IFXCRT_FileAccess* pFA, IFX_Allocator* pAllocator) : m_pAllocator(pAllocator), m_pFile(pFA), m_dwCount(1), m_bUseRange(FALSE), m_nOffset(0), m_nSize(0) {}
128 CFX_MemoryStream(FX_BOOL bConsecutive, IFX_Allocator* pAllocator)
129 : m_Blocks(pAllocator)
139 CFX_MemoryStream(FX_LPBYTE pBuffer, size_t nSize, FX_BOOL bTakeOver, IFX_Allocator* pAllocator)
140 : m_Blocks(pAllocator)
153 IFX_Allocator* pAllocator = m_Blocks.m_pAllocator;
156 FX_Allocator_Free(pAllocator, (FX_LPBYTE)m_Blocks[i]);
    [all...]
fxcrt_posix.cpp 10 IFXCRT_FileAccess* FXCRT_FileAccess_Create(IFX_Allocator* pAllocator)
12 if (pAllocator) {
13 return FX_NewAtAllocator(pAllocator) CFXCRT_FileAccess_Posix();
62 void CFXCRT_FileAccess_Posix::Release(IFX_Allocator* pAllocator)
64 if (pAllocator) {
65 FX_DeleteAtAllocator(this, pAllocator, CFXCRT_FileAccess_Posix);
xml_int.h 12 CXML_DataBufAcc(FX_LPCBYTE pBuffer, size_t size, IFX_Allocator* pAllocator = NULL)
13 : m_pAllocator(pAllocator)
73 CXML_DataStmAcc(IFX_FileRead *pFileRead, IFX_Allocator* pAllocator = NULL)
74 : m_pAllocator(pAllocator)
149 CXML_Parser(IFX_Allocator* pAllocator = NULL) : m_pAllocator(pAllocator) {}
fxcrt_platforms.h 21 virtual void Release(IFX_Allocator* pAllocator = NULL);
fxcrt_posix.h 19 virtual void Release(IFX_Allocator* pAllocator = NULL);
fxcrt_windows.h 19 virtual void Release(IFX_Allocator* pAllocator = NULL);
fxcrt_platforms.cpp 10 IFXCRT_FileAccess* FXCRT_FileAccess_Create(IFX_Allocator* pAllocator)
12 if (pAllocator) {
13 return FX_NewAtAllocator(pAllocator) CFXCRT_FileAccess_CRT;
74 void CFXCRT_FileAccess_CRT::Release(IFX_Allocator* pAllocator)
76 if (pAllocator) {
77 FX_DeleteAtAllocator(this, pAllocator, CFXCRT_FileAccess_CRT);
fxcrt_windows.cpp 26 IFXCRT_FileAccess* FXCRT_FileAccess_Create(IFX_Allocator* pAllocator)
28 if (pAllocator) {
29 return FX_NewAtAllocator(pAllocator) CFXCRT_FileAccess_Win64;
95 void CFXCRT_FileAccess_Win64::Release(IFX_Allocator* pAllocator)
97 if (pAllocator) {
98 FX_DeleteAtAllocator(this, pAllocator, CFXCRT_FileAccess_Win64);
fx_basic_utf.cpp 91 void FX_UTF8Encode(FX_LPCWSTR pwsStr, FX_STRSIZE len, CFX_ByteStringL &utf8Str, IFX_Allocator* pAllocator)
97 CFX_UTF8Encoder encoder(pAllocator);
fx_basic_maps.cpp 17 CFX_MapPtrToPtr::CFX_MapPtrToPtr(int nBlockSize, IFX_Allocator* pAllocator)
18 : m_pAllocator(pAllocator)
187 CFX_MapByteStringToPtr::CFX_MapByteStringToPtr(int nBlockSize, IFX_Allocator* pAllocator)
188 : m_pAllocator(pAllocator)
394 static void _CompactStringRelease(IFX_Allocator* pAllocator, _CompactString* pCompact)
397 FX_Allocator_Free(pAllocator, pCompact->m_pBuffer);
413 static void _CompactStringStore(IFX_Allocator* pAllocator, _CompactString* pCompact, FX_LPCBYTE pStr, int len)
423 pCompact->m_pBuffer = FX_Allocator_Alloc(pAllocator, FX_BYTE, len);
440 CFX_CMapByteStringToPtr::CFX_CMapByteStringToPtr(IFX_Allocator* pAllocator)
441 : m_Buffer(sizeof(_CompactString) + sizeof(void*), CMAP_ALLOC_STEP, CMAP_INDEX_SIZE, pAllocator)
    [all...]
fx_basic_buffer.cpp 9 CFX_BinaryBuf::CFX_BinaryBuf(IFX_Allocator* pAllocator)
10 : m_pAllocator(pAllocator)
17 CFX_BinaryBuf::CFX_BinaryBuf(FX_STRSIZE size, IFX_Allocator* pAllocator)
18 : m_pAllocator(pAllocator)
442 IFX_BufferArchive::IFX_BufferArchive(FX_STRSIZE size, IFX_Allocator* pAllocator)
443 : m_pAllocator(pAllocator)
504 CFX_FileBufferArchive::CFX_FileBufferArchive(FX_STRSIZE size, IFX_Allocator* pAllocator)
505 : IFX_BufferArchive(size, pAllocator)
fx_basic_list.cpp 9 CFX_PtrList::CFX_PtrList(int nBlockSize, IFX_Allocator* pAllocator)
10 : m_pAllocator(pAllocator)
fx_basic_array.cpp 8 CFX_BasicArray::CFX_BasicArray(int unit_size, IFX_Allocator* pAllocator)
9 : m_pAllocator(pAllocator)
147 CFX_BaseSegmentedArray::CFX_BaseSegmentedArray(int unit_size, int segment_units, int index_size, IFX_Allocator* pAllocator)
148 : m_pAllocator(pAllocator)
fx_basic_bstring.cpp     [all...]
  /external/pdfium/core/include/fxcrt/
fx_memory.h 120 void* (*m_AllocDebug)(struct _IFX_Allocator* pAllocator, size_t size, FX_LPCSTR file, int line);
122 void* (*m_Alloc)(struct _IFX_Allocator* pAllocator, size_t size);
124 void* (*m_ReallocDebug)(struct _IFX_Allocator* pAllocator, void* p, size_t size, FX_LPCSTR file, int line);
126 void* (*m_Realloc)(struct _IFX_Allocator* pAllocator, void* p, size_t size);
128 void (*m_Free)(struct _IFX_Allocator* pAllocator, void* p);
167 void* operator new (size_t size, IFX_Allocator* pAllocator, FX_LPCSTR file, int line);
170 void operator delete (void* p, IFX_Allocator* pAllocator, FX_LPCSTR file, int line);
173 void* operator new (size_t size, IFX_Allocator* pAllocator);
178 void operator delete (void* p, IFX_Allocator* pAllocator);
196 void* operator new[] (size_t size, IFX_Allocator* pAllocator, FX_LPCSTR file, int line)
    [all...]
fx_xml.h 19 void Empty(IFX_Allocator* pAllocator = NULL)
21 m_QSpaceName.Empty(pAllocator);
22 m_AttrName.Empty(pAllocator);
23 m_Value.Empty(pAllocator);
38 void SetAt(FX_BSTR space, FX_BSTR name, FX_WSTR value, IFX_Allocator* pAllocator = NULL);
39 void RemoveAt(FX_BSTR space, FX_BSTR name, IFX_Allocator* pAllocator = NULL);
40 void RemoveAll(IFX_Allocator* pAllocator = NULL);
53 void Empty(IFX_Allocator* pAllocator = NULL)
55 m_Content.Empty(pAllocator);
57 void Set(FX_BOOL bCDATA, FX_WSTR content, IFX_Allocator* pAllocator = NULL)
    [all...]
fx_stream.h 44 FX_HFILE FX_File_Open(FX_BSTR fileName, FX_DWORD dwMode, IFX_Allocator* pAllocator = NULL);
45 FX_HFILE FX_File_Open(FX_WSTR fileName, FX_DWORD dwMode, IFX_Allocator* pAllocator = NULL);
46 void FX_File_Close(FX_HFILE hFile, IFX_Allocator* pAllocator = NULL);
88 IFX_FileWrite* FX_CreateFileWrite(FX_LPCSTR filename, IFX_Allocator* pAllocator = NULL);
89 IFX_FileWrite* FX_CreateFileWrite(FX_LPCWSTR filename, IFX_Allocator* pAllocator = NULL);
134 IFX_FileRead* FX_CreateFileRead(FX_LPCSTR filename, IFX_Allocator* pAllocator = NULL);
135 IFX_FileRead* FX_CreateFileRead(FX_LPCWSTR filename, IFX_Allocator* pAllocator = NULL);
162 IFX_FileStream* FX_CreateFileStream(FX_LPCSTR filename, FX_DWORD dwModes, IFX_Allocator* pAllocator = NULL);
163 IFX_FileStream* FX_CreateFileStream(FX_LPCWSTR filename, FX_DWORD dwModes, IFX_Allocator* pAllocator = NULL);
178 IFX_MemoryStream* FX_CreateMemoryStream(FX_LPBYTE pBuffer, size_t nSize, FX_BOOL bTakeOver = FALSE, IFX_Allocator* pAllocator = NULL);
    [all...]
fx_basic.h 25 CFX_BinaryBuf(IFX_Allocator* pAllocator = NULL);
27 CFX_BinaryBuf(FX_STRSIZE size, IFX_Allocator* pAllocator = NULL);
94 CFX_ByteTextBuf(IFX_Allocator* pAllocator = NULL) : CFX_BinaryBuf(pAllocator) {}
122 CFX_WideTextBuf(IFX_Allocator* pAllocator = NULL) : CFX_BinaryBuf(pAllocator) {}
163 CFX_ArchiveSaver(IFX_Allocator* pAllocator = NULL) : m_SavingBuf(pAllocator), m_pStream(NULL) {}
238 IFX_BufferArchive(FX_STRSIZE size, IFX_Allocator* pAllocator = NULL);
272 CFX_FileBufferArchive(FX_STRSIZE size = 32768, IFX_Allocator* pAllocator = NULL);
    [all...]
fx_string.h 850 void Empty(IFX_Allocator* pAllocator);
851 FX_LPSTR AllocBuffer(FX_STRSIZE length, IFX_Allocator* pAllocator);
853 void Set(FX_BSTR src, IFX_Allocator* pAllocator);
861 void Empty(IFX_Allocator* pAllocator);
862 void Set(FX_WSTR src, IFX_Allocator* pAllocator);
869 void FX_UTF8Encode(FX_LPCWSTR pwsStr, FX_STRSIZE len, CFX_ByteStringL &utf8Str, IFX_Allocator* pAllocator = NULL);
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
ratings.h 44 STDMETHOD(ObtainRating) (THIS_ LPCSTR pszTargetUrl,HANDLE hAbortEvent,IMalloc *pAllocator,LPSTR *ppRatingOut) PURE;

Completed in 332 milliseconds

1 2