/PHP-8.0/main/ |
H A D | snprintf.h | 90 #ifdef slprintf 91 #undef slprintf 93 #define slprintf ap_php_slprintf macro
|
H A D | SAPI.c | 897 …http_status_line.header_len = slprintf(buf, sizeof(buf), "HTTP/1.0 %d X", SG(sapi_headers).http_re… in sapi_send_headers()
|
/PHP-8.0/ext/date/ |
H A D | php_date.c | 667 case 'j': length = slprintf(buffer, sizeof(buffer), "%d", (int) t->d); break; in date_format() 704 length = slprintf(buffer, sizeof(buffer), "%03d", retval); in date_format() 720 length = slprintf(buffer, sizeof(buffer), "%s", "Z"); in date_format() 725 case 'O': length = slprintf(buffer, sizeof(buffer), "%c%02d%s%02d", in date_format() 734 length = slprintf(buffer, sizeof(buffer), "%s", "UTC"); in date_format() 738 length = slprintf(buffer, sizeof(buffer), "%s", t->tz_info->name); in date_format() 741 length = slprintf(buffer, sizeof(buffer), "%s", offset->abbr); in date_format() 744 length = slprintf(buffer, sizeof(buffer), "%c%02d:%02d", in date_format() 4105 length = slprintf(buffer, sizeof(buffer), "%d", (int) t->days); in date_interval_format() 4107 length = slprintf(buffer, sizeof(buffer), "(unknown)"); in date_interval_format() [all …]
|
/PHP-8.0/ext/pdo_oci/ |
H A D | oci_driver.c | 85 slprintf(tmp_buf, sizeof(tmp_buf), "%s (%s:%d)", what, file, line); in _oci_error() 95 slprintf(tmp_buf, sizeof(tmp_buf), "%s: %s (%s:%d)", what, errbuf, file, line); in _oci_error() 100 …slprintf(tmp_buf, sizeof(tmp_buf), "%s: OCI_SUCCESS_WITH_INFO: %s (%s:%d)", what, errbuf, file, li… in _oci_error() 104 slprintf(tmp_buf, sizeof(tmp_buf), "%s: OCI_NEED_DATA (%s:%d)", what, file, line); in _oci_error() 108 slprintf(tmp_buf, sizeof(tmp_buf), "%s: OCI_NO_DATA (%s:%d)", what, file, line); in _oci_error() 112 slprintf(tmp_buf, sizeof(tmp_buf), "%s: OCI_INVALID_HANDLE (%s:%d)", what, file, line); in _oci_error() 116 slprintf(tmp_buf, sizeof(tmp_buf), "%s: OCI_STILL_EXECUTING (%s:%d)", what, file, line); in _oci_error() 120 slprintf(tmp_buf, sizeof(tmp_buf), "%s: OCI_CONTINUE (%s:%d)", what, file, line); in _oci_error() 586 slprintf(verstr, sizeof(verstr), "%d.%d.%d.%d.%d", in oci_handle_get_attribute() 607 slprintf(verstr, sizeof(verstr), "%d.%d.%d.%d.%d", major, minor, update, patch, port_update); in oci_handle_get_attribute()
|
/PHP-8.0/ext/pdo_firebird/ |
H A D | firebird_statement.c | 388 *len = slprintf(*ptr, CHAR_BUF_LEN, "%.*F", -var->sqlscale, *(double*)var->sqldata); in firebird_stmt_get_col() 390 *len = slprintf(*ptr, CHAR_BUF_LEN, "%" LL_MASK "d.%0*" LL_MASK "d", in firebird_stmt_get_col() 393 *len = slprintf(*ptr, CHAR_BUF_LEN, "%" LL_MASK "d.%0*" LL_MASK "d", in firebird_stmt_get_col() 396 *len = slprintf(*ptr, CHAR_BUF_LEN, "-0.%0*" LL_MASK "d", -var->sqlscale, -n % f); in firebird_stmt_get_col() 428 *len = slprintf(*ptr, CHAR_BUF_LEN, "%" LL_MASK "d", *(ISC_INT64*)var->sqldata); in firebird_stmt_get_col() 433 *len = slprintf(*ptr, CHAR_BUF_LEN, "%F", *(float*)var->sqldata); in firebird_stmt_get_col() 437 *len = slprintf(*ptr, CHAR_BUF_LEN, "%F" , *(double*)var->sqldata); in firebird_stmt_get_col()
|
H A D | firebird_driver.c | 1060 dpb_len = slprintf(dpb, buf_len, "%c%c%s", dpb_flags[i], (unsigned char)strlen(dpb_values[i]), in pdo_firebird_handle_factory()
|
/PHP-8.0/ext/intl/common/ |
H A D | common_date.cpp | 70 id_len = slprintf(id, sizeof(offset_id), "GMT%+03d:%02d", in timezone_convert_datetimezone()
|
/PHP-8.0/sapi/cgi/ |
H A D | cgi_main.c | 386 len = slprintf(buf, SAPI_CGI_MAX_HEADER_LENGTH, "%s", SG(sapi_headers).http_status_line); in sapi_cgi_send_headers() 403 len = slprintf(buf, sizeof(buf), "Status:%s", s); in sapi_cgi_send_headers() 426 … len = slprintf(buf, sizeof(buf), "Status: %d %s", SG(sapi_headers).http_response_code, err->str); in sapi_cgi_send_headers() 428 len = slprintf(buf, sizeof(buf), "Status: %d", SG(sapi_headers).http_response_code); in sapi_cgi_send_headers() 627 len = slprintf(buf, len - 1, "%s=%s", name, value); in _sapi_cgi_putenv() 633 len = slprintf(buf, len - 1, "%s=", name); in _sapi_cgi_putenv()
|
/PHP-8.0/sapi/fpm/fpm/ |
H A D | fpm_main.c | 326 len = slprintf(buf, SAPI_CGI_MAX_HEADER_LENGTH, "%s", SG(sapi_headers).http_status_line); in sapi_cgi_send_headers() 343 len = slprintf(buf, sizeof(buf), "Status:%s", s); in sapi_cgi_send_headers() 366 … len = slprintf(buf, sizeof(buf), "Status: %d %s", SG(sapi_headers).http_response_code, err->str); in sapi_cgi_send_headers() 368 len = slprintf(buf, sizeof(buf), "Status: %d", SG(sapi_headers).http_response_code); in sapi_cgi_send_headers()
|
/PHP-8.0/sapi/litespeed/ |
H A D | lsapi_main.c | 390 len = slprintf(buf, sizeof(buf), "Status:%s", s); in sapi_lsapi_send_headers_like_cgi() 413 … len = slprintf(buf, sizeof(buf), "Status: %d %s", SG(sapi_headers).http_response_code, err->msg); in sapi_lsapi_send_headers_like_cgi() 415 … len = slprintf(buf, sizeof(buf), "Status: %d", SG(sapi_headers).http_response_code); in sapi_lsapi_send_headers_like_cgi()
|
/PHP-8.0/ext/session/ |
H A D | mod_mm.c | 280 if (!(euid_len = slprintf(euid, sizeof(euid), "%d", geteuid()))) { in PHP_MINIT_FUNCTION()
|
H A D | session.c | 1135 n = slprintf(buf, sizeof(buf), "%s, %02d %s %d %02d:%02d:%02d GMT", /* SAFE */ in strcpy_gmt()
|
/PHP-8.0/ext/exif/ |
H A D | exif.c | 1382 p += slprintf(buf+p, sizeof(buf)-p, "\nDump Len: %08X (%d)", len, len); in exif_char_dump() 1386 p += slprintf(buf+p, sizeof(buf)-p, "\n%08X: ", i+offset); in exif_char_dump() 1390 p += slprintf(buf+p, sizeof(buf)-p, "%02X ", c); in exif_char_dump() 1394 p += slprintf(buf+p, sizeof(buf)-p, " "); in exif_char_dump() 1397 p += slprintf(buf+p, sizeof(buf)-p, " %s", tmp); in exif_char_dump()
|
/PHP-8.0/ext/hash/ |
H A D | hash.c | 1185 len = slprintf(buf, 127, "MHASH_%s", algorithm.mhash_name); in mhash_init() 1649 s += slprintf(s, e - s, "%s ", ZSTR_VAL(str)); in PHP_MINFO_FUNCTION()
|
/PHP-8.0/ext/standard/ |
H A D | http_fopen_wrapper.c | 598 if ((ua_len = slprintf(ua, ua_len, _UA_HEADER, ua_str)) > 0) { in php_stream_url_wrap_http_ex()
|
/PHP-8.0/ext/ftp/ |
H A D | ftp.c | 1257 size = slprintf(ftp->outbuf, sizeof(ftp->outbuf), "%s %s\r\n", cmd, args); in ftp_putcmd() 1263 size = slprintf(ftp->outbuf, sizeof(ftp->outbuf), "%s\r\n", cmd); in ftp_putcmd()
|
/PHP-8.0/ext/intl/calendar/ |
H A D | calendar_methods.cpp | 1060 ts_str_len = slprintf(ts_str, sizeof(ts_str), "@%" PRIi64, ts); in PHP_FUNCTION()
|
/PHP-8.0/ext/imap/ |
H A D | php_imap.c | 3612 offset += slprintf(bufferTo + offset, bt_len - offset, "%s@%s,", addr->mailbox, addr->host); in _php_imap_mail() 3640 offset += slprintf(bufferCc + offset, bt_len - offset, "%s@%s,", addr->mailbox, addr->host); in _php_imap_mail() 3666 offset += slprintf(bufferBcc + offset, bt_len - offset, "%s@%s,", addr->mailbox, addr->host); in _php_imap_mail()
|
/PHP-8.0/ext/spl/ |
H A D | spl_directory.c | 2120 …intern->file_name_len = slprintf(tmp_fname, sizeof(tmp_fname), "php://temp/maxmemory:" ZEND_LONG_F… in PHP_METHOD()
|