|
PostgreSQL Source Code git master
|

Go to the source code of this file.
Data Structures | |
| struct | PrintfTarget |
| union | PrintfArgValue |
Macros | |
| #define | PG_NL_ARGMAX 31 |
| #define | strchrnul pg_strchrnul |
Enumerations | |
| enum | PrintfArgType { ATYPE_NONE = 0 , ATYPE_INT , ATYPE_LONG , ATYPE_LONGLONG , ATYPE_DOUBLE , ATYPE_CHARPTR } |
| #define PG_NL_ARGMAX 31 |
Definition at line 44 of file snprintf.c.
| #define strchrnul pg_strchrnul |
Definition at line 356 of file snprintf.c.
| Enumerator | |
|---|---|
| ATYPE_NONE | |
| ATYPE_INT | |
| ATYPE_LONG | |
| ATYPE_LONGLONG | |
| ATYPE_DOUBLE | |
| ATYPE_CHARPTR | |
Definition at line 142 of file snprintf.c.
Definition at line 1447 of file snprintf.c.
References fb().
Referenced by fmtfloat(), and fmtint().
Definition at line 373 of file snprintf.c.
References dopr_outch(), dostr(), PrintfTarget::failed, fb(), find_arguments(), fmtchar(), fmtfloat(), fmtint(), fmtptr(), fmtstr(), format, i, PG_NL_ARGMAX, PG_STRERROR_R_BUFLEN, strchrnul, and strerror_r.
Referenced by pg_vfprintf(), pg_vsnprintf(), and pg_vsprintf().
|
static |
Definition at line 1394 of file snprintf.c.
References PrintfTarget::bufend, PrintfTarget::bufptr, fb(), flushbuffer(), PrintfTarget::nchars, and PrintfTarget::stream.
Referenced by dopr(), dopr_outchmulti(), dostr(), fmtchar(), leading_pad(), and pg_strfromd().
|
static |
Definition at line 1410 of file snprintf.c.
References PrintfTarget::bufend, PrintfTarget::bufptr, dopr_outch(), fb(), flushbuffer(), Min, PrintfTarget::nchars, and PrintfTarget::stream.
Referenced by fmtchar(), fmtfloat(), fmtint(), fmtstr(), leading_pad(), and trailing_pad().
Definition at line 1357 of file snprintf.c.
References PrintfTarget::bufend, PrintfTarget::bufptr, dopr_outch(), fb(), flushbuffer(), Min, PrintfTarget::nchars, str, and PrintfTarget::stream.
Referenced by dopr(), fmtfloat(), fmtint(), fmtptr(), fmtstr(), and pg_strfromd().
Definition at line 751 of file snprintf.c.
References ATYPE_CHARPTR, ATYPE_DOUBLE, ATYPE_INT, ATYPE_LONG, ATYPE_LONGLONG, ATYPE_NONE, fb(), format, i, Max, and PG_NL_ARGMAX.
Referenced by dopr().
|
static |
Definition at line 298 of file snprintf.c.
References PrintfTarget::bufptr, PrintfTarget::bufstart, PrintfTarget::failed, fb(), PrintfTarget::nchars, and PrintfTarget::stream.
Referenced by dopr_outch(), dopr_outchmulti(), dostr(), and pg_vfprintf().
Definition at line 1128 of file snprintf.c.
References compute_padlen(), dopr_outch(), dopr_outchmulti(), fb(), trailing_pad(), and value.
Referenced by dopr(), and rfmtlong().
|
static |
Definition at line 1146 of file snprintf.c.
References adjust_sign(), compute_padlen(), convert(), dopr_outchmulti(), dostr(), PrintfTarget::failed, fb(), leading_pad(), Min, snprintf, trailing_pad(), type, and value.
Referenced by dopr().
|
static |
Definition at line 1017 of file snprintf.c.
References adjust_sign(), compute_padlen(), convert(), dopr_outchmulti(), dostr(), fb(), leading_pad(), Max, trailing_pad(), type, and value.
Referenced by dopr().
|
static |
Definition at line 1003 of file snprintf.c.
References convert(), dostr(), PrintfTarget::failed, snprintf, and value.
Referenced by dopr().
|
static |
Definition at line 974 of file snprintf.c.
References compute_padlen(), dopr_outchmulti(), dostr(), fb(), trailing_pad(), and value.
Referenced by dopr(), dtcvfmtasc(), dttofmtasc(), dttofmtasc_replace(), and PGTYPEStimestamp_fmt_asc().
Definition at line 1475 of file snprintf.c.
References dopr_outch(), dopr_outchmulti(), and fb().
Referenced by fmtfloat(), and fmtint().
Definition at line 264 of file snprintf.c.
References fb(), len, and pg_vfprintf().
Definition at line 282 of file snprintf.c.
References fb(), len, and pg_vfprintf().
Definition at line 202 of file snprintf.c.
References fb(), len, pg_vsnprintf(), and str.
Definition at line 230 of file snprintf.c.
References fb(), len, pg_vsprintf(), and str.
Definition at line 1276 of file snprintf.c.
References Assert, PrintfTarget::bufend, PrintfTarget::bufptr, PrintfTarget::bufstart, convert(), dopr_outch(), dostr(), PrintfTarget::failed, fb(), PrintfTarget::nchars, snprintf, str, PrintfTarget::stream, and value.
Referenced by float4out(), and float8out_internal().
Definition at line 242 of file snprintf.c.
References PrintfTarget::bufend, PrintfTarget::bufptr, PrintfTarget::bufstart, dopr(), PrintfTarget::failed, fb(), flushbuffer(), PrintfTarget::nchars, and PrintfTarget::stream.
Referenced by pg_fprintf(), pg_printf(), and pg_vprintf().
Definition at line 276 of file snprintf.c.
References fb(), and pg_vfprintf().
Definition at line 174 of file snprintf.c.
References PrintfTarget::bufend, PrintfTarget::bufptr, PrintfTarget::bufstart, dopr(), PrintfTarget::failed, fb(), PrintfTarget::nchars, str, and PrintfTarget::stream.
Referenced by pg_snprintf().
Definition at line 214 of file snprintf.c.
References PrintfTarget::bufend, PrintfTarget::bufptr, PrintfTarget::bufstart, dopr(), PrintfTarget::failed, fb(), PrintfTarget::nchars, str, and PrintfTarget::stream.
Referenced by pg_sprintf().
Definition at line 359 of file snprintf.c.
|
static |
Definition at line 1511 of file snprintf.c.
References dopr_outchmulti(), and fb().
Referenced by fmtchar(), fmtfloat(), fmtint(), and fmtstr().