Home
last modified time | relevance | path

Searched refs:snprintf (Results 1 – 25 of 108) sorted by last modified time

12345

/PHP-7.4/
H A Dconfigure.ac1476 PHP_ADD_SOURCES(main, main.c snprintf.c spprintf.c \
/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/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/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/ext/standard/
H A Ddns.c500 snprintf(name, sizeof(name), "%d.%d.%d.%d", cp[0], cp[1], cp[2], cp[3]); in php_parserr()
H A Dimage.c459 snprintf(markername, sizeof(markername), "APP%d", marker - M_APP0); in php_read_APP()
1472 snprintf(temp, sizeof(temp), "width=\"%d\" height=\"%d\"", result->width, result->height); in php_getimagesize_from_stream()
H A Dinfo.c125 snprintf(reg_name, sizeof(reg_name), "Registered %s", name); in php_info_print_stream_hash()
608 snprintf(buf, bufsize, "i%d", SysInfo.dwProcessorType); in php_get_windows_cpu()
614 snprintf(buf, bufsize, "Alpha %d", SysInfo.wProcessorLevel); in php_get_windows_cpu()
617 snprintf(buf, bufsize, "PPC 6%02d", SysInfo.wProcessorLevel); in php_get_windows_cpu()
620 snprintf(buf, bufsize, "IA64"); in php_get_windows_cpu()
624 snprintf(buf, bufsize, "IA32"); in php_get_windows_cpu()
629 snprintf(buf, bufsize, "AMD64"); in php_get_windows_cpu()
634 snprintf(buf, bufsize, "Unknown"); in php_get_windows_cpu()
668 snprintf(tmp_uname, sizeof(tmp_uname), "build %d", dwBuild); in php_get_uname()
720 snprintf(tmp_uname, sizeof(tmp_uname), "%s %s %s %s %s", in php_get_uname()
[all …]
/PHP-7.4/sapi/fpm/fpm/
H A Dzlog.c84 len += snprintf(timebuf + len, timebuf_len - len, ".%06d", (int) tv->tv_usec); in zlog_print_time()
86 len += snprintf(timebuf + len, timebuf_len - len, "] "); in zlog_print_time()
163 len += snprintf(buf, buf_size, "[%s] %s(), line %d: ", in zlog_buf_prefix()
166 len += snprintf(buf, buf_size, "[%s] ", level_names[flags & ZLOG_LEVEL_MASK]); in zlog_buf_prefix()
177 len += snprintf(buf + len, buf_size - len, "%s: pid %d, %s(), line %d: ", in zlog_buf_prefix()
180 len += snprintf(buf + len, buf_size - len, "%s: %s(), line %d: ", in zlog_buf_prefix()
184 len += snprintf(buf + len, buf_size - len, "%s: ", in zlog_buf_prefix()
223 len += snprintf(buf + len, buf_size - len, in vzlog()
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()
/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/ext/mbstring/
H A Dmbstring.c1787snprintf(tmp, sizeof(tmp), "%d.%d.%d", MBFL_VERSION_MAJOR, MBFL_VERSION_MINOR, MBFL_VERSION_TEENY); in PHP_MINFO_FUNCTION()
/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/main/
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 Dfopen_wrappers.c699 if (snprintf(trypath, MAXPATHLEN, "%s/%s", ptr, filename) >= MAXPATHLEN) {
/PHP-7.4/ext/mysqli/
H A Dmysqli.c977 snprintf(buf, sizeof(buf), ZEND_LONG_FMT, MyG(num_active_persistent)); in PHP_MINFO_FUNCTION()
979 snprintf(buf, sizeof(buf), ZEND_LONG_FMT, MyG(num_inactive_persistent)); in PHP_MINFO_FUNCTION()
981 snprintf(buf, sizeof(buf), ZEND_LONG_FMT, MyG(num_links)); in PHP_MINFO_FUNCTION()
1176snprintf(tmp, sizeof(tmp), (mysql_fetch_field_direct(result, i)->flags & UNSIGNED_FLAG)? MYSQLI_LL… in php_mysqli_fetch_into_hash_aux()
H A Dmysqli_api.c1066snprintf(tmp, sizeof(tmp), (stmt->stmt->fields[i].flags & UNSIGNED_FLAG)? MYSQLI_LLU_SPEC : MYSQLI…
/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/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/dom/
H A Delement.c713 snprintf((char *) prefix, sizeof(prefix), "default"); in _dom_new_reconNs()
715 snprintf((char *) prefix, sizeof(prefix), "%.20s", (char *)ns->prefix); in _dom_new_reconNs()
721 snprintf((char *) prefix, sizeof(prefix), "default%d", counter++); in _dom_new_reconNs()
723 snprintf((char *) prefix, sizeof(prefix), "%.20s%d", in _dom_new_reconNs()
/PHP-7.4/TSRM/
H A Dtsrm_win32.c626 snprintf(shm_segment, sizeof(shm_segment), SEGMENT_PREFIX "%d", key); in shmget()
627 snprintf(shm_info, sizeof(shm_info), DESCRIPTOR_PREFIX "%d", key); in shmget()
/PHP-7.4/ext/imap/
H A Dphp_imap.c1703 snprintf(tmp + 6, sizeof(tmp) - 6, "%4ld) ", cache->msgno); in PHP_FUNCTION()
1718 snprintf(t += strlen(t), sizeof(tmp) - strlen(tmp), " (%ld chars)", cache->rfc822_size); in PHP_FUNCTION()
2165 snprintf(dummy, sizeof(dummy), "%4ld", cache->msgno); in PHP_FUNCTION()
2171 snprintf(dummy, sizeof(dummy), "%ld", cache->rfc822_size); in PHP_FUNCTION()
4806 snprintf(buf, 25, "%ld.num", thisNode); in build_thread_tree_helper()
4810 snprintf(buf, 25, "%ld.next", thisNode); in build_thread_tree_helper()
4819 snprintf(buf, 25, "%ld.branch", thisNode); in build_thread_tree_helper()
/PHP-7.4/ext/openssl/
H A Dopenssl.c1570 snprintf(default_ssl_conf_filename, sizeof(default_ssl_conf_filename), "%s/%s", in PHP_INI_END()
2402 snprintf(buf, sizeof(buf), "%08lx", X509_subject_name_hash(cert)); 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/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/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()

Completed in 195 milliseconds

12345