Home
last modified time | relevance | path

Searched refs:MALLOC (Results 1 – 13 of 13) sorted by relevance

/device/linaro/bootloader/edk2/StdLib/LibC/gdtoa/
Dgdtoaimp.h208 #ifdef MALLOC
209 extern Char *MALLOC ANSI((size_t));
211 #define MALLOC malloc macro
Dmisc.c72 rv = (Bigint *)MALLOC(sizeof(Bigint) + (x-1)*sizeof(ULong));
81 rv = (Bigint*)MALLOC(len*sizeof(double));
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/StrGather/
DStrGather.h25 #define MALLOC(size) malloc (size) macro
DStringDB.c902 StringIdentifier = (STRING_IDENTIFIER *) MALLOC (sizeof (STRING_IDENTIFIER)); in StringDBAddStringIdentifier()
1097 Str->Str = (WCHAR *) MALLOC (Size); in StringDBAddString()
2185 LStr = MALLOC (LSize); in StringDBReadGenericString()
2461 NewStr = MALLOC ((wcslen (Str) + 1) * sizeof (WCHAR)); in DuplicateString()
DStrGather.c1986 WNewList = MALLOC (sizeof (WCHAR_STRING_LIST)); in AddCommandLineLanguage()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/UefiStrGather/
DStrGather.h25 #define MALLOC(size) malloc (size) macro
DStringDB.c379 StringIdentifier = (STRING_IDENTIFIER *) MALLOC (sizeof (STRING_IDENTIFIER)); in StringDBAddStringIdentifier()
547 Str->Str = (WCHAR *) MALLOC (Size); in StringDBAddString()
1681 LStr = MALLOC (LSize); in StringDBReadGenericString()
1957 NewStr = MALLOC ((wcslen (Str) + 1) * sizeof (WCHAR)); in DuplicateString()
DStrGather.c2324 WNewList = MALLOC (sizeof (WCHAR_STRING_LIST)); in AddCommandLineLanguage()
2330 WNewList->Str = MALLOC ((strlen (Token) + 1) * sizeof (WCHAR)); in AddCommandLineLanguage()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/expat/
Dxmlparse.c562 #define MALLOC(s) (parser->m_mem.malloc_fcn((s))) macro
761 atts = (ATTRIBUTE *)MALLOC(attsSize * sizeof(ATTRIBUTE)); in parserCreate()
767 attInfo = (XML_AttrInfo*)MALLOC(attsSize * sizeof(XML_AttrInfo)); in parserCreate()
774 dataBuf = (XML_Char *)MALLOC(INIT_DATA_BUF_SIZE * sizeof(XML_Char)); in parserCreate()
1589 ? (char *)MALLOC(len * 2) in XML_Parse()
1723 newBuf = (char *)MALLOC(bufferSize); in XML_GetBuffer()
1898 return MALLOC(size); in XML_MemMalloc()
2393 tag = (TAG *)MALLOC(sizeof(TAG)); in doContent()
2396 tag->buf = (char *)MALLOC(INIT_TAG_BUF_SIZE); in doContent()
3022 uri = (XML_Char *)MALLOC((n + EXPAND_SPARE) * sizeof(XML_Char)); in storeAtts()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Modules/expat/
Dxmlparse.c551 #define MALLOC(s) (parser->m_mem.malloc_fcn((s))) macro
733 atts = (ATTRIBUTE *)MALLOC(attsSize * sizeof(ATTRIBUTE)); in parserCreate()
738 dataBuf = (XML_Char *)MALLOC(INIT_DATA_BUF_SIZE * sizeof(XML_Char)); in parserCreate()
1514 ? (char *)MALLOC(len * 2) in XML_Parse()
1647 newBuf = (char *)MALLOC(bufferSize); in XML_GetBuffer()
1820 return MALLOC(size); in XML_MemMalloc()
2309 tag = (TAG *)MALLOC(sizeof(TAG)); in doContent()
2312 tag->buf = (char *)MALLOC(INIT_TAG_BUF_SIZE); in doContent()
2916 uri = (XML_Char *)MALLOC((n + EXPAND_SPARE) * sizeof(XML_Char)); in storeAtts()
3022 b = (BINDING *)MALLOC(sizeof(BINDING)); in addBinding()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/expat/
Dxmlparse.c551 #define MALLOC(s) (parser->m_mem.malloc_fcn((s))) macro
733 atts = (ATTRIBUTE *)MALLOC(attsSize * sizeof(ATTRIBUTE)); in parserCreate()
738 dataBuf = (XML_Char *)MALLOC(INIT_DATA_BUF_SIZE * sizeof(XML_Char)); in parserCreate()
1514 ? (char *)MALLOC(len * 2) in XML_Parse()
1647 newBuf = (char *)MALLOC(bufferSize); in XML_GetBuffer()
1820 return MALLOC(size); in XML_MemMalloc()
2309 tag = (TAG *)MALLOC(sizeof(TAG)); in doContent()
2312 tag->buf = (char *)MALLOC(INIT_TAG_BUF_SIZE); in doContent()
2916 uri = (XML_Char *)MALLOC((n + EXPAND_SPARE) * sizeof(XML_Char)); in storeAtts()
3022 b = (BINDING *)MALLOC(sizeof(BINDING)); in addBinding()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
Ddtoa.c125 #define MALLOC PyMem_Malloc macro
354 rv = (Bigint*)MALLOC(len*sizeof(double)); in Balloc()
400 rv = (Bigint*)MALLOC(len*sizeof(double)); in Balloc()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/
Ddtoa.c125 #define MALLOC PyMem_Malloc macro
371 rv = (Bigint*)MALLOC(len*sizeof(double)); in Balloc()
417 rv = (Bigint*)MALLOC(len*sizeof(double)); in Balloc()