ReactOS 0.4.15-dev-7942-gd23573b
entities.c File Reference
#include "libxml.h"
#include <string.h>
#include <stdlib.h>
#include <libxml/xmlmemory.h>
#include <libxml/hash.h>
#include <libxml/entities.h>
#include <libxml/parser.h>
#include <libxml/parserInternals.h>
#include <libxml/xmlerror.h>
#include <libxml/globals.h>
#include <libxml/dict.h>
#include "save.h"
Include dependency graph for entities.c:

Go to the source code of this file.

Macros

#define IN_LIBXML
 
#define growBufferReentrant()
 

Functions

static void xmlEntitiesErrMemory (const char *extra)
 

Variables

static xmlEntity xmlEntityLt
 
static xmlEntity xmlEntityGt
 
static xmlEntity xmlEntityAmp
 
static xmlEntity xmlEntityQuot
 
static xmlEntity xmlEntityApos
 

Macro Definition Documentation

◆ growBufferReentrant

#define growBufferReentrant ( )
Value:
{ \
xmlChar *tmp; \
size_t new_size = buffer_size * 2; \
if (new_size < buffer_size) goto mem_error; \
tmp = (xmlChar *) xmlRealloc(buffer, new_size); \
if (tmp == NULL) goto mem_error; \
buffer = tmp; \
buffer_size = new_size; \
}
#define NULL
Definition: types.h:112
GLuint buffer
Definition: glext.h:5915
XMLPUBVAR xmlReallocFunc xmlRealloc
Definition: globals.h:250
static void buffer_size(GLcontext *ctx, GLuint *width, GLuint *height)
Definition: swimpl.c:888
unsigned char xmlChar
Definition: xmlstring.h:28

◆ IN_LIBXML

#define IN_LIBXML

Definition at line 14 of file entities.c.

Function Documentation

◆ xmlEntitiesErrMemory()

static void xmlEntitiesErrMemory ( const char extra)
static

xmlEntitiesErrMemory: @extra: extra information

Handle an out of memory condition

Definition at line 78 of file entities.c.

79{
80 __xmlSimpleError(XML_FROM_TREE, XML_ERR_NO_MEMORY, NULL, NULL, extra);
81}
@ extra
Definition: id3.c:95
@ XML_FROM_TREE
Definition: xmlerror.h:39
@ XML_ERR_NO_MEMORY
Definition: xmlerror.h:102

Variable Documentation

◆ xmlEntityAmp

xmlEntity xmlEntityAmp
static
Initial value:
= {
BAD_CAST "&", BAD_CAST "&", 1,
NULL, NULL, NULL, NULL, 0, 1
}
@ XML_INTERNAL_PREDEFINED_ENTITY
Definition: entities.h:30
@ XML_ENTITY_DECL
Definition: tree.h:176
#define BAD_CAST
Definition: xmlstring.h:35

Definition at line 49 of file entities.c.

◆ xmlEntityApos

xmlEntity xmlEntityApos
static
Initial value:

Definition at line 63 of file entities.c.

◆ xmlEntityGt

xmlEntity xmlEntityGt
static
Initial value:

Definition at line 42 of file entities.c.

◆ xmlEntityLt

xmlEntity xmlEntityLt
static
Initial value:

Definition at line 35 of file entities.c.

◆ xmlEntityQuot

xmlEntity xmlEntityQuot
static
Initial value:

Definition at line 56 of file entities.c.