snprintf 150 Zend/zend.c snprintf(key, sizeof(key), "%ld", num_key); snprintf 74 ext/bcmath/libbcmath/src/output.c snprintf(digits, sizeof(digits), "%ld", val); snprintf 419 ext/calendar/calendar.c snprintf(date, sizeof(date), "%i/%i/%i", month, day, year); snprintf 450 ext/calendar/calendar.c snprintf(date, sizeof(date), "%i/%i/%i", month, day, year); snprintf 483 ext/calendar/calendar.c snprintf(date, sizeof(date), "%i/%i/%i", month, day, year); snprintf 614 ext/calendar/calendar.c snprintf(date, sizeof(date), "%i/%i/%i", month, day, year); snprintf 622 ext/calendar/calendar.c snprintf(hebdate, sizeof(hebdate), "%s %s %s", heb_number_to_chars(day, fl, &dayp), JewishMonthHebName[month], heb_number_to_chars(year, fl, &yearp)); snprintf 664 ext/calendar/calendar.c snprintf(date, sizeof(date), "%i/%i/%i", month, day, year); snprintf 203 ext/com_dotnet/com_dotnet.c snprintf(buf, sizeof(buf), "Failed to init .Net runtime [%s] %s", where, err); snprintf 282 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 481 ext/com_dotnet/com_wrapper.c snprintf(namebuf, sizeof(namebuf), "%d", pid); snprintf 513 ext/com_dotnet/com_wrapper.c snprintf(namebuf, sizeof(namebuf), "%d", pid); snprintf 753 ext/date/php_date.c snprintf(offset->abbr, 9, "GMT%c%02d%02d", snprintf 961 ext/date/php_date.c snprintf(offset->abbr, 9, "GMT%c%02d%02d", snprintf 1119 ext/date/php_date.c snprintf(initial_ts, 24, "@%ld UTC", preset_ts); snprintf 2217 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 310 ext/dbase/dbase.c snprintf(t_cp, cur_f->db_flen+1, cur_f->db_format, Z_STRVAL(tmp)); snprintf 377 ext/dbase/dbase.c snprintf(t_cp, cur_f->db_flen+1, cur_f->db_format, Z_STRVAL_PP(field)); snprintf 473 ext/dbase/dbase.c snprintf(str_value, cursize, cur_f->db_format, get_field_val(data, cur_f, fnp)); snprintf 247 ext/dbase/dbf_head.c snprintf(format, sizeof(format), "%%-%ds", dbf->db_flen); snprintf 253 ext/dbase/dbf_head.c snprintf(format, sizeof(format), "%%%ds", dbf->db_flen); snprintf 117 ext/dbase/dbf_misc.c snprintf(cp, 9, "%04d%02d%02d", year, month, day); snprintf 726 ext/dom/element.c snprintf((char *) prefix, sizeof(prefix), "default"); snprintf 728 ext/dom/element.c snprintf((char *) prefix, sizeof(prefix), "%.20s", (char *)ns->prefix); snprintf 734 ext/dom/element.c snprintf((char *) prefix, sizeof(prefix), "default%d", counter++); snprintf 736 ext/dom/element.c snprintf((char *) prefix, sizeof(prefix), "%.20s%d", snprintf 1023 ext/exif/exif.c snprintf(tmp, sizeof(tmp), "UndefinedTag:0x%04X", tag_num); snprintf 1191 ext/exif/exif.c snprintf(dump + len, 4 + 1, "0x%02X", *value_ptr); snprintf 1198 ext/exif/exif.c snprintf(dump + len, 6 + 1, "0x%04X", php_ifd_get16s(value_ptr, motorola_intel)); snprintf 1205 ext/exif/exif.c snprintf(dump + len, 6 + 1, "0x%04X", php_ifd_get32s(value_ptr, motorola_intel)); snprintf 1212 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 1219 ext/exif/exif.c snprintf(dump + len, 2 + 1, ", "); snprintf 1227 ext/exif/exif.c snprintf(dump + len, 1 + 1, "}"); snprintf 1468 ext/exif/exif.c snprintf(sections+len, ml-len, "%s, ", exif_get_sectionname(i)); snprintf 1987 ext/exif/exif.c snprintf(uname, sizeof(uname), "%d", unknown++); snprintf 2063 ext/exif/exif.c snprintf(buffer, sizeof(buffer), "%i/%i", info_value->ur.num, info_value->ur.den); snprintf 2089 ext/exif/exif.c snprintf(buffer, sizeof(buffer), "%i/%i", info_value->sr.num, info_value->sr.den); snprintf 3941 ext/exif/exif.c snprintf(tmp, sizeof(tmp), ",%s,", exif_get_sectionname(i)); snprintf 846 ext/fbsql/php_fbsql.c snprintf(buf, sizeof(buf), "%ld", FB_SQL_G(persistentCount)); snprintf 850 ext/fbsql/php_fbsql.c snprintf(buf, sizeof(buf), "%ld", FB_SQL_G(linkCount)); snprintf 894 ext/fbsql/php_fbsql.c if (snprintf(name, sizeof(name), "fbsql_%s_%s_%s", hostName, userName, userPassword) < 0) { snprintf 1239 ext/fbsql/php_fbsql.c if (snprintf(strSQL, sizeof(strSQL) , "SET TRANSACTION LOCKING %s, ISOLATION %s;", strLocking[Z_LVAL_PP(Locking)], strIsolation[Z_LVAL_PP(Isolation)]) < 0) { snprintf 1918 ext/fbsql/php_fbsql.c if (snprintf(buffer, sizeof(buffer), "SET AUTHORIZATION %s;", userName) < 0) { snprintf 2637 ext/fbsql/php_fbsql.c if (snprintf(sql, sizeof(sql), "SELECT * FROM %s WHERE 1=0;", tableName) < 0) { snprintf 2853 ext/fbsql/php_fbsql.c snprintf(b, sizeof(b), "%d", v); snprintf 2862 ext/fbsql/php_fbsql.c snprintf(b, sizeof(b), "%d", v); snprintf 2873 ext/fbsql/php_fbsql.c snprintf(b, sizeof(b), "%I64i", v); snprintf 2875 ext/fbsql/php_fbsql.c snprintf(b, sizeof(b), "%ll", v); snprintf 2885 ext/fbsql/php_fbsql.c snprintf(b, sizeof(b), "%d", v); snprintf 2896 ext/fbsql/php_fbsql.c snprintf(b, sizeof(b), "%F", v); snprintf 2908 ext/fbsql/php_fbsql.c snprintf(b, sizeof(b), "%.*F", scale, v); snprintf 2947 ext/fbsql/php_fbsql.c snprintf(c, sizeof(c), "%02x", ptr->bytes[i]); snprintf 3015 ext/fbsql/php_fbsql.c snprintf(b, sizeof(b), "%d", v); snprintf 3024 ext/fbsql/php_fbsql.c snprintf(b, sizeof(b), "%F", seconds); snprintf 617 ext/ftp/ftp.c snprintf(buffer, sizeof(buffer) - 1, "%d", size); snprintf 809 ext/ftp/ftp.c snprintf(arg, sizeof(arg), "%u", resumepos); snprintf 906 ext/ftp/ftp.c snprintf(arg, sizeof(arg), "%u", startpos); snprintf 1446 ext/ftp/ftp.c snprintf(eprtarg, sizeof(eprtarg), "|2|%s|%hu|", out, ntohs(((struct sockaddr_in6 *) &addr)->sin6_port)); snprintf 1464 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 1721 ext/ftp/ftp.c snprintf(arg, sizeof(arg), "%u", resumepos); snprintf 1839 ext/ftp/ftp.c snprintf(arg, sizeof(arg), "%u", startpos); snprintf 1385 ext/gd/gd.c snprintf(tmp, sizeof(tmp), "%d.%d.%d", FREETYPE_MAJOR, FREETYPE_MINOR, FREETYPE_PATCH); snprintf 1387 ext/gd/gd.c snprintf(tmp, sizeof(tmp), "%d.%d", FREETYPE_MAJOR, FREETYPE_MINOR); snprintf 1389 ext/gd/gd.c snprintf(tmp, sizeof(tmp), "1.x"); snprintf 1397 ext/gd/gd.c snprintf(tmp, sizeof(tmp), "%d.%d", TT_FREETYPE_MAJOR, TT_FREETYPE_MINOR); snprintf 186 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 188 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 264 ext/iconv/iconv.c snprintf(buf, sizeof(buf), "%d.%d", snprintf 1181 ext/imap/php_imap.c snprintf(tmp + 6, sizeof(tmp) - 6, "%4ld) ", cache->msgno); snprintf 1196 ext/imap/php_imap.c snprintf(t += strlen(t), sizeof(tmp) - strlen(tmp), " (%ld chars)", cache->rfc822_size); snprintf 1633 ext/imap/php_imap.c snprintf(dummy, sizeof(dummy), "%4ld", cache->msgno); snprintf 1639 ext/imap/php_imap.c snprintf(dummy, sizeof(dummy), "%ld", cache->rfc822_size); snprintf 4154 ext/imap/php_imap.c snprintf(buf, 25, "%ld.num", thisNode); snprintf 4158 ext/imap/php_imap.c snprintf(buf, 25, "%ld.next", thisNode); snprintf 4167 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_buf - heap_p), "%s\n", result); snprintf 545 ext/interbase/interbase.c snprintf( (s = tmp), sizeof(tmp), "Firebird API version %d", FB_API_VER); snprintf 1173 ext/interbase/interbase.c snprintf(query, sizeof(query), "SELECT GEN_ID(%s,%ld) FROM rdb$database", generator, inc); snprintf 328 ext/ldap/ldap.c snprintf(tmp, 31, "%ld/unlimited", LDAPG(num_links)); snprintf 330 ext/ldap/ldap.c snprintf(tmp, 31, "%ld/%ld", LDAPG(num_links), LDAPG(max_links)); snprintf 335 ext/ldap/ldap.c snprintf(tmp, 31, "%d", LDAP_API_VERSION); snprintf 344 ext/ldap/ldap.c snprintf(tmp, 31, "%d", LDAP_VENDOR_VERSION); snprintf 350 ext/ldap/ldap.c snprintf(tmp, 31, "%F", SDKVersion/100.0); snprintf 353 ext/ldap/ldap.c snprintf(tmp, 31, "%F", ver.protocol_version/100.0); snprintf 356 ext/ldap/ldap.c snprintf(tmp, 31, "%F", ver.SSL_version/100.0); snprintf 360 ext/ldap/ldap.c snprintf(tmp, 31, "%d", ver.security_level); snprintf 1056 ext/mbstring/mbstring.c snprintf(buf, sizeof(buf), "%d.%d.%d", snprintf 348 ext/mcrypt/mcrypt.c snprintf (mcrypt_api_no, 16, "%d", MCRYPT_API_VERSION); snprintf 86 ext/mhash/mhash.c snprintf(version, sizeof(version), "%d", MHASH_API_VERSION); snprintf 207 ext/msql/php_msql.c snprintf(maxp, 31, "%d/unlimited", msql_globals.num_persistent ); snprintf 209 ext/msql/php_msql.c snprintf(maxp, 31, "%d/%ld", msql_globals.num_persistent, msql_globals.max_persistent); snprintf 214 ext/msql/php_msql.c snprintf(maxl, 15, "%d/unlimited", msql_globals.num_links ); snprintf 216 ext/msql/php_msql.c snprintf(maxl, 15, "%d/%ld", msql_globals.num_links, msql_globals.max_links); snprintf 374 ext/mssql/php_mssql.c snprintf(buf, sizeof(buf), "%ld", MS_SQL_G(num_persistent)); snprintf 376 ext/mssql/php_mssql.c snprintf(buf, sizeof(buf), "%ld", MS_SQL_G(num_links)); snprintf 550 ext/mssql/php_mssql.c snprintf(buffer, sizeof(buffer), "%li", MS_SQL_G(textlimit)); snprintf 560 ext/mssql/php_mssql.c snprintf(buffer, sizeof(buffer), "SET TEXTSIZE %li", MS_SQL_G(textsize)); snprintf 677 ext/mssql/php_mssql.c snprintf(buffer, sizeof(buffer), "%li", MS_SQL_G(textlimit)); snprintf 687 ext/mssql/php_mssql.c snprintf(buffer, sizeof(buffer), "SET TEXTSIZE %li", MS_SQL_G(textsize)); snprintf 1088 ext/mssql/php_mssql.c snprintf(computed_buf,16,"computed%d",j); snprintf 484 ext/mysql/php_mysql.c snprintf(buf, sizeof(buf), "%ld", MySG(num_persistent)); snprintf 486 ext/mysql/php_mysql.c snprintf(buf, sizeof(buf), "%ld", MySG(num_links)); snprintf 1078 ext/mysqli/mysqli.c snprintf((char *)data->error_msg, sizeof(data->error_msg), "Can't find file '%-.64s'.", filename); snprintf 717 ext/mysqli/mysqli_api.c snprintf(tmp, sizeof(tmp), (stmt->stmt->fields[i].flags & UNSIGNED_FLAG)? MYSQLI_LLU_SPEC : MYSQLI_LL_SPEC, llval); snprintf 679 ext/oci8/oci8.c snprintf(buf, sizeof(buf), "%ld", OCI_G(num_persistent)); snprintf 681 ext/oci8/oci8.c snprintf(buf, sizeof(buf), "%ld", OCI_G(num_links)); snprintf 690 ext/oci8/oci8.c snprintf(buf, sizeof(buf), "%d.%d", OCI_MAJOR_VERSION, OCI_MINOR_VERSION); snprintf 547 ext/odbc/php_odbc.c snprintf(buf, sizeof(buf), "%ld", ODBCG(num_persistent)); snprintf 549 ext/odbc/php_odbc.c snprintf(buf, sizeof(buf), "%ld", ODBCG(num_links)); snprintf 591 ext/odbc/php_odbc.c snprintf(state, sizeof(state), "HY000"); snprintf 592 ext/odbc/php_odbc.c snprintf(errormsg, sizeof(errormsg), "Failed to fetch error message"); snprintf 1164 ext/odbc/php_odbc.c snprintf(cursorname, max_len+1, "php_curs_%d", (int)result->stmt); snprintf 741 ext/openssl/openssl.c snprintf(default_ssl_conf_filename, sizeof(default_ssl_conf_filename), "%s/%s", snprintf 1028 ext/openssl/openssl.c snprintf(buf, sizeof(buf), "%08lx", X509_subject_name_hash(cert)); snprintf 484 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 531 ext/pdo/pdo_sql_parser.c snprintf(idxbuf, sizeof(idxbuf), tmpl, plc->bindno + 1); snprintf 162 ext/pdo_pgsql/pgsql_statement.c snprintf(buf, sizeof(buf), "DEALLOCATE %s", S->stmt_name); snprintf 124 ext/pdo_sqlite/sqlite/src/sqlite3ext.h char * (*snprintf)(int,char*,const char*,...); snprintf 259 ext/pdo_sqlite/sqlite/src/sqlite3ext.h #define sqlite3_snprintf sqlite3_api->snprintf snprintf 606 ext/pgsql/pgsql.c snprintf(buf, sizeof(buf), "%ld", PGG(num_persistent)); snprintf 608 ext/pgsql/pgsql.c snprintf(buf, sizeof(buf), "%ld", PGG(num_links)); snprintf 5420 ext/pgsql/pgsql.c smart_str_appendl(&querystr, buf, snprintf(buf, sizeof(buf), "%F", Z_DVAL_PP(val))); snprintf 5525 ext/pgsql/pgsql.c smart_str_appendl(querystr, buf, MIN(snprintf(buf, sizeof(buf), "%F", Z_DVAL_PP(val)), sizeof(buf)-1)); snprintf 1050 ext/posix/posix.c snprintf(hard, 80, "hard %s", name); snprintf 1051 ext/posix/posix.c snprintf(soft, 80, "soft %s", name); snprintf 786 ext/pspell/pspell.c snprintf(ignore_str, sizeof(ignore_str), "%ld", ignore); snprintf 1005 ext/session/session.c snprintf(buf, sizeof(buf) , "Cache-Control: public, max-age=%ld", PS(cache_expire) * 60); /* SAFE */ snprintf 1015 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 302 ext/snmp/snmp.c snprintf(buf, sizeof(buf)-1, "%d.%d.%d.%d", snprintf 314 ext/snmp/snmp.c snprintf(buf, sizeof(buf)-1, "%lu", *vars->val.integer); snprintf 320 ext/snmp/snmp.c snprintf(buf, sizeof(buf)-1, "%ld", *vars->val.integer); snprintf 1072 ext/soap/php_encoding.c snprintf(s, sizeof(s), "%0.0F",floor(Z_DVAL_P(data))); snprintf 2857 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 2860 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 2862 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 479 ext/soap/php_http.c snprintf(cnonce, sizeof(cnonce), "%ld", php_rand(TSRMLS_C)); snprintf 487 ext/soap/php_http.c snprintf(nc, sizeof(nc), "%08ld", Z_LVAL_PP(tmp)); snprintf 1893 ext/soap/soap.c snprintf(cont_len, sizeof(cont_len), "Content-Length: %d", Z_STRLEN(result)); snprintf 1900 ext/soap/soap.c snprintf(cont_len, sizeof(cont_len), "Content-Length: %d", size); snprintf 2062 ext/soap/soap.c snprintf(cont_len, sizeof(cont_len), "Content-Length: %d", Z_STRLEN(result)); snprintf 2069 ext/soap/soap.c snprintf(cont_len, sizeof(cont_len), "Content-Length: %d", size); snprintf 4365 ext/soap/soap.c snprintf(paramName, sizeof(paramNameBuf), "param%d",index); snprintf 1182 ext/sockets/sockets.c snprintf(s_un.sun_path, 108, "%s", addr); snprintf 1239 ext/sockets/sockets.c snprintf(sa->sun_path, 108, "%s", addr); snprintf 1509 ext/sockets/sockets.c snprintf(s_un.sun_path, 108, "%s", addr); snprintf 3870 ext/standard/basic_functions.c snprintf(del_string, pe->key_len+2, "%s=", pe->key); snprintf 68 ext/standard/datetime.c snprintf(str, 80, "%s, %02d %s %04d %02d:%02d:%02d GMT", snprintf 75 ext/standard/datetime.c snprintf(str, 80, "%s, %02d-%s-%02d %02d:%02d:%02d GMT", snprintf 430 ext/standard/dir.c snprintf(work_pattern, MAXPATHLEN, "%s%c%s", cwd, DEFAULT_SLASH, pattern); snprintf 436 ext/standard/dns.c snprintf(name, sizeof(name), "%d.%d.%d.%d", cp[0], cp[1], cp[2], cp[3]); snprintf 761 ext/standard/filestat.c snprintf(safe_mode_buf, MAXPATHLEN, "%s%s%s", PG(safe_mode_exec_dir), (b ? "" : "/"), (b ? b : local)); snprintf 108 ext/standard/head.c snprintf(cookie, len + 100, "Set-Cookie: %s=deleted; expires=%s", name, dt); snprintf 111 ext/standard/head.c snprintf(cookie, len + 100, "Set-Cookie: %s=%s", name, value ? encoded_value : ""); snprintf 1423 ext/standard/html.c snprintf(buffer, sizeof(buffer), "&%s;", entity_map[j].table[i]); snprintf 395 ext/standard/http_fopen_wrapper.c if (snprintf(scratch, scratch_len, "Authorization: Basic %s\r\n", tmp) > 0) { snprintf 406 ext/standard/http_fopen_wrapper.c if (snprintf(scratch, scratch_len, "From: %s\r\n", tmp) > 0) snprintf 414 ext/standard/http_fopen_wrapper.c if (snprintf(scratch, scratch_len, "Host: %s:%i\r\n", resource->host, resource->port) > 0) snprintf 417 ext/standard/http_fopen_wrapper.c if (snprintf(scratch, scratch_len, "Host: %s\r\n", resource->host) > 0) { snprintf 637 ext/standard/http_fopen_wrapper.c snprintf(loc_path, sizeof(loc_path) - 1, "%s%s", resource->path, location); snprintf 639 ext/standard/http_fopen_wrapper.c snprintf(loc_path, sizeof(loc_path) - 1, "%s/%s", resource->path, location); snprintf 642 ext/standard/http_fopen_wrapper.c snprintf(loc_path, sizeof(loc_path) - 1, "/%s", location); snprintf 648 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 650 ext/standard/http_fopen_wrapper.c snprintf(new_path, sizeof(new_path) - 1, "%s://%s%s", resource->scheme, resource->host, loc_path); snprintf 457 ext/standard/image.c snprintf(markername, sizeof(markername), "APP%d", marker - M_APP0); snprintf 265 ext/standard/info.c snprintf(tmp_uname, sizeof(tmp_uname), "%d.%d", dwWindowsMajorVersion, dwWindowsMinorVersion); snprintf 271 ext/standard/info.c snprintf(tmp_uname, sizeof(tmp_uname), "build %d", dwBuild); snprintf 276 ext/standard/info.c snprintf(tmp_uname, sizeof(tmp_uname), "i%d", SysInfo.dwProcessorType); snprintf 280 ext/standard/info.c snprintf(tmp_uname, sizeof(tmp_uname), "MIPS R%d000", SysInfo.wProcessorLevel); snprintf 284 ext/standard/info.c snprintf(tmp_uname, sizeof(tmp_uname), "Alpha %d", SysInfo.wProcessorLevel); snprintf 288 ext/standard/info.c snprintf(tmp_uname, sizeof(tmp_uname), "PPC 6%02d", SysInfo.wProcessorLevel); snprintf 313 ext/standard/info.c snprintf(tmp_uname, sizeof(tmp_uname), "%s %s %d.%d build %d", snprintf 317 ext/standard/info.c snprintf(tmp_uname, sizeof(tmp_uname), "%s %s %d.%d", snprintf 333 ext/standard/info.c snprintf(tmp_uname, sizeof(tmp_uname), "%d.%d.%d", snprintf 339 ext/standard/info.c snprintf(tmp_uname, sizeof(tmp_uname), "libc-%d.%d.%d #%d", snprintf 345 ext/standard/info.c snprintf(tmp_uname, sizeof(tmp_uname), "%s %s %d.%d.%d libc-%d.%d.%d #%d %s", snprintf 364 ext/standard/info.c snprintf(tmp_uname, sizeof(tmp_uname), "%s %s %s %s %s", snprintf 512 ext/standard/info.c snprintf(temp_api, sizeof(temp_api), "%d", PHP_API_VERSION); snprintf 515 ext/standard/info.c snprintf(temp_api, sizeof(temp_api), "%d", ZEND_MODULE_API_NO); snprintf 518 ext/standard/info.c snprintf(temp_api, sizeof(temp_api), "%d", ZEND_EXTENSION_API_NO); snprintf 342 ext/standard/iptc.c snprintf(key, sizeof(key), "%d#%03d", (unsigned int) dataset, (unsigned int) recnum); snprintf 87 ext/standard/microtime.c snprintf(ret, 100, "%.8F %ld", tp.tv_usec / MICRO_IN_SEC, tp.tv_sec); snprintf 656 ext/standard/pack.c snprintf(n, sizeof(n), "%.*s%d", namelen, name, i + 1); snprintf 659 ext/standard/pack.c snprintf(n, sizeof(n), "%.*s", namelen, name); snprintf 169 ext/standard/reg.c snprintf(message, buf_len, "%s: ", buf); snprintf 1064 ext/standard/scanf.c snprintf(buf, sizeof(buf), "%u", value); /* INTL: ISO digit */ snprintf 3117 ext/standard/string.c (void) snprintf(BG(str_ebuf), sizeof(php_basic_globals.str_ebuf), "Unknown error: %d", errnum); snprintf 84 ext/standard/url_scanner.c snprintf(buf, sizeof(buf)-1, "%s=%s", name, val); snprintf 873 ext/sybase/php_sybase_db.c snprintf(computed_buf,16,"computed%d",j); snprintf 1395 ext/sybase/php_sybase_db.c snprintf(maxp, 31, "%ld/unlimited", php_sybase_module.num_persistent ); snprintf 1397 ext/sybase/php_sybase_db.c snprintf(maxp, 31, "%ld/%ld", php_sybase_module.num_persistent, php_sybase_module.max_persistent); snprintf 1402 ext/sybase/php_sybase_db.c snprintf(maxl, 31, "%ld/unlimited", php_sybase_module.num_links ); snprintf 1404 ext/sybase/php_sybase_db.c snprintf(maxl, 31, "%ld/%ld", php_sybase_module.num_links, php_sybase_module.max_links); snprintf 1331 ext/sybase_ct/php_sybase_ct.c snprintf(computed_buf, 16, "computed%d", j); snprintf 1806 ext/sybase_ct/php_sybase_ct.c snprintf(name, 32, "%s%d", result->fields[i].name, j); snprintf 2130 ext/sybase_ct/php_sybase_ct.c snprintf(buf, sizeof(buf), "%ld", SybCtG(num_persistent)); snprintf 2132 ext/sybase_ct/php_sybase_ct.c snprintf(buf, sizeof(buf), "%ld", SybCtG(num_links)); snprintf 2134 ext/sybase_ct/php_sybase_ct.c snprintf(buf, sizeof(buf), "%ld", SybCtG(min_server_severity)); snprintf 2136 ext/sybase_ct/php_sybase_ct.c snprintf(buf, sizeof(buf), "%ld", SybCtG(min_client_severity)); snprintf 2139 ext/sybase_ct/php_sybase_ct.c snprintf(buf, sizeof(buf), "%ld", SybCtG(deadlock_retry_count)); snprintf 399 ext/wddx/wddx.c snprintf(tmp_buf, sizeof(tmp_buf), WDDX_NUMBER, Z_STRVAL(tmp)); snprintf 412 ext/wddx/wddx.c snprintf(tmp_buf, sizeof(tmp_buf), WDDX_BOOLEAN, Z_LVAL_P(var) ? "true" : "false"); snprintf 451 ext/wddx/wddx.c snprintf(tmp_buf, WDDX_BUF_LEN, WDDX_VAR_S, PHP_CLASS_NAME_VAR); snprintf 483 ext/wddx/wddx.c snprintf(tmp_buf, WDDX_BUF_LEN, WDDX_VAR_S, PHP_CLASS_NAME_VAR); snprintf 559 ext/wddx/wddx.c snprintf(tmp_buf, sizeof(tmp_buf), WDDX_ARRAY_S, zend_hash_num_elements(target_hash)); snprintf 602 ext/wddx/wddx.c snprintf(tmp_buf, name_esc_len + sizeof(WDDX_VAR_S), WDDX_VAR_S, name_esc); snprintf 727 ext/wddx/wddx.c snprintf(tmp_buf, sizeof(tmp_buf), "%c", (char)strtol(atts[i], NULL, 16)); snprintf 722 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 741 ext/xmlrpc/libxmlrpc/xmlrpc.c snprintf(buf, sizeof(buf), snprintf 295 ext/xsl/php_xsl.c snprintf(buffer, 128, "%d.%d.%d", major, minor, subminor); snprintf 300 ext/xsl/php_xsl.c snprintf(buffer, 128, "%d.%d.%d", major, minor, subminor); snprintf 118 ext/xsl/xsltprocessor.c snprintf(value, str_len, "'%s'", string); snprintf 121 ext/xsl/xsltprocessor.c snprintf(value, str_len, "\"%s\"", string); snprintf 537 ext/zip/lib/zip_close.c snprintf(temp, len, "%s.XXXXXX", za->zn); snprintf 57 ext/zip/lib/zip_error_strerror.c snprintf(buf, sizeof(buf), "Unknown error %d", err->zip_err); snprintf 85 ext/zip/lib/zip_error_strerror.c snprintf(s, l, "%s%s%s", snprintf 54 ext/zip/lib/zip_error_to_str.c return snprintf(buf, len, "Unknown error %d", ze); snprintf 71 ext/zip/lib/zip_error_to_str.c return snprintf(buf, len, "%s%s%s", snprintf 12 ext/zip/lib/zip_win32.h #ifndef snprintf snprintf 240 main/SAPI.c snprintf(content_type, len, "%s; charset=%s", mimetype, charset); snprintf 531 main/fopen_wrappers.c snprintf(trypath, MAXPATHLEN, "%s/%s", ptr, filename); snprintf 1133 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 1137 main/main.c snprintf(relay_buf, 512, "%s(%d) : Actual location (location was relayed)\n", t->orig_filename, t->orig_lineno); snprintf 1143 main/main.c snprintf(memory_leak_buf, 512, "Last leak repeated %ld time%s\n", leak_count, (leak_count>1?"s":"")); snprintf 1158 main/main.c snprintf(memory_leak_buf, 512, "=== Total %d memory leaks detected ===\n", *((zend_uint *) data)); snprintf 1178 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 1180 main/main.c snprintf(memory_leak_buf, sizeof(memory_leak_buf), "[null] Script: '%s'\n", SAFE_FILENAME(SG(request_info).path_translated)); snprintf 368 main/php_ini.c snprintf(search_path, MAXPATHLEN, "%s/%s", search_dir, sapi_module.executable_location); snprintf 525 main/php_ini.c snprintf(ini_file, MAXPATHLEN, "%s%c%s", PHP_CONFIG_FILE_SCAN_DIR, DEFAULT_SLASH, namelist[i]->d_name); snprintf 987 main/rfc1867.c snprintf(param, MAX_SIZE_ANONNAME, "%u", anonindex++); snprintf 1175 main/rfc1867.c snprintf(lbuf, llen, "%s_name[%s]", abuf, array_index); snprintf 1177 main/rfc1867.c snprintf(lbuf, llen, "%s_name", param); snprintf 1235 main/rfc1867.c snprintf(lbuf, llen, "%s[name][%s]", abuf, array_index); snprintf 1237 main/rfc1867.c snprintf(lbuf, llen, "%s[name]", param); snprintf 1260 main/rfc1867.c snprintf(lbuf, llen, "%s_type[%s]", abuf, array_index); snprintf 1262 main/rfc1867.c snprintf(lbuf, llen, "%s_type", param); snprintf 1270 main/rfc1867.c snprintf(lbuf, llen, "%s[type][%s]", abuf, array_index); snprintf 1272 main/rfc1867.c snprintf(lbuf, llen, "%s[type]", param); snprintf 1294 main/rfc1867.c snprintf(lbuf, llen, "%s[tmp_name][%s]", abuf, array_index); snprintf 1296 main/rfc1867.c snprintf(lbuf, llen, "%s[tmp_name]", param); snprintf 1319 main/rfc1867.c snprintf(lbuf, llen, "%s[error][%s]", abuf, array_index); snprintf 1321 main/rfc1867.c snprintf(lbuf, llen, "%s[error]", param); snprintf 1327 main/rfc1867.c snprintf(lbuf, llen, "%s_size[%s]", abuf, array_index); snprintf 1329 main/rfc1867.c snprintf(lbuf, llen, "%s_size", param); snprintf 1337 main/rfc1867.c snprintf(lbuf, llen, "%s[size][%s]", abuf, array_index); snprintf 1339 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 102 main/snprintf.h #ifdef snprintf snprintf 1326 main/streams/plain_wrapper.c snprintf(trypath, MAXPATHLEN, "%s%s", cwd, filename); snprintf 1387 main/streams/plain_wrapper.c snprintf(trypath, MAXPATHLEN, "%s/%s", ptr, filename); 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 311 sapi/aolserver/aolserver.c snprintf(buf, NS_BUF_SIZE, "HTTP_%s", key); snprintf 324 sapi/aolserver/aolserver.c snprintf(buf, NS_BUF_SIZE, "%s/%s", Ns_InfoServerName(), Ns_InfoServerVersion()); snprintf 326 sapi/aolserver/aolserver.c snprintf(buf, NS_BUF_SIZE, "HTTP/%1.1f", NSG(conn)->request->version); snprintf 338 sapi/aolserver/aolserver.c snprintf(buf, NS_BUF_SIZE, "%d", Ns_ConnPeerPort(NSG(conn))); snprintf 341 sapi/aolserver/aolserver.c snprintf(buf, NS_BUF_SIZE, "%d", Ns_ConnPort(NSG(conn))); snprintf 354 sapi/aolserver/aolserver.c snprintf(buf, NS_BUF_SIZE, "%d", Ns_InfoBootTime()); snprintf 211 sapi/apache/php_apache.c snprintf(output_buf, sizeof(output_buf), "%d", APACHE_RELEASE); snprintf 214 sapi/apache/php_apache.c snprintf(output_buf, sizeof(output_buf), "%d", MODULE_MAGIC_NUMBER); snprintf 216 sapi/apache/php_apache.c snprintf(output_buf, sizeof(output_buf), "%s:%u", serv->server_hostname, serv->port); snprintf 219 sapi/apache/php_apache.c snprintf(output_buf, sizeof(output_buf), "%s(%d)/%d", user_name, (int)user_id, (int)group_id); snprintf 221 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 224 sapi/apache/php_apache.c snprintf(output_buf, sizeof(output_buf), "Connection: %d - Keep-Alive: %d", serv->timeout, serv->keep_alive_timeout); snprintf 406 sapi/apache2handler/php_functions.c snprintf(tmp, sizeof(tmp), "%d", MODULE_MAGIC_NUMBER); snprintf 413 sapi/apache2handler/php_functions.c snprintf(tmp, sizeof(tmp), "%s:%u", serv->server_hostname, serv->port); snprintf 417 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 422 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 1612 sapi/apache_hooks/php_apache.c snprintf(output_buf, sizeof(output_buf), "%d", APACHE_RELEASE); snprintf 1615 sapi/apache_hooks/php_apache.c snprintf(output_buf, sizeof(output_buf), "%d", MODULE_MAGIC_NUMBER); snprintf 1617 sapi/apache_hooks/php_apache.c snprintf(output_buf, sizeof(output_buf), "%s:%u", serv->server_hostname, serv->port); snprintf 1620 sapi/apache_hooks/php_apache.c snprintf(output_buf, sizeof(output_buf), "%s(%d)/%d", user_name, (int)user_id, (int)group_id); snprintf 1622 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 1625 sapi/apache_hooks/php_apache.c snprintf(output_buf, sizeof(output_buf), "Connection: %d - Keep-Alive: %d", serv->timeout, serv->keep_alive_timeout); snprintf 422 sapi/cli/php_cli_readline.c snprintf(tmp, len, "%s::%s", (*pce)->name, retval); snprintf 294 sapi/isapi/php5isapi.c snprintf(status_buf, MAX_STATUS_LENGTH, "%d Undescribed", SG(sapi_headers).http_response_code); 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 62 win32/sendmail.c snprintf(*error_message, sizeof(SMTP_ERROR_RESPONSE_SPEC) + strlen(response), SMTP_ERROR_RESPONSE_SPEC, response); \ snprintf 297 win32/sendmail.c snprintf(*error_message, HOST_NAME_LEN + 128, snprintf 408 win32/sendmail.c snprintf(Buffer, sizeof(Buffer), "HELO %s\r\n", LocalHost); snprintf 424 win32/sendmail.c snprintf(Buffer, MAIL_BUFFER_SIZE, "MAIL FROM:<%s>\r\n", RPath); snprintf 439 win32/sendmail.c snprintf(Buffer, MAIL_BUFFER_SIZE, "RCPT TO:<%s>\r\n", token); snprintf 460 win32/sendmail.c snprintf(Buffer, MAIL_BUFFER_SIZE, "RCPT TO:<%s>\r\n", token); snprintf 490 win32/sendmail.c snprintf(Buffer, MAIL_BUFFER_SIZE, "RCPT TO:<%s>\r\n", token); snprintf 515 win32/sendmail.c snprintf(Buffer, MAIL_BUFFER_SIZE, "RCPT TO:<%s>\r\n", token); snprintf 548 win32/sendmail.c snprintf(Buffer, MAIL_BUFFER_SIZE, "RCPT TO:<%s>\r\n", token); snprintf 708 win32/sendmail.c snprintf(header_buffer, MAIL_BUFFER_SIZE, "Date: %s\r\n", dt);