Home
last modified time | relevance | path

Searched refs:snprintf (Results 51 – 75 of 108) sorted by relevance

12345

/PHP-7.4/ext/xsl/
H A Dxsltprocessor.c121 snprintf((char*)value, str_len, "'%s'", string); in php_xsl_xslt_string_to_xpathexpr()
124 snprintf((char *)value, str_len, "\"%s\"", string); in php_xsl_xslt_string_to_xpathexpr()
/PHP-7.4/ext/gd/libgd/
H A Dgdft.c406 snprintf(fullname, sizeof(fullname) - 1, "%s", name);
426 snprintf(fullname, sizeof(fullname) - 1, "%s/%s%s", dir, name, ext); \
/PHP-7.4/ext/posix/
H A Dposix.c1336 snprintf(hard, 80, "hard %s", name); in posix_addlimit()
1337 snprintf(soft, 80, "soft %s", name); in posix_addlimit()
/PHP-7.4/ext/zip/
H A Dphp_zip.c547 snprintf(work_pattern, MAXPATHLEN, "%s%c%s", cwd, DEFAULT_SLASH, pattern); in php_zip_glob()
639 snprintf(work_path, MAXPATHLEN, "%s%c%s", cwd, DEFAULT_SLASH, path); in php_zip_pcre()
697 snprintf(fullpath, MAXPATHLEN, "%s%c%s", path, DEFAULT_SLASH, ZSTR_VAL(namelist[i])); in php_zip_pcre()
1743 snprintf(entry_name_buf, MAXPATHLEN, "%s%s", add_path, file_stripped);
1745 snprintf(entry_name_buf, MAXPATHLEN, "%s", file_stripped);
/PHP-7.4/ext/fileinfo/
H A Dfileinfo.c275 (void)snprintf(magic_ver, 4, "%d", magic_version()); in PHP_MINFO_FUNCTION()
/PHP-7.4/ext/sockets/
H A Dconversions.c228 if ((size_t)snprintf(buf, sizeof(buf), "element #%u", i) >= sizeof(buf)) { in from_array_iterate()
955 if ((size_t)snprintf(buf, sizeof(buf), "element #%u", (unsigned)i++) >= sizeof(buf)) { in from_zval_write_control_array()
1030 if ((size_t)snprintf(buf, sizeof(buf), "element #%u", (unsigned)i++) >= sizeof(buf)) { in to_zval_read_control_array()
/PHP-7.4/ext/xmlrpc/libxmlrpc/
H A Dxml_element.c723 snprintf(buf, in xml_elem_parse_buf()
/PHP-7.4/ext/opcache/
H A Dzend_shared_alloc.c84 snprintf(lockfile_name, sizeof(lockfile_name), "%s/%sXXXXXX", lockfile_path, SEM_FILENAME_PREFIX); in zend_shared_alloc_create_lock()
/PHP-7.4/ext/standard/
H A Dimage.c459 snprintf(markername, sizeof(markername), "APP%d", marker - M_APP0); in php_read_APP()
1472 snprintf(temp, sizeof(temp), "width=\"%d\" height=\"%d\"", result->width, result->height); in php_getimagesize_from_stream()
H A Dscanf.c1046 snprintf(buf, sizeof(buf), ZEND_ULONG_FMT, value); /* INTL: ISO digit */ in php_sscanf_internal()
H A Dcrypt_sha256.c509 int n = snprintf(cp, MAX(0, buflen), "%s%zu$", sha256_rounds_prefix, rounds); in php_sha256_crypt_r()
H A Dpassword.c272 …hash_format_len = snprintf(hash_format, sizeof(hash_format), "$2y$%02" ZEND_LONG_FMT_SPEC "$", cos… in php_password_bcrypt_hash()
H A Dcrypt_sha512.c544 int n = snprintf(cp, MAX(0, buflen), "%s%zu$", sha512_rounds_prefix, rounds); in php_sha512_crypt_r()
/PHP-7.4/ext/oci8/
H A Doci8.c1219 snprintf(buf, sizeof(buf), "%d.%d", OCI_MAJOR_VERSION, OCI_MINOR_VERSION); in PHP_MINFO_FUNCTION()
1221 snprintf(buf, sizeof(buf), "%s", PHP_OCI8_ORACLE_VERSION); in PHP_MINFO_FUNCTION()
1223 snprintf(buf, sizeof(buf), "Unknown"); in PHP_MINFO_FUNCTION()
1247 snprintf(buf, sizeof(buf), ZEND_LONG_FMT, OCI_G(num_persistent)); in PHP_MINFO_FUNCTION()
1249 snprintf(buf, sizeof(buf), ZEND_LONG_FMT, OCI_G(num_links)); in PHP_MINFO_FUNCTION()
2419snprintf(version, version_size, "%d.%d.%d.%d.%d", major_version, minor_version, update_num, patch_… in php_oci_client_get_version()
/PHP-7.4/sapi/litespeed/
H A Dlsapilib.c256 p += snprintf(p, 1024, "%04d-%02d-%02d %02d:%02d:%02d.%06d ", in LSAPI_Log()
262 p += snprintf(p, 1024, "%02d:%02d:%02d ", in LSAPI_Log()
270 p += snprintf(p, 100, "[%s] ", s_log_level_names[level]); in LSAPI_Log()
275 p += snprintf(p, 100, "[UID:%d][%d] ", getuid(), s_pid); in LSAPI_Log()
902 int n = snprintf(achError, sizeof(achError), "[UID:%d][%d] %s:%s: %s\n", in LSAPI_perror_r()
2997 snprintf( achCmd, 1024, "gdb --batch -ex \"attach %d\" -ex \"set height 0\" " in dump_debug_info()
H A Dlsapi_main.c496 len = snprintf( headerBuf, SAPI_LSAPI_MAX_HEADER_LENGTH - 1, in sapi_lsapi_send_headers()
519 snprintf( buf, 8191, "%s\n", message ); in sapi_lsapi_log_message()
/PHP-7.4/ext/readline/
H A Dreadline_cli.c573 snprintf(tmp, len, "%s::%s", ZSTR_VAL(ce->name), retval); in cli_completion_generator()
/PHP-7.4/ext/fileinfo/libmagic/
H A Dreadcdf.c348 snprintf(buf, len, "%.8" PRIx64 "-%.4" PRIx64 "-%.4" PRIx64 "-%.4" in format_clsid()
/PHP-7.4/ext/odbc/
H A Dphp_odbc.c848 snprintf(buf, sizeof(buf), ZEND_LONG_FMT, ODBCG(num_persistent)); in PHP_MINFO_FUNCTION()
850 snprintf(buf, sizeof(buf), ZEND_LONG_FMT, ODBCG(num_links)); in PHP_MINFO_FUNCTION()
854 snprintf(buf, sizeof(buf), "0x%0.4x", ODBCVER); in PHP_MINFO_FUNCTION()
893 snprintf(ODBCG(laststate), sizeof(ODBCG(laststate)), "HY000"); in odbc_sql_error()
894 snprintf(ODBCG(lasterrormsg), sizeof(ODBCG(lasterrormsg)), "Failed to fetch error message"); in odbc_sql_error()
1544 snprintf(cursorname, max_len+1, "php_curs_" ZEND_ULONG_FMT, (zend_ulong)result->stmt); in PHP_FUNCTION()
/PHP-7.4/ext/mbstring/
H A Dphp_mbregex.c125 snprintf(version, sizeof(version), "%d.%d.%d", in PHP_MINIT_FUNCTION()
177 snprintf(buf, sizeof(buf), "%d.%d.%d", in PHP_MINFO_FUNCTION()
/PHP-7.4/main/
H A Dfopen_wrappers.c699 if (snprintf(trypath, MAXPATHLEN, "%s/%s", ptr, filename) >= MAXPATHLEN) {
/PHP-7.4/ext/imap/
H A Dphp_imap.c1703 snprintf(tmp + 6, sizeof(tmp) - 6, "%4ld) ", cache->msgno); in PHP_FUNCTION()
1718 snprintf(t += strlen(t), sizeof(tmp) - strlen(tmp), " (%ld chars)", cache->rfc822_size); in PHP_FUNCTION()
2165 snprintf(dummy, sizeof(dummy), "%4ld", cache->msgno); in PHP_FUNCTION()
2171 snprintf(dummy, sizeof(dummy), "%ld", cache->rfc822_size); in PHP_FUNCTION()
4806 snprintf(buf, 25, "%ld.num", thisNode); in build_thread_tree_helper()
4810 snprintf(buf, 25, "%ld.next", thisNode); in build_thread_tree_helper()
4819 snprintf(buf, 25, "%ld.branch", thisNode); in build_thread_tree_helper()
/PHP-7.4/Zend/
H A Dzend_language_parser.y1370 snprintf(buffer, sizeof(buffer), "'%.*s' %.*s", len, str, toklen, tok1);
1372 snprintf(buffer, sizeof(buffer), "'%.*s'", len, str);
/PHP-7.4/main/streams/
H A Dplain_wrapper.c1583 if (snprintf(trypath, MAXPATHLEN, "%s%s", cwd, filename) >= MAXPATHLEN) { in _php_stream_fopen_with_path()
1638 if (snprintf(trypath, MAXPATHLEN, "%s/%s", ptr, filename) >= MAXPATHLEN) { in _php_stream_fopen_with_path()
/PHP-7.4/ext/pspell/
H A Dpspell.c807 snprintf(ignore_str, sizeof(ignore_str), ZEND_LONG_FMT, ignore); in PHP_FUNCTION()

Completed in 150 milliseconds

12345