Home
last modified time | relevance | path

Searched refs:xmlMallocAtomic (Results 1 – 17 of 17) sorted by relevance

/external/libxml2/
Dglobals.c78 #undef xmlMallocAtomic
85 xmlMallocFunc xmlMallocAtomic = (xmlMallocFunc) xmlMemMalloc; variable
115 xmlMallocFunc xmlMallocAtomic = (xmlMallocFunc) malloc; variable
531 gs->xmlMallocAtomic = (xmlMallocFunc) xmlMemMalloc; in xmlInitializeGlobalState()
537 gs->xmlMallocAtomic = (xmlMallocFunc) malloc; in xmlInitializeGlobalState()
738 #undef xmlMallocAtomic
742 return (&xmlMallocAtomic); in __xmlMallocAtomic()
744 return (&xmlGetGlobalState()->xmlMallocAtomic); in __xmlMallocAtomic()
Dxmlstring.c45 ret = (xmlChar *) xmlMallocAtomic((len + 1) * sizeof(xmlChar)); in xmlStrndup()
90 ret = (xmlChar *) xmlMallocAtomic((len + 1) * sizeof(xmlChar)); in xmlCharStrndup()
864 ret = (xmlChar *) xmlMallocAtomic((i + 1) * sizeof(xmlChar)); in xmlUTF8Strndup()
Dxmlmemory.c1017 xmlMallocAtomic = mallocFunc; in xmlMemSetup()
1086 xmlMallocAtomic = mallocAtomicFunc; in xmlGcMemSetup()
1116 if (mallocAtomicFunc != NULL) *mallocAtomicFunc = xmlMallocAtomic; in xmlGcMemGet()
Duri.c1011 ret = (xmlChar *) xmlMallocAtomic((max + 1) * sizeof(xmlChar)); in xmlSaveUri()
1693 ret = (char *) xmlMallocAtomic(len + 1); in xmlURIUnescapeString()
1757 ret = (xmlChar *) xmlMallocAtomic(len); in xmlURIEscapeStr()
2134 res->path = (char *) xmlMallocAtomic(len); in xmlBuildURI()
2543 uri->path = xmlMallocAtomic(len + 2); in xmlCanonicPath()
Dparser.c2375 buffer = xmlMallocAtomic(length); in xmlNewBlanksWrapperInputStream()
2650 buffer = (xmlChar *) xmlMallocAtomic(buffer_size * sizeof(xmlChar)); in xmlStringLenDecodeEntities()
2947 buffer = (xmlChar *) xmlMallocAtomic(max * sizeof(xmlChar)); in xmlSplitQName()
3026 buffer = (xmlChar *) xmlMallocAtomic(max * sizeof(xmlChar)); in xmlSplitQName()
3498 buffer = (xmlChar *) xmlMallocAtomic(max * sizeof(xmlChar)); in xmlParseStringName()
3573 buffer = (xmlChar *) xmlMallocAtomic(max * sizeof(xmlChar)); in xmlParseNmtoken()
3640 buf = (xmlChar *) xmlMallocAtomic(size * sizeof(xmlChar)); in xmlParseEntityValue()
3790 buf = (xmlChar *) xmlMallocAtomic(buf_size * sizeof(xmlChar)); in xmlParseAttValueComplex()
4034 buf = (xmlChar *) xmlMallocAtomic(size * sizeof(xmlChar)); in xmlParseSystemLiteral()
4111 buf = (xmlChar *) xmlMallocAtomic(size * sizeof(xmlChar)); in xmlParsePubidLiteral()
[all …]
Dnanohttp.c531 ctxt->in = (char *) xmlMallocAtomic(65000 * sizeof(char)); in xmlNanoHTTPRecv()
1420 bp = (char*)xmlMallocAtomic(blen); in xmlNanoHTTPMethodRedir()
Dtree.c226 ret = (xmlChar *) xmlMallocAtomic(lenn + lenp + 2); in xmlBuildQName()
4559 buffer = (xmlChar *) xmlMallocAtomic(buf_len * sizeof(xmlChar)); in xmlGetNodePath()
4564 buf = (xmlChar *) xmlMallocAtomic(buf_len * sizeof(xmlChar)); in xmlGetNodePath()
6874 ret->content = (xmlChar *) xmlMallocAtomic(ret->size * sizeof(xmlChar)); in xmlBufferCreate()
6905 ret->content = (xmlChar *) xmlMallocAtomic(ret->size * sizeof(xmlChar)); in xmlBufferCreateSize()
7261 rebuf = (xmlChar *) xmlMallocAtomic(newSize); in xmlBufferResize()
7270 rebuf = (xmlChar *) xmlMallocAtomic(newSize); in xmlBufferResize()
DHTMLparser.c2505 buffer = (xmlChar *) xmlMallocAtomic(buffer_size * sizeof(xmlChar)); in htmlParseHTMLAttribute()
3098 buf = (xmlChar *) xmlMallocAtomic(size * sizeof(xmlChar)); in htmlParsePI()
3191 buf = (xmlChar *) xmlMallocAtomic(size * sizeof(xmlChar)); in htmlParseComment()
6177 content = xmlMallocAtomic (xmlStrlen(content_line) + strlen(encoding) + 1); in htmlCreateFileParserCtxt()
Dxmlregexp.c4158 str = (xmlChar *) xmlMallocAtomic(lenn + lenp + 2); in xmlRegExecPushString2()
5745 str = (xmlChar *) xmlMallocAtomic(lenn + lenp + 2); in xmlAutomataNewTransition2()
5807 str = (xmlChar *) xmlMallocAtomic(lenn + lenp + 2); in xmlAutomataNewNegTrans()
5877 str = (xmlChar *) xmlMallocAtomic(lenn + lenp + 2); in xmlAutomataNewCountTrans2()
6032 str = (xmlChar *) xmlMallocAtomic(lenn + lenp + 2); in xmlAutomataNewOnceTrans2()
Dcatalog.c993 content = xmlMallocAtomic(size + 10); in xmlLoadFileContent()
2192 buf = (xmlChar *) xmlMallocAtomic(size * sizeof(xmlChar)); in xmlParseSGMLCatalogPubid()
Dc14n.c2159 buffer = (xmlChar *) xmlMallocAtomic(buffer_size * sizeof(xmlChar)); in xmlC11NNormalizeString()
Dxpointer.c996 buffer = (xmlChar *) xmlMallocAtomic(len * sizeof (xmlChar)); in xmlXPtrEvalXPtrPart()
Dxmlschemastypes.c3102 (xmlChar *) xmlMallocAtomic((i + pad + 1) * in xmlSchemaValAtomicType()
Drelaxng.c8544 ret = (xmlChar *) xmlMallocAtomic((len + 1) * sizeof(xmlChar)); in xmlRelaxNGNormalize()
Dxpath.c9931 buffer = (xmlChar *) xmlMallocAtomic(max * sizeof(xmlChar)); in xmlXPathParseNameComplex()
/external/libxml2/include/libxml/
Dglobals.h87 #undef xmlMallocAtomic
157 xmlMallocFunc xmlMallocAtomic; member
212 #define xmlMallocAtomic \ macro
215 XMLPUBVAR xmlMallocFunc xmlMallocAtomic; variable
244 XMLPUBVAR xmlMallocFunc xmlMallocAtomic; variable
Dxmlmemory.h189 #define xmlMallocAtomic(size) xmlMallocAtomicLoc((size), __FILE__, __LINE__) macro