예제 #1
0
파일: xmlmemory.c 프로젝트: 151706061/VTK
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 */
}