Home
last modified time | relevance | path

Searched refs:snprintf (Results 26 – 50 of 108) sorted by relevance

12345

/PHP-7.4/ext/standard/
H A Dhttp_fopen_wrapper.c867 snprintf(loc_path, sizeof(loc_path) - 1, "%s%s", ZSTR_VAL(resource->path), location); in php_stream_url_wrap_http_ex()
869 snprintf(loc_path, sizeof(loc_path) - 1, "%s/%s", ZSTR_VAL(resource->path), location); in php_stream_url_wrap_http_ex()
872 snprintf(loc_path, sizeof(loc_path) - 1, "/%s", location); in php_stream_url_wrap_http_ex()
878snprintf(new_path, sizeof(new_path) - 1, "%s://%s:%d%s", ZSTR_VAL(resource->scheme), ZSTR_VAL(reso… in php_stream_url_wrap_http_ex()
880snprintf(new_path, sizeof(new_path) - 1, "%s://%s%s", ZSTR_VAL(resource->scheme), ZSTR_VAL(resourc… in php_stream_url_wrap_http_ex()
H A Diptc.c368 snprintf(key, sizeof(key), "%d#%03d", (unsigned int) dataset, (unsigned int) recnum); in PHP_FUNCTION()
H A Dnet.c209 s += snprintf(s, 4, "%02X:", p->PhysicalAddress[i]); in PHP_FUNCTION()
H A Dpack.c898 snprintf(n, sizeof(n), "%.*s%d", namelen, name, i + 1); in PHP_FUNCTION()
901 snprintf(n, sizeof(n), "%.*s", namelen, name); in PHP_FUNCTION()
H A Ddir.c463 snprintf(work_pattern, MAXPATHLEN, "%s%c%s", cwd, DEFAULT_SLASH, pattern); in PHP_FUNCTION()
/PHP-7.4/ext/dba/
H A Ddba_dbm.c44 snprintf(buf, MAXPATHLEN, "%s" extension, info->path); \
/PHP-7.4/ext/bcmath/libbcmath/src/
H A Doutput.c73 snprintf(digits, sizeof(digits), "%ld", val);
/PHP-7.4/ext/gd/libgd/
H A Dwebpng.c255 snprintf (outFn, sizeof(outFn), "webpng.tmp%d", getpid ()); in main()
H A Dgd_jpeg.c232snprintf(comment, sizeof(comment)-1, "CREATOR: gd-jpeg v%s (using IJG JPEG v%d), quality = %d\n", … in _gdImageJpegCtx()
234snprintf(comment, sizeof(comment)-1, "CREATOR: gd-jpeg v%s (using IJG JPEG v%d), default quality\n… in _gdImageJpegCtx()
/PHP-7.4/sapi/fpm/fpm/
H A Dfpm_children.c195 snprintf(buf, sizeof(buf), "with code %d", WEXITSTATUS(status)); in fpm_children_bury()
220 snprintf(buf, sizeof(buf), "on signal %d (%s%s)", WTERMSIG(status), signame, have_core); in fpm_children_bury()
/PHP-7.4/ext/com_dotnet/
H A Dcom_wrapper.c75 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/xmlrpc/libxmlrpc/
H A Dxml_to_xmlrpc.c216 snprintf(buf, BUF_SIZE, "%i", XMLRPC_GetValueInt(node)); in XMLRPC_to_xml_element_worker()
221 snprintf(buf, BUF_SIZE, "%i", XMLRPC_GetValueBoolean(node)); in XMLRPC_to_xml_element_worker()
/PHP-7.4/main/
H A Dphp_ini.c695 snprintf(ini_file, MAXPATHLEN, "%s%s", debpath, namelist[i]->d_name); in php_init_config()
697 snprintf(ini_file, MAXPATHLEN, "%s%c%s", debpath, DEFAULT_SLASH, namelist[i]->d_name); in php_init_config()
788 snprintf(ini_file, MAXPATHLEN, "%s%c%s", dirname, DEFAULT_SLASH, ini_filename); in php_parse_user_ini_file()
H A Dphp_open_temporary_file.c140 …if (snprintf(opened_path, MAXPATHLEN, "%s%s%sXXXXXX", new_state.cwd, trailing_slash, pfx) >= MAXPA… in php_do_open_temporary_file()
H A Dmain.c448 snprintf(search_path, MAXPATHLEN, "%s/%s", search_dir, sapi_module.executable_location); in php_binary_init()
1715snprintf(memory_leak_buf, 512, "%s(%" PRIu32 ") : Freeing " ZEND_ADDR_FMT " (%zu bytes), script=%… in php_message_handler_for_zend()
1719snprintf(relay_buf, 512, "%s(%" PRIu32 ") : Actual location (location was relayed)\n", t->orig_fil… in php_message_handler_for_zend()
1725snprintf(memory_leak_buf, 512, "Last leak repeated %lu time%s\n", leak_count, (leak_count>1?"s":""… in php_message_handler_for_zend()
1744snprintf(memory_leak_buf, 512, "=== Total %d memory leaks detected ===\n", *((uint32_t *) data)); in php_message_handler_for_zend()
1768snprintf(memory_leak_buf, sizeof(memory_leak_buf), "[%s] Script: '%s'\n", datetime_str, SAFE_FIL… in php_message_handler_for_zend()
1770snprintf(memory_leak_buf, sizeof(memory_leak_buf), "[null] Script: '%s'\n", SAFE_FILENAME(SG(req… in php_message_handler_for_zend()
/PHP-7.4/ext/mysqlnd/
H A Dmysqlnd_loaddata.c55 snprintf((char *)info->error_msg, sizeof(info->error_msg), "Can't find file '%-.64s'.", filename); in mysqlnd_local_infile_init()
/PHP-7.4/ext/fileinfo/libmagic/
H A Dcdf.c1204 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 Dsoftmagic.c572 (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 Dftp.c666 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()
/PHP-7.4/ext/dom/
H A Delement.c713 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 Dexif.c1421 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/mysqli/
H A Dmysqli.c977 snprintf(buf, sizeof(buf), ZEND_LONG_FMT, MyG(num_active_persistent)); in PHP_MINFO_FUNCTION()
979 snprintf(buf, sizeof(buf), ZEND_LONG_FMT, MyG(num_inactive_persistent)); in PHP_MINFO_FUNCTION()
981 snprintf(buf, sizeof(buf), ZEND_LONG_FMT, MyG(num_links)); in PHP_MINFO_FUNCTION()
1176snprintf(tmp, sizeof(tmp), (mysql_fetch_field_direct(result, i)->flags & UNSIGNED_FLAG)? MYSQLI_LL… in php_mysqli_fetch_into_hash_aux()
/PHP-7.4/TSRM/
H A Dtsrm_win32.c626 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/ext/snmp/
H A Dsnmp.c591 snprintf(buf, buflen, "%d.%d.%d.%d", in php_snmp_getvalue()
603 snprintf(buf, buflen, "%lu", *vars->val.integer); in php_snmp_getvalue()
609 snprintf(buf, buflen, "%ld", *vars->val.integer); in php_snmp_getvalue()
616 snprintf(buf, buflen, "%f", *vars->val.floatVal); in php_snmp_getvalue()
621 snprintf(buf, buflen, "%f", *vars->val.doubleVal); in php_snmp_getvalue()
/PHP-7.4/ext/pdo_dblib/
H A Ddblib_stmt.c246 len = snprintf(buf, sizeof(buf), "computed%d", S->computed_column_name_count); in pdo_dblib_stmt_describe()

Completed in 123 milliseconds

12345