/PHP-7.4/ |
H A D | README.REDIST.BINS | 11 11. main/snprintf.c 383 11. main/snprintf.c
|
H A D | configure.ac | 1476 PHP_ADD_SOURCES(main, main.c snprintf.c spprintf.c \
|
/PHP-7.4/TSRM/ |
H A D | tsrm_win32.c | 626 snprintf(shm_segment, sizeof(shm_segment), SEGMENT_PREFIX "%d", key); in shmget() 627 snprintf(shm_info, sizeof(shm_info), DESCRIPTOR_PREFIX "%d", key); in shmget()
|
/PHP-7.4/Zend/ |
H A D | zend.c | 1150 …snprintf(new_info, new_info_length, " with %s v%s, %s, by %s\n", extension->name, extension->ve… in END_EXTERN_C()
|
H A D | zend_builtin_functions.c | 1916 …ZSTR_LEN(function_name) = snprintf(ZSTR_VAL(function_name) + 1, sizeof("lambda_")+MAX_LENGTH_OF_LO… in ZEND_FUNCTION()
|
H A D | zend_config.w32.h | 46 #define snprintf _snprintf macro
|
H A D | zend_execute_API.c | 1204 …output_len = snprintf(log_buffer, sizeof(log_buffer), "\nFatal error: Maximum execution time of " … in zend_timeout_handler()
|
H A D | zend_language_parser.y | 1370 snprintf(buffer, sizeof(buffer), "'%.*s' %.*s", len, str, toklen, tok1); 1372 snprintf(buffer, sizeof(buffer), "'%.*s'", len, str);
|
H A D | zend_long.h | 73 int st = snprintf((s), (len), ZEND_LONG_FMT, (i)); \ 97 int st = snprintf((s), (len), ZEND_LONG_FMT, (i)); \
|
/PHP-7.4/ext/bcmath/libbcmath/src/ |
H A D | output.c | 73 snprintf(digits, sizeof(digits), "%ld", val);
|
/PHP-7.4/ext/com_dotnet/ |
H A D | com_dotnet.c | 207 snprintf(buf, sizeof(buf), "Failed to init .Net runtime [%s] %s", where, err); in PHP_FUNCTION() 220 snprintf(buf, sizeof(buf), "Failed to re-init .Net domain [%s] %s", where, err); in PHP_FUNCTION() 232 snprintf(buf, sizeof(buf), "Failed to re-init .Net domain [%s] %s", where, err); in PHP_FUNCTION() 314 snprintf(buf, sizeof(buf), "Failed to instantiate .Net object [%s] [0x%08x] %s", where, hr, err); in PHP_FUNCTION()
|
H A D | com_wrapper.c | 75 snprintf(buf, sizeof(buf), "T=%08x ", GetCurrentThreadId()); in trace() 467 snprintf(namebuf, sizeof(namebuf), ZEND_ULONG_FMT, pid); in generate_dispids() 502 snprintf(namebuf, sizeof(namebuf), "%d", pid); in generate_dispids()
|
/PHP-7.4/ext/date/ |
H A D | php_date.c | 53 int st = snprintf(s, len, "%lld", i); \ 1146 snprintf(offset->abbr, 9, "GMT%c%02d%02d", in date_format() 1358 snprintf(offset->abbr, 9, "GMT%c%02d%02d", in php_idate() 2335 ZSTR_LEN(tmpstr) = snprintf(ZSTR_VAL(tmpstr), sizeof("+05:00"), "%c%02d:%02d", in date_object_get_properties_for() 2431 ZSTR_LEN(tmpstr) = snprintf(ZSTR_VAL(tmpstr), sizeof("+05:00"), "%c%02d:%02d", in php_timezone_to_string() 2982 …snprintf(tmp, Z_STRLEN_P(z_date) + Z_STRLEN_P(z_timezone) + 2, "%s %s", Z_STRVAL_P(z_date), Z_STRV… in php_date_initialize_from_hash()
|
/PHP-7.4/ext/dba/ |
H A D | dba_dbm.c | 44 snprintf(buf, MAXPATHLEN, "%s" extension, info->path); \
|
/PHP-7.4/ext/dom/ |
H A D | element.c | 713 snprintf((char *) prefix, sizeof(prefix), "default"); in _dom_new_reconNs() 715 snprintf((char *) prefix, sizeof(prefix), "%.20s", (char *)ns->prefix); in _dom_new_reconNs() 721 snprintf((char *) prefix, sizeof(prefix), "default%d", counter++); in _dom_new_reconNs() 723 snprintf((char *) prefix, sizeof(prefix), "%.20s%d", in _dom_new_reconNs()
|
/PHP-7.4/ext/exif/ |
H A D | exif.c | 1421 snprintf(buf, buf_size, "UndefinedTag:0x%04X", tag_num); in exif_get_tagname_key() 1621 snprintf(dump + len, 4 + 1, "0x%02X", *value_ptr); in exif_dump_data() 1628 snprintf(dump + len, 6 + 1, "0x%04X", php_ifd_get16s(value_ptr, motorola_intel)); in exif_dump_data() 1635 snprintf(dump + len, 6 + 1, "0x%04X", php_ifd_get32s(value_ptr, motorola_intel)); in exif_dump_data() 1649 snprintf(dump + len, 2 + 1, ", "); in exif_dump_data() 1657 snprintf(dump + len, 1 + 1, "}"); in exif_dump_data() 1933 snprintf(sections+len, ml-len, "%s, ", exif_get_sectionname(i)); in exif_get_sectionlist() 2459 snprintf(uname, sizeof(uname), "%d", unknown++); in add_assoc_image_info() 2533 snprintf(buffer, sizeof(buffer), "%u/%u", info_value->ur.num, info_value->ur.den); in add_assoc_image_info() 2559 snprintf(buffer, sizeof(buffer), "%i/%i", info_value->sr.num, info_value->sr.den); in add_assoc_image_info() [all …]
|
/PHP-7.4/ext/fileinfo/ |
H A D | fileinfo.c | 275 (void)snprintf(magic_ver, 4, "%d", magic_version()); in PHP_MINFO_FUNCTION()
|
H A D | libmagic.patch | 499 + if ((mflen = snprintf(mfn, sizeof(mfn), "%s/%s", fn, d.d_name)) < 0) { 1395 (void)snprintf(buf, 26, "*Bad* %#16.16" INT64_T_FORMAT "x\n", 1575 snprintf(buf + z, blen - z, "%.2x", d[i]);
|
/PHP-7.4/ext/fileinfo/libmagic/ |
H A D | apprentice.c | 1322 if ((mflen = snprintf(mfn, sizeof(mfn), "%s/%s", fn, d.d_name)) < 0) { in apprentice_load()
|
H A D | cdf.c | 1204 return snprintf(buf, buflen, "%.8x-%.4x-%.4x-%.2x%.2x-" in cdf_print_classid() 1244 return snprintf(buf, bufsiz, "%s", vn[i].n); in cdf_print_property_name() 1245 return snprintf(buf, bufsiz, "%#x", p); in cdf_print_property_name() 1264 len += snprintf(buf + len, bufsiz - len, "%dd+", days); in cdf_print_elapsed_time() 1270 len += snprintf(buf + len, bufsiz - len, "%.2d:", hours); in cdf_print_elapsed_time() 1275 len += snprintf(buf + len, bufsiz - len, "%.2d:", mins); in cdf_print_elapsed_time() 1279 len += snprintf(buf + len, bufsiz - len, "%.2d", secs); in cdf_print_elapsed_time()
|
H A D | cdf_time.c | 175 (void)snprintf(buf, 26, "*Bad* %#16.16" INT64_T_FORMAT "x\n", in cdf_ctime()
|
H A D | der.c | 215 snprintf(buf, len, "%#x", tag); in der_tag() 230 return snprintf(buf, blen, "%.*s", len, RCAST(const char *, q)); in der_data() 238 snprintf(buf + z, blen - z, "%.2x", d[i]); in der_data()
|
H A D | readcdf.c | 348 snprintf(buf, len, "%.8" PRIx64 "-%.4" PRIx64 "-%.4" PRIx64 "-%.4" in format_clsid()
|
H A D | softmagic.c | 572 (void)snprintf(buf, sizeof(buf), "%d", in mprint() 594 (void)snprintf(buf, sizeof(buf), "%u", in mprint() 617 (void)snprintf(buf, sizeof(buf), "%u", in mprint() 639 (void)snprintf(buf, sizeof(buf), "%" INT64_T_FORMAT "u", in mprint() 751 (void)snprintf(buf, sizeof(buf), "%g", vf); in mprint() 771 (void)snprintf(buf, sizeof(buf), "%g", vd); in mprint()
|
/PHP-7.4/ext/ftp/ |
H A D | ftp.c | 666 buffer_len = snprintf(buffer, sizeof(buffer) - 1, ZEND_LONG_FMT, size); in ftp_alloc() 913 int arg_len = snprintf(arg, sizeof(arg), ZEND_LONG_FMT, resumepos); in ftp_get() 1009 int arg_len = snprintf(arg, sizeof(arg), ZEND_LONG_FMT, startpos); in ftp_put() 1741 …eprtarg_len = snprintf(eprtarg, sizeof(eprtarg), "|2|%s|%hu|", out, ntohs(((struct sockaddr_in6 *)… in ftp_getdata() 1763 …arg_len = snprintf(arg, sizeof(arg), "%u,%u,%u,%u,%u,%u", ipbox.c[0], ipbox.c[1], ipbox.c[2], ipbo… in ftp_getdata() 2126 int arg_len = snprintf(arg, sizeof(arg), ZEND_LONG_FMT, resumepos); in ftp_nb_get() 2244 int arg_len = snprintf(arg, sizeof(arg), ZEND_LONG_FMT, startpos); in ftp_nb_put()
|