Home
last modified time | relevance | path

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

12345

/PHP-8.1/ext/standard/
H A Dhttp_fopen_wrapper.c872 snprintf(loc_path, sizeof(loc_path) - 1, "%s%s", ZSTR_VAL(resource->path), location); in php_stream_url_wrap_http_ex()
874 snprintf(loc_path, sizeof(loc_path) - 1, "%s/%s", ZSTR_VAL(resource->path), location); in php_stream_url_wrap_http_ex()
877 snprintf(loc_path, sizeof(loc_path) - 1, "/%s", location); in php_stream_url_wrap_http_ex()
883snprintf(new_path, sizeof(new_path) - 1, "%s://%s:%d%s", ZSTR_VAL(resource->scheme), ZSTR_VAL(reso… in php_stream_url_wrap_http_ex()
885snprintf(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.c353 snprintf(key, sizeof(key), "%d#%03d", (unsigned int) dataset, (unsigned int) recnum); in PHP_FUNCTION()
H A Dnet.c211 s += snprintf(s, 4, "%02X:", p->PhysicalAddress[i]); in PHP_FUNCTION()
H A Ddir.c445 snprintf(work_pattern, MAXPATHLEN, "%s%c%s", cwd, DEFAULT_SLASH, pattern); in PHP_FUNCTION()
/PHP-8.1/ext/gd/libgd/
H A Dwebpng.c255 snprintf (outFn, sizeof(outFn), "webpng.tmp%d", getpid ()); in main()
H A Dgd_jpeg.c230snprintf(comment, sizeof(comment)-1, "CREATOR: gd-jpeg v%s (using IJG JPEG v%d), quality = %d\n", … in _gdImageJpegCtx()
232snprintf(comment, sizeof(comment)-1, "CREATOR: gd-jpeg v%s (using IJG JPEG v%d), default quality\n… in _gdImageJpegCtx()
/PHP-8.1/sapi/fpm/fpm/
H A Dfpm_children.c217 snprintf(buf, sizeof(buf), "with code %d", WEXITSTATUS(status)); in fpm_children_bury()
242 snprintf(buf, sizeof(buf), "on signal %d (%s%s)", WTERMSIG(status), signame, have_core); in fpm_children_bury()
/PHP-8.1/ext/com_dotnet/
H A Dcom_wrapper.c73 snprintf(buf, sizeof(buf), "T=%08x ", GetCurrentThreadId()); in trace()
465 snprintf(namebuf, sizeof(namebuf), ZEND_ULONG_FMT, pid); in generate_dispids()
500 snprintf(namebuf, sizeof(namebuf), ZEND_ULONG_FMT, pid); in generate_dispids()
/PHP-8.1/main/
H A Dphp_ini.c682 snprintf(ini_file, MAXPATHLEN, "%s%s", debpath, namelist[i]->d_name); in php_init_config()
684 snprintf(ini_file, MAXPATHLEN, "%s%c%s", debpath, DEFAULT_SLASH, namelist[i]->d_name); in php_init_config()
774 snprintf(ini_file, MAXPATHLEN, "%s%c%s", dirname, DEFAULT_SLASH, ini_filename); in php_parse_user_ini_file()
H A Dphp_open_temporary_file.c138 …if (snprintf(opened_path, MAXPATHLEN, "%s%s%sXXXXXX", new_state.cwd, trailing_slash, pfx) >= MAXPA… in php_do_open_temporary_file()
H A Dmain.c372 snprintf(search_path, MAXPATHLEN, "%s/%s", search_dir, sapi_module.executable_location); in php_binary_init()
1615snprintf(memory_leak_buf, 512, "%s(%" PRIu32 ") : Freeing " ZEND_ADDR_FMT " (%zu bytes), script=%… in php_message_handler_for_zend()
1619snprintf(relay_buf, 512, "%s(%" PRIu32 ") : Actual location (location was relayed)\n", t->orig_fil… in php_message_handler_for_zend()
1625snprintf(memory_leak_buf, 512, "Last leak repeated %lu time%s\n", leak_count, (leak_count>1?"s":""… in php_message_handler_for_zend()
1644snprintf(memory_leak_buf, 512, "=== Total %d memory leaks detected ===\n", *((uint32_t *) data)); in php_message_handler_for_zend()
1668snprintf(memory_leak_buf, sizeof(memory_leak_buf), "[%s] Script: '%s'\n", datetime_str, SAFE_FIL… in php_message_handler_for_zend()
1670snprintf(memory_leak_buf, sizeof(memory_leak_buf), "[null] Script: '%s'\n", SAFE_FILENAME(SG(req… in php_message_handler_for_zend()
/PHP-8.1/ext/fileinfo/libmagic/
H A Dcdf.c1220 return snprintf(buf, buflen, "%.8x-%.4x-%.4x-%.2x%.2x-" in cdf_print_classid()
1260 return snprintf(buf, bufsiz, "%s", vn[i].n); in cdf_print_property_name()
1261 return snprintf(buf, bufsiz, "%#x", p); in cdf_print_property_name()
1280 len += snprintf(buf + len, bufsiz - len, "%dd+", days); in cdf_print_elapsed_time()
1286 len += snprintf(buf + len, bufsiz - len, "%.2d:", hours); in cdf_print_elapsed_time()
1291 len += snprintf(buf + len, bufsiz - len, "%.2d:", mins); in cdf_print_elapsed_time()
1295 len += snprintf(buf + len, bufsiz - len, "%.2d", secs); in cdf_print_elapsed_time()
H A Dcompress.c640 snprintf(RCAST(char *, *newch), bytes_max, "bunzip error %d", rc); in uncompressbzlib()
680 snprintf(RCAST(char *, *newch), bytes_max, "unxz error %d", rc); in uncompressxzlib()
/PHP-8.1/ext/ftp/
H A Dftp.c646 buffer_len = snprintf(buffer, sizeof(buffer) - 1, ZEND_LONG_FMT, size); in ftp_alloc()
886 int arg_len = snprintf(arg, sizeof(arg), ZEND_LONG_FMT, resumepos); in ftp_get()
981 int arg_len = snprintf(arg, sizeof(arg), ZEND_LONG_FMT, startpos); in ftp_put()
1695 …eprtarg_len = snprintf(eprtarg, sizeof(eprtarg), "|2|%s|%hu|", out, ntohs(((struct sockaddr_in6 *)… in ftp_getdata()
1717 …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()
2084 int arg_len = snprintf(arg, sizeof(arg), ZEND_LONG_FMT, resumepos); in ftp_nb_get()
2200 int arg_len = snprintf(arg, sizeof(arg), ZEND_LONG_FMT, startpos); in ftp_nb_put()
/PHP-8.1/ext/mysqlnd/
H A Dmysqlnd_loaddata.c53 snprintf((char *)info->error_msg, sizeof(info->error_msg), "Can't find file '%-.64s'.", filename); in mysqlnd_local_infile_init()
/PHP-8.1/ext/mysqli/
H A Dmysqli.c882 snprintf(buf, sizeof(buf), ZEND_LONG_FMT, MyG(num_active_persistent)); in PHP_MINFO_FUNCTION()
884 snprintf(buf, sizeof(buf), ZEND_LONG_FMT, MyG(num_inactive_persistent)); in PHP_MINFO_FUNCTION()
886 snprintf(buf, sizeof(buf), ZEND_LONG_FMT, MyG(num_links)); in PHP_MINFO_FUNCTION()
1066snprintf(tmp, sizeof(tmp), (mysql_fetch_field_direct(result, i)->flags & UNSIGNED_FLAG)? MYSQLI_LL… in php_mysqli_fetch_into_hash_aux()
/PHP-8.1/ext/dom/
H A Delement.c576 snprintf((char *) prefix, sizeof(prefix), "default"); in _dom_new_reconNs()
578 snprintf((char *) prefix, sizeof(prefix), "%.20s", (char *)ns->prefix); in _dom_new_reconNs()
584 snprintf((char *) prefix, sizeof(prefix), "default%d", counter++); in _dom_new_reconNs()
586 snprintf((char *) prefix, sizeof(prefix), "%.20s%d", in _dom_new_reconNs()
/PHP-8.1/ext/exif/
H A Dexif.c1392 snprintf(buf, buf_size, "UndefinedTag:0x%04X", tag_num); in exif_get_tagname_key()
1592 snprintf(dump + len, 4 + 1, "0x%02X", *value_ptr); in exif_dump_data()
1599 snprintf(dump + len, 6 + 1, "0x%04X", php_ifd_get16s(value_ptr, motorola_intel)); in exif_dump_data()
1606 snprintf(dump + len, 6 + 1, "0x%04X", php_ifd_get32s(value_ptr, motorola_intel)); in exif_dump_data()
1620 snprintf(dump + len, 2 + 1, ", "); in exif_dump_data()
1628 snprintf(dump + len, 1 + 1, "}"); in exif_dump_data()
1906 snprintf(sections+len, ml-len, "%s, ", exif_get_sectionname(i)); in exif_get_sectionlist()
2488 snprintf(uname, sizeof(uname), "%d", unknown++); in add_assoc_image_info()
2560 snprintf(buffer, sizeof(buffer), "%u/%u", info_value->ur.num, info_value->ur.den); in add_assoc_image_info()
2587 snprintf(buffer, sizeof(buffer), "%i/%i", info_value->sr.num, info_value->sr.den); in add_assoc_image_info()
[all …]
/PHP-8.1/ext/snmp/
H A Dsnmp.c322 snprintf(buf, buflen, "%d.%d.%d.%d", in php_snmp_getvalue()
334 snprintf(buf, buflen, "%lu", *vars->val.integer); in php_snmp_getvalue()
340 snprintf(buf, buflen, "%ld", *vars->val.integer); in php_snmp_getvalue()
347 snprintf(buf, buflen, "%f", *vars->val.floatVal); in php_snmp_getvalue()
352 snprintf(buf, buflen, "%f", *vars->val.doubleVal); in php_snmp_getvalue()
/PHP-8.1/ext/pdo_dblib/
H A Ddblib_stmt.c244 len = snprintf(buf, sizeof(buf), "computed%d", S->computed_column_name_count); in pdo_dblib_stmt_describe()
/PHP-8.1/ext/fileinfo/
H A Dfileinfo.c166 (void)snprintf(magic_ver, 4, "%d", magic_version()); in PHP_MINFO_FUNCTION()
/PHP-8.1/ext/posix/
H A Dposix.c1037 snprintf(hard, 80, "hard %s", name); in posix_addlimit()
1038 snprintf(soft, 80, "soft %s", name); in posix_addlimit()
/PHP-8.1/ext/xsl/
H A Dxsltprocessor.c43 snprintf((char*)value, str_len, "'%s'", string); in php_xsl_xslt_string_to_xpathexpr()
46 snprintf((char *)value, str_len, "\"%s\"", string); in php_xsl_xslt_string_to_xpathexpr()
/PHP-8.1/ext/oci8/
H A Doci8.c462 snprintf(buf, sizeof(buf), "%d.%d", OCI_MAJOR_VERSION, OCI_MINOR_VERSION); in PHP_MINFO_FUNCTION()
464 snprintf(buf, sizeof(buf), "%s", PHP_OCI8_ORACLE_VERSION); in PHP_MINFO_FUNCTION()
466 snprintf(buf, sizeof(buf), "Unknown"); in PHP_MINFO_FUNCTION()
490 snprintf(buf, sizeof(buf), ZEND_LONG_FMT, OCI_G(num_persistent)); in PHP_MINFO_FUNCTION()
492 snprintf(buf, sizeof(buf), ZEND_LONG_FMT, OCI_G(num_links)); in PHP_MINFO_FUNCTION()
1654snprintf(version, version_size, "%d.%d.%d.%d.%d", major_version, minor_version, update_num, patch_… in php_oci_client_get_version()
/PHP-8.1/Zend/
H A Dzend_language_parser.y1610 snprintf(buffer, sizeof(buffer), "token \"%.*s\"", (int)toktype_len-2, toktype+1);
1624 snprintf(buffer, sizeof(buffer), "character 0x%02hhX", *tokcontent);
1660 snprintf(buffer, sizeof(buffer), "%.*s \"%.*s...\"", (int)toktype_len, toktype, 30, tokcontent);
1667snprintf(buffer, sizeof(buffer), "%.*s \"%.*s\"", (int)toktype_len, toktype, (int)tokcontent_len, …

Completed in 94 milliseconds

12345