#include "apr.h"
#include "apr_private.h"
#include "apr_lib.h"
#include "apr_strings.h"
#include "apr_network_io.h"
#include "apr_portable.h"
#include "apr_errno.h"
#include <math.h>
Go to the source code of this file.
|
| #define | NUL '\0' |
| |
| #define | S_NULL ((char *)null_string) |
| |
| #define | S_NULL_LEN 6 |
| |
| #define | FLOAT_DIGITS 6 |
| |
| #define | EXPONENT_LENGTH 10 |
| |
| #define | NUM_BUF_SIZE 512 |
| |
| #define | NDIG 80 |
| |
| #define | INS_CHAR(c, sp, bep, cc) |
| |
| #define | NUM(c) (c - '0') |
| |
| #define | STR_TO_DEC(str, num) |
| |
| #define | FIX_PRECISION(adjust, precision, s, s_len) |
| |
| #define | PAD(width, len, ch) |
| |
| #define | PREFIX(str, length, ch) |
| |
|
| static char * | apr_cvt (double arg, int ndigits, int *decpt, int *sign, int eflag, char *buf) |
| |
| static char * | apr_ecvt (double arg, int ndigits, int *decpt, int *sign, char *buf) |
| |
| static char * | apr_fcvt (double arg, int ndigits, int *decpt, int *sign, char *buf) |
| |
| static char * | apr_gcvt (double number, int ndigit, char *buf, boolean_e altform) |
| |
| static char * | conv_10 (register apr_int32_t num, register int is_unsigned, register int *is_negative, char *buf_end, register apr_size_t *len) |
| |
| static char * | conv_10_quad (apr_int64_t num, register int is_unsigned, register int *is_negative, char *buf_end, register apr_size_t *len) |
| |
| static char * | conv_in_addr (struct in_addr *ia, char *buf_end, apr_size_t *len) |
| |
| static char * | conv_apr_sockaddr (apr_sockaddr_t *sa, char *buf_end, apr_size_t *len) |
| |
| static char * | conv_fp (register char format, register double num, boolean_e add_dp, int precision, int *is_negative, char *buf, apr_size_t *len) |
| |
| static char * | conv_p2 (register apr_uint32_t num, register int nbits, char format, char *buf_end, register apr_size_t *len) |
| |
| static char * | conv_p2_quad (apr_uint64_t num, register int nbits, char format, char *buf_end, register apr_size_t *len) |
| |
| | APR_DECLARE (int) |
| |
| static int | snprintf_flush (apr_vformatter_buff_t *vbuff) |
| |
| | APR_DECLARE_NONSTD (int) |
| |
◆ EXPONENT_LENGTH
◆ FIX_PRECISION
◆ FLOAT_DIGITS
◆ INS_CHAR
Value:
return -1; \
} \
} \
cc++; \
}
apr_vformatter_buff_t * c
Definition at line 244 of file apr_snprintf.c.
◆ NDIG
◆ NUL
◆ NUM
◆ NUM_BUF_SIZE
◆ PAD
◆ PREFIX
◆ S_NULL
◆ S_NULL_LEN
◆ STR_TO_DEC
Value:
{ \
}
apr_interval_time_t apr_int32_t * num
Definition at line 261 of file apr_snprintf.c.
◆ boolean_e
◆ apr_cvt()
◆ apr_ecvt()
◆ apr_fcvt()
◆ apr_gcvt()
◆ conv_10()
◆ conv_10_quad()
◆ conv_apr_sockaddr()
◆ conv_fp()
◆ conv_in_addr()
◆ conv_p2()
◆ conv_p2_quad()
◆ snprintf_flush()
◆ null_string