Home
last modified time | relevance | path

Searched refs:snprintf (Results 1 – 25 of 109) sorted by relevance

12345

/PHP-8.3/sapi/fpm/fpm/
H A Dfpm_log.c256 len2 = snprintf(b, FPM_LOG_BUFFER - len, "%s", env ? env : "-"); in fpm_log_write()
269 len2 = snprintf(b, FPM_LOG_BUFFER - len, "%zu", proc.content_length); in fpm_log_write()
283 len2 = snprintf(b, FPM_LOG_BUFFER - len, "%zu", proc.memory); in fpm_log_write()
289 len2 = snprintf(b, FPM_LOG_BUFFER - len, "%zu", proc.memory / 1024); in fpm_log_write()
361 len2 = snprintf(b, FPM_LOG_BUFFER - len, "%ld", (long)getpid()); in fpm_log_write()
367 len2 = snprintf(b, FPM_LOG_BUFFER - len, "%ld", (long)getppid()); in fpm_log_write()
373 len2 = snprintf(b, FPM_LOG_BUFFER - len, "%s", proc.query_string); in fpm_log_write()
385 len2 = snprintf(b, FPM_LOG_BUFFER - len, "%s", proc.request_uri); in fpm_log_write()
392 len2 = snprintf(b, FPM_LOG_BUFFER - len, "%s", tmp ? tmp : "-"); in fpm_log_write()
416 len2 = snprintf(b, FPM_LOG_BUFFER - len, "%s", tmp); in fpm_log_write()
[all …]
H A Dzlog.c85 len += snprintf(timebuf + len, timebuf_len - len, ".%06d", (int) tv->tv_usec); in zlog_print_time()
87 len += snprintf(timebuf + len, timebuf_len - len, "] "); in zlog_print_time()
166 len += snprintf(buf, buf_size, "[%s] %s(), line %d: ", in zlog_buf_prefix()
169 len += snprintf(buf, buf_size, "[%s] ", level_names[flags & ZLOG_LEVEL_MASK]); in zlog_buf_prefix()
180 len += snprintf(buf + len, buf_size - len, "%s: pid %d, %s(), line %d: ", in zlog_buf_prefix()
183 len += snprintf(buf + len, buf_size - len, "%s: %s(), line %d: ", in zlog_buf_prefix()
187 len += snprintf(buf + len, buf_size - len, "%s: ", in zlog_buf_prefix()
226 len += snprintf(buf + len, buf_size - len, in vzlog()
/PHP-8.3/main/
H A Dsnprintf.h96 #ifdef snprintf
97 #undef snprintf
99 #define snprintf ap_php_snprintf macro
H A Drfc1867.c1121 snprintf(lbuf, llen, "%s_name[%s]", abuf, array_index);
1123 snprintf(lbuf, llen, "%s_name", param);
1138 snprintf(lbuf, llen, "%s[name][%s]", abuf, array_index);
1140 snprintf(lbuf, llen, "%s[name]", param);
1152 snprintf(lbuf, llen, "%s[full_path]", param);
1170 snprintf(lbuf, llen, "%s[type][%s]", abuf, array_index);
1172 snprintf(lbuf, llen, "%s[type]", param);
1194 snprintf(lbuf, llen, "%s[tmp_name]", param);
1238 snprintf(lbuf, llen, "%s[error]", param);
1244 snprintf(lbuf, llen, "%s[size][%s]", abuf, array_index);
[all …]
/PHP-8.3/ext/standard/
H A Dinfo.c124 snprintf(reg_name, sizeof(reg_name), "Registered %s", name); in php_info_print_stream_hash()
627 snprintf(buf, bufsize, "i%d", SysInfo.dwProcessorType); in php_get_windows_cpu()
633 snprintf(buf, bufsize, "Alpha %d", SysInfo.wProcessorLevel); in php_get_windows_cpu()
639 snprintf(buf, bufsize, "IA64"); in php_get_windows_cpu()
643 snprintf(buf, bufsize, "IA32"); in php_get_windows_cpu()
648 snprintf(buf, bufsize, "AMD64"); in php_get_windows_cpu()
653 snprintf(buf, bufsize, "ARM64"); in php_get_windows_cpu()
658 snprintf(buf, bufsize, "Unknown"); in php_get_windows_cpu()
691 snprintf(tmp_uname, sizeof(tmp_uname), "build %d", dwBuild); in php_get_uname()
743 snprintf(tmp_uname, sizeof(tmp_uname), "%s %s %s %s %s", in php_get_uname()
[all …]
H A Dhrtime.c29 int st = snprintf(s, len, "%llu", i); \
H A Ddatetime.c53 snprintf(str, 80, "%s, %02d %s %04d %02d:%02d:%02d GMT", in php_std_date()
/PHP-8.3/ext/mysqlnd/
H A Dmysqlnd_debug.c74 snprintf(pid_buffer, sizeof(pid_buffer) - 1, "%5u: ", self->pid); in MYSQLND_METHOD()
84 snprintf(time_buffer, sizeof(time_buffer) - 1, in MYSQLND_METHOD()
95 snprintf(time_buffer, sizeof(time_buffer) - 1, in MYSQLND_METHOD()
107 snprintf(file_buffer, sizeof(file_buffer) - 1, "%14s: ", file); in MYSQLND_METHOD()
111 snprintf(line_buffer, sizeof(line_buffer) - 1, "%5u: ", line); in MYSQLND_METHOD()
115 snprintf(level_buffer, sizeof(level_buffer) - 1, "%4u: ", level); in MYSQLND_METHOD()
171 snprintf(pid_buffer, sizeof(pid_buffer) - 1, "%5u: ", self->pid); in MYSQLND_METHOD()
181 snprintf(time_buffer, sizeof(time_buffer) - 1, in MYSQLND_METHOD()
192 snprintf(time_buffer, sizeof(time_buffer) - 1, in MYSQLND_METHOD()
204 snprintf(file_buffer, sizeof(file_buffer) - 1, "%14s: ", file); in MYSQLND_METHOD()
[all …]
H A Dmysql_float_to_double.h43 snprintf(num_buf, MAX_CHAR_BUF_LEN, "%.*F", decimals, fp4); in mysql_float_to_double()
H A Dphp_mysqlnd.c105 snprintf(buf, sizeof(buf), ZEND_LONG_FMT, MYSQLND_G(net_cmd_buffer_size)); in PHP_MINFO_FUNCTION()
107 snprintf(buf, sizeof(buf), ZEND_LONG_FMT, MYSQLND_G(net_read_buffer_size)); in PHP_MINFO_FUNCTION()
109 snprintf(buf, sizeof(buf), ZEND_LONG_FMT, MYSQLND_G(net_read_timeout)); in PHP_MINFO_FUNCTION()
/PHP-8.3/Zend/
H A Dzend_config.w32.h46 #define snprintf _snprintf macro
H A Dzend_long.h74 int st = snprintf((s), (len), ZEND_LONG_FMT, (i)); \
98 int st = snprintf((s), (len), ZEND_LONG_FMT, (i)); \
/PHP-8.3/ext/standard/tests/general_functions/
H A D008.phpt7 // this checks f,g,G conversion for snprintf/spprintf
/PHP-8.3/ext/gd/libgd/
H A Dgdtest.c59 snprintf (of, sizeof(of), "%s.png", argv[1]); in main()
91 snprintf (of, sizeof(of), "%s.gd2", argv[1]); in main()
126 snprintf (of, sizeof(of), "%s.gd", argv[1]); in main()
183 snprintf (of, sizeof(of), "%s.snk", argv[1]); in main()
/PHP-8.3/sapi/fuzzer/
H A Dfuzzer-function-jit.c57 snprintf(ini_buf, sizeof(ini_buf), in LLVMFuzzerInitialize()
H A Dfuzzer-tracing-jit.c61 snprintf(ini_buf, sizeof(ini_buf), in LLVMFuzzerInitialize()
/PHP-8.3/sapi/apache2handler/
H A Dphp_functions.c398 snprintf(tmp, sizeof(tmp), "%d", MODULE_MAGIC_NUMBER); in PHP_MINFO_FUNCTION()
405 snprintf(tmp, sizeof(tmp), "%s:%u", serv->server_hostname, serv->port); in PHP_MINFO_FUNCTION()
410snprintf(tmp, sizeof(tmp), "%s(%d)/%d", ap_unixd_config.user_name, ap_unixd_config.user_id, ap_uni… in PHP_MINFO_FUNCTION()
412snprintf(tmp, sizeof(tmp), "%s(%d)/%d", unixd_config.user_name, unixd_config.user_id, unixd_config… in PHP_MINFO_FUNCTION()
418snprintf(tmp, sizeof(tmp), "Per Child: %d - Keep Alive: %s - Max Per Connection: %d", max_requests… in PHP_MINFO_FUNCTION()
/PHP-8.3/ext/opcache/
H A Dzend_accelerator_module.c503 snprintf(buf, sizeof(buf), ZEND_ULONG_FMT, ZCSG(hits));
509 snprintf(buf, sizeof(buf), "%zu", zend_shared_alloc_get_free_memory());
511 snprintf(buf, sizeof(buf), "%zu", ZSMMG(wasted_shared_memory));
514snprintf(buf, sizeof(buf), "%zu", (size_t)((char*)ZCSG(interned_strings).top - (char*)(accel_share…
516snprintf(buf, sizeof(buf), "%zu", (size_t)((char*)ZCSG(interned_strings).end - (char*)ZCSG(interne…
519 snprintf(buf, sizeof(buf), "%" PRIu32, ZCSG(hash).num_direct_entries);
521 snprintf(buf, sizeof(buf), "%" PRIu32, ZCSG(hash).num_entries);
523 snprintf(buf, sizeof(buf), "%" PRIu32, ZCSG(hash).max_num_entries);
525 snprintf(buf, sizeof(buf), ZEND_ULONG_FMT, ZCSG(oom_restarts));
527 snprintf(buf, sizeof(buf), ZEND_ULONG_FMT, ZCSG(hash_restarts));
[all …]
/PHP-8.3/ext/fileinfo/libmagic/
H A Dcdf_time.c175 (void)snprintf(buf, 26, "*Bad* 0x%16.16I64x\n", in cdf_ctime()
178 (void)snprintf(buf, 26, "*Bad* %#16.16" INT64_T_FORMAT "x\n", in cdf_ctime()
H A Dder.c232 snprintf(buf, len, "%#x", tag); in der_tag()
246 return snprintf(buf, blen, "%.*s", len, RCAST(const char *, q)); in der_data()
250 return snprintf(buf, blen, in der_data()
260 snprintf(buf + z, blen - z, "%.2x", d[i]); in der_data()
H A Dfuncs.c88 snprintf(msg, mlen, "field %s too large: %d", what, fw); in file_checkfield()
107 snprintf(msg, mlen, "* not allowed in format"); in file_checkfmt()
122 snprintf(msg, mlen, "bad format char: %c", *p); in file_checkfmt()
789 return snprintf(str, len, "%.8X-%.4hX-%.4hX-%.2hhX%.2hhX-" in file_print_guid()
795 return snprintf(str, len, "%.8X-%.4hX-%.4hX-%.2hX%.2hX-" in file_print_guid()
/PHP-8.3/sapi/litespeed/
H A Dlscriu.c293 snprintf(sem_name, sizeof sem_name - 1, "lsphp[hash=%s].is_ready", in LSCRIU_Wink_Server_is_Ready()
296 snprintf(sem_name, sizeof sem_name - 1, "lsphp[euid=0x%x].is_ready", in LSCRIU_Wink_Server_is_Ready()
316 snprintf(pchFile, max_len, "%s%s", pchDefaultSocketPath, in LSCRIU_Error_File_Name()
387 int n = snprintf(chFullMessage, sizeof(chFullMessage), in LSCRIU_Restored_Error()
/PHP-8.3/ext/com_dotnet/
H A Dcom_dotnet.c248 snprintf(buf, sizeof(buf), "Failed to init .Net runtime [%s] %s", where, err); in PHP_METHOD()
261 snprintf(buf, sizeof(buf), "Failed to re-init .Net domain [%s] %s", where, err); in PHP_METHOD()
273 snprintf(buf, sizeof(buf), "Failed to re-init .Net domain [%s] %s", where, err); in PHP_METHOD()
347 snprintf(buf, sizeof(buf), "Failed to instantiate .Net object [%s] [0x%08x] %s", where, hr, err); in PHP_METHOD()
/PHP-8.3/ext/xsl/
H A Dphp_xsl.c233 snprintf(buffer, 128, "%d.%d.%d", major, minor, subminor); in PHP_MINFO_FUNCTION()
238 snprintf(buffer, 128, "%d.%d.%d", major, minor, subminor); in PHP_MINFO_FUNCTION()
/PHP-8.3/win32/
H A Dsendmail.c56snprintf(*error_message, sizeof(SMTP_ERROR_RESPONSE_SPEC) + strlen(response), SMTP_ERROR_RESPONSE_…
272 snprintf(*error_message, HOST_NAME_LEN + 128, in TSendMail()
414 snprintf(PW32G(mail_buffer), sizeof(PW32G(mail_buffer)), "HELO %s\r\n", PW32G(mail_local_host)); in SendText()
738 snprintf(header_buffer, MAIL_BUFFER_SIZE, "Date: %s\r\n", ZSTR_VAL(dt)); in PostHeader()
1072 result = snprintf(Buf, MAIL_BUFFER_SIZE, FormatString, tmpAddress); in FormatEmailAddress()
1076 return snprintf(Buf, MAIL_BUFFER_SIZE , FormatString , EmailAddress ); in FormatEmailAddress()

Completed in 74 milliseconds

12345