snprintf 178 Zend/zend.c snprintf(key, sizeof(key), "%ld", num_key); snprintf 248 Zend/zend.c Z_STRLEN_P(expr_copy) = snprintf(Z_STRVAL_P(expr_copy), sizeof("Resource id #") - 1 + MAX_LENGTH_OF_LONG, "Resource id #%ld", Z_LVAL_P(expr)); snprintf 914 Zend/zend.c snprintf(new_info, new_info_length, " with %s v%s, %s, by %s\n", extension->name, extension->version, extension->copyright, extension->author); snprintf 1848 Zend/zend_builtin_functions.c function_name_length = 1 + snprintf(function_name + 1, sizeof("lambda_")+MAX_LENGTH_OF_LONG, "lambda_%d", ++EG(lambda_count)); snprintf 6700 Zend/zend_language_parser.c snprintf(buffer, sizeof(buffer), "'%.*s' %.*s", len, str, toklen, tok1); snprintf 6702 Zend/zend_language_parser.c snprintf(buffer, sizeof(buffer), "'%.*s'", len, str); snprintf 1347 Zend/zend_language_parser.y snprintf(buffer, sizeof(buffer), "'%.*s' %.*s", len, str, toklen, tok1); snprintf 1349 Zend/zend_language_parser.y snprintf(buffer, sizeof(buffer), "'%.*s'", len, str); snprintf 74 ext/bcmath/libbcmath/src/output.c snprintf(digits, sizeof(digits), "%ld", val); snprintf 411 ext/calendar/calendar.c snprintf(date, sizeof(date), "%i/%i/%i", month, day, year); snprintf 448 ext/calendar/calendar.c snprintf(date, sizeof(date), "%i/%i/%i", month, day, year); snprintf 481 ext/calendar/calendar.c snprintf(date, sizeof(date), "%i/%i/%i", month, day, year); snprintf 612 ext/calendar/calendar.c snprintf(date, sizeof(date), "%i/%i/%i", month, day, year); snprintf 620 ext/calendar/calendar.c snprintf(hebdate, sizeof(hebdate), "%s %s %s", heb_number_to_chars(day, fl, &dayp), JEWISH_HEB_MONTH_NAME(year)[month], heb_number_to_chars(year, fl, &yearp)); snprintf 662 ext/calendar/calendar.c snprintf(date, sizeof(date), "%i/%i/%i", month, day, year); snprintf 207 ext/com_dotnet/com_dotnet.c snprintf(buf, sizeof(buf), "Failed to init .Net runtime [%s] %s", where, err); snprintf 222 ext/com_dotnet/com_dotnet.c snprintf(buf, sizeof(buf), "Failed to re-init .Net domain [%s] %s", where, err); snprintf 235 ext/com_dotnet/com_dotnet.c snprintf(buf, sizeof(buf), "Failed to re-init .Net domain [%s] %s", where, err); snprintf 312 ext/com_dotnet/com_dotnet.c snprintf(buf, sizeof(buf), "Failed to instantiate .Net object [%s] [0x%08x] %s", where, hr, err); snprintf 77 ext/com_dotnet/com_wrapper.c snprintf(buf, sizeof(buf), "T=%08x ", GetCurrentThreadId()); snprintf 475 ext/com_dotnet/com_wrapper.c snprintf(namebuf, sizeof(namebuf), "%d", pid); snprintf 507 ext/com_dotnet/com_wrapper.c snprintf(namebuf, sizeof(namebuf), "%d", pid); snprintf 50 ext/date/php_date.c int st = snprintf(s, len, "%lld", i); \ snprintf 1094 ext/date/php_date.c snprintf(offset->abbr, 9, "GMT%c%02d%02d", snprintf 1305 ext/date/php_date.c snprintf(offset->abbr, 9, "GMT%c%02d%02d", snprintf 1469 ext/date/php_date.c snprintf(initial_ts, 24, "@%ld UTC", preset_ts); snprintf 2252 ext/date/php_date.c snprintf(tmpstr, sizeof("+05:00"), "%c%02d:%02d", snprintf 2352 ext/date/php_date.c snprintf(tmpstr, sizeof("+05:00"), "%c%02d:%02d", snprintf 2825 ext/date/php_date.c snprintf(tmp, Z_STRLEN_PP(z_date) + Z_STRLEN_PP(z_timezone) + 2, "%s %s", Z_STRVAL_PP(z_date), Z_STRVAL_PP(z_timezone)); snprintf 3821 ext/date/php_date.c snprintf(tmpstr, sizeof("+05:00"), "%c%02d:%02d", snprintf 46 ext/dba/dba_dbm.c snprintf(buf, MAXPATHLEN, "%s" extension, info->path); \ snprintf 714 ext/dom/element.c snprintf((char *) prefix, sizeof(prefix), "default"); snprintf 716 ext/dom/element.c snprintf((char *) prefix, sizeof(prefix), "%.20s", (char *)ns->prefix); snprintf 722 ext/dom/element.c snprintf((char *) prefix, sizeof(prefix), "default%d", counter++); snprintf 724 ext/dom/element.c snprintf((char *) prefix, sizeof(prefix), "%.20s%d", snprintf 273 ext/ereg/ereg.c snprintf(message, buf_len, "%s: ", buf); snprintf 89 ext/ereg/regex/regerror.c snprintf(convbuf, sizeof(convbuf), "REG_0x%x", target); snprintf 128 ext/ereg/regex/regerror.c snprintf(localbuf, bufsize, "%d", r->code); snprintf 1020 ext/exif/exif.c snprintf(tmp, sizeof(tmp), "UndefinedTag:0x%04X", tag_num); snprintf 1188 ext/exif/exif.c snprintf(dump + len, 4 + 1, "0x%02X", *value_ptr); snprintf 1195 ext/exif/exif.c snprintf(dump + len, 6 + 1, "0x%04X", php_ifd_get16s(value_ptr, motorola_intel)); snprintf 1202 ext/exif/exif.c snprintf(dump + len, 6 + 1, "0x%04X", php_ifd_get32s(value_ptr, motorola_intel)); snprintf 1209 ext/exif/exif.c snprintf(dump + len, 13 + 1, "0x%04X/0x%04X", php_ifd_get32s(value_ptr, motorola_intel), php_ifd_get32s(value_ptr+4, motorola_intel)); snprintf 1216 ext/exif/exif.c snprintf(dump + len, 2 + 1, ", "); snprintf 1224 ext/exif/exif.c snprintf(dump + len, 1 + 1, "}"); snprintf 1465 ext/exif/exif.c snprintf(sections+len, ml-len, "%s, ", exif_get_sectionname(i)); snprintf 1964 ext/exif/exif.c snprintf(uname, sizeof(uname), "%d", unknown++); snprintf 2040 ext/exif/exif.c snprintf(buffer, sizeof(buffer), "%i/%i", info_value->ur.num, info_value->ur.den); snprintf 2066 ext/exif/exif.c snprintf(buffer, sizeof(buffer), "%i/%i", info_value->sr.num, info_value->sr.den); snprintf 3939 ext/exif/exif.c snprintf(tmp, sizeof(tmp), ",%s,", exif_get_sectionname(i)); snprintf 274 ext/fileinfo/fileinfo.c (void)snprintf(magic_ver, 4, "%d", magic_version()); snprintf 1183 ext/fileinfo/libmagic/apprentice.c if ((mflen = snprintf(mfn, sizeof(mfn), "%s/%s", fn, d.d_name)) < 0) { snprintf 991 ext/fileinfo/libmagic/cdf.c return snprintf(buf, buflen, "%.8x-%.4x-%.4x-%.2x%.2x-" snprintf 1031 ext/fileinfo/libmagic/cdf.c return snprintf(buf, bufsiz, "%s", vn[i].n); snprintf 1032 ext/fileinfo/libmagic/cdf.c return snprintf(buf, bufsiz, "0x%x", p); snprintf 1051 ext/fileinfo/libmagic/cdf.c len += snprintf(buf + len, bufsiz - len, "%dd+", days); snprintf 1057 ext/fileinfo/libmagic/cdf.c len += snprintf(buf + len, bufsiz - len, "%.2d:", hours); snprintf 1062 ext/fileinfo/libmagic/cdf.c len += snprintf(buf + len, bufsiz - len, "%.2d:", mins); snprintf 1066 ext/fileinfo/libmagic/cdf.c len += snprintf(buf + len, bufsiz - len, "%.2d", secs); snprintf 175 ext/fileinfo/libmagic/cdf_time.c (void)snprintf(buf, 26, "*Bad* 0x%16.16llx\n", (long long)*sec); snprintf 394 ext/fileinfo/libmagic/softmagic.c (void)snprintf(buf, sizeof(buf), "%c", snprintf 416 ext/fileinfo/libmagic/softmagic.c (void)snprintf(buf, sizeof(buf), "%hu", snprintf 439 ext/fileinfo/libmagic/softmagic.c (void)snprintf(buf, sizeof(buf), "%u", (uint32_t)v); snprintf 460 ext/fileinfo/libmagic/softmagic.c (void)snprintf(buf, sizeof(buf), "%llu", snprintf 569 ext/fileinfo/libmagic/softmagic.c (void)snprintf(buf, sizeof(buf), "%g", vf); snprintf 589 ext/fileinfo/libmagic/softmagic.c (void)snprintf(buf, sizeof(buf), "%g", vd); snprintf 627 ext/ftp/ftp.c snprintf(buffer, sizeof(buffer) - 1, "%ld", size); snprintf 814 ext/ftp/ftp.c snprintf(arg, sizeof(arg), "%ld", resumepos); snprintf 906 ext/ftp/ftp.c snprintf(arg, sizeof(arg), "%ld", startpos); snprintf 1447 ext/ftp/ftp.c snprintf(eprtarg, sizeof(eprtarg), "|2|%s|%hu|", out, ntohs(((struct sockaddr_in6 *) &addr)->sin6_port)); snprintf 1465 ext/ftp/ftp.c snprintf(arg, sizeof(arg), "%u,%u,%u,%u,%u,%u", ipbox.c[0], ipbox.c[1], ipbox.c[2], ipbox.c[3], ipbox.c[4], ipbox.c[5]); snprintf 1730 ext/ftp/ftp.c snprintf(arg, sizeof(arg), "%ld", resumepos); snprintf 1844 ext/ftp/ftp.c snprintf(arg, sizeof(arg), "%ld", startpos); snprintf 1309 ext/gd/gd.c snprintf(tmp, sizeof(tmp), "%d.%d.%d", FREETYPE_MAJOR, FREETYPE_MINOR, FREETYPE_PATCH); snprintf 1311 ext/gd/gd.c snprintf(tmp, sizeof(tmp), "%d.%d", FREETYPE_MAJOR, FREETYPE_MINOR); snprintf 1313 ext/gd/gd.c snprintf(tmp, sizeof(tmp), "1.x"); snprintf 1345 ext/gd/gd.c snprintf(tmp, sizeof(tmp), "%d", XpmLibraryVersion()); snprintf 216 ext/gd/libgd/gd_jpeg.c snprintf(comment, sizeof(comment)-1, "CREATOR: gd-jpeg v%s (using IJG JPEG v%d), quality = %d\n", GD_JPEG_VERSION, JPEG_LIB_VERSION, quality); snprintf 218 ext/gd/libgd/gd_jpeg.c snprintf(comment, sizeof(comment)-1, "CREATOR: gd-jpeg v%s (using IJG JPEG v%d), default quality\n", GD_JPEG_VERSION, JPEG_LIB_VERSION); snprintf 406 ext/gd/libgd/gdft.c snprintf(fullname, sizeof(fullname) - 1, "%s", name); snprintf 427 ext/gd/libgd/gdft.c snprintf(fullname, sizeof(fullname) - 1, "%s/%s%s", dir, name, ext); \ snprintf 59 ext/gd/libgd/gdtest.c snprintf (of, sizeof(of), "%s.png", argv[1]); snprintf 91 ext/gd/libgd/gdtest.c snprintf (of, sizeof(of), "%s.gd2", argv[1]); snprintf 126 ext/gd/libgd/gdtest.c snprintf (of, sizeof(of), "%s.gd", argv[1]); snprintf 183 ext/gd/libgd/gdtest.c snprintf (of, sizeof(of), "%s.snk", argv[1]); snprintf 255 ext/gd/libgd/webpng.c snprintf (outFn, sizeof(outFn), "webpng.tmp%d", getpid ()); snprintf 282 ext/iconv/iconv.c snprintf(buf, sizeof(buf), "%d.%d", snprintf 1654 ext/imap/php_imap.c snprintf(tmp + 6, sizeof(tmp) - 6, "%4ld) ", cache->msgno); snprintf 1669 ext/imap/php_imap.c snprintf(t += strlen(t), sizeof(tmp) - strlen(tmp), " (%ld chars)", cache->rfc822_size); snprintf 2094 ext/imap/php_imap.c snprintf(dummy, sizeof(dummy), "%4ld", cache->msgno); snprintf 2100 ext/imap/php_imap.c snprintf(dummy, sizeof(dummy), "%ld", cache->rfc822_size); snprintf 4667 ext/imap/php_imap.c snprintf(buf, 25, "%ld.num", thisNode); snprintf 4671 ext/imap/php_imap.c snprintf(buf, 25, "%ld.next", thisNode); snprintf 4680 ext/imap/php_imap.c snprintf(buf, 25, "%ld.branch", thisNode); snprintf 1529 ext/interbase/ibase_query.c snprintf(alias = buf, sizeof(buf), "%s_%02d", base, i++); snprintf 323 ext/interbase/ibase_service.c snprintf(heap_p, heap_buf_size - (heap_p - heap_buf), "%s\n", result); snprintf 816 ext/interbase/interbase.c snprintf( (s = tmp), sizeof(tmp), "Firebird API version %d", FB_API_VER); snprintf 1437 ext/interbase/interbase.c snprintf(query, sizeof(query), "SELECT GEN_ID(%s,%ld) FROM rdb$database", generator, inc); snprintf 854 ext/intl/locale/locale_methods.c snprintf( cur_key_name , 30, "%s%d", key_name , i); snprintf 259 ext/ldap/ldap.c snprintf(tmp, 31, "%ld/unlimited", LDAPG(num_links)); snprintf 261 ext/ldap/ldap.c snprintf(tmp, 31, "%ld/%ld", LDAPG(num_links), LDAPG(max_links)); snprintf 266 ext/ldap/ldap.c snprintf(tmp, 31, "%d", LDAP_API_VERSION); snprintf 275 ext/ldap/ldap.c snprintf(tmp, 31, "%d", LDAP_VENDOR_VERSION); snprintf 281 ext/ldap/ldap.c snprintf(tmp, 31, "%F", SDKVersion/100.0); snprintf 284 ext/ldap/ldap.c snprintf(tmp, 31, "%F", ver.protocol_version/100.0); snprintf 287 ext/ldap/ldap.c snprintf(tmp, 31, "%F", ver.SSL_version/100.0); snprintf 291 ext/ldap/ldap.c snprintf(tmp, 31, "%d", ver.security_level); snprintf 370 ext/ldap/ldap.c snprintf( url, urllen, "ldap://%s:%ld", host ? host : "", port ); snprintf 1716 ext/mbstring/mbstring.c snprintf(tmp, sizeof(tmp), "%d.%d.%d", MBFL_VERSION_MAJOR, MBFL_VERSION_MINOR, MBFL_VERSION_TEENY); snprintf 164 ext/mbstring/php_mbregex.c snprintf(buf, sizeof(buf), "%d.%d.%d", snprintf 1316 ext/mbstring/ucgendat/ucgendat.c snprintf(path, sizeof path, "%s" LDAP_DIRSEP "uctable.h", opath); snprintf 1323 ext/mbstring/ucgendat/ucgendat.c snprintf(path, sizeof path, "%s" LDAP_DIRSEP "ctype.dat", opath); snprintf 1474 ext/mbstring/ucgendat/ucgendat.c snprintf(path, sizeof path, "%s" LDAP_DIRSEP "case.dat", opath); snprintf 1553 ext/mbstring/ucgendat/ucgendat.c snprintf(path, sizeof path, "%s" LDAP_DIRSEP "comp.dat", opath); snprintf 1629 ext/mbstring/ucgendat/ucgendat.c snprintf(path, sizeof path, "%s" LDAP_DIRSEP "decomp.dat", opath); snprintf 1722 ext/mbstring/ucgendat/ucgendat.c snprintf(path, sizeof path, "%s" LDAP_DIRSEP "kdecomp.dat", opath); snprintf 1802 ext/mbstring/ucgendat/ucgendat.c snprintf(path, sizeof path, "%s" LDAP_DIRSEP "cmbcl.dat", opath); snprintf 1876 ext/mbstring/ucgendat/ucgendat.c snprintf(path, sizeof path, "%s" LDAP_DIRSEP "num.dat", opath); snprintf 498 ext/mcrypt/mcrypt.c snprintf (mcrypt_api_no, 16, "%d", MCRYPT_API_VERSION); snprintf 529 ext/mssql/php_mssql.c snprintf(buf, sizeof(buf), "%ld", MS_SQL_G(num_persistent)); snprintf 531 ext/mssql/php_mssql.c snprintf(buf, sizeof(buf), "%ld", MS_SQL_G(num_links)); snprintf 675 ext/mssql/php_mssql.c snprintf(buffer, sizeof(buffer), "%li", MS_SQL_G(textlimit)); snprintf 685 ext/mssql/php_mssql.c snprintf(buffer, sizeof(buffer), "SET TEXTSIZE %li", MS_SQL_G(textsize)); snprintf 809 ext/mssql/php_mssql.c snprintf(buffer, sizeof(buffer), "%li", MS_SQL_G(textlimit)); snprintf 819 ext/mssql/php_mssql.c snprintf(buffer, sizeof(buffer), "SET TEXTSIZE %li", MS_SQL_G(textsize)); snprintf 1225 ext/mssql/php_mssql.c snprintf(computed_buf,16,"computed%d",j); snprintf 686 ext/mysql/php_mysql.c snprintf(buf, sizeof(buf), "%ld", MySG(num_persistent)); snprintf 688 ext/mysql/php_mysql.c snprintf(buf, sizeof(buf), "%ld", MySG(num_links)); snprintf 973 ext/mysqli/mysqli.c snprintf(buf, sizeof(buf), "%ld", MyG(num_active_persistent)); snprintf 975 ext/mysqli/mysqli.c snprintf(buf, sizeof(buf), "%ld", MyG(num_inactive_persistent)); snprintf 977 ext/mysqli/mysqli.c snprintf(buf, sizeof(buf), "%ld", MyG(num_links)); snprintf 1192 ext/mysqli/mysqli.c snprintf(tmp, sizeof(tmp), (mysql_fetch_field_direct(result, i)->flags & UNSIGNED_FLAG)? MYSQLI_LLU_SPEC : MYSQLI_LL_SPEC, llval); snprintf 1120 ext/mysqli/mysqli_api.c snprintf(tmp, sizeof(tmp), (stmt->stmt->fields[i].flags & UNSIGNED_FLAG)? MYSQLI_LLU_SPEC : MYSQLI_LL_SPEC, llval); snprintf 87 ext/mysqlnd/mysqlnd_debug.c snprintf(pid_buffer, sizeof(pid_buffer) - 1, "%5u: ", self->pid); snprintf 97 ext/mysqlnd/mysqlnd_debug.c snprintf(time_buffer, sizeof(time_buffer) - 1, snprintf 108 ext/mysqlnd/mysqlnd_debug.c snprintf(time_buffer, sizeof(time_buffer) - 1, snprintf 120 ext/mysqlnd/mysqlnd_debug.c snprintf(file_buffer, sizeof(file_buffer) - 1, "%14s: ", file); snprintf 124 ext/mysqlnd/mysqlnd_debug.c snprintf(line_buffer, sizeof(line_buffer) - 1, "%5u: ", line); snprintf 128 ext/mysqlnd/mysqlnd_debug.c snprintf(level_buffer, sizeof(level_buffer) - 1, "%4u: ", level); snprintf 185 ext/mysqlnd/mysqlnd_debug.c snprintf(pid_buffer, sizeof(pid_buffer) - 1, "%5u: ", self->pid); snprintf 195 ext/mysqlnd/mysqlnd_debug.c snprintf(time_buffer, sizeof(time_buffer) - 1, snprintf 206 ext/mysqlnd/mysqlnd_debug.c snprintf(time_buffer, sizeof(time_buffer) - 1, snprintf 218 ext/mysqlnd/mysqlnd_debug.c snprintf(file_buffer, sizeof(file_buffer) - 1, "%14s: ", file); snprintf 222 ext/mysqlnd/mysqlnd_debug.c snprintf(line_buffer, sizeof(line_buffer) - 1, "%5u: ", line); snprintf 226 ext/mysqlnd/mysqlnd_debug.c snprintf(level_buffer, sizeof(level_buffer) - 1, "%4u: ", level); snprintf 57 ext/mysqlnd/mysqlnd_loaddata.c snprintf((char *)info->error_msg, sizeof(info->error_msg), "Can't find file '%-.64s'.", filename); snprintf 74 ext/mysqlnd/php_mysqlnd.c snprintf(buf, sizeof(buf), "%s statistics", plugin_header->plugin_name); snprintf 153 ext/mysqlnd/php_mysqlnd.c snprintf(buf, sizeof(buf), "%ld", MYSQLND_G(net_cmd_buffer_size)); snprintf 155 ext/mysqlnd/php_mysqlnd.c snprintf(buf, sizeof(buf), "%ld", MYSQLND_G(net_read_buffer_size)); snprintf 157 ext/mysqlnd/php_mysqlnd.c snprintf(buf, sizeof(buf), "%ld", MYSQLND_G(net_read_timeout)); snprintf 1358 ext/oci8/oci8.c snprintf(buf, sizeof(buf), "%d.%d", OCI_MAJOR_VERSION, OCI_MINOR_VERSION); snprintf 1360 ext/oci8/oci8.c snprintf(buf, sizeof(buf), "%s", PHP_OCI8_ORACLE_VERSION); snprintf 1362 ext/oci8/oci8.c snprintf(buf, sizeof(buf), "Unknown"); snprintf 1386 ext/oci8/oci8.c snprintf(buf, sizeof(buf), "%ld", OCI_G(num_persistent)); snprintf 1388 ext/oci8/oci8.c snprintf(buf, sizeof(buf), "%ld", OCI_G(num_links)); snprintf 2510 ext/oci8/oci8.c snprintf(version_buff, sizeof(version_buff), "%d.%d.%d.%d.%d", major_version, minor_version, update_num, patch_num, port_update_num); snprintf 850 ext/odbc/php_odbc.c snprintf(buf, sizeof(buf), "%ld", ODBCG(num_persistent)); snprintf 852 ext/odbc/php_odbc.c snprintf(buf, sizeof(buf), "%ld", ODBCG(num_links)); snprintf 894 ext/odbc/php_odbc.c snprintf(state, sizeof(state), "HY000"); snprintf 895 ext/odbc/php_odbc.c snprintf(errormsg, sizeof(errormsg), "Failed to fetch error message"); snprintf 1519 ext/odbc/php_odbc.c snprintf(cursorname, max_len+1, "php_curs_%d", (int)result->stmt); snprintf 360 ext/opcache/Optimizer/compact_literals.c key_len = snprintf(key, key_len-1, "%d->%s", info[i].u.num, Z_STRVAL(op_array->literals[i].constant)); snprintf 84 ext/opcache/shared_alloc_win32.c snprintf(newname, sizeof(newname) - 1, "%s@%s", name, uname); snprintf 98 ext/opcache/shared_alloc_win32.c snprintf(windir + l, sizeof(windir) - l - 1, "\\%s@%s", ACCEL_FILEMAP_BASE, uname); snprintf 443 ext/opcache/zend_accelerator_module.c snprintf(buf, sizeof(buf), "%ld", ZCSG(hits)); snprintf 445 ext/opcache/zend_accelerator_module.c snprintf(buf, sizeof(buf), "%ld", ZSMMG(memory_exhausted)?ZCSG(misses):ZCSG(misses)-ZCSG(blacklist_misses)); snprintf 447 ext/opcache/zend_accelerator_module.c snprintf(buf, sizeof(buf), "%ld", ZCG(accel_directives).memory_consumption-zend_shared_alloc_get_free_memory()-ZSMMG(wasted_shared_memory)); snprintf 449 ext/opcache/zend_accelerator_module.c snprintf(buf, sizeof(buf), "%ld", zend_shared_alloc_get_free_memory()); snprintf 451 ext/opcache/zend_accelerator_module.c snprintf(buf, sizeof(buf), "%ld", ZSMMG(wasted_shared_memory)); snprintf 455 ext/opcache/zend_accelerator_module.c snprintf(buf, sizeof(buf), "%ld", ZCSG(interned_strings_top) - ZCSG(interned_strings_start)); snprintf 457 ext/opcache/zend_accelerator_module.c snprintf(buf, sizeof(buf), "%ld", ZCSG(interned_strings_end) - ZCSG(interned_strings_top)); snprintf 461 ext/opcache/zend_accelerator_module.c snprintf(buf, sizeof(buf), "%ld", ZCSG(hash).num_direct_entries); snprintf 463 ext/opcache/zend_accelerator_module.c snprintf(buf, sizeof(buf), "%ld", ZCSG(hash).num_entries); snprintf 465 ext/opcache/zend_accelerator_module.c snprintf(buf, sizeof(buf), "%ld", ZCSG(hash).max_num_entries); snprintf 467 ext/opcache/zend_accelerator_module.c snprintf(buf, sizeof(buf), "%ld", ZCSG(oom_restarts)); snprintf 469 ext/opcache/zend_accelerator_module.c snprintf(buf, sizeof(buf), "%ld", ZCSG(hash_restarts)); snprintf 471 ext/opcache/zend_accelerator_module.c snprintf(buf, sizeof(buf), "%ld", ZCSG(manual_restarts)); snprintf 1228 ext/openssl/openssl.c snprintf(default_ssl_conf_filename, sizeof(default_ssl_conf_filename), "%s/%s", snprintf 1960 ext/openssl/openssl.c snprintf(buf, sizeof(buf), "%08lx", X509_subject_name_hash(cert)); snprintf 795 ext/pcntl/pcntl.c snprintf(key, 100, "%ld", key_num); snprintf 229 ext/pdo/pdo_dbh.c snprintf(alt_dsn, sizeof(alt_dsn), "pdo.dsn.%s", data_source); snprintf 186 ext/pdo_pgsql/pgsql_statement.c snprintf(buf, sizeof(buf), "DEALLOCATE %s", S->stmt_name); snprintf 1258 ext/pgsql/pgsql.c snprintf(buf, sizeof(buf), "%ld", PGG(num_persistent)); snprintf 1260 ext/pgsql/pgsql.c snprintf(buf, sizeof(buf), "%ld", PGG(num_links)); snprintf 6621 ext/pgsql/pgsql.c smart_str_appendl(&querystr, buf, snprintf(buf, sizeof(buf), "%F", Z_DVAL_PP(val))); snprintf 6796 ext/pgsql/pgsql.c smart_str_appendl(querystr, buf, MIN(snprintf(buf, sizeof(buf), "%F", Z_DVAL_PP(val)), sizeof(buf)-1)); snprintf 1176 ext/phar/phar.c snprintf(mydata->version, sizeof(mydata->version), "%u.%u.%u", manifest_ver >> 12, (manifest_ver >> 8) & 0xF, (manifest_ver >> 4) & 0xF); snprintf 1404 ext/phar/phar.c snprintf(mydata->version, sizeof(mydata->version), "%s", PHP_PHAR_API_VERSION); snprintf 1220 ext/posix/posix.c snprintf(hard, 80, "hard %s", name); snprintf 1221 ext/posix/posix.c snprintf(soft, 80, "soft %s", name); snprintf 813 ext/pspell/pspell.c snprintf(ignore_str, sizeof(ignore_str), "%ld", ignore); snprintf 571 ext/readline/readline_cli.c snprintf(tmp, len, "%s::%s", (*pce)->name, retval); snprintf 1195 ext/session/session.c snprintf(buf, sizeof(buf) , "Cache-Control: public, max-age=%ld", PS(cache_expire) * 60); /* SAFE */ snprintf 1206 ext/session/session.c snprintf(buf, sizeof(buf), "Cache-Control: private, max-age=%ld, pre-check=%ld", PS(cache_expire) * 60, PS(cache_expire) * 60); /* SAFE */ snprintf 628 ext/snmp/snmp.c snprintf(buf, buflen, "%d.%d.%d.%d", snprintf 640 ext/snmp/snmp.c snprintf(buf, buflen, "%lu", *vars->val.integer); snprintf 646 ext/snmp/snmp.c snprintf(buf, buflen, "%ld", *vars->val.integer); snprintf 653 ext/snmp/snmp.c snprintf(buf, buflen, "%f", *vars->val.floatVal); snprintf 658 ext/snmp/snmp.c snprintf(buf, buflen, "%Lf", *vars->val.doubleVal); snprintf 1112 ext/soap/php_encoding.c snprintf(s, sizeof(s), "%0.0F",floor(Z_DVAL_P(data))); snprintf 3012 ext/soap/php_encoding.c snprintf(tzbuf, sizeof(tzbuf), "%c%02d:%02d", (ta->tm_gmtoff < 0) ? '-' : '+', abs(ta->tm_gmtoff / 3600), abs( (ta->tm_gmtoff % 3600) / 60 )); snprintf 3015 ext/soap/php_encoding.c snprintf(tzbuf, sizeof(tzbuf), "%c%02d:%02d", ((ta->tm_isdst ? _timezone - 3600:_timezone)>0)?'-':'+', abs((ta->tm_isdst ? _timezone - 3600 : _timezone) / 3600), abs(((ta->tm_isdst ? _timezone - 3600 : _timezone) % 3600) / 60)); snprintf 3017 ext/soap/php_encoding.c snprintf(tzbuf, sizeof(tzbuf), "%c%02d:%02d", ((ta->tm_isdst ? timezone - 3600:timezone)>0)?'-':'+', abs((ta->tm_isdst ? timezone - 3600 : timezone) / 3600), abs(((ta->tm_isdst ? timezone - 3600 : timezone) % 3600) / 60)); snprintf 644 ext/soap/php_http.c snprintf(cnonce, sizeof(cnonce), "%ld", php_rand(TSRMLS_C)); snprintf 652 ext/soap/php_http.c snprintf(nc, sizeof(nc), "%08ld", Z_LVAL_PP(tmp)); snprintf 1951 ext/soap/soap.c snprintf(cont_len, sizeof(cont_len), "Content-Length: %d", size); snprintf 2096 ext/soap/soap.c snprintf(cont_len, sizeof(cont_len), "Content-Length: %d", size); snprintf 4439 ext/soap/soap.c snprintf(paramName, sizeof(paramNameBuf), "param%d",index); snprintf 231 ext/sockets/conversions.c if (snprintf(buf, sizeof(buf), "element #%u", i) >= sizeof(buf)) { snprintf 962 ext/sockets/conversions.c if (snprintf(buf, sizeof(buf), "element #%u", (unsigned)i++) >= sizeof(buf)) { snprintf 1045 ext/sockets/conversions.c if (snprintf(buf, sizeof(buf), "element #%u", (unsigned)i++) >= sizeof(buf)) { snprintf 1779 ext/sockets/sockets.c snprintf(s_un.sun_path, 108, "%s", addr); snprintf 101994 ext/sqlite3/libsqlite/sqlite3.c char * (*snprintf)(int,char*,const char*,...); snprintf 102241 ext/sqlite3/libsqlite/sqlite3.c #define sqlite3_snprintf sqlite3_api->snprintf snprintf 139 ext/sqlite3/libsqlite/sqlite3ext.h char * (*snprintf)(int,char*,const char*,...); snprintf 386 ext/sqlite3/libsqlite/sqlite3ext.h #define sqlite3_snprintf sqlite3_api->snprintf snprintf 525 ext/standard/crypt_sha256.c int n = snprintf(cp, MAX(0, buflen), "%s%zu$", sha256_rounds_prefix, rounds); snprintf 560 ext/standard/crypt_sha512.c int n = snprintf(cp, MAX(0, buflen), "%s%zu$", sha512_rounds_prefix, rounds); snprintf 67 ext/standard/datetime.c snprintf(str, 80, "%s, %02d %s %04d %02d:%02d:%02d GMT", snprintf 466 ext/standard/dir.c snprintf(work_pattern, MAXPATHLEN, "%s%c%s", cwd, DEFAULT_SLASH, pattern); snprintf 485 ext/standard/dns.c snprintf(name, sizeof(name), "%d.%d.%d.%d", cp[0], cp[1], cp[2], cp[3]); snprintf 120 ext/standard/head.c snprintf(cookie, len + 100, "Set-Cookie: %s=deleted; expires=%s; Max-Age=0", name, dt); snprintf 123 ext/standard/head.c snprintf(cookie, len + 100, "Set-Cookie: %s=%s", name, value ? encoded_value : ""); snprintf 141 ext/standard/head.c snprintf(tsdelta, sizeof(tsdelta), "%li", (long) difftime(expires, time(NULL))); snprintf 551 ext/standard/http_fopen_wrapper.c if (snprintf(scratch, scratch_len, "Authorization: Basic %s\r\n", tmp) > 0) { snprintf 562 ext/standard/http_fopen_wrapper.c if (snprintf(scratch, scratch_len, "From: %s\r\n", FG(from_address)) > 0) snprintf 570 ext/standard/http_fopen_wrapper.c if (snprintf(scratch, scratch_len, "Host: %s:%i\r\n", resource->host, resource->port) > 0) snprintf 573 ext/standard/http_fopen_wrapper.c if (snprintf(scratch, scratch_len, "Host: %s\r\n", resource->host) > 0) { snprintf 852 ext/standard/http_fopen_wrapper.c snprintf(loc_path, sizeof(loc_path) - 1, "%s%s", resource->path, location); snprintf 854 ext/standard/http_fopen_wrapper.c snprintf(loc_path, sizeof(loc_path) - 1, "%s/%s", resource->path, location); snprintf 857 ext/standard/http_fopen_wrapper.c snprintf(loc_path, sizeof(loc_path) - 1, "/%s", location); snprintf 863 ext/standard/http_fopen_wrapper.c snprintf(new_path, sizeof(new_path) - 1, "%s://%s:%d%s", resource->scheme, resource->host, resource->port, loc_path); snprintf 865 ext/standard/http_fopen_wrapper.c snprintf(new_path, sizeof(new_path) - 1, "%s://%s%s", resource->scheme, resource->host, loc_path); snprintf 460 ext/standard/image.c snprintf(markername, sizeof(markername), "APP%d", marker - M_APP0); snprintf 138 ext/standard/info.c snprintf(reg_name, sizeof(reg_name), "Registered %s", name); snprintf 724 ext/standard/info.c snprintf(buf, bufsize, "i%d", SysInfo.dwProcessorType); snprintf 727 ext/standard/info.c snprintf(buf, bufsize, "MIPS R%d000", SysInfo.wProcessorLevel); snprintf 730 ext/standard/info.c snprintf(buf, bufsize, "Alpha %d", SysInfo.wProcessorLevel); snprintf 733 ext/standard/info.c snprintf(buf, bufsize, "PPC 6%02d", SysInfo.wProcessorLevel); snprintf 736 ext/standard/info.c snprintf(buf, bufsize, "IA64"); snprintf 740 ext/standard/info.c snprintf(buf, bufsize, "IA32"); snprintf 745 ext/standard/info.c snprintf(buf, bufsize, "AMD64"); snprintf 750 ext/standard/info.c snprintf(buf, bufsize, "Unknown"); snprintf 776 ext/standard/info.c snprintf(tmp_uname, sizeof(tmp_uname), "%d.%d", dwWindowsMajorVersion, dwWindowsMinorVersion); snprintf 784 ext/standard/info.c snprintf(tmp_uname, sizeof(tmp_uname), "build %d", dwBuild); snprintf 786 ext/standard/info.c snprintf(tmp_uname, sizeof(tmp_uname), "build %d (%s)", dwBuild, winver); snprintf 809 ext/standard/info.c snprintf(tmp_uname, sizeof(tmp_uname), "%s %s %d.%d build %d (%s) %s", snprintf 827 ext/standard/info.c snprintf(tmp_uname, sizeof(tmp_uname), "%d.%d.%d", snprintf 833 ext/standard/info.c snprintf(tmp_uname, sizeof(tmp_uname), "libc-%d.%d.%d #%d", snprintf 839 ext/standard/info.c snprintf(tmp_uname, sizeof(tmp_uname), "%s %s %d.%d.%d libc-%d.%d.%d #%d %s", snprintf 858 ext/standard/info.c snprintf(tmp_uname, sizeof(tmp_uname), "%s %s %s %s %s", snprintf 971 ext/standard/info.c snprintf(temp_api, sizeof(temp_api), "%d", PHP_API_VERSION); snprintf 974 ext/standard/info.c snprintf(temp_api, sizeof(temp_api), "%d", ZEND_MODULE_API_NO); snprintf 977 ext/standard/info.c snprintf(temp_api, sizeof(temp_api), "%d", ZEND_EXTENSION_API_NO); snprintf 347 ext/standard/iptc.c snprintf(key, sizeof(key), "%d#%03d", (unsigned int) dataset, (unsigned int) recnum); snprintf 202 ext/standard/math.c snprintf(buf, 39, "%15fe%d", tmp_value, -places); snprintf 86 ext/standard/microtime.c snprintf(ret, 100, "%.8F %ld", tp.tv_usec / MICRO_IN_SEC, tp.tv_sec); snprintf 732 ext/standard/pack.c snprintf(n, sizeof(n), "%.*s%d", namelen, name, i + 1); snprintf 735 ext/standard/pack.c snprintf(n, sizeof(n), "%.*s", namelen, name); snprintf 1065 ext/standard/scanf.c snprintf(buf, sizeof(buf), "%lu", value); /* INTL: ISO digit */ snprintf 3420 ext/standard/string.c (void) snprintf(BG(str_ebuf), sizeof(php_basic_globals.str_ebuf), "Unknown error: %d", errnum); snprintf 1399 ext/sybase_ct/php_sybase_ct.c snprintf(computed_buf, 16, "computed%d", j); snprintf 1828 ext/sybase_ct/php_sybase_ct.c snprintf(name, 32, "%s%d", result->fields[i].name, j); snprintf 2125 ext/sybase_ct/php_sybase_ct.c snprintf(buf, sizeof(buf), "%ld", SybCtG(num_persistent)); snprintf 2127 ext/sybase_ct/php_sybase_ct.c snprintf(buf, sizeof(buf), "%ld", SybCtG(num_links)); snprintf 2129 ext/sybase_ct/php_sybase_ct.c snprintf(buf, sizeof(buf), "%ld", SybCtG(min_server_severity)); snprintf 2131 ext/sybase_ct/php_sybase_ct.c snprintf(buf, sizeof(buf), "%ld", SybCtG(min_client_severity)); snprintf 2134 ext/sybase_ct/php_sybase_ct.c snprintf(buf, sizeof(buf), "%ld", SybCtG(deadlock_retry_count)); snprintf 428 ext/wddx/wddx.c snprintf(tmp_buf, sizeof(tmp_buf), WDDX_NUMBER, Z_STRVAL(tmp)); snprintf 478 ext/wddx/wddx.c snprintf(tmp_buf, WDDX_BUF_LEN, WDDX_VAR_S, PHP_CLASS_NAME_VAR); snprintf 512 ext/wddx/wddx.c snprintf(tmp_buf, WDDX_BUF_LEN, WDDX_VAR_S, PHP_CLASS_NAME_VAR); snprintf 590 ext/wddx/wddx.c snprintf(tmp_buf, sizeof(tmp_buf), WDDX_ARRAY_S, zend_hash_num_elements(target_hash)); snprintf 635 ext/wddx/wddx.c snprintf(tmp_buf, name_esc_len + sizeof(WDDX_VAR_S), WDDX_VAR_S, name_esc); snprintf 774 ext/wddx/wddx.c snprintf(tmp_buf, sizeof(tmp_buf), "%c", (char)strtol(atts[i], NULL, 16)); snprintf 727 ext/xmlrpc/libxmlrpc/xml_element.c snprintf(buf, snprintf 209 ext/xmlrpc/libxmlrpc/xml_to_dandarpc.c snprintf(buf, BUF_SIZE, "%i", XMLRPC_GetValueInt(node)); snprintf 214 ext/xmlrpc/libxmlrpc/xml_to_dandarpc.c snprintf(buf, BUF_SIZE, "%i", XMLRPC_GetValueBoolean(node)); snprintf 219 ext/xmlrpc/libxmlrpc/xml_to_dandarpc.c snprintf(buf, BUF_SIZE, "%f", XMLRPC_GetValueDouble(node)); snprintf 93 ext/xmlrpc/libxmlrpc/xml_to_soap.c snprintf(buf, sizeof(buf), "%s", array_type); snprintf 459 ext/xmlrpc/libxmlrpc/xml_to_soap.c snprintf(buf, sizeof(buf), "%s[%i]", type, XMLRPC_VectorSize(node)); snprintf 505 ext/xmlrpc/libxmlrpc/xml_to_soap.c snprintf(buf, BUF_SIZE, "%i", XMLRPC_GetValueInt(node)); snprintf 510 ext/xmlrpc/libxmlrpc/xml_to_soap.c snprintf(buf, BUF_SIZE, "%i", XMLRPC_GetValueBoolean(node)); snprintf 515 ext/xmlrpc/libxmlrpc/xml_to_soap.c snprintf(buf, BUF_SIZE, "%f", XMLRPC_GetValueDouble(node)); snprintf 631 ext/xmlrpc/libxmlrpc/xml_to_soap.c snprintf(buf, sizeof(buf), "%s%s", snprintf 221 ext/xmlrpc/libxmlrpc/xml_to_xmlrpc.c snprintf(buf, BUF_SIZE, "%i", XMLRPC_GetValueInt(node)); snprintf 226 ext/xmlrpc/libxmlrpc/xml_to_xmlrpc.c snprintf(buf, BUF_SIZE, "%i", XMLRPC_GetValueBoolean(node)); snprintf 764 ext/xmlrpc/libxmlrpc/xmlrpc.c snprintf(buf, sizeof(buf), snprintf 9 ext/xmlrpc/libxmlrpc/xmlrpc_win32.h #ifndef snprintf snprintf 316 ext/xsl/php_xsl.c snprintf(buffer, 128, "%d.%d.%d", major, minor, subminor); snprintf 321 ext/xsl/php_xsl.c snprintf(buffer, 128, "%d.%d.%d", major, minor, subminor); snprintf 123 ext/xsl/xsltprocessor.c snprintf(value, str_len, "'%s'", string); snprintf 126 ext/xsl/xsltprocessor.c snprintf(value, str_len, "\"%s\"", string); snprintf 547 ext/zip/lib/zip_close.c snprintf(buf, sizeof(buf), "%08lX", (long)crc); snprintf 51 ext/zip/lib/zip_error_to_str.c return snprintf(buf, len, "Unknown error %d", ze); snprintf 68 ext/zip/lib/zip_error_to_str.c return snprintf(buf, len, "%s%s%s", snprintf 566 ext/zip/php_zip.c snprintf(work_pattern, MAXPATHLEN, "%s%c%s", cwd, DEFAULT_SLASH, pattern); snprintf 660 ext/zip/php_zip.c snprintf(work_path, MAXPATHLEN, "%s%c%s", cwd, DEFAULT_SLASH, path); snprintf 706 ext/zip/php_zip.c snprintf(fullpath, MAXPATHLEN, "%s%c%s", path, DEFAULT_SLASH, namelist[i]); snprintf 1799 ext/zip/php_zip.c snprintf(entry_name_buf, MAXPATHLEN, "%s%s", add_path, file_stripped); snprintf 672 main/fopen_wrappers.c if (snprintf(trypath, MAXPATHLEN, "%s/%s", ptr, filename) >= MAXPATHLEN) { snprintf 288 main/main.c snprintf(search_path, MAXPATHLEN, "%s/%s", search_dir, sapi_module.executable_location); snprintf 1487 main/main.c snprintf(memory_leak_buf, 512, "%s(%d) : Freeing 0x%.8lX (%zu bytes), script=%s\n", t->filename, t->lineno, (zend_uintptr_t)t->addr, t->size, SAFE_FILENAME(SG(request_info).path_translated)); snprintf 1491 main/main.c snprintf(relay_buf, 512, "%s(%d) : Actual location (location was relayed)\n", t->orig_filename, t->orig_lineno); snprintf 1497 main/main.c snprintf(memory_leak_buf, 512, "Last leak repeated %ld time%s\n", leak_count, (leak_count>1?"s":"")); snprintf 1512 main/main.c snprintf(memory_leak_buf, 512, "=== Total %d memory leaks detected ===\n", *((zend_uint *) data)); snprintf 1532 main/main.c snprintf(memory_leak_buf, sizeof(memory_leak_buf), "[%s] Script: '%s'\n", datetime_str, SAFE_FILENAME(SG(request_info).path_translated)); snprintf 1534 main/main.c snprintf(memory_leak_buf, sizeof(memory_leak_buf), "[null] Script: '%s'\n", SAFE_FILENAME(SG(request_info).path_translated)); snprintf 665 main/php_ini.c snprintf(ini_file, MAXPATHLEN, "%s%s", debpath, namelist[i]->d_name); snprintf 667 main/php_ini.c snprintf(ini_file, MAXPATHLEN, "%s%c%s", debpath, DEFAULT_SLASH, namelist[i]->d_name); snprintf 760 main/php_ini.c snprintf(ini_file, MAXPATHLEN, "%s%c%s", dirname, DEFAULT_SLASH, ini_filename); snprintf 939 main/rfc1867.c snprintf(param, MAX_SIZE_ANONNAME, "%u", anonindex++); snprintf 1135 main/rfc1867.c snprintf(lbuf, llen, "%s_name[%s]", abuf, array_index); snprintf 1137 main/rfc1867.c snprintf(lbuf, llen, "%s_name", param); snprintf 1156 main/rfc1867.c snprintf(lbuf, llen, "%s[name][%s]", abuf, array_index); snprintf 1158 main/rfc1867.c snprintf(lbuf, llen, "%s[name]", param); snprintf 1177 main/rfc1867.c snprintf(lbuf, llen, "%s_type[%s]", abuf, array_index); snprintf 1179 main/rfc1867.c snprintf(lbuf, llen, "%s_type", param); snprintf 1187 main/rfc1867.c snprintf(lbuf, llen, "%s[type][%s]", abuf, array_index); snprintf 1189 main/rfc1867.c snprintf(lbuf, llen, "%s[type]", param); snprintf 1215 main/rfc1867.c snprintf(lbuf, llen, "%s[tmp_name][%s]", abuf, array_index); snprintf 1217 main/rfc1867.c snprintf(lbuf, llen, "%s[tmp_name]", param); snprintf 1243 main/rfc1867.c int __len = snprintf(file_size_buf, 65, "%lld", total_bytes); snprintf 1255 main/rfc1867.c snprintf(lbuf, llen, "%s[error][%s]", abuf, array_index); snprintf 1257 main/rfc1867.c snprintf(lbuf, llen, "%s[error]", param); snprintf 1263 main/rfc1867.c snprintf(lbuf, llen, "%s_size[%s]", abuf, array_index); snprintf 1265 main/rfc1867.c snprintf(lbuf, llen, "%s_size", param); snprintf 1276 main/rfc1867.c snprintf(lbuf, llen, "%s[size][%s]", abuf, array_index); snprintf 1278 main/rfc1867.c snprintf(lbuf, llen, "%s[size]", param); snprintf 153 main/snprintf.c snprintf(buf, ndigit + 1, "%s%s", (sign && *digits == 'I') ? "-" : "", *digits == 'I' ? "INF" : "NAN"); snprintf 104 main/snprintf.h #ifdef snprintf snprintf 1444 main/streams/plain_wrapper.c if (snprintf(trypath, MAXPATHLEN, "%s%s", cwd, filename) >= MAXPATHLEN) { snprintf 1498 main/streams/plain_wrapper.c if (snprintf(trypath, MAXPATHLEN, "%s/%s", ptr, filename) >= MAXPATHLEN) { snprintf 216 sapi/aolserver/aolserver.c snprintf(buf, 511, "%s/%s", Ns_InfoServerName(), Ns_InfoServerVersion()); snprintf 218 sapi/aolserver/aolserver.c snprintf(buf, 511, "%d day(s), %02d:%02d:%02d", snprintf 316 sapi/aolserver/aolserver.c snprintf(buf, NS_BUF_SIZE, "HTTP_%s", key); snprintf 329 sapi/aolserver/aolserver.c snprintf(buf, NS_BUF_SIZE, "%s/%s", Ns_InfoServerName(), Ns_InfoServerVersion()); snprintf 331 sapi/aolserver/aolserver.c snprintf(buf, NS_BUF_SIZE, "HTTP/%1.1f", NSG(conn)->request->version); snprintf 343 sapi/aolserver/aolserver.c snprintf(buf, NS_BUF_SIZE, "%d", Ns_ConnPeerPort(NSG(conn))); snprintf 346 sapi/aolserver/aolserver.c snprintf(buf, NS_BUF_SIZE, "%d", Ns_ConnPort(NSG(conn))); snprintf 359 sapi/aolserver/aolserver.c snprintf(buf, NS_BUF_SIZE, "%d", Ns_InfoBootTime()); snprintf 202 sapi/apache/php_apache.c snprintf(output_buf, sizeof(output_buf), "%d", APACHE_RELEASE); snprintf 205 sapi/apache/php_apache.c snprintf(output_buf, sizeof(output_buf), "%d", MODULE_MAGIC_NUMBER); snprintf 207 sapi/apache/php_apache.c snprintf(output_buf, sizeof(output_buf), "%s:%u", serv->server_hostname, serv->port); snprintf 210 sapi/apache/php_apache.c snprintf(output_buf, sizeof(output_buf), "%s(%d)/%d", user_name, (int)user_id, (int)group_id); snprintf 212 sapi/apache/php_apache.c snprintf(output_buf, sizeof(output_buf), "Per Child: %d - Keep Alive: %s - Max Per Connection: %d", max_requests_per_child, serv->keep_alive ? "on":"off", serv->keep_alive_max); snprintf 215 sapi/apache/php_apache.c snprintf(output_buf, sizeof(output_buf), "Connection: %d - Keep-Alive: %d", serv->timeout, serv->keep_alive_timeout); snprintf 399 sapi/apache2handler/php_functions.c snprintf(tmp, sizeof(tmp), "%d", MODULE_MAGIC_NUMBER); snprintf 406 sapi/apache2handler/php_functions.c snprintf(tmp, sizeof(tmp), "%s:%u", serv->server_hostname, serv->port); snprintf 411 sapi/apache2handler/php_functions.c snprintf(tmp, sizeof(tmp), "%s(%d)/%d", ap_unixd_config.user_name, ap_unixd_config.user_id, ap_unixd_config.group_id); snprintf 413 sapi/apache2handler/php_functions.c snprintf(tmp, sizeof(tmp), "%s(%d)/%d", unixd_config.user_name, unixd_config.user_id, unixd_config.group_id); snprintf 419 sapi/apache2handler/php_functions.c snprintf(tmp, sizeof(tmp), "Per Child: %d - Keep Alive: %s - Max Per Connection: %d", max_requests, (serv->keep_alive ? "on":"off"), serv->keep_alive_max); snprintf 1613 sapi/apache_hooks/php_apache.c snprintf(output_buf, sizeof(output_buf), "%d", APACHE_RELEASE); snprintf 1616 sapi/apache_hooks/php_apache.c snprintf(output_buf, sizeof(output_buf), "%d", MODULE_MAGIC_NUMBER); snprintf 1618 sapi/apache_hooks/php_apache.c snprintf(output_buf, sizeof(output_buf), "%s:%u", serv->server_hostname, serv->port); snprintf 1621 sapi/apache_hooks/php_apache.c snprintf(output_buf, sizeof(output_buf), "%s(%d)/%d", user_name, (int)user_id, (int)group_id); snprintf 1623 sapi/apache_hooks/php_apache.c snprintf(output_buf, sizeof(output_buf), "Per Child: %d - Keep Alive: %s - Max Per Connection: %d", max_requests_per_child, serv->keep_alive ? "on":"off", serv->keep_alive_max); snprintf 1626 sapi/apache_hooks/php_apache.c snprintf(output_buf, sizeof(output_buf), "Connection: %d - Keep-Alive: %d", serv->timeout, serv->keep_alive_timeout); snprintf 1937 sapi/cli/php_cli_server.c snprintf(chunk->data.heap.p, chunk->data.heap.len, prologue_template, status, status_string, escaped_request_uri); snprintf 1961 sapi/cli/php_cli_server.c snprintf(chunk->data.heap.p, chunk->data.heap.len, content_template, status_string, escaped_request_uri); snprintf 192 sapi/fpm/fpm/fpm_children.c snprintf(buf, sizeof(buf), "with code %d", WEXITSTATUS(status)); snprintf 213 sapi/fpm/fpm/fpm_children.c snprintf(buf, sizeof(buf), "on signal %d (%s%s)", WTERMSIG(status), signame, have_core); snprintf 198 sapi/fpm/fpm/fpm_log.c len2 = snprintf(b, FPM_LOG_BUFFER - len, "%.2f", tms_total / fpm_scoreboard_get_tick() / (proc.cpu_duration.tv_sec + proc.cpu_duration.tv_usec / 1000000.) * 100.); snprintf 207 sapi/fpm/fpm/fpm_log.c len2 = snprintf(b, FPM_LOG_BUFFER - len, "%.3f", proc.duration.tv_sec + proc.duration.tv_usec / 1000000.); snprintf 213 sapi/fpm/fpm/fpm_log.c len2 = snprintf(b, FPM_LOG_BUFFER - len, "%.3f", proc.duration.tv_sec * 1000. + proc.duration.tv_usec / 1000.); snprintf 219 sapi/fpm/fpm/fpm_log.c len2 = snprintf(b, FPM_LOG_BUFFER - len, "%lu", proc.duration.tv_sec * 1000000UL + proc.duration.tv_usec); snprintf 237 sapi/fpm/fpm/fpm_log.c len2 = snprintf(b, FPM_LOG_BUFFER - len, "%s", env ? env : "-"); snprintf 244 sapi/fpm/fpm/fpm_log.c len2 = snprintf(b, FPM_LOG_BUFFER - len, "%s", *proc.script_filename ? proc.script_filename : "-"); snprintf 250 sapi/fpm/fpm/fpm_log.c len2 = snprintf(b, FPM_LOG_BUFFER - len, "%zu", proc.content_length); snprintf 256 sapi/fpm/fpm/fpm_log.c len2 = snprintf(b, FPM_LOG_BUFFER - len, "%s", *proc.request_method ? proc.request_method : "-"); snprintf 264 sapi/fpm/fpm/fpm_log.c len2 = snprintf(b, FPM_LOG_BUFFER - len, "%zu", proc.memory); snprintf 270 sapi/fpm/fpm/fpm_log.c len2 = snprintf(b, FPM_LOG_BUFFER - len, "%lu", proc.memory / 1024); snprintf 276 sapi/fpm/fpm/fpm_log.c len2 = snprintf(b, FPM_LOG_BUFFER - len, "%lu", proc.memory / 1024 / 1024); snprintf 288 sapi/fpm/fpm/fpm_log.c len2 = snprintf(b, FPM_LOG_BUFFER - len, "%s", scoreboard->pool[0] ? scoreboard->pool : "-"); snprintf 327 sapi/fpm/fpm/fpm_log.c len2 = snprintf(b, FPM_LOG_BUFFER - len, "%s", header && *header ? header : "-"); snprintf 342 sapi/fpm/fpm/fpm_log.c len2 = snprintf(b, FPM_LOG_BUFFER - len, "%ld", (long)getpid()); snprintf 348 sapi/fpm/fpm/fpm_log.c len2 = snprintf(b, FPM_LOG_BUFFER - len, "%ld", (long)getppid()); snprintf 354 sapi/fpm/fpm/fpm_log.c len2 = snprintf(b, FPM_LOG_BUFFER - len, "%s", proc.query_string); snprintf 360 sapi/fpm/fpm/fpm_log.c len2 = snprintf(b, FPM_LOG_BUFFER - len, "%s", *proc.query_string ? "?" : ""); snprintf 366 sapi/fpm/fpm/fpm_log.c len2 = snprintf(b, FPM_LOG_BUFFER - len, "%s", proc.request_uri); snprintf 373 sapi/fpm/fpm/fpm_log.c len2 = snprintf(b, FPM_LOG_BUFFER - len, "%s", tmp ? tmp : "-"); snprintf 379 sapi/fpm/fpm/fpm_log.c len2 = snprintf(b, FPM_LOG_BUFFER - len, "%d", SG(sapi_headers).http_response_code); snprintf 397 sapi/fpm/fpm/fpm_log.c len2 = snprintf(b, FPM_LOG_BUFFER - len, "%s", tmp); snprintf 404 sapi/fpm/fpm/fpm_log.c len2 = snprintf(b, FPM_LOG_BUFFER - len, "%s", proc.auth_user); snprintf 74 sapi/fpm/fpm/zlog.c len += snprintf(timebuf + len, timebuf_len - len, ".%06d", (int) tv->tv_usec); snprintf 76 sapi/fpm/fpm/zlog.c len += snprintf(timebuf + len, timebuf_len - len, "] "); snprintf 133 sapi/fpm/fpm/zlog.c len += snprintf(buf, buf_size, "[%s] %s(), line %d: ", level_names[flags & ZLOG_LEVEL_MASK], function, line); snprintf 135 sapi/fpm/fpm/zlog.c len += snprintf(buf, buf_size, "[%s] ", level_names[flags & ZLOG_LEVEL_MASK]); snprintf 146 sapi/fpm/fpm/zlog.c len += snprintf(buf + len, buf_size - len, "%s: pid %d, %s(), line %d: ", level_names[flags & ZLOG_LEVEL_MASK], getpid(), function, line); snprintf 148 sapi/fpm/fpm/zlog.c len += snprintf(buf + len, buf_size - len, "%s: %s(), line %d: ", level_names[flags & ZLOG_LEVEL_MASK], function, line); snprintf 151 sapi/fpm/fpm/zlog.c len += snprintf(buf + len, buf_size - len, "%s: ", level_names[flags & ZLOG_LEVEL_MASK]); snprintf 170 sapi/fpm/fpm/zlog.c len += snprintf(buf + len, buf_size - len, ": %s (%d)", strerror(saved_errno), saved_errno); snprintf 294 sapi/isapi/php5isapi.c snprintf(status_buf, MAX_STATUS_LENGTH, "%d Undescribed", SG(sapi_headers).http_response_code); snprintf 416 sapi/litespeed/lsapi_main.c len = snprintf( headerBuf, SAPI_LSAPI_MAX_HEADER_LENGTH - 1, snprintf 439 sapi/litespeed/lsapi_main.c snprintf( buf, 8191, "%s\n", message ); snprintf 694 sapi/litespeed/lsapilib.c int n = snprintf(achError, 1024, "%s:%s: %s\n", pErr1, (pErr2)?pErr2:"", strerror( errno ) ); snprintf 2607 sapi/litespeed/lsapilib.c snprintf( achCmd, 1024, "gdb --batch -ex \"attach %d\" -ex \"set height 0\" -ex \"bt\" >&2;PATH=$PATH:/usr/sbin lsof -p %d >&2", pStatus->m_pid, pStatus->m_pid ); snprintf 62 sapi/pi3web/pi3web_sapi.c snprintf(variable_buf, 511, "%d", HTTPCore_debugEnabled()); snprintf 70 sapi/pi3web/pi3web_sapi.c snprintf(variable_buf, 511, "%d", PIPlatform_getProcessId()); snprintf 218 sapi/tux/php_tux.c snprintf(buf, sizeof(buf), "%d", CGI_SERVER_PORT(TG(req))); snprintf 222 sapi/tux/php_tux.c snprintf(buf, BUF_SIZE, "/%s", TG(hc)->pathinfo); snprintf 225 sapi/tux/php_tux.c snprintf(buf, BUF_SIZE, "/%s", TG(hc)->origfilename); snprintf 244 sapi/tux/php_tux.c snprintf(buf, sizeof(buf), "%ld", (long) TG(hc)->contentlength); snprintf 107 sapi/webjames/webjames.c snprintf(buf, BUF_SIZE, "%d", WG(conn)->field);\ snprintf 141 sapi/webjames/webjames.c snprintf(buf, BUF_SIZE, "%d.%d.%d.%d", WG(conn)->ipaddr[0], WG(conn)->ipaddr[1], WG(conn)->ipaddr[2], WG(conn)->ipaddr[3]); snprintf 64 win32/sendmail.c snprintf(*error_message, sizeof(SMTP_ERROR_RESPONSE_SPEC) + strlen(response), SMTP_ERROR_RESPONSE_SPEC, response); \ snprintf 299 win32/sendmail.c snprintf(*error_message, HOST_NAME_LEN + 128, snprintf 410 win32/sendmail.c snprintf(Buffer, sizeof(Buffer), "HELO %s\r\n", LocalHost); snprintf 710 win32/sendmail.c snprintf(header_buffer, MAIL_BUFFER_SIZE, "Date: %s\r\n", dt); snprintf 985 win32/sendmail.c result = snprintf(Buf, MAIL_BUFFER_SIZE, FormatString , tmpAddress1+1); snprintf 989 win32/sendmail.c return snprintf(Buf, MAIL_BUFFER_SIZE , FormatString , EmailAddress );