Home
last modified time | relevance | path

Searched refs:slprintf (Results 1 – 24 of 24) sorted by relevance

/PHP-5.4/main/
H A Dsnprintf.h94 #ifdef slprintf
95 #undef slprintf
97 #define slprintf ap_php_slprintf macro
H A DSAPI.c900 …http_status_line.header_len = slprintf(buf, sizeof(buf), "HTTP/1.0 %d X", SG(sapi_headers).http_re… in sapi_send_headers()
/PHP-5.4/ext/pdo_oci/
H A Doci_driver.c89 slprintf(tmp_buf, sizeof(tmp_buf), "%s (%s:%d)", what, file, line); in _oci_error()
99 slprintf(tmp_buf, sizeof(tmp_buf), "%s: %s (%s:%d)", what, errbuf, file, line); in _oci_error()
104slprintf(tmp_buf, sizeof(tmp_buf), "%s: OCI_SUCCESS_WITH_INFO: %s (%s:%d)", what, errbuf, file, li… in _oci_error()
108 slprintf(tmp_buf, sizeof(tmp_buf), "%s: OCI_NEED_DATA (%s:%d)", what, file, line); in _oci_error()
112 slprintf(tmp_buf, sizeof(tmp_buf), "%s: OCI_NO_DATA (%s:%d)", what, file, line); in _oci_error()
116 slprintf(tmp_buf, sizeof(tmp_buf), "%s: OCI_INVALID_HANDLE (%s:%d)", what, file, line); in _oci_error()
120 slprintf(tmp_buf, sizeof(tmp_buf), "%s: OCI_STILL_EXECUTING (%s:%d)", what, file, line); in _oci_error()
124 slprintf(tmp_buf, sizeof(tmp_buf), "%s: OCI_CONTINUE (%s:%d)", what, file, line); in _oci_error()
489 slprintf(verstr, sizeof(verstr), "%d.%d.%d.%d.%d", in oci_handle_get_attribute()
510 slprintf(verstr, sizeof(verstr), "%d.%d.%d.%d.%d", major, minor, update, patch, port_update); in oci_handle_get_attribute()
/PHP-5.4/ext/date/
H A Dphp_date.c1051 case 'j': length = slprintf(buffer, 32, "%d", (int) t->d); break; in date_format()
1070 case 'n': length = slprintf(buffer, 32, "%d", (int) t->m); break; in date_format()
1087 length = slprintf(buffer, 32, "%03d", retval); in date_format()
1101 case 'O': length = slprintf(buffer, 32, "%c%02d%s%02d", in date_format()
1110 length = slprintf(buffer, 32, "%s", "UTC"); in date_format()
1114 length = slprintf(buffer, 32, "%s", t->tz_info->name); in date_format()
1117 length = slprintf(buffer, 32, "%s", offset->abbr); in date_format()
1120 length = slprintf(buffer, 32, "%c%02d:%02d", in date_format()
3812 length = slprintf(buffer, 32, "%d", (int) t->days); in date_interval_format()
3814 length = slprintf(buffer, 32, "(unknown)"); in date_interval_format()
[all …]
/PHP-5.4/ext/pdo_firebird/
H A Dfirebird_statement.c343 *len = slprintf(*ptr, CHAR_BUF_LEN, "%" LL_MASK "d.%0*" LL_MASK "d", in firebird_stmt_get_col()
346 *len = slprintf(*ptr, CHAR_BUF_LEN, "%" LL_MASK "d.%0*" LL_MASK "d", in firebird_stmt_get_col()
349 *len = slprintf(*ptr, CHAR_BUF_LEN, "-0.%0*" LL_MASK "d", -var->sqlscale, -n % f); in firebird_stmt_get_col()
366 *len = slprintf(*ptr, CHAR_BUF_LEN, "%d", *(short*)var->sqldata); in firebird_stmt_get_col()
370 *len = slprintf(*ptr, CHAR_BUF_LEN, "%ld", *(ISC_LONG*)var->sqldata); in firebird_stmt_get_col()
374 *len = slprintf(*ptr, CHAR_BUF_LEN, "%" LL_MASK "d", *(ISC_INT64*)var->sqldata); in firebird_stmt_get_col()
378 *len = slprintf(*ptr, CHAR_BUF_LEN, "%F", *(float*)var->sqldata); in firebird_stmt_get_col()
382 *len = slprintf(*ptr, CHAR_BUF_LEN, "%F" , *(double*)var->sqldata); in firebird_stmt_get_col()
H A Dfirebird_driver.c668 dpb_len = slprintf(dpb, buf_len, "%c%c%s", dpb_flags[i], (unsigned char)strlen(dpb_values[i]), in pdo_firebird_handle_factory()
/PHP-5.4/ext/interbase/
H A Dibase_service.c161 int chunk = slprintf(&buf[spb_len], sizeof(buf) - spb_len, "%c%c%c%s", in _php_ibase_user()
225 spb_len = slprintf(buf, sizeof(buf), "%c%c%c%c%s%c%c%s" "%s:service_mgr", in PHP_FUNCTION()
442 spb_len = slprintf(buf, sizeof(buf), "%c%c%c%c%s%c%c%c%s%c%c%c%c%c", in _php_ibase_backup_restore()
544 spb_len = slprintf(buf, sizeof(buf), "%c%c%c%c%s%c%c%c%c%c", in _php_ibase_service_action()
553 spb_len = slprintf(buf, sizeof(buf), "%c%c%c%c%s%c%c", in _php_ibase_service_action()
H A Dibase_query.c1337 l = slprintf(string_data, sizeof(string_data), "%" LL_MASK "d", *(ISC_INT64 *) data); in _php_ibase_var_zval()
1343 …l = slprintf(string_data, sizeof(string_data), "%" LL_MASK "d.%0*" LL_MASK "d", n / f, -scale, n %… in _php_ibase_var_zval()
1347 l = slprintf(string_data, sizeof(string_data), "-0.%0*" LL_MASK "d", -scale, -n % f); in _php_ibase_var_zval()
1362 l = slprintf(string_data, sizeof(string_data), "%ld.%0*ld", n / f, -scale, n % f); in _php_ibase_var_zval()
1364 l = slprintf(string_data, sizeof(string_data), "%ld.%0*ld", n / f, -scale, -n % f); in _php_ibase_var_zval()
1366 l = slprintf(string_data, sizeof(string_data), "-0.%0*ld", -scale, -n % f); in _php_ibase_var_zval()
1406 …l = slprintf(string_data, sizeof(string_data), "%02d/%02d/%4d %02d:%02d:%02d", t.tm_mon+1, t.tm_md… in _php_ibase_var_zval()
1410 …l = slprintf(string_data, sizeof(string_data), "%02d/%02d/%4d", t.tm_mon + 1, t.tm_mday, t.tm_year… in _php_ibase_var_zval()
1413 … l = slprintf(string_data, sizeof(string_data), "%02d:%02d:%02d", t.tm_hour, t.tm_min, t.tm_sec); in _php_ibase_var_zval()
1928 len = slprintf(buf, 16, "%d", var->sqllen); in _php_ibase_field_info()
[all …]
H A Dinterbase.c869 dpb_len = slprintf(dpb, buf_len, "%c%c%s", dpb_args[i],(unsigned char)len[i],args[i]); in _php_ibase_attach_db()
875 dpb_len = slprintf(dpb, buf_len, "%c\2%c%c", isc_dpb_num_buffers, in _php_ibase_attach_db()
881 …dpb_len = slprintf(dpb, buf_len, "%c\1%c", isc_dpb_force_write, largs[SYNC] == isc_spb_prp_wm_sync… in _php_ibase_attach_db()
/PHP-5.4/sapi/tux/
H A Dphp_tux.c119 len = slprintf(status_line, 30, "HTTP/1.1 %d NA\r\n", SG(sapi_headers).http_response_code); in sapi_tux_send_headers()
198 ctr.line_len = slprintf(buf, sizeof(buf), "Server: %s", TUXAPI_version); in sapi_tux_register_variables()
/PHP-5.4/sapi/cgi/
H A Dcgi_main.c419 len = slprintf(buf, SAPI_CGI_MAX_HEADER_LENGTH, "%s\r\n", SG(sapi_headers).http_status_line); in sapi_cgi_send_headers()
436 len = slprintf(buf, sizeof(buf), "Status:%s\r\n", s); in sapi_cgi_send_headers()
459 …len = slprintf(buf, sizeof(buf), "Status: %d %s\r\n", SG(sapi_headers).http_response_code, err->ms… in sapi_cgi_send_headers()
461 len = slprintf(buf, sizeof(buf), "Status: %d\r\n", SG(sapi_headers).http_response_code); in sapi_cgi_send_headers()
591 len = slprintf(buf, len - 1, "%s=%s", name, value); in _sapi_cgi_putenv()
597 len = slprintf(buf, len - 1, "%s=", name); in _sapi_cgi_putenv()
/PHP-5.4/ext/standard/
H A Dhttp_fopen_wrapper.c584 if ((ua_len = slprintf(ua, ua_len, _UA_HEADER, ua_str)) > 0) { in php_stream_url_wrap_http_ex()
608 scratch_len = slprintf(scratch, scratch_len, "Content-Length: %d\r\n", Z_STRLEN_PP(tmpzval)); in php_stream_url_wrap_http_ex()
623 scratch_len = slprintf(scratch, scratch_len, "Content-Length: %d\r\n", Z_STRLEN_PP(tmpzval)); in php_stream_url_wrap_http_ex()
H A Dstring.c1154 str_len = slprintf(stmp, sizeof(stmp), "%ld", Z_LVAL_PP(tmp)); in php_implode()
/PHP-5.4/sapi/fpm/fpm/
H A Dfpm_main.c410 len = slprintf(buf, SAPI_CGI_MAX_HEADER_LENGTH, "%s\r\n", SG(sapi_headers).http_status_line); in sapi_cgi_send_headers()
427 len = slprintf(buf, sizeof(buf), "Status:%s\r\n", s); in sapi_cgi_send_headers()
450 …len = slprintf(buf, sizeof(buf), "Status: %d %s\r\n", SG(sapi_headers).http_response_code, err->ms… in sapi_cgi_send_headers()
452 len = slprintf(buf, sizeof(buf), "Status: %d\r\n", SG(sapi_headers).http_response_code); in sapi_cgi_send_headers()
/PHP-5.4/ext/wddx/
H A Dwddx.c319 key_length = slprintf(tmp, sizeof(tmp), "%ld", idx) + 1; in PS_SERIALIZER_DECODE_FUNC()
537 key_len = slprintf(tmp_buf, sizeof(tmp_buf), "%ld", idx); in php_wddx_serialize_object()
609 key_len = slprintf(tmp_buf, sizeof(tmp_buf), "%ld", idx); in php_wddx_serialize_array()
/PHP-5.4/sapi/nsapi/
H A Dnsapi.c717 slprintf(buf, sizeof(buf), "%d", conf_getglobals()->Vport); in sapi_nsapi_register_server_variables()
773 slprintf(buf, sizeof(buf), "%d", rc->http_error); in sapi_nsapi_register_server_variables()
/PHP-5.4/ext/session/
H A Dmod_mm.c273 if (!(euid_len = slprintf(euid, sizeof(euid), "%d", geteuid()))) { in PHP_MINIT_FUNCTION()
H A Dsession.c1069 n = slprintf(buf, sizeof(buf), "%s, %02d %s %d %02d:%02d:%02d GMT", /* SAFE */
/PHP-5.4/ext/hash/
H A Dhash.c658 len = slprintf(buf, 127, "MHASH_%s", algorithm.mhash_name, strlen(algorithm.mhash_name)); in mhash_init()
914 s += slprintf(s, e - s, "%s ", str); in PHP_MINFO_FUNCTION()
/PHP-5.4/ext/ftp/
H A Dftp.c1116 size = slprintf(ftp->outbuf, sizeof(ftp->outbuf), "%s %s\r\n", cmd, args); in ftp_putcmd()
1122 size = slprintf(ftp->outbuf, sizeof(ftp->outbuf), "%s\r\n", cmd); in ftp_putcmd()
/PHP-5.4/ext/exif/
H A Dexif.c1051 p += slprintf(buf+p, sizeof(buf)-p, "\nDump Len: %08X (%d)", len, len); in exif_char_dump()
1055 p += slprintf(buf+p, sizeof(buf)-p, "\n%08X: ", i+offset); in exif_char_dump()
1059 p += slprintf(buf+p, sizeof(buf)-p, "%02X ", c); in exif_char_dump()
1063 p += slprintf(buf+p, sizeof(buf)-p, " "); in exif_char_dump()
1066 p += slprintf(buf+p, sizeof(buf)-p, " %s", tmp); in exif_char_dump()
/PHP-5.4/ext/imap/
H A Dphp_imap.c3934 offset += slprintf(bufferTo + offset, bt_len - offset, "%s@%s,", addr->mailbox, addr->host); in _php_imap_mail()
3963 offset += slprintf(bufferCc + offset, bt_len - offset, "%s@%s,", addr->mailbox, addr->host); in _php_imap_mail()
3989 offset += slprintf(bufferBcc + offset, bt_len - offset, "%s@%s,", addr->mailbox, addr->host); in _php_imap_mail()
/PHP-5.4/ext/spl/
H A Dspl_directory.c2364 …intern->file_name_len = slprintf(tmp_fname, sizeof(tmp_fname), "php://temp/maxmemory:%ld", max_mem… in SPL_METHOD()
H A Dspl_iterators.c1999 subject_len = slprintf(tmp, sizeof(tmp), "%ld", intern->current.int_key); in SPL_METHOD()

Completed in 171 milliseconds