ReactOS 0.4.16-dev-2232-gc2aaa52
xpath.c File Reference
#include "libxml.h"
#include <limits.h>
#include <string.h>
#include <stddef.h>
#include <math.h>
#include <float.h>
#include <ctype.h>
#include <libxml/xmlmemory.h>
#include <libxml/tree.h>
#include <libxml/xpath.h>
#include <libxml/xpathInternals.h>
#include <libxml/parserInternals.h>
#include <libxml/hash.h>
#include <libxml/xmlerror.h>
#include <libxml/threads.h>
#include "private/buf.h"
#include "private/error.h"
#include "private/xpath.h"
Include dependency graph for xpath.c:

Go to the source code of this file.

Macros

#define IN_LIBXML
 
#define TODO
 
#define WITH_TIM_SORT
 
#define XP_OPTIMIZED_NON_ELEM_COMPARISON
 
#define XP_OPTIMIZED_FILTER_FIRST
 
#define XPATH_MAX_STEPS   1000000
 
#define XPATH_MAX_STACK_DEPTH   1000000
 
#define XPATH_MAX_NODESET_LENGTH   10000000
 
#define XPATH_MAX_RECURSION_DEPTH   5000
 

Macro Definition Documentation

◆ IN_LIBXML

#define IN_LIBXML

Definition at line 22 of file xpath.c.

◆ TODO

#define TODO
Value:
"Unimplemented block at %s:%d\n", \
__FILE__, __LINE__);
void * xmlGenericErrorContext
Definition: globals.c:410
xmlGenericErrorFunc xmlGenericError
Definition: globals.c:396

Definition at line 58 of file xpath.c.

◆ WITH_TIM_SORT

#define WITH_TIM_SORT

WITH_TIM_SORT:

Use the Timsort algorithm provided in timsort.h to sort nodeset as this is a great improvement over the old Shell sort used in xmlXPathNodeSetSort()

Definition at line 70 of file xpath.c.

◆ XP_OPTIMIZED_FILTER_FIRST

#define XP_OPTIMIZED_FILTER_FIRST

Definition at line 88 of file xpath.c.

◆ XP_OPTIMIZED_NON_ELEM_COMPARISON

#define XP_OPTIMIZED_NON_ELEM_COMPARISON

Definition at line 81 of file xpath.c.

◆ XPATH_MAX_NODESET_LENGTH

#define XPATH_MAX_NODESET_LENGTH   10000000

Definition at line 116 of file xpath.c.

◆ XPATH_MAX_RECURSION_DEPTH

#define XPATH_MAX_RECURSION_DEPTH   5000

Definition at line 129 of file xpath.c.

◆ XPATH_MAX_STACK_DEPTH

#define XPATH_MAX_STACK_DEPTH   1000000

Definition at line 106 of file xpath.c.

◆ XPATH_MAX_STEPS

#define XPATH_MAX_STEPS   1000000

Definition at line 97 of file xpath.c.