#include <ctype.h>
#include <string.h>
#include <stdlib.h>
#include <stdarg.h>
#include <sys/types.h>
#include "common.h"
#include "global.h"
#include "tools.h"
#include "config.h"
Go to the source code of this file.
Defines | |
#define | LDOUBLE double |
#define | LLONG long |
#define | DP_S_DEFAULT 0 |
#define | DP_S_FLAGS 1 |
#define | DP_S_MIN 2 |
#define | DP_S_DOT 3 |
#define | DP_S_MAX 4 |
#define | DP_S_MOD 5 |
#define | DP_S_CONV 6 |
#define | DP_S_DONE 7 |
#define | DP_F_MINUS (1 << 0) |
#define | DP_F_PLUS (1 << 1) |
#define | DP_F_SPACE (1 << 2) |
#define | DP_F_NUM (1 << 3) |
#define | DP_F_ZERO (1 << 4) |
#define | DP_F_UP (1 << 5) |
#define | DP_F_UNSIGNED (1 << 6) |
#define | DP_C_SHORT 1 |
#define | DP_C_LONG 2 |
#define | DP_C_LDOUBLE 3 |
#define | DP_C_LLONG 4 |
#define | DP_C_QWORD 5 |
#define | char_to_int(p) ((p)- '0') |
#define | MAX_CONVERT_PLACES 40 |
#define | MAX_CONVERT_PLACES 80 |
Functions | |
int | ht_vsnprintf (char *str, size_t count, const char *fmt, va_list args) |
int | ht_snprintf (char *str, size_t count, const char *fmt,...) |
int | ht_vasprintf (char **ptr, const char *format, va_list ap) |
int | ht_asprintf (char **ptr, const char *format,...) |
int | ht_vfprintf (FILE *file, const char *fmt, va_list args) |
int | ht_fprintf (FILE *file, const char *fmt,...) |
int | ht_vprintf (const char *fmt, va_list args) |
int | ht_printf (const char *fmt,...) |
|
Definition at line 134 of file snprintf.cc. |
|
Definition at line 130 of file snprintf.cc. |
|
Definition at line 131 of file snprintf.cc. |
|
Definition at line 129 of file snprintf.cc. |
|
Definition at line 132 of file snprintf.cc. |
|
Definition at line 128 of file snprintf.cc. |
|
Definition at line 119 of file snprintf.cc. |
|
Definition at line 122 of file snprintf.cc. |
|
Definition at line 120 of file snprintf.cc. |
|
Definition at line 121 of file snprintf.cc. |
|
Definition at line 125 of file snprintf.cc. |
|
Definition at line 124 of file snprintf.cc. |
|
Definition at line 123 of file snprintf.cc. |
|
Definition at line 115 of file snprintf.cc. |
|
Definition at line 109 of file snprintf.cc. |
|
Definition at line 116 of file snprintf.cc. |
|
Definition at line 112 of file snprintf.cc. |
|
Definition at line 110 of file snprintf.cc. |
|
Definition at line 113 of file snprintf.cc. |
|
Definition at line 111 of file snprintf.cc. |
|
Definition at line 114 of file snprintf.cc. |
|
Definition at line 83 of file snprintf.cc. |
|
Definition at line 89 of file snprintf.cc. |
|
|
|
|
|
Definition at line 916 of file snprintf.cc. References ht_vasprintf(). |
|
Definition at line 943 of file snprintf.cc. References file, and ht_vfprintf(). |
|
Definition at line 961 of file snprintf.cc. References ht_vprintf(). |
|
|
Definition at line 898 of file snprintf.cc. References ht_vsnprintf(), malloc(), and NULL. Referenced by ht_asprintf(), and ht_vfprintf(). |
|
Definition at line 928 of file snprintf.cc. References buf, file, ht_vasprintf(), and ht_vsnprintf(). Referenced by ht_fprintf(), and ht_vprintf(). |
|
Definition at line 956 of file snprintf.cc. References ht_vfprintf(). Referenced by ht_printf(). |
|
Definition at line 879 of file snprintf.cc. References MIN. Referenced by ht_view::buf_printf(), ht_logf(), ht_msg_exception::ht_msg_exception(), ht_snprintf(), ht_vasprintf(), ht_vfprintf(), msgbox(), msgboxrect(), set_eval_error(), and set_eval_error_ex(). |