snprintf 177 Zend/zend.c snprintf(key, sizeof(key), "%ld", num_key); snprintf 247 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 892 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 1838 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 6199 Zend/zend_language_parser.c snprintf(buffer, sizeof(buffer), "'%.*s' %.*s", len, str, toklen, tok1); snprintf 6201 Zend/zend_language_parser.c snprintf(buffer, sizeof(buffer), "'%.*s'", len, str); snprintf 1263 Zend/zend_language_parser.y snprintf(buffer, sizeof(buffer), "'%.*s' %.*s", len, str, toklen, tok1); snprintf 1265 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 206 ext/com_dotnet/com_dotnet.c snprintf(buf, sizeof(buf), "Failed to init .Net runtime [%s] %s", where, err); snprintf 285 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 1076 ext/date/php_date.c snprintf(offset->abbr, 9, "GMT%c%02d%02d", snprintf 1287 ext/date/php_date.c snprintf(offset->abbr, 9, "GMT%c%02d%02d", snprintf 1451 ext/date/php_date.c snprintf(initial_ts, 24, "@%ld UTC", preset_ts); snprintf 2234 ext/date/php_date.c snprintf(tmpstr, sizeof("+05:00"), "%c%02d:%02d", snprintf 2334 ext/date/php_date.c snprintf(tmpstr, sizeof("+05:00"), "%c%02d:%02d", snprintf 2772 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 3786 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 1030 ext/exif/exif.c snprintf(tmp, sizeof(tmp), "UndefinedTag:0x%04X", tag_num); snprintf 1198 ext/exif/exif.c snprintf(dump + len, 4 + 1, "0x%02X", *value_ptr); snprintf 1205 ext/exif/exif.c snprintf(dump + len, 6 + 1, "0x%04X", php_ifd_get16s(value_ptr, motorola_intel)); snprintf 1212 ext/exif/exif.c snprintf(dump + len, 6 + 1, "0x%04X", php_ifd_get32s(value_ptr, motorola_intel)); snprintf 1219 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 1226 ext/exif/exif.c snprintf(dump + len, 2 + 1, ", "); snprintf 1234 ext/exif/exif.c snprintf(dump + len, 1 + 1, "}"); snprintf 1475 ext/exif/exif.c snprintf(sections+len, ml-len, "%s, ", exif_get_sectionname(i)); snprintf 1974 ext/exif/exif.c snprintf(uname, sizeof(uname), "%d", unknown++); snprintf 2050 ext/exif/exif.c snprintf(buffer, sizeof(buffer), "%i/%i", info_value->ur.num, info_value->ur.den); snprintf 2076 ext/exif/exif.c snprintf(buffer, sizeof(buffer), "%i/%i", info_value->sr.num, info_value->sr.den); snprintf 3949 ext/exif/exif.c snprintf(tmp, sizeof(tmp), ",%s,", exif_get_sectionname(i)); snprintf 1178 ext/fileinfo/libmagic/apprentice.c if ((mflen = snprintf(mfn, sizeof(mfn), "%s/%s", fn, d.d_name)) < 0) { snprintf 983 ext/fileinfo/libmagic/cdf.c return snprintf(buf, buflen, "%.8x-%.4x-%.4x-%.2x%.2x-" snprintf 1023 ext/fileinfo/libmagic/cdf.c return snprintf(buf, bufsiz, "%s", vn[i].n); snprintf 1024 ext/fileinfo/libmagic/cdf.c return snprintf(buf, bufsiz, "0x%x", p); snprintf 1043 ext/fileinfo/libmagic/cdf.c len += snprintf(buf + len, bufsiz - len, "%dd+", days); snprintf 1049 ext/fileinfo/libmagic/cdf.c len += snprintf(buf + len, bufsiz - len, "%.2d:", hours); snprintf 1054 ext/fileinfo/libmagic/cdf.c len += snprintf(buf + len, bufsiz - len, "%.2d:", mins); snprintf 1058 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 376 ext/fileinfo/libmagic/softmagic.c (void)snprintf(buf, sizeof(buf), "%c", snprintf 397 ext/fileinfo/libmagic/softmagic.c (void)snprintf(buf, sizeof(buf), "%hu", snprintf 420 ext/fileinfo/libmagic/softmagic.c (void)snprintf(buf, sizeof(buf), "%u", (uint32_t)v); snprintf 533 ext/fileinfo/libmagic/softmagic.c (void)snprintf(buf, sizeof(buf), "%g", vf); snprintf 553 ext/fileinfo/libmagic/softmagic.c (void)snprintf(buf, sizeof(buf), "%g", vd); snprintf 623 ext/ftp/ftp.c snprintf(buffer, sizeof(buffer) - 1, "%ld", size); snprintf 810 ext/ftp/ftp.c snprintf(arg, sizeof(arg), "%ld", resumepos); snprintf 902 ext/ftp/ftp.c snprintf(arg, sizeof(arg), "%ld", startpos); snprintf 1443 ext/ftp/ftp.c snprintf(eprtarg, sizeof(eprtarg), "|2|%s|%hu|", out, ntohs(((struct sockaddr_in6 *) &addr)->sin6_port)); snprintf 1461 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 1728 ext/ftp/ftp.c snprintf(arg, sizeof(arg), "%ld", resumepos); snprintf 1842 ext/ftp/ftp.c snprintf(arg, sizeof(arg), "%ld", startpos); snprintf 1294 ext/gd/gd.c snprintf(tmp, sizeof(tmp), "%d.%d.%d", FREETYPE_MAJOR, FREETYPE_MINOR, FREETYPE_PATCH); snprintf 1296 ext/gd/gd.c snprintf(tmp, sizeof(tmp), "%d.%d", FREETYPE_MAJOR, FREETYPE_MINOR); snprintf 1298 ext/gd/gd.c snprintf(tmp, sizeof(tmp), "1.x"); snprintf 1330 ext/gd/gd.c snprintf(tmp, sizeof(tmp), "%d", XpmLibraryVersion()); snprintf 212 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 214 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 385 ext/gd/libgd/gdft.c snprintf(fullname, sizeof(fullname) - 1, "%s", name); snprintf 405 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 251 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 1531 ext/interbase/ibase_query.c snprintf(alias = buf, sizeof(buf), "%s_%02d", base, i++); snprintf 325 ext/interbase/ibase_service.c snprintf(heap_p, heap_buf_size - (heap_p - heap_buf), "%s\n", result); snprintf 818 ext/interbase/interbase.c snprintf( (s = tmp), sizeof(tmp), "Firebird API version %d", FB_API_VER); snprintf 1439 ext/interbase/interbase.c snprintf(query, sizeof(query), "SELECT GEN_ID(%s,%ld) FROM rdb$database", generator, inc); snprintf 847 ext/intl/locale/locale_methods.c snprintf( cur_key_name , 30, "%s%d", key_name , i); snprintf 232 ext/ldap/ldap.c snprintf(tmp, 31, "%ld/unlimited", LDAPG(num_links)); snprintf 234 ext/ldap/ldap.c snprintf(tmp, 31, "%ld/%ld", LDAPG(num_links), LDAPG(max_links)); snprintf 239 ext/ldap/ldap.c snprintf(tmp, 31, "%d", LDAP_API_VERSION); snprintf 248 ext/ldap/ldap.c snprintf(tmp, 31, "%d", LDAP_VENDOR_VERSION); snprintf 254 ext/ldap/ldap.c snprintf(tmp, 31, "%F", SDKVersion/100.0); snprintf 257 ext/ldap/ldap.c snprintf(tmp, 31, "%F", ver.protocol_version/100.0); snprintf 260 ext/ldap/ldap.c snprintf(tmp, 31, "%F", ver.SSL_version/100.0); snprintf 264 ext/ldap/ldap.c snprintf(tmp, 31, "%d", ver.security_level); snprintf 1694 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 522 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 966 ext/mysqli/mysqli.c snprintf(buf, sizeof(buf), "%ld", MyG(num_active_persistent)); snprintf 968 ext/mysqli/mysqli.c snprintf(buf, sizeof(buf), "%ld", MyG(num_inactive_persistent)); snprintf 970 ext/mysqli/mysqli.c snprintf(buf, sizeof(buf), "%ld", MyG(num_links)); snprintf 1181 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 1039 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 1346 ext/oci8/oci8.c snprintf(buf, sizeof(buf), "%ld", OCI_G(num_persistent)); snprintf 1348 ext/oci8/oci8.c snprintf(buf, sizeof(buf), "%ld", OCI_G(num_links)); snprintf 1357 ext/oci8/oci8.c snprintf(buf, sizeof(buf), "%d.%d", OCI_MAJOR_VERSION, OCI_MINOR_VERSION); snprintf 1359 ext/oci8/oci8.c snprintf(buf, sizeof(buf), "%s", PHP_OCI8_ORACLE_VERSION); snprintf 1361 ext/oci8/oci8.c snprintf(buf, sizeof(buf), "Unknown"); snprintf 2457 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 847 ext/odbc/php_odbc.c snprintf(buf, sizeof(buf), "%ld", ODBCG(num_persistent)); snprintf 849 ext/odbc/php_odbc.c snprintf(buf, sizeof(buf), "%ld", ODBCG(num_links)); snprintf 891 ext/odbc/php_odbc.c snprintf(state, sizeof(state), "HY000"); snprintf 892 ext/odbc/php_odbc.c snprintf(errormsg, sizeof(errormsg), "Failed to fetch error message"); snprintf 1487 ext/odbc/php_odbc.c snprintf(cursorname, max_len+1, "php_curs_%d", (int)result->stmt); 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 431 ext/opcache/zend_accelerator_module.c snprintf(buf, sizeof(buf), "%ld", ZCSG(hits)); snprintf 433 ext/opcache/zend_accelerator_module.c snprintf(buf, sizeof(buf), "%ld", ZSMMG(memory_exhausted)?ZCSG(misses):ZCSG(misses)-ZCSG(blacklist_misses)); snprintf 435 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 437 ext/opcache/zend_accelerator_module.c snprintf(buf, sizeof(buf), "%ld", zend_shared_alloc_get_free_memory()); snprintf 439 ext/opcache/zend_accelerator_module.c snprintf(buf, sizeof(buf), "%ld", ZSMMG(wasted_shared_memory)); snprintf 441 ext/opcache/zend_accelerator_module.c snprintf(buf, sizeof(buf), "%ld", ZCSG(hash).num_direct_entries); snprintf 443 ext/opcache/zend_accelerator_module.c snprintf(buf, sizeof(buf), "%ld", ZCSG(hash).num_entries); snprintf 445 ext/opcache/zend_accelerator_module.c snprintf(buf, sizeof(buf), "%ld", ZCSG(hash).max_num_entries); snprintf 447 ext/opcache/zend_accelerator_module.c snprintf(buf, sizeof(buf), "%ld", ZCSG(oom_restarts)); snprintf 449 ext/opcache/zend_accelerator_module.c snprintf(buf, sizeof(buf), "%ld", ZCSG(hash_restarts)); snprintf 451 ext/opcache/zend_accelerator_module.c snprintf(buf, sizeof(buf), "%ld", ZCSG(manual_restarts)); snprintf 1151 ext/openssl/openssl.c snprintf(default_ssl_conf_filename, sizeof(default_ssl_conf_filename), "%s/%s", snprintf 1515 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 190 ext/pdo_pgsql/pgsql_statement.c snprintf(buf, sizeof(buf), "DEALLOCATE %s", S->stmt_name); snprintf 1160 ext/pgsql/pgsql.c snprintf(buf, sizeof(buf), "%ld", PGG(num_persistent)); snprintf 1162 ext/pgsql/pgsql.c snprintf(buf, sizeof(buf), "%ld", PGG(num_links)); snprintf 6234 ext/pgsql/pgsql.c smart_str_appendl(&querystr, buf, snprintf(buf, sizeof(buf), "%F", Z_DVAL_PP(val))); snprintf 6343 ext/pgsql/pgsql.c smart_str_appendl(querystr, buf, MIN(snprintf(buf, sizeof(buf), "%F", Z_DVAL_PP(val)), sizeof(buf)-1)); snprintf 1178 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 1406 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 568 ext/readline/readline_cli.c snprintf(tmp, len, "%s::%s", (*pce)->name, retval); snprintf 1185 ext/session/session.c snprintf(buf, sizeof(buf) , "Cache-Control: public, max-age=%ld", PS(cache_expire) * 60); /* SAFE */ snprintf 1196 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 1107 ext/soap/php_encoding.c snprintf(s, sizeof(s), "%0.0F",floor(Z_DVAL_P(data))); snprintf 3007 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 3010 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 3012 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 639 ext/soap/php_http.c snprintf(cnonce, sizeof(cnonce), "%ld", php_rand(TSRMLS_C)); snprintf 647 ext/soap/php_http.c snprintf(nc, sizeof(nc), "%08ld", Z_LVAL_PP(tmp)); snprintf 1941 ext/soap/soap.c snprintf(cont_len, sizeof(cont_len), "Content-Length: %d", size); snprintf 2087 ext/soap/soap.c snprintf(cont_len, sizeof(cont_len), "Content-Length: %d", size); snprintf 4401 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 1782 ext/sockets/sockets.c snprintf(s_un.sun_path, 108, "%s", addr); snprintf 87156 ext/sqlite3/libsqlite/sqlite3.c char * (*snprintf)(int,char*,const char*,...); snprintf 87359 ext/sqlite3/libsqlite/sqlite3.c #define sqlite3_snprintf sqlite3_api->snprintf snprintf 128 ext/sqlite3/libsqlite/sqlite3ext.h char * (*snprintf)(int,char*,const char*,...); snprintf 331 ext/sqlite3/libsqlite/sqlite3ext.h #define sqlite3_snprintf sqlite3_api->snprintf snprintf 531 ext/standard/crypt_sha256.c int n = snprintf(cp, MAX(0, buflen), "%s%zu$", sha256_rounds_prefix, rounds); snprintf 566 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 465 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 538 ext/standard/http_fopen_wrapper.c if (snprintf(scratch, scratch_len, "Authorization: Basic %s\r\n", tmp) > 0) { snprintf 549 ext/standard/http_fopen_wrapper.c if (snprintf(scratch, scratch_len, "From: %s\r\n", FG(from_address)) > 0) snprintf 557 ext/standard/http_fopen_wrapper.c if (snprintf(scratch, scratch_len, "Host: %s:%i\r\n", resource->host, resource->port) > 0) snprintf 560 ext/standard/http_fopen_wrapper.c if (snprintf(scratch, scratch_len, "Host: %s\r\n", resource->host) > 0) { snprintf 824 ext/standard/http_fopen_wrapper.c snprintf(loc_path, sizeof(loc_path) - 1, "%s%s", resource->path, location); snprintf 826 ext/standard/http_fopen_wrapper.c snprintf(loc_path, sizeof(loc_path) - 1, "%s/%s", resource->path, location); snprintf 829 ext/standard/http_fopen_wrapper.c snprintf(loc_path, sizeof(loc_path) - 1, "/%s", location); snprintf 835 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 837 ext/standard/http_fopen_wrapper.c snprintf(new_path, sizeof(new_path) - 1, "%s://%s%s", resource->scheme, resource->host, loc_path); snprintf 456 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 492 ext/standard/info.c snprintf(buf, bufsize, "i%d", SysInfo.dwProcessorType); snprintf 495 ext/standard/info.c snprintf(buf, bufsize, "MIPS R%d000", SysInfo.wProcessorLevel); snprintf 498 ext/standard/info.c snprintf(buf, bufsize, "Alpha %d", SysInfo.wProcessorLevel); snprintf 501 ext/standard/info.c snprintf(buf, bufsize, "PPC 6%02d", SysInfo.wProcessorLevel); snprintf 504 ext/standard/info.c snprintf(buf, bufsize, "IA64"); snprintf 508 ext/standard/info.c snprintf(buf, bufsize, "IA32"); snprintf 513 ext/standard/info.c snprintf(buf, bufsize, "AMD64"); snprintf 518 ext/standard/info.c snprintf(buf, bufsize, "Unknown"); snprintf 544 ext/standard/info.c snprintf(tmp_uname, sizeof(tmp_uname), "%d.%d", dwWindowsMajorVersion, dwWindowsMinorVersion); snprintf 552 ext/standard/info.c snprintf(tmp_uname, sizeof(tmp_uname), "build %d", dwBuild); snprintf 554 ext/standard/info.c snprintf(tmp_uname, sizeof(tmp_uname), "build %d (%s)", dwBuild, winver); snprintf 569 ext/standard/info.c snprintf(tmp_uname, sizeof(tmp_uname), "%s %s %d.%d build %d (%s) %s", snprintf 587 ext/standard/info.c snprintf(tmp_uname, sizeof(tmp_uname), "%d.%d.%d", snprintf 593 ext/standard/info.c snprintf(tmp_uname, sizeof(tmp_uname), "libc-%d.%d.%d #%d", snprintf 599 ext/standard/info.c snprintf(tmp_uname, sizeof(tmp_uname), "%s %s %d.%d.%d libc-%d.%d.%d #%d %s", snprintf 618 ext/standard/info.c snprintf(tmp_uname, sizeof(tmp_uname), "%s %s %s %s %s", snprintf 731 ext/standard/info.c snprintf(temp_api, sizeof(temp_api), "%d", PHP_API_VERSION); snprintf 734 ext/standard/info.c snprintf(temp_api, sizeof(temp_api), "%d", ZEND_MODULE_API_NO); snprintf 737 ext/standard/info.c snprintf(temp_api, sizeof(temp_api), "%d", ZEND_EXTENSION_API_NO); snprintf 344 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 664 ext/standard/pack.c snprintf(n, sizeof(n), "%.*s%d", namelen, name, i + 1); snprintf 667 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 3395 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 430 ext/wddx/wddx.c snprintf(tmp_buf, sizeof(tmp_buf), WDDX_NUMBER, Z_STRVAL(tmp)); snprintf 480 ext/wddx/wddx.c snprintf(tmp_buf, WDDX_BUF_LEN, WDDX_VAR_S, PHP_CLASS_NAME_VAR); snprintf 514 ext/wddx/wddx.c snprintf(tmp_buf, WDDX_BUF_LEN, WDDX_VAR_S, PHP_CLASS_NAME_VAR); snprintf 592 ext/wddx/wddx.c snprintf(tmp_buf, sizeof(tmp_buf), WDDX_ARRAY_S, zend_hash_num_elements(target_hash)); snprintf 637 ext/wddx/wddx.c snprintf(tmp_buf, name_esc_len + sizeof(WDDX_VAR_S), WDDX_VAR_S, name_esc); snprintf 776 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 757 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 531 ext/zip/lib/zip_close.c snprintf(buf, sizeof(buf), "%08lX", (long)crc); snprintf 613 ext/zip/lib/zip_close.c snprintf(temp, len, "%s.XXXXXX", za->zn); 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 20 ext/zip/lib/zip_win32.h #ifndef snprintf snprintf 555 ext/zip/php_zip.c snprintf(work_pattern, MAXPATHLEN, "%s%c%s", cwd, DEFAULT_SLASH, pattern); snprintf 649 ext/zip/php_zip.c snprintf(work_path, MAXPATHLEN, "%s%c%s", cwd, DEFAULT_SLASH, path); snprintf 695 ext/zip/php_zip.c snprintf(fullpath, MAXPATHLEN, "%s%c%s", path, DEFAULT_SLASH, namelist[i]); snprintf 1733 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 1413 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 1417 main/main.c snprintf(relay_buf, 512, "%s(%d) : Actual location (location was relayed)\n", t->orig_filename, t->orig_lineno); snprintf 1423 main/main.c snprintf(memory_leak_buf, 512, "Last leak repeated %ld time%s\n", leak_count, (leak_count>1?"s":"")); snprintf 1438 main/main.c snprintf(memory_leak_buf, 512, "=== Total %d memory leaks detected ===\n", *((zend_uint *) data)); snprintf 1458 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 1460 main/main.c snprintf(memory_leak_buf, sizeof(memory_leak_buf), "[null] Script: '%s'\n", SAFE_FILENAME(SG(request_info).path_translated)); snprintf 649 main/php_ini.c snprintf(ini_file, MAXPATHLEN, "%s%s", php_ini_scanned_path, namelist[i]->d_name); snprintf 651 main/php_ini.c snprintf(ini_file, MAXPATHLEN, "%s%c%s", php_ini_scanned_path, DEFAULT_SLASH, namelist[i]->d_name); snprintf 742 main/php_ini.c snprintf(ini_file, MAXPATHLEN, "%s%c%s", dirname, DEFAULT_SLASH, ini_filename); snprintf 926 main/rfc1867.c snprintf(param, MAX_SIZE_ANONNAME, "%u", anonindex++); snprintf 1122 main/rfc1867.c snprintf(lbuf, llen, "%s_name[%s]", abuf, array_index); snprintf 1124 main/rfc1867.c snprintf(lbuf, llen, "%s_name", param); snprintf 1143 main/rfc1867.c snprintf(lbuf, llen, "%s[name][%s]", abuf, array_index); snprintf 1145 main/rfc1867.c snprintf(lbuf, llen, "%s[name]", param); snprintf 1164 main/rfc1867.c snprintf(lbuf, llen, "%s_type[%s]", abuf, array_index); snprintf 1166 main/rfc1867.c snprintf(lbuf, llen, "%s_type", param); snprintf 1174 main/rfc1867.c snprintf(lbuf, llen, "%s[type][%s]", abuf, array_index); snprintf 1176 main/rfc1867.c snprintf(lbuf, llen, "%s[type]", param); snprintf 1202 main/rfc1867.c snprintf(lbuf, llen, "%s[tmp_name][%s]", abuf, array_index); snprintf 1204 main/rfc1867.c snprintf(lbuf, llen, "%s[tmp_name]", param); snprintf 1227 main/rfc1867.c snprintf(lbuf, llen, "%s[error][%s]", abuf, array_index); snprintf 1229 main/rfc1867.c snprintf(lbuf, llen, "%s[error]", param); snprintf 1235 main/rfc1867.c snprintf(lbuf, llen, "%s_size[%s]", abuf, array_index); snprintf 1237 main/rfc1867.c snprintf(lbuf, llen, "%s_size", param); snprintf 1245 main/rfc1867.c snprintf(lbuf, llen, "%s[size][%s]", abuf, array_index); snprintf 1247 main/rfc1867.c snprintf(lbuf, llen, "%s[size]", param); snprintf 148 main/snprintf.c snprintf(buf, ndigit + 1, "%s%s", (sign && *digits == 'I') ? "-" : "", *digits == 'I' ? "INF" : "NAN"); snprintf 104 main/snprintf.h #ifdef snprintf snprintf 1436 main/streams/plain_wrapper.c if (snprintf(trypath, MAXPATHLEN, "%s%s", cwd, filename) >= MAXPATHLEN) { snprintf 1490 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 1925 sapi/cli/php_cli_server.c snprintf(chunk->data.heap.p, chunk->data.heap.len, prologue_template, status, status_string, escaped_request_uri); snprintf 1949 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 196 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 205 sapi/fpm/fpm/fpm_log.c len2 = snprintf(b, FPM_LOG_BUFFER - len, "%.3f", proc.duration.tv_sec + proc.duration.tv_usec / 1000000.); snprintf 211 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 217 sapi/fpm/fpm/fpm_log.c len2 = snprintf(b, FPM_LOG_BUFFER - len, "%lu", proc.duration.tv_sec * 1000000UL + proc.duration.tv_usec); snprintf 235 sapi/fpm/fpm/fpm_log.c len2 = snprintf(b, FPM_LOG_BUFFER - len, "%s", env ? env : "-"); snprintf 242 sapi/fpm/fpm/fpm_log.c len2 = snprintf(b, FPM_LOG_BUFFER - len, "%s", *proc.script_filename ? proc.script_filename : "-"); snprintf 248 sapi/fpm/fpm/fpm_log.c len2 = snprintf(b, FPM_LOG_BUFFER - len, "%zu", proc.content_length); snprintf 254 sapi/fpm/fpm/fpm_log.c len2 = snprintf(b, FPM_LOG_BUFFER - len, "%s", *proc.request_method ? proc.request_method : "-"); snprintf 262 sapi/fpm/fpm/fpm_log.c len2 = snprintf(b, FPM_LOG_BUFFER - len, "%zu", proc.memory); snprintf 268 sapi/fpm/fpm/fpm_log.c len2 = snprintf(b, FPM_LOG_BUFFER - len, "%lu", proc.memory / 1024); snprintf 274 sapi/fpm/fpm/fpm_log.c len2 = snprintf(b, FPM_LOG_BUFFER - len, "%lu", proc.memory / 1024 / 1024); snprintf 286 sapi/fpm/fpm/fpm_log.c len2 = snprintf(b, FPM_LOG_BUFFER - len, "%s", scoreboard->pool[0] ? scoreboard->pool : "-"); snprintf 325 sapi/fpm/fpm/fpm_log.c len2 = snprintf(b, FPM_LOG_BUFFER - len, "%s", header && *header ? header : "-"); snprintf 340 sapi/fpm/fpm/fpm_log.c len2 = snprintf(b, FPM_LOG_BUFFER - len, "%ld", (long)getpid()); snprintf 346 sapi/fpm/fpm/fpm_log.c len2 = snprintf(b, FPM_LOG_BUFFER - len, "%ld", (long)getppid()); snprintf 352 sapi/fpm/fpm/fpm_log.c len2 = snprintf(b, FPM_LOG_BUFFER - len, "%s", proc.query_string); snprintf 358 sapi/fpm/fpm/fpm_log.c len2 = snprintf(b, FPM_LOG_BUFFER - len, "%s", *proc.query_string ? "?" : ""); snprintf 364 sapi/fpm/fpm/fpm_log.c len2 = snprintf(b, FPM_LOG_BUFFER - len, "%s", proc.request_uri); snprintf 371 sapi/fpm/fpm/fpm_log.c len2 = snprintf(b, FPM_LOG_BUFFER - len, "%s", tmp ? tmp : "-"); snprintf 377 sapi/fpm/fpm/fpm_log.c len2 = snprintf(b, FPM_LOG_BUFFER - len, "%d", SG(sapi_headers).http_response_code); snprintf 395 sapi/fpm/fpm/fpm_log.c len2 = snprintf(b, FPM_LOG_BUFFER - len, "%s", tmp); snprintf 402 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 254 sapi/litespeed/lsapi_main.c len = snprintf( headerBuf, SAPI_LSAPI_MAX_HEADER_LENGTH - 1, 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 );