Home
last modified time | relevance | path

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

12345

/PHP-7.4/ext/standard/
H A Dnet.c209 s += snprintf(s, 4, "%02X:", p->PhysicalAddress[i]); in PHP_FUNCTION()
H A Dpack.c898 snprintf(n, sizeof(n), "%.*s%d", namelen, name, i + 1); in PHP_FUNCTION()
901 snprintf(n, sizeof(n), "%.*s", namelen, name); in PHP_FUNCTION()
H A Dpassword.c272 …hash_format_len = snprintf(hash_format, sizeof(hash_format), "$2y$%02" ZEND_LONG_FMT_SPEC "$", cos… in php_password_bcrypt_hash()
H A Dscanf.c1046 snprintf(buf, sizeof(buf), ZEND_ULONG_FMT, value); /* INTL: ISO digit */ in php_sscanf_internal()
/PHP-7.4/ext/standard/tests/general_functions/
H A D008.phpt7 // this checks f,g,G conversion for snprintf/spprintf
/PHP-7.4/ext/xmlrpc/libxmlrpc/
H A Dxml_element.c723 snprintf(buf, in xml_elem_parse_buf()
H A Dxml_to_dandarpc.c206 snprintf(buf, BUF_SIZE, "%i", XMLRPC_GetValueInt(node)); in DANDARPC_to_xml_element_worker()
211 snprintf(buf, BUF_SIZE, "%i", XMLRPC_GetValueBoolean(node)); in DANDARPC_to_xml_element_worker()
216 snprintf(buf, BUF_SIZE, "%f", XMLRPC_GetValueDouble(node)); in DANDARPC_to_xml_element_worker()
H A Dxml_to_soap.c88 snprintf(buf, sizeof(buf), "%s", array_type); in parse_array_type_info()
454 snprintf(buf, sizeof(buf), "%s[%i]", type, XMLRPC_VectorSize(node)); in SOAP_to_xml_element_worker()
500 snprintf(buf, BUF_SIZE, "%i", XMLRPC_GetValueInt(node)); in SOAP_to_xml_element_worker()
505 snprintf(buf, BUF_SIZE, "%i", XMLRPC_GetValueBoolean(node)); in SOAP_to_xml_element_worker()
510 snprintf(buf, BUF_SIZE, "%f", XMLRPC_GetValueDouble(node)); in SOAP_to_xml_element_worker()
626 snprintf(buf, sizeof(buf), "%s%s", in SOAP_REQUEST_to_xml_element()
H A Dxml_to_xmlrpc.c216 snprintf(buf, BUF_SIZE, "%i", XMLRPC_GetValueInt(node)); in XMLRPC_to_xml_element_worker()
221 snprintf(buf, BUF_SIZE, "%i", XMLRPC_GetValueBoolean(node)); in XMLRPC_to_xml_element_worker()
H A Dxmlrpc.c758 snprintf(buf, sizeof(buf), in map_expat_errors()
/PHP-7.4/ext/xsl/
H A Dphp_xsl.c261 snprintf(buffer, 128, "%d.%d.%d", major, minor, subminor); in PHP_MINFO_FUNCTION()
266 snprintf(buffer, 128, "%d.%d.%d", major, minor, subminor); in PHP_MINFO_FUNCTION()
H A Dxsltprocessor.c121 snprintf((char*)value, str_len, "'%s'", string); in php_xsl_xslt_string_to_xpathexpr()
124 snprintf((char *)value, str_len, "\"%s\"", string); in php_xsl_xslt_string_to_xpathexpr()
/PHP-7.4/ext/zip/
H A Dphp_zip.c547 snprintf(work_pattern, MAXPATHLEN, "%s%c%s", cwd, DEFAULT_SLASH, pattern); in php_zip_glob()
639 snprintf(work_path, MAXPATHLEN, "%s%c%s", cwd, DEFAULT_SLASH, path); in php_zip_pcre()
697 snprintf(fullpath, MAXPATHLEN, "%s%c%s", path, DEFAULT_SLASH, ZSTR_VAL(namelist[i])); in php_zip_pcre()
1743 snprintf(entry_name_buf, MAXPATHLEN, "%s%s", add_path, file_stripped);
1745 snprintf(entry_name_buf, MAXPATHLEN, "%s", file_stripped);
/PHP-7.4/main/
H A Dfopen_wrappers.c699 if (snprintf(trypath, MAXPATHLEN, "%s/%s", ptr, filename) >= MAXPATHLEN) {
H A Dmain.c448 snprintf(search_path, MAXPATHLEN, "%s/%s", search_dir, sapi_module.executable_location); in php_binary_init()
1715snprintf(memory_leak_buf, 512, "%s(%" PRIu32 ") : Freeing " ZEND_ADDR_FMT " (%zu bytes), script=%… in php_message_handler_for_zend()
1719snprintf(relay_buf, 512, "%s(%" PRIu32 ") : Actual location (location was relayed)\n", t->orig_fil… in php_message_handler_for_zend()
1725snprintf(memory_leak_buf, 512, "Last leak repeated %lu time%s\n", leak_count, (leak_count>1?"s":""… in php_message_handler_for_zend()
1744snprintf(memory_leak_buf, 512, "=== Total %d memory leaks detected ===\n", *((uint32_t *) data)); in php_message_handler_for_zend()
1768snprintf(memory_leak_buf, sizeof(memory_leak_buf), "[%s] Script: '%s'\n", datetime_str, SAFE_FIL… in php_message_handler_for_zend()
1770snprintf(memory_leak_buf, sizeof(memory_leak_buf), "[null] Script: '%s'\n", SAFE_FILENAME(SG(req… in php_message_handler_for_zend()
H A Dphp_ini.c695 snprintf(ini_file, MAXPATHLEN, "%s%s", debpath, namelist[i]->d_name); in php_init_config()
697 snprintf(ini_file, MAXPATHLEN, "%s%c%s", debpath, DEFAULT_SLASH, namelist[i]->d_name); in php_init_config()
788 snprintf(ini_file, MAXPATHLEN, "%s%c%s", dirname, DEFAULT_SLASH, ini_filename); in php_parse_user_ini_file()
H A Dphp_open_temporary_file.c140 …if (snprintf(opened_path, MAXPATHLEN, "%s%s%sXXXXXX", new_state.cwd, trailing_slash, pfx) >= MAXPA… in php_do_open_temporary_file()
H A Drfc1867.c937 snprintf(param, MAX_SIZE_ANONNAME, "%u", anonindex++);
1137 snprintf(lbuf, llen, "%s_name[%s]", abuf, array_index);
1139 snprintf(lbuf, llen, "%s_name", param);
1160 snprintf(lbuf, llen, "%s[name]", param);
1179 snprintf(lbuf, llen, "%s_type[%s]", abuf, array_index);
1181 snprintf(lbuf, llen, "%s_type", param);
1191 snprintf(lbuf, llen, "%s[type]", param);
1223 snprintf(lbuf, llen, "%s[tmp_name]", param);
1267 snprintf(lbuf, llen, "%s[error]", param);
1275 snprintf(lbuf, llen, "%s_size", param);
[all …]
H A Dsnprintf.c151snprintf(buf, ndigit + 1, "%s%s", (sign && *digits == 'I') ? "-" : "", *digits == 'I' ? "INF" : "N… in php_gcvt()
H A Dsnprintf.h102 #ifdef snprintf
103 #undef snprintf
105 #define snprintf ap_php_snprintf macro
/PHP-7.4/main/streams/
H A Dplain_wrapper.c1583 if (snprintf(trypath, MAXPATHLEN, "%s%s", cwd, filename) >= MAXPATHLEN) { in _php_stream_fopen_with_path()
1638 if (snprintf(trypath, MAXPATHLEN, "%s/%s", ptr, filename) >= MAXPATHLEN) { in _php_stream_fopen_with_path()
/PHP-7.4/sapi/apache2handler/
H A Dphp_functions.c401 snprintf(tmp, sizeof(tmp), "%d", MODULE_MAGIC_NUMBER); in PHP_MINFO_FUNCTION()
408 snprintf(tmp, sizeof(tmp), "%s:%u", serv->server_hostname, serv->port); in PHP_MINFO_FUNCTION()
413snprintf(tmp, sizeof(tmp), "%s(%d)/%d", ap_unixd_config.user_name, ap_unixd_config.user_id, ap_uni… in PHP_MINFO_FUNCTION()
415snprintf(tmp, sizeof(tmp), "%s(%d)/%d", unixd_config.user_name, unixd_config.user_id, unixd_config… in PHP_MINFO_FUNCTION()
421snprintf(tmp, sizeof(tmp), "Per Child: %d - Keep Alive: %s - Max Per Connection: %d", max_requests… in PHP_MINFO_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/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/sapi/fpm/fpm/
H A Dfpm_children.c195 snprintf(buf, sizeof(buf), "with code %d", WEXITSTATUS(status)); in fpm_children_bury()
220 snprintf(buf, sizeof(buf), "on signal %d (%s%s)", WTERMSIG(status), signame, have_core); in fpm_children_bury()

Completed in 108 milliseconds

12345