Home
last modified time | relevance | path

Searched refs:zend_file_handle (Results 1 – 25 of 41) sorted by relevance

12

/PHP-7.4/Zend/
H A Dzend_stream.h64 } zend_file_handle; typedef
67 ZEND_API void zend_stream_init_fp(zend_file_handle *handle, FILE *fp, const char *filename);
68 ZEND_API void zend_stream_init_filename(zend_file_handle *handle, const char *filename);
69 ZEND_API int zend_stream_open(const char *filename, zend_file_handle *handle);
70 ZEND_API int zend_stream_fixup(zend_file_handle *file_handle, char **buf, size_t *len);
71 ZEND_API void zend_file_handle_dtor(zend_file_handle *fh);
72 ZEND_API int zend_compare_file_handles(zend_file_handle *fh1, zend_file_handle *fh2);
H A Dzend_stream.c54 static size_t zend_stream_fsize(zend_file_handle *file_handle) /* {{{ */ in zend_stream_fsize()
63 ZEND_API void zend_stream_init_fp(zend_file_handle *handle, FILE *fp, const char *filename) { in zend_stream_init_fp()
64 memset(handle, 0, sizeof(zend_file_handle)); in zend_stream_init_fp()
70 ZEND_API void zend_stream_init_filename(zend_file_handle *handle, const char *filename) { in zend_stream_init_filename()
71 memset(handle, 0, sizeof(zend_file_handle)); in zend_stream_init_filename()
76 ZEND_API int zend_stream_open(const char *filename, zend_file_handle *handle) /* {{{ */ in zend_stream_open()
88 static int zend_stream_getc(zend_file_handle *file_handle) /* {{{ */ in zend_stream_getc()
98 static ssize_t zend_stream_read(zend_file_handle *file_handle, char *buf, size_t len) /* {{{ */ in zend_stream_read()
116 ZEND_API int zend_stream_fixup(zend_file_handle *file_handle, char **buf, size_t *len) /* {{{ */ in zend_stream_fixup()
202 ZEND_API void zend_file_handle_dtor(zend_file_handle *fh) /* {{{ */ in zend_file_handle_dtor()
[all …]
H A Dzend_dtrace.h31 ZEND_API extern zend_op_array *(*zend_dtrace_compile_file)(zend_file_handle *file_handle, int type);
35 ZEND_API zend_op_array *dtrace_compile_file(zend_file_handle *file_handle, int type);
H A Dzend_globals.h252 zend_file_handle *yy_in;
253 zend_file_handle *yy_out;
278 zend_file_handle *yy_in;
279 zend_file_handle *yy_out;
H A Dzend_ini_scanner.h31 int zend_ini_open_file_for_scanning(zend_file_handle *fh, int scanner_mode);
H A Dzend_dtrace.c25 ZEND_API zend_op_array *(*zend_dtrace_compile_file)(zend_file_handle *file_handle, int type);
44 ZEND_API zend_op_array *dtrace_compile_file(zend_file_handle *file_handle, int type) in dtrace_compile_file()
H A Dzend_language_scanner.h34 zend_file_handle *in;
H A Dzend_ini_scanner.l222 static int init_ini_scanner(int scanner_mode, zend_file_handle *fh) in init_ini_scanner()
276 int zend_ini_open_file_for_scanning(zend_file_handle *fh, int scanner_mode) in zend_ini_open_file_for_scanning()
H A Dzend.h197 int (*stream_open_function)(const char *filename, zend_file_handle *handle);
285 extern ZEND_API int (*zend_stream_open_function)(const char *filename, zend_file_handle *handle);
H A Dzend_compile.h724 extern ZEND_API zend_op_array *(*zend_compile_file)(zend_file_handle *file_handle, int type);
782 ZEND_API zend_op_array *compile_file(zend_file_handle *file_handle, int type);
786 ZEND_API int open_file_for_scanning(zend_file_handle *file_handle);
789 ZEND_API void zend_destroy_file_handle(zend_file_handle *file_handle);
H A Dzend_language_scanner.l291 ZEND_API void zend_destroy_file_handle(zend_file_handle *file_handle) in zend_destroy_file_handle()
514 ZEND_API int open_file_for_scanning(zend_file_handle *file_handle) in open_file_for_scanning()
529 zend_file_handle *fh = (zend_file_handle*)zend_llist_get_last(&CG(open_files)); in open_file_for_scanning()
633 ZEND_API zend_op_array *compile_file(zend_file_handle *file_handle, int type) in compile_file()
659 zend_file_handle file_handle; in compile_filename()
792 zend_file_handle file_handle; in BEGIN_EXTERN_C()
H A Dzend_ini.h183 ZEND_API int zend_parse_ini_file(zend_file_handle *fh, zend_bool unbuffered_errors, int scanner_mod…
H A Dzend_ini_parser.y224 ZEND_API int zend_parse_ini_file(zend_file_handle *fh, zend_bool unbuffered_errors, int scanner_mod… in zend_parse_ini_file()
/PHP-7.4/main/
H A Dphp_main.h36 PHPAPI int php_execute_script(zend_file_handle *primary_file);
37 PHPAPI int php_execute_simple_script(zend_file_handle *primary_file, zval *ret);
39 PHPAPI int php_lint_script(zend_file_handle *file);
45 PHPAPI int php_stream_open_for_zend_ex(const char *filename, zend_file_handle *handle, int mode);
H A Dfopen_wrappers.h26 PHPAPI int php_fopen_primary_script(zend_file_handle *file_handle);
H A Dphp_ini.c626 zend_file_handle fh; in php_init_config()
701 zend_file_handle fh; in php_init_config()
792 zend_file_handle fh; in php_parse_user_ini_file()
H A Dmain.c1628 static int php_stream_open_for_zend(const char *filename, zend_file_handle *handle) /* {{{ */ in php_stream_open_for_zend()
1634 PHPAPI int php_stream_open_for_zend_ex(const char *filename, zend_file_handle *handle, int mode) /*… in php_stream_open_for_zend_ex()
1639 memset(handle, 0, sizeof(zend_file_handle)); in php_stream_open_for_zend_ex()
2588 PHPAPI int php_execute_script(zend_file_handle *primary_file) in php_execute_script()
2590 zend_file_handle *prepend_file_p, *append_file_p; in php_execute_script()
2591 zend_file_handle prepend_file, append_file; in php_execute_script()
2701 PHPAPI int php_execute_simple_script(zend_file_handle *primary_file, zval *ret) in php_execute_simple_script()
2795 PHPAPI int php_lint_script(zend_file_handle *file) in php_lint_script()
/PHP-7.4/ext/opcache/
H A Dzend_file_cache.h23 zend_persistent_script *zend_file_cache_script_load(zend_file_handle *file_handle);
H A DZendAccelerator.h309 accel_time_t zend_get_file_handle_timestamp(zend_file_handle *file_handle, size_t *size);
310 int validate_timestamp_and_record(zend_persistent_script *persistent_script, zend_file_handle *fil…
311 int validate_timestamp_and_record_ex(zend_persistent_script *persistent_script, zend_file_handle *…
317 zend_op_array *persistent_compile_file(zend_file_handle *file_handle, int type);
H A DZendAccelerator.c129 static zend_op_array *(*accelerator_orig_compile_file)(zend_file_handle *file_handle, int type);
903 static accel_time_t zend_get_file_handle_timestamp_win(zend_file_handle *file_handle, size_t *size) in zend_get_file_handle_timestamp_win()
947 accel_time_t zend_get_file_handle_timestamp(zend_file_handle *file_handle, size_t *size) in zend_get_file_handle_timestamp()
1041 zend_file_handle ps_handle; in do_validate_timestamps()
1308 zend_file_handle file_handle; in zend_accel_invalidate()
1819 zend_op_array *file_cache_compile_file(zend_file_handle *file_handle, int type) in file_cache_compile_file()
1917 zend_op_array *persistent_compile_file(zend_file_handle *file_handle, int type) in persistent_compile_file()
2232 static int persistent_stream_open_function(const char *filename, zend_file_handle *handle) in persistent_stream_open_function()
3186 static zend_op_array *(*preload_orig_compile_file)(zend_file_handle *file_handle, int type);
3331 static zend_op_array *preload_compile_file(zend_file_handle *file_handle, int type) in preload_compile_file()
[all …]
H A Dzend_accelerator_module.c342 zend_file_handle handle;
852 zend_file_handle handle;
/PHP-7.4/sapi/phpdbg/
H A Dphpdbg.h278 zend_op_array *(*compile_file)(zend_file_handle *file_handle, int type);
279 zend_op_array *(*init_compile_file)(zend_file_handle *file_handle, int type);
H A Dphpdbg_list.c235 zend_op_array *phpdbg_compile_file(zend_file_handle *file, int type) { in phpdbg_compile_file()
284 zend_op_array *phpdbg_init_compile_file(zend_file_handle *file, int type) { in phpdbg_init_compile_file()
/PHP-7.4/sapi/litespeed/
H A Dlsapi_main.c657 static int lsapi_execute_script( zend_file_handle * file_handle) in lsapi_execute_script()
754 zend_file_handle file_handle; in lsapi_module_main()
1323 zend_file_handle file_handle; in cli_main()
/PHP-7.4/sapi/cli/
H A Dphp_cli.c592 static int cli_seek_file_begin(zend_file_handle *file_handle, char *script_file) in cli_seek_file_begin()
619 zend_file_handle file_handle; in do_cli()

Completed in 131 milliseconds

12