/PHP-7.4/ext/standard/ |
H A D | net.c | 209 s += snprintf(s, 4, "%02X:", p->PhysicalAddress[i]); in PHP_FUNCTION()
|
H A D | pack.c | 898 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 D | password.c | 272 …hash_format_len = snprintf(hash_format, sizeof(hash_format), "$2y$%02" ZEND_LONG_FMT_SPEC "$", cos… in php_password_bcrypt_hash()
|
H A D | scanf.c | 1046 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 D | 008.phpt | 7 // this checks f,g,G conversion for snprintf/spprintf
|
/PHP-7.4/ext/xmlrpc/libxmlrpc/ |
H A D | xml_element.c | 723 snprintf(buf, in xml_elem_parse_buf()
|
H A D | xml_to_dandarpc.c | 206 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 D | xml_to_soap.c | 88 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 D | xml_to_xmlrpc.c | 216 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 D | xmlrpc.c | 758 snprintf(buf, sizeof(buf), in map_expat_errors()
|
/PHP-7.4/ext/xsl/ |
H A D | php_xsl.c | 261 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 D | xsltprocessor.c | 121 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 D | php_zip.c | 547 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 D | fopen_wrappers.c | 699 if (snprintf(trypath, MAXPATHLEN, "%s/%s", ptr, filename) >= MAXPATHLEN) {
|
H A D | main.c | 448 snprintf(search_path, MAXPATHLEN, "%s/%s", search_dir, sapi_module.executable_location); in php_binary_init() 1715 …snprintf(memory_leak_buf, 512, "%s(%" PRIu32 ") : Freeing " ZEND_ADDR_FMT " (%zu bytes), script=%… in php_message_handler_for_zend() 1719 …snprintf(relay_buf, 512, "%s(%" PRIu32 ") : Actual location (location was relayed)\n", t->orig_fil… in php_message_handler_for_zend() 1725 …snprintf(memory_leak_buf, 512, "Last leak repeated %lu time%s\n", leak_count, (leak_count>1?"s":""… in php_message_handler_for_zend() 1744 … snprintf(memory_leak_buf, 512, "=== Total %d memory leaks detected ===\n", *((uint32_t *) data)); in php_message_handler_for_zend() 1768 …snprintf(memory_leak_buf, sizeof(memory_leak_buf), "[%s] Script: '%s'\n", datetime_str, SAFE_FIL… in php_message_handler_for_zend() 1770 …snprintf(memory_leak_buf, sizeof(memory_leak_buf), "[null] Script: '%s'\n", SAFE_FILENAME(SG(req… in php_message_handler_for_zend()
|
H A D | php_ini.c | 695 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 D | php_open_temporary_file.c | 140 …if (snprintf(opened_path, MAXPATHLEN, "%s%s%sXXXXXX", new_state.cwd, trailing_slash, pfx) >= MAXPA… in php_do_open_temporary_file()
|
H A D | rfc1867.c | 937 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 D | snprintf.c | 151 …snprintf(buf, ndigit + 1, "%s%s", (sign && *digits == 'I') ? "-" : "", *digits == 'I' ? "INF" : "N… in php_gcvt()
|
H A D | snprintf.h | 102 #ifdef snprintf 103 #undef snprintf 105 #define snprintf ap_php_snprintf macro
|
/PHP-7.4/main/streams/ |
H A D | plain_wrapper.c | 1583 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 D | php_functions.c | 401 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() 413 …snprintf(tmp, sizeof(tmp), "%s(%d)/%d", ap_unixd_config.user_name, ap_unixd_config.user_id, ap_uni… in PHP_MINFO_FUNCTION() 415 …snprintf(tmp, sizeof(tmp), "%s(%d)/%d", unixd_config.user_name, unixd_config.user_id, unixd_config… in PHP_MINFO_FUNCTION() 421 …snprintf(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 D | cgi_main.c | 2027 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 D | php_cli_server.c | 2017 snprintf(chunk->data.heap.p, chunk->data.heap.len, prologue_template, status, status_string); in php_cli_server_send_error_page() 2041 …snprintf(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 D | fpm_children.c | 195 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()
|