Home
last modified time | relevance | path

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

12345

/PHP-8.1/TSRM/
H A Dtsrm_win32.c641 snprintf(shm_segment, sizeof(shm_segment), SEGMENT_PREFIX "%d", key); in shmget()
642 snprintf(shm_info, sizeof(shm_info), DESCRIPTOR_PREFIX "%d", key); in shmget()
/PHP-8.1/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-8.1/ext/zip/
H A Dphp_zip.c641 snprintf(work_pattern, MAXPATHLEN, "%s%c%s", cwd, DEFAULT_SLASH, pattern); in php_zip_glob()
733 snprintf(work_path, MAXPATHLEN, "%s%c%s", cwd, DEFAULT_SLASH, path); in php_zip_pcre()
791 snprintf(fullpath, MAXPATHLEN, "%s%c%s", path, DEFAULT_SLASH, ZSTR_VAL(namelist[i])); in php_zip_pcre()
1770 snprintf(entry_name_buf, MAXPATHLEN, "%s%s", opts.add_path, file_stripped);
1772 snprintf(entry_name_buf, MAXPATHLEN, "%s", file_stripped);
/PHP-8.1/ext/date/lib/
H A Dparse_tz.c480 snprintf( in format_ut_time()
495 snprintf( in format_offset_type()
/PHP-8.1/ext/sockets/
H A Dconversions.c221 if ((size_t)snprintf(buf, sizeof(buf), "element #%u", i) >= sizeof(buf)) { in from_array_iterate()
952 if ((size_t)snprintf(buf, sizeof(buf), "element #%u", (unsigned)i++) >= sizeof(buf)) { in from_zval_write_control_array()
1027 if ((size_t)snprintf(buf, sizeof(buf), "element #%u", (unsigned)i++) >= sizeof(buf)) { in to_zval_read_control_array()
/PHP-8.1/sapi/litespeed/
H A Dlsapilib.c254 p += snprintf(p, 1024, "%04d-%02d-%02d %02d:%02d:%02d.%06d ", in LSAPI_Log()
260 p += snprintf(p, 1024, "%02d:%02d:%02d ", in LSAPI_Log()
268 p += snprintf(p, 100, "[%s] ", s_log_level_names[level]); in LSAPI_Log()
273 p += snprintf(p, 100, "[UID:%d][%d] ", getuid(), s_pid); in LSAPI_Log()
911 int n = snprintf(achError, sizeof(achError), "[UID:%d][%d] %s:%s: %s\n", in LSAPI_perror_r()
3050 snprintf( achCmd, 1024, "gdb --batch -ex \"attach %d\" -ex \"set height 0\" " in dump_debug_info()
H A Dlsapi_main.c487 len = snprintf( headerBuf, SAPI_LSAPI_MAX_HEADER_LENGTH - 1, in sapi_lsapi_send_headers()
509 snprintf( buf, 8191, "%s\n", message ); in sapi_lsapi_log_message()
/PHP-8.1/ext/odbc/
H A Dphp_odbc.c520 snprintf(buf, sizeof(buf), ZEND_LONG_FMT, ODBCG(num_persistent)); in PHP_MINFO_FUNCTION()
522 snprintf(buf, sizeof(buf), ZEND_LONG_FMT, ODBCG(num_links)); in PHP_MINFO_FUNCTION()
526 snprintf(buf, sizeof(buf), "0x%.4x", ODBCVER); in PHP_MINFO_FUNCTION()
565 snprintf(ODBCG(laststate), sizeof(ODBCG(laststate)), "HY000"); in odbc_sql_error()
566 snprintf(ODBCG(lasterrormsg), sizeof(ODBCG(lasterrormsg)), "Failed to fetch error message"); in odbc_sql_error()
1185 snprintf(cursorname, max_len+1, "php_curs_" ZEND_ULONG_FMT, (zend_ulong)result->stmt); in PHP_FUNCTION()
/PHP-8.1/ext/fileinfo/libmagic/
H A Dsoftmagic.c603 (void)snprintf(buf, sizeof(buf), "%" format "u", \ in mprint()
606 (void)snprintf(buf, sizeof(buf), "%" format "d", \ in mprint()
743 (void)snprintf(buf, sizeof(buf), "%g", vf); in mprint()
763 (void)snprintf(buf, sizeof(buf), "%g", vd); in mprint()
H A Dreadcdf.c348 snprintf(buf, len, "%.8" PRIx64 "-%.4" PRIx64 "-%.4" PRIx64 "-%.4" in format_clsid()
/PHP-8.1/ext/readline/
H A Dreadline_cli.c587 snprintf(tmp, len, "%s::%s", ZSTR_VAL(ce->name), retval); in cli_completion_generator()
/PHP-8.1/ext/standard/
H A Dscanf.c1038 snprintf(buf, sizeof(buf), ZEND_ULONG_FMT, value); /* INTL: ISO digit */ in php_sscanf_internal()
H A Dimage.c463 snprintf(markername, sizeof(markername), "APP%d", marker - M_APP0); in php_read_APP()
1574 snprintf(temp, sizeof(temp), "width=\"%d\" height=\"%d\"", result->width, result->height); in php_getimagesize_from_stream()
H A Dpassword.c201 …hash_format_len = snprintf(hash_format, sizeof(hash_format), "$2y$%02" ZEND_LONG_FMT_SPEC "$", cos… in php_password_bcrypt_hash()
H A Dcrypt_sha256.c513 int n = snprintf(cp, MAX(0, buflen), "%s%zu$", sha256_rounds_prefix, rounds); in php_sha256_crypt_r()
H A Dcrypt_sha512.c548 int n = snprintf(cp, MAX(0, buflen), "%s%zu$", sha512_rounds_prefix, rounds); in php_sha512_crypt_r()
/PHP-8.1/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-8.1/ext/mbstring/
H A Dphp_mbregex.c117 snprintf(version, sizeof(version), "%d.%d.%d", in PHP_MINIT_FUNCTION()
170 snprintf(buf, sizeof(buf), "%d.%d.%d", in PHP_MINFO_FUNCTION()
/PHP-8.1/ext/pdo_pgsql/
H A Dpgsql_driver.c420 snprintf(buf, len, "%d.%d", major, minor); in pdo_libpq_version()
424 snprintf(buf, len, "%d.%d.%d", major, minor, revision); in pdo_libpq_version()
H A Dpgsql_statement.c204 snprintf(buf, sizeof(buf), "DEALLOCATE %s", S->stmt_name); in pgsql_stmt_execute()
/PHP-8.1/ext/imap/
H A Dphp_imap.c1285 snprintf(tmp + 6, sizeof(tmp) - 6, "%4ld) ", cache->msgno); in PHP_FUNCTION()
1300 snprintf(t += strlen(t), sizeof(tmp) - strlen(tmp), " (%ld chars)", cache->rfc822_size); in PHP_FUNCTION()
1707 snprintf(dummy, sizeof(dummy), "%4ld", cache->msgno); in PHP_FUNCTION()
1713 snprintf(dummy, sizeof(dummy), "%ld", cache->rfc822_size); in PHP_FUNCTION()
4282 snprintf(buf, 25, "%ld.num", thisNode); in build_thread_tree_helper()
4286 snprintf(buf, 25, "%ld.next", thisNode); in build_thread_tree_helper()
4295 snprintf(buf, 25, "%ld.branch", thisNode); in build_thread_tree_helper()
/PHP-8.1/ext/pspell/
H A Dpspell.c690 snprintf(ignore_str, sizeof(ignore_str), ZEND_LONG_FMT, ignore); in PHP_FUNCTION()
/PHP-8.1/main/
H A Dfopen_wrappers.c687 if (snprintf(trypath, MAXPATHLEN, "%s/%s", ptr, filename) >= MAXPATHLEN) {
/PHP-8.1/main/streams/
H A Dplain_wrapper.c1642 if (snprintf(trypath, MAXPATHLEN, "%s%s", cwd, filename) >= MAXPATHLEN) { in _php_stream_fopen_with_path()
1697 if (snprintf(trypath, MAXPATHLEN, "%s/%s", ptr, filename) >= MAXPATHLEN) { in _php_stream_fopen_with_path()
/PHP-8.1/Zend/
H A Dzend_language_scanner.l1237 used = snprintf(buf, sizeof(buf), "Unclosed '%c'", opening); in report_bad_nesting()
1240 used += snprintf(buf + used, sizeof(buf) - used, " on line %d", opening_lineno); in report_bad_nesting()
1244 used += snprintf(buf + used, sizeof(buf) - used, " does not match '%c'", closing); in report_bad_nesting()

Completed in 147 milliseconds

12345