|
php-internal-docs 8.4.8
Unofficial docs for php/php-src
|
#include "php.h"#include <zend_strtod.h>#include <stddef.h>#include <stdio.h>#include <ctype.h>#include <sys/types.h>#include <stdarg.h>#include <string.h>#include <stdlib.h>#include <math.h>#include <inttypes.h>#include <locale.h>Go to the source code of this file.
Data Structures | |
| struct | buf_area |
Macros | |
| #define | _GNU_SOURCE |
| #define | LCONV_DECIMAL_POINT (*lconv->decimal_point) |
| #define | NUL '\0' |
| #define | INT_NULL ((int *)0) |
| #define | S_NULL "(null)" |
| #define | S_NULL_LEN 6 |
| #define | FLOAT_DIGITS 6 |
| #define | EXPONENT_LENGTH 10 |
| #define | NDIG 320 |
| #define | NUM_BUF_SIZE 2048 |
| #define | INS_CHAR(c, sp, bep, cc) |
| #define | NUM(c) |
| #define | STR_TO_DEC(str, num) |
| #define | FIX_PRECISION(adjust, precision, s, s_len) |
| #define | PAD(width, len, ch) |
Typedefs | |
| typedef struct buf_area | buffy |
Functions | |
| PHPAPI char * | ap_php_conv_10 (int64_t num, bool is_unsigned, bool *is_negative, char *buf_end, size_t *len) |
| PHPAPI char * | php_conv_fp (char format, double num, bool add_dp, int precision, char dec_point, bool *is_negative, char *buf, size_t *len) |
| PHPAPI char * | ap_php_conv_p2 (uint64_t num, int nbits, char format, char *buf_end, size_t *len) |
| PHPAPI int | ap_php_slprintf (char *buf, size_t len, const char *format,...) |
| PHPAPI int | ap_php_vslprintf (char *buf, size_t len, const char *format, va_list ap) |
| PHPAPI int | ap_php_snprintf (char *buf, size_t len, const char *format,...) |
| PHPAPI int | ap_php_vsnprintf (char *buf, size_t len, const char *format, va_list ap) |
| PHPAPI int | ap_php_vasprintf (char **buf, const char *format, va_list ap) |
| PHPAPI int | ap_php_asprintf (char **buf, const char *format,...) |
| #define _GNU_SOURCE |
Definition at line 18 of file snprintf.c.
| #define EXPONENT_LENGTH 10 |
Definition at line 197 of file snprintf.c.
Definition at line 451 of file snprintf.c.
| #define FLOAT_DIGITS 6 |
Definition at line 196 of file snprintf.c.
| #define INS_CHAR | ( | c, | |
| sp, | |||
| bep, | |||
| cc ) |
Definition at line 426 of file snprintf.c.
| #define INT_NULL ((int *)0) |
Definition at line 191 of file snprintf.c.
| #define LCONV_DECIMAL_POINT (*lconv->decimal_point) |
Definition at line 39 of file snprintf.c.
| #define NDIG 320 |
Definition at line 261 of file snprintf.c.
| #define NUL '\0' |
Definition at line 190 of file snprintf.c.
| #define NUM | ( | c | ) |
Definition at line 435 of file snprintf.c.
| #define NUM_BUF_SIZE 2048 |
Definition at line 403 of file snprintf.c.
Definition at line 463 of file snprintf.c.
| #define S_NULL "(null)" |
Definition at line 193 of file snprintf.c.
| #define S_NULL_LEN 6 |
Definition at line 194 of file snprintf.c.
| #define STR_TO_DEC | ( | str, | |
| num ) |
Definition at line 437 of file snprintf.c.
Definition at line 414 of file snprintf.c.
| PHPAPI int ap_php_asprintf | ( | char ** | buf, |
| const char * | format, | ||
| ... ) |
Definition at line 1172 of file snprintf.c.
| PHPAPI char * ap_php_conv_10 | ( | int64_t | num, |
| bool | is_unsigned, | ||
| bool * | is_negative, | ||
| char * | buf_end, | ||
| size_t * | len ) |
Definition at line 213 of file snprintf.c.
| PHPAPI char * ap_php_conv_p2 | ( | uint64_t | num, |
| int | nbits, | ||
| char | format, | ||
| char * | buf_end, | ||
| size_t * | len ) |
Definition at line 376 of file snprintf.c.
| PHPAPI int ap_php_slprintf | ( | char * | buf, |
| size_t | len, | ||
| const char * | format, | ||
| ... ) |
Definition at line 1102 of file snprintf.c.
| PHPAPI int ap_php_snprintf | ( | char * | buf, |
| size_t | len, | ||
| const char * | format, | ||
| ... ) |
Definition at line 1129 of file snprintf.c.
| PHPAPI int ap_php_vasprintf | ( | char ** | buf, |
| const char * | format, | ||
| va_list | ap ) |
Definition at line 1148 of file snprintf.c.
| PHPAPI int ap_php_vslprintf | ( | char * | buf, |
| size_t | len, | ||
| const char * | format, | ||
| va_list | ap ) |
Definition at line 1118 of file snprintf.c.
| PHPAPI int ap_php_vsnprintf | ( | char * | buf, |
| size_t | len, | ||
| const char * | format, | ||
| va_list | ap ) |
Definition at line 1141 of file snprintf.c.
| PHPAPI char * php_conv_fp | ( | char | format, |
| double | num, | ||
| bool | add_dp, | ||
| int | precision, | ||
| char | dec_point, | ||
| bool * | is_negative, | ||
| char * | buf, | ||
| size_t * | len ) |
Definition at line 271 of file snprintf.c.