Home
last modified time | relevance | path

Searched refs:snprintf (Results 76 – 100 of 108) sorted by relevance

12345

/PHP-7.4/ext/pdo_pgsql/
H A Dpgsql_statement.c204 snprintf(buf, sizeof(buf), "DEALLOCATE %s", S->stmt_name); in pgsql_stmt_execute()
/PHP-7.4/ext/standard/
H A Dmath.c196 snprintf(buf, 39, "%15fe%d", tmp_value, -places); in _php_math_round()
H A Ddns.c500 snprintf(name, sizeof(name), "%d.%d.%d.%d", cp[0], cp[1], cp[2], cp[3]); in php_parserr()
/PHP-7.4/main/
H A Dsnprintf.c151snprintf(buf, ndigit + 1, "%s%s", (sign && *digits == 'I') ? "-" : "", *digits == 'I' ? "INF" : "N… in php_gcvt()
/PHP-7.4/ext/soap/
H A Dphp_http.c677 snprintf(cnonce, sizeof(cnonce), ZEND_LONG_FMT, nonce); in make_http_soap_request()
685 snprintf(nc, sizeof(nc), "%08" ZEND_LONG_FMT_SPEC, Z_LVAL_P(tmp)); in make_http_soap_request()
H A Dphp_encoding.c1061 snprintf(s, sizeof(s), "%0.0F",floor(Z_DVAL_P(data))); in to_xml_long()
2867 snprintf(tzbuf, sizeof(tzbuf), "%c%02ld:%02ld", in to_xml_datetime_ex()
2872snprintf(tzbuf, sizeof(tzbuf), "%c%02d:%02d", ((ta->tm_isdst ? _timezone - 3600:_timezone)>0)?'-':… in to_xml_datetime_ex()
2874snprintf(tzbuf, sizeof(tzbuf), "%c%02d:%02d", ((ta->tm_isdst ? timezone - 3600:timezone)>0)?'-':'+… in to_xml_datetime_ex()
H A Dsoap.c1925 snprintf(cont_len, sizeof(cont_len), "Content-Length: %d", size);
2075 snprintf(cont_len, sizeof(cont_len), "Content-Length: %d", size);
4423 snprintf(paramName, sizeof(paramNameBuf), "param%d",index);
/PHP-7.4/win32/build/
H A Dconfig.w32250 ADD_SOURCES("main", "main.c snprintf.c spprintf.c getopt.c fopen_wrappers.c \
/PHP-7.4/ext/date/
H A Dphp_date.c53 int st = snprintf(s, len, "%lld", i); \
1146 snprintf(offset->abbr, 9, "GMT%c%02d%02d", in date_format()
1358 snprintf(offset->abbr, 9, "GMT%c%02d%02d", in php_idate()
2335 ZSTR_LEN(tmpstr) = snprintf(ZSTR_VAL(tmpstr), sizeof("+05:00"), "%c%02d:%02d", in date_object_get_properties_for()
2431 ZSTR_LEN(tmpstr) = snprintf(ZSTR_VAL(tmpstr), sizeof("+05:00"), "%c%02d:%02d", in php_timezone_to_string()
2982snprintf(tmp, Z_STRLEN_P(z_date) + Z_STRLEN_P(z_timezone) + 2, "%s %s", Z_STRVAL_P(z_date), Z_STRV… in php_date_initialize_from_hash()
/PHP-7.4/ext/ldap/
H A Dldap.c962 snprintf(tmp, 31, ZEND_LONG_FMT "/unlimited", LDAPG(num_links)); in PHP_MINFO_FUNCTION()
964 snprintf(tmp, 31, ZEND_LONG_FMT "/" ZEND_LONG_FMT, LDAPG(num_links), LDAPG(max_links)); in PHP_MINFO_FUNCTION()
969 snprintf(tmp, 31, "%d", LDAP_API_VERSION); in PHP_MINFO_FUNCTION()
978 snprintf(tmp, 31, "%d", LDAP_VENDOR_VERSION); in PHP_MINFO_FUNCTION()
1045 snprintf( url, urllen, "ldap://%s:" ZEND_LONG_FMT, host, port ); in PHP_FUNCTION()
/PHP-7.4/sapi/cgi/
H A Dcgi_main.c2027 snprintf(putenv_buf, sizeof(putenv_buf), "%s=%s", "PHP_FCGI_CHILDREN", children_str);
2144 snprintf(kid_buf, 16, "%d", children);
/PHP-7.4/ext/gd/
H A Dgd.c1296 snprintf(tmp, sizeof(tmp), "%d.%d.%d", FREETYPE_MAJOR, FREETYPE_MINOR, FREETYPE_PATCH); in PHP_MINFO_FUNCTION()
1298 snprintf(tmp, sizeof(tmp), "%d.%d", FREETYPE_MAJOR, FREETYPE_MINOR); in PHP_MINFO_FUNCTION()
1300 snprintf(tmp, sizeof(tmp), "1.x"); in PHP_MINFO_FUNCTION()
1331 snprintf(tmp, sizeof(tmp), "%d", XpmLibraryVersion()); in PHP_MINFO_FUNCTION()
/PHP-7.4/ext/xmlrpc/libxmlrpc/
H A Dxmlrpc.c758 snprintf(buf, sizeof(buf), in map_expat_errors()
/PHP-7.4/ext/intl/locale/
H A Dlocale_methods.c865 snprintf( cur_key_name , 30, "%s%d", key_name , i); in append_multiple_key_values()
/PHP-7.4/
H A DREADME.REDIST.BINS11 11. main/snprintf.c
383 11. main/snprintf.c
/PHP-7.4/ext/pcre/pcre2lib/
H A Dpcre2_internal.h95 #define snprintf _snprintf macro
/PHP-7.4/ext/session/
H A Dsession.c1173snprintf(buf, sizeof(buf) , "Cache-Control: public, max-age=" ZEND_LONG_FMT, PS(cache_expire) * 60… in CACHE_LIMITER_FUNC()
1184snprintf(buf, sizeof(buf), "Cache-Control: private, max-age=" ZEND_LONG_FMT, PS(cache_expire) * 60… in CACHE_LIMITER_FUNC()
/PHP-7.4/sapi/cli/
H A Dphp_cli_server.c2017 snprintf(chunk->data.heap.p, chunk->data.heap.len, prologue_template, status, status_string); in php_cli_server_send_error_page()
2041snprintf(chunk->data.heap.p, chunk->data.heap.len, content_template, status_string, ZSTR_VAL(escap… in php_cli_server_send_error_page()
/PHP-7.4/ext/pdo/
H A Dpdo_dbh.c254 snprintf(alt_dsn, sizeof(alt_dsn), "pdo.dsn.%s", data_source); in PHP_METHOD()
/PHP-7.4/ext/pgsql/
H A Dpgsql.c1286 snprintf(buf, sizeof(buf), ZEND_LONG_FMT, PGG(num_persistent)); in PHP_MINFO_FUNCTION()
1288 snprintf(buf, sizeof(buf), ZEND_LONG_FMT, PGG(num_links)); in PHP_MINFO_FUNCTION()
6676 smart_str_appendl(&querystr, buf, snprintf(buf, sizeof(buf), "%F", Z_DVAL_P(val)));
6842 …smart_str_appendl(querystr, buf, MIN(snprintf(buf, sizeof(buf), "%F", Z_DVAL_P(val)), sizeof(buf) …
/PHP-7.4/Zend/
H A Dzend.c1150snprintf(new_info, new_info_length, " with %s v%s, %s, by %s\n", extension->name, extension->ve… in END_EXTERN_C()
H A Dzend_execute_API.c1204 …output_len = snprintf(log_buffer, sizeof(log_buffer), "\nFatal error: Maximum execution time of " … in zend_timeout_handler()
/PHP-7.4/ext/phar/
H A Dphar.c1188snprintf(mydata->version, sizeof(mydata->version), "%u.%u.%u", manifest_ver >> 12, (manifest_ver >… in phar_parse_pharfile()
1428 snprintf(mydata->version, sizeof(mydata->version), "%s", PHP_PHAR_API_VERSION); in phar_create_or_parse_filename()
/PHP-7.4/ext/fileinfo/
H A Dlibmagic.patch499 + if ((mflen = snprintf(mfn, sizeof(mfn), "%s/%s", fn, d.d_name)) < 0) {
1395 (void)snprintf(buf, 26, "*Bad* %#16.16" INT64_T_FORMAT "x\n",
1575 snprintf(buf + z, blen - z, "%.2x", d[i]);
/PHP-7.4/ext/iconv/
H A Diconv.c283 snprintf(buf, sizeof(buf), "%d.%d", in PHP_INI_END()

Completed in 179 milliseconds

12345