ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

numbers.c File Reference
#include "libxslt.h"
#include <math.h>
#include <limits.h>
#include <float.h>
#include <string.h>
#include <libxml/xmlmemory.h>
#include <libxml/parserInternals.h>
#include <libxml/xpath.h>
#include <libxml/xpathInternals.h>
#include <libxml/encoding.h>
#include "xsltutils.h"
#include "pattern.h"
#include "templates.h"
#include "transform.h"
#include "numbersInternals.h"

Go to the source code of this file.

Data Structures

struct  xsltFormatToken
struct  xsltFormat

Defines

#define IN_LIBXSLT
#define FALSE   (0 == 1)
#define TRUE   (1 == 1)
#define SYMBOL_QUOTE   ((xmlChar)'\'')
#define DEFAULT_TOKEN   (xmlChar)'0'
#define DEFAULT_SEPARATOR   "."
#define MAX_TOKENS   1024
#define IS_SPECIAL(self, letter)
#define IS_DIGIT_ZERO(x)   xsltIsDigitZero(x)
#define IS_DIGIT_ONE(x)   xsltIsDigitZero((xmlChar)(x)-1)

Typedefs

typedef xsltFormatToken * xsltFormatTokenPtr
typedef xsltFormat * xsltFormatPtr

Functions

static int xsltUTF8Size (xmlChar *utf)
static int xsltUTF8Charcmp (xmlChar *utf1, xmlChar *utf2)
static int xsltIsDigitZero (unsigned int ch)
static void xsltNumberFormatDecimal (xmlBufferPtr buffer, double number, int digit_zero, int width, int digitsPerGroup, int groupingCharacter, int groupingCharacterLen)
static void xsltNumberFormatAlpha (xmlBufferPtr buffer, double number, int is_upper)
static void xsltNumberFormatRoman (xmlBufferPtr buffer, double number, int is_upper)
static void xsltNumberFormatTokenize (const xmlChar *format, xsltFormatPtr tokens)
static void xsltNumberFormatInsertNumbers (xsltNumberDataPtr data, double *numbers, int numbers_max, xsltFormatPtr tokens, xmlBufferPtr buffer)
static int xsltNumberFormatGetAnyLevel (xsltTransformContextPtr context, xmlNodePtr node, const xmlChar *count, const xmlChar *from, double *array, xmlDocPtr doc, xmlNodePtr elem)
static int xsltNumberFormatGetMultipleLevel (xsltTransformContextPtr context, xmlNodePtr node, const xmlChar *count, const xmlChar *from, double *array, int max, xmlDocPtr doc, xmlNodePtr elem)
static int xsltNumberFormatGetValue (xmlXPathContextPtr context, xmlNodePtr node, const xmlChar *value, double *number)
void xsltNumberFormat (xsltTransformContextPtr ctxt, xsltNumberDataPtr data, xmlNodePtr node)
static int xsltFormatNumberPreSuffix (xsltDecimalFormatPtr self, xmlChar **format, xsltFormatNumberInfoPtr info)
xmlXPathError xsltFormatNumberConversion (xsltDecimalFormatPtr self, xmlChar *format, double number, xmlChar **result)

Variables

static char alpha_upper_list [] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
static char alpha_lower_list [] = "abcdefghijklmnopqrstuvwxyz"
static xsltFormatToken default_token

Generated on Sun May 27 2012 04:50:01 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.