Пример #1
0
static void debugmem_tag_error(void *p)
{
     xmlGenericError(xmlGenericErrorContext,
             "Memory tag error occurs :%p \n\t bye\n", p);
#ifdef MEM_LIST
     if (stderr)
     xmlMemDisplay(stderr);
#endif
}
Пример #2
0
static void debugmem_tag_error(void *p)
{
     xmlGenericError(xmlGenericErrorContext,
	     "Memory tag error occurs :%p \n\t bye\n", p);
#if (defined(MEM_LIST)&&defined(FILE_SUPPORT))
     if (stderr)
     xmlMemDisplay(stderr);
#endif
}
Пример #3
0
void
xmlMemoryDump(void)
{
    FILE *dump;

    if (debugMaxMemSize == 0)
	return;
    dump = fopen(".memdump", "w");
    if (dump == NULL)
	xmlMemoryDumpFile = stderr;
    else xmlMemoryDumpFile = dump;

    xmlMemDisplay(xmlMemoryDumpFile);

    if (dump != NULL) fclose(dump);
}
Пример #4
0
void
xmlMemoryDump(void)
{
#ifdef MEM_LIST
    KDFile *dump;

    if (debugMaxMemSize == 0)
	return;
    dump = fopen(".memdump", "w");
    if (dump == KD_NULL)
	xmlMemoryDumpFile = stderr;
    else xmlMemoryDumpFile = dump;

    xmlMemDisplay(xmlMemoryDumpFile);

    if (dump != KD_NULL) fclose(dump);
#endif /* MEM_LIST */
}
Пример #5
0
void
xmlMemoryDump(void)
{
#if (defined(MEM_LIST)&&defined(FILE_SUPPORT))
    FILE *dump;

    if (debugMaxMemSize == 0)
	return;
    dump = fopen(".memdump", "w");
    if (dump == NULL)
	xmlMemoryDumpFile = stderr;
    else xmlMemoryDumpFile = dump;

    xmlMemDisplay(xmlMemoryDumpFile);

    if (dump != NULL) fclose(dump);
#endif /* MEM_LIST */
}