PHP 7.4.33
Preview: numbersInternals.h Size: 1.97 KB
/home/godevadmin/public_html/upload_images/home/000~ROOT~000/usr/include/libxslt/numbersInternals.h

/*
 * Summary: Implementation of the XSLT number functions
 * Description: Implementation of the XSLT number functions
 *
 * Copy: See Copyright for the status of this software.
 *
 * Author: Bjorn Reese <[email protected]> and Daniel Veillard
 */

#ifndef __XML_XSLT_NUMBERSINTERNALS_H__
#define __XML_XSLT_NUMBERSINTERNALS_H__

#include <libxml/tree.h>
#include "xsltexports.h"

#ifdef __cplusplus
extern "C" {
#endif

struct _xsltCompMatch;

/**
 * xsltNumberData:
 *
 * This data structure is just a wrapper to pass xsl:number data in.
 */
typedef struct _xsltNumberData xsltNumberData;
typedef xsltNumberData *xsltNumberDataPtr;

struct _xsltNumberData {
    const xmlChar *level;
    const xmlChar *count;
    const xmlChar *from;
    const xmlChar *value;
    const xmlChar *format;
    int has_format;
    int digitsPerGroup;
    int groupingCharacter;
    int groupingCharacterLen;
    xmlDocPtr doc;
    xmlNodePtr node;
    struct _xsltCompMatch *countPat;
    struct _xsltCompMatch *fromPat;

    /*
     * accelerators
     */
};

/**
 * xsltFormatNumberInfo,:
 *
 * This data structure lists the various parameters needed to format numbers.
 */
typedef struct _xsltFormatNumberInfo xsltFormatNumberInfo;
typedef xsltFormatNumberInfo *xsltFormatNumberInfoPtr;

struct _xsltFormatNumberInfo {
    int	    integer_hash;	/* Number of '#' in integer part */
    int	    integer_digits;	/* Number of '0' in integer part */
    int	    frac_digits;	/* Number of '0' in fractional part */
    int	    frac_hash;		/* Number of '#' in fractional part */
    int	    group;		/* Number of chars per display 'group' */
    int     multiplier;		/* Scaling for percent or permille */
    char    add_decimal;	/* Flag for whether decimal point appears in pattern */
    char    is_multiplier_set;	/* Flag to catch multiple occurences of percent/permille */
    char    is_negative_pattern;/* Flag for processing -ve prefix/suffix */
};

#ifdef __cplusplus
}
#endif
#endif /* __XML_XSLT_NUMBERSINTERNALS_H__ */

Directory Contents

Dirs: 0 × Files: 21

Name Size Perms Modified Actions
930 B lrw-r--r-- 2015-05-10 14:11:29
Edit Download
2.64 KB lrw-r--r-- 2015-05-10 14:11:29
Edit Download
6.74 KB lrw-r--r-- 2012-09-04 14:26:23
Edit Download
1.60 KB lrw-r--r-- 2017-08-29 11:20:04
Edit Download
1.96 KB lrw-r--r-- 2015-05-10 14:11:29
Edit Download
1.80 KB lrw-r--r-- 2015-05-10 14:11:29
Edit Download
1.13 KB lrw-r--r-- 2015-05-10 14:11:29
Edit Download
1.63 KB lrw-r--r-- 2015-05-10 14:11:30
Edit Download
1.97 KB lrw-r--r-- 2015-05-10 14:11:30
Edit Download
1.95 KB lrw-r--r-- 2012-09-04 14:26:23
Edit Download
892 B lrw-r--r-- 2015-05-10 14:11:30
Edit Download
2.59 KB lrw-r--r-- 2015-05-10 14:11:30
Edit Download
2.21 KB lrw-r--r-- 2015-05-10 14:11:30
Edit Download
6.18 KB lrw-r--r-- 2015-02-27 06:00:23
Edit Download
3.07 KB lrw-r--r-- 2025-06-09 15:03:36
Edit Download
1.92 KB lrw-r--r-- 2015-05-10 14:11:30
Edit Download
3.50 KB lrw-r--r-- 2025-06-09 15:03:45
Edit Download
3.35 KB lrw-r--r-- 2009-05-12 06:29:34
Edit Download
56.14 KB lrw-r--r-- 2025-06-09 15:03:36
Edit Download
1.51 KB lrw-r--r-- 2017-10-26 07:55:47
Edit Download
8.49 KB lrw-r--r-- 2025-06-09 15:03:36
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).