Home
last modified time | relevance | path

Searched refs:filename (Results 1 – 25 of 913) sorted by last modified time

12345678910>>...37

/php-src/ext/standard/
H A Dmail.c363 static void php_mail_log_to_file(char *filename, char *message, size_t message_size) { in php_mail_log_to_file() argument
366 php_stream *stream = php_stream_open_wrapper(filename, "a", flags, NULL); in php_mail_log_to_file()
H A Dbasic_functions.stub.php2261 * @param string $filename
2921 function filesize(string $filename): int|false {}
2926 function file_exists(string $filename): bool {}
2928 function is_writable(string $filename): bool {}
2931 function is_writeable(string $filename): bool {}
2933 function is_readable(string $filename): bool {}
2937 function is_file(string $filename): bool {}
2939 function is_dir(string $filename): bool {}
2941 function is_link(string $filename): bool {}
2947 function stat(string $filename): array|false {}
[all …]
H A Dbasic_functions_arginfo.h468 ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
475 ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
562 ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
571 ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
670 ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
685 ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
1178 ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
1192 ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
1229 ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
1302 ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
[all …]
/php-src/main/
H A Dmain.c1534 *opened_path = filename; in php_fopen_wrapper_for_zend()
1572 zend_string *filename; in php_stream_open_for_zend_ex() local
1576 opened_path = filename = handle->filename; in php_stream_open_for_zend_ex()
1581 handle->filename = filename; in php_stream_open_for_zend_ex()
1601 return php_resolve_path(ZSTR_VAL(filename), ZSTR_LEN(filename), PG(include_path)); in php_resolve_path_for_zend()
2461 if(primary_file->filename) { in php_execute_script_ex()
2462 UpdateIniFromRegistry(ZSTR_VAL(primary_file->filename)); in php_execute_script_ex()
2475 VCWD_CHDIR_FILE(ZSTR_VAL(primary_file->filename)); in php_execute_script_ex()
2481 if (primary_file->filename && in php_execute_script_ex()
2569 if(primary_file->filename) { in php_execute_simple_script()
[all …]
/php-src/ext/mbstring/
H A Dmbstring.c652 static char *php_mb_rfc1867_basename(const zend_encoding *encoding, char *filename) /* {{{ */ in php_mb_rfc1867_basename() argument
655 const size_t filename_len = strlen(filename); in php_mb_rfc1867_basename()
662 s = php_mb_safe_strrchr(filename, '\\', filename_len, (const mbfl_encoding *)encoding); in php_mb_rfc1867_basename()
663 s2 = php_mb_safe_strrchr(filename, '/', filename_len, (const mbfl_encoding *)encoding); in php_mb_rfc1867_basename()
676 return filename; in php_mb_rfc1867_basename()
/php-src/ext/zend_test/
H A Dtest.c239 zend_string *filename = NULL; in ZEND_FUNCTION() local
244 Z_PARAM_STR(filename) in ZEND_FUNCTION()
250 op_array = compile_string(source_string, ZSTR_VAL(filename), position); in ZEND_FUNCTION()
/php-src/ext/fileinfo/
H A Dlibmagic.patch1810 - * original filename instead.
/php-src/ext/pgsql/
H A Dpgsql.stub.php687 …function pg_trace(string $filename, string $mode = "w", ?PgSql\Connection $connection = null, int … argument
770 * @param string|int $filename
774 function pg_lo_import($connection, $filename = UNKNOWN, $oid = UNKNOWN): string|int|false {} argument
778 * @param string|int $filename
783 function pg_loimport($connection, $filename = UNKNOWN, $oid = UNKNOWN): string|int|false {} argument
788 * @param string|int $filename
790 function pg_lo_export($connection, $oid = UNKNOWN, $filename = UNKNOWN): bool {} argument
795 * @param string|int $filename
799 function pg_loexport($connection, $oid = UNKNOWN, $filename = UNKNOWN): bool {} argument
H A Dpgsql_arginfo.h200 ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
259 ZEND_ARG_INFO(0, filename)
268 ZEND_ARG_INFO(0, filename)
/php-src/build/
H A Dgen_stub.php6133 if (file_put_contents($filename, $content)) {
6134 echo "Saved $filename\n";
6151 echo "Saved $filename\n";
6162 if (file_put_contents($filename, $content)) {
6163 echo "Saved $filename\n";
6175 foreach ($methodSynopses as $filename => $content) {
6176 if (!file_exists("$manualTarget/$filename")) {
6178 echo "Saved $filename\n";
6190 echo "Saved $filename\n";
6200 if (file_put_contents($filename, $optimizerInfo)) {
[all …]
H A Dphp.m41983 dnl PHP_CONFIG_NICE(filename)
1985 dnl This macro creates script file with given filename which includes the last
/php-src/ext/opcache/jit/
H A Dzend_jit_ir.c823 op_array->filename ? ir_CONST_ADDR(op_array->filename->val) : IR_NULL, in jit_EMALLOC()
843 op_array && op_array->filename ? ir_CONST_ADDR(op_array->filename->val) : IR_NULL, in jit_EFREE()
13686 …op_info = zend_get_known_property_info(op_array, ce, Z_STR_P(member), on_this, op_array->filename);
13759 …o = zend_get_known_property_info(op_array, trace_ce, Z_STR_P(member), on_this, op_array->filename);
13797 …nd_may_be_dynamic_property(ce, Z_STR_P(member), opline->op1_type == IS_UNUSED, op_array->filename);
14193 prop_info = zend_get_known_property_info(op_array, ce, name, on_this, op_array->filename);
14239 prop_info = zend_get_known_property_info(op_array, trace_ce, name, on_this, op_array->filename);
14537 prop_info = zend_get_known_property_info(op_array, ce, name, on_this, op_array->filename);
14583 prop_info = zend_get_known_property_info(op_array, trace_ce, name, on_this, op_array->filename);
14965 prop_info = zend_get_known_property_info(op_array, ce, name, on_this, op_array->filename);
[all …]
H A Dzend_jit_trace.c252 } else if (op_array->filename) { in zend_jit_trace_name()
253 smart_str_appendl(&buf, ZSTR_VAL(op_array->filename), ZSTR_LEN(op_array->filename)); in zend_jit_trace_name()
2696 ZSTR_VAL(trace_buffer->op_array->filename), in zend_jit_trace_build_tssa()
2706 ZSTR_VAL(trace_buffer->op_array->filename), in zend_jit_trace_build_tssa()
7773 ZSTR_VAL(op_array->filename)); in zend_jit_dump_trace()
7796 ZSTR_VAL(op_array->filename)); in zend_jit_dump_trace()
7980 ZSTR_VAL(EX(func)->op_array.filename), in zend_jit_trace_hot_root()
8019 ZSTR_VAL(op_array->filename), in zend_jit_trace_hot_root()
8331 ZSTR_VAL(EX(func)->op_array.filename), in zend_jit_trace_hot_side()
8384 ZSTR_VAL(op_array->filename), in zend_jit_trace_hot_side()
[all …]
H A Dzend_jit.c559 …op_array *op_array, zend_class_entry *ce, zend_string *member, bool on_this, zend_string *filename) in zend_get_known_property_info() argument
572 if (ce->info.user.filename != filename) { in zend_get_known_property_info()
583 } else if (parent->info.user.filename != filename) { in zend_get_known_property_info()
622 …be_dynamic_property(zend_class_entry *ce, zend_string *member, bool on_this, zend_string *filename) in zend_may_be_dynamic_property() argument
631 if (ce->info.user.filename != filename) { in zend_may_be_dynamic_property()
735 smart_str_appendl(&buf, ZSTR_VAL(op_array->filename), ZSTR_LEN(op_array->filename)); in zend_jit_func_name()
741 } else if (op_array->filename) { in zend_jit_func_name()
743 smart_str_appendl(&buf, ZSTR_VAL(op_array->filename), ZSTR_LEN(op_array->filename)); in zend_jit_func_name()
1291 ZSTR_VAL(op_array->filename), op_array->line_start); in zend_jit()
/php-src/Zend/
H A Dzend_execute_API.c623 zend_string *filename = zend_get_executed_filename_ex(); in zend_get_executed_filename() local
624 return filename != NULL ? ZSTR_VAL(filename) : "[no active file]"; in zend_get_executed_filename()
641 return ex->func->op_array.filename; in zend_get_executed_filename_ex()
H A Dzend_object_handlers.c1358 func->filename = (fbc->type == ZEND_USER_FUNCTION)? fbc->op_array.filename : ZSTR_EMPTY_ALLOC(); in zend_get_call_trampoline_func()
H A Dzend_compile.c170 zend_string *filename = CG(active_op_array)->filename; in zend_build_runtime_definition_key() local
1224 ZSTR_VAL(old_function->op_array.filename), in do_bind_function_error()
4151 && ce->info.user.filename != filename; in zend_compile_ignore_class()
4162 && fbc->op_array.filename != filename); in zend_compile_ignore_function()
7722 zend_string *filename = op_array->filename; in zend_begin_func_decl() local
7727 zend_string *function = filename; in zend_begin_func_decl()
8268 zend_string *filename = CG(active_op_array)->filename; in zend_generate_anon_class_name() local
8819 zend_string *filename, *name; in zend_compile_halt_compiler() local
8827 filename = zend_get_compiled_filename(); in zend_compile_halt_compiler()
8829 ZSTR_VAL(filename), ZSTR_LEN(filename), 0); in zend_compile_halt_compiler()
[all …]
/php-src/ext/openssl/
H A Dopenssl.c1531 char * filename, file_path[MAXPATHLEN]; in PHP_FUNCTION() local
1536 Z_PARAM_PATH(filename, filename_len) in PHP_FUNCTION()
1549 if (!php_openssl_check_path(filename, filename_len, file_path, 2)) { in PHP_FUNCTION()
2587 char * filename, file_path[MAXPATHLEN]; in PHP_FUNCTION() local
2599 Z_PARAM_PATH(filename, filename_len) in PHP_FUNCTION()
2626 if (!php_openssl_check_path(filename, filename_len, file_path, 2)) { in PHP_FUNCTION()
3106 char * filename = NULL; in PHP_FUNCTION() local
3113 Z_PARAM_PATH(filename, filename_len) in PHP_FUNCTION()
4865 char * filename = NULL, file_path[MAXPATHLEN]; in PHP_FUNCTION() local
5589 char * filename; in PHP_FUNCTION() local
[all …]
/php-src/sapi/phpdbg/
H A Dphpdbg.c521 zval *filename; in PHP_FUNCTION() local
526 ZEND_HASH_FOREACH_VAL(Z_ARR_P(option_buffer), filename) { in PHP_FUNCTION()
527 zend_hash_add_empty_element(files, zval_get_string(filename)); in PHP_FUNCTION()
540 if (zend_hash_exists(files, func->op_array.filename)) { in PHP_FUNCTION()
541 insert_ht = phpdbg_add_empty_array(Z_ARR_P(return_value), func->op_array.filename); in PHP_FUNCTION()
554 if (zend_hash_exists(files, ce->info.user.filename)) { in PHP_FUNCTION()
556 if (func->type == ZEND_USER_FUNCTION && zend_hash_exists(files, func->op_array.filename)) { in PHP_FUNCTION()
557 insert_ht = phpdbg_add_empty_array(Z_ARR_P(return_value), func->op_array.filename); in PHP_FUNCTION()
577 phpdbg_add_empty_array(Z_ARR_P(return_value), source->op_array.filename), in PHP_FUNCTION()
638 if (cur->filename != last_file) { in PHP_FUNCTION()
[all …]
/php-src/ext/xsl/
H A Dxsltprocessor.c736 char *filename = NULL; in PHP_METHOD() local
739 if (zend_parse_parameters(ZEND_NUM_ARGS(), "p!", &filename, &filename_len) == FAILURE) { in PHP_METHOD()
747 if (filename != NULL) { in PHP_METHOD()
748 intern->profiling = estrndup(filename, filename_len); in PHP_METHOD()
/php-src/ext/zip/
H A Dphp_zip.c569 return obj->filename; in php_zipobj_get_filename()
1081 if (intern->filename) { in php_zip_object_free_storage()
1175 zend_string *filename; in PHP_FUNCTION() local
1452 zend_string *filename; local
1486 if (ze_obj->filename) {
1860 zend_string *filename; local
1878 if (php_zip_add_file(Z_ZIP_P(self), ZSTR_VAL(filename), ZSTR_LEN(filename),
1893 zend_string *filename; local
1911 if (php_zip_add_file(Z_ZIP_P(self), ZSTR_VAL(filename), ZSTR_LEN(filename),
2884 zend_string *filename; local
[all …]
/php-src/ext/spl/
H A Dspl_directory.c1301 char *filename; in PHP_METHOD() local
1314 filename = ZSTR_VAL(intern->orig_path); in PHP_METHOD()
1316 filename = intern->file_name ? ZSTR_VAL(intern->file_name) : NULL; in PHP_METHOD()
1320 if (filename && VCWD_REALPATH(filename, buff)) { in PHP_METHOD()
/php-src/Zend/tests/
H A Druntime_compile_time_binary_operands.phpt149 $filename = __DIR__ . DIRECTORY_SEPARATOR . 'compare_binary_operands_temp.php';
150 $file = fopen($filename, "w");
175 include $filename;
/php-src/sapi/fpm/fpm/
H A Dfpm_conf.c49 static int fpm_conf_load_ini_file(char *filename);
1386 char *filename; in fpm_conf_ini_parser_include() local
1404 efree(filename); in fpm_conf_ini_parser_include()
1410 efree(filename); in fpm_conf_ini_parser_include()
1421 efree(filename); in fpm_conf_ini_parser_include()
1431 efree(filename); in fpm_conf_ini_parser_include()
1436 efree(filename); in fpm_conf_ini_parser_include()
1645 if (!filename || !filename[0]) { in fpm_conf_load_ini_file()
1650 fd = open(filename, O_RDONLY, 0); in fpm_conf_load_ini_file()
1666 ini_filename = filename; in fpm_conf_load_ini_file()
[all …]
/php-src/sapi/cli/
H A Dphp_cli.c619 file_handle.filename = NULL; in do_cli()
1006 zend_string_release_ex(file_handle.filename, 0); in do_cli()
1007 file_handle.filename = NULL; in do_cli()
1132 if (file_handle.filename) { in do_cli()

Completed in 308 milliseconds

12345678910>>...37