Home
last modified time | relevance | path

Searched refs:filename (Results 126 – 150 of 980) sorted by path

12345678910>>...40

/PHP-7.4/ext/mysqli/tests/
H A Dmysqli_real_connect_pconn.phpt104 $filename = sys_get_temp_dir() . DIRECTORY_SEPARATOR . 'mysqli_real_connect_phpt';
105 if (!$fp = fopen($filename, 'w'))
106 printf("[020] Cannot open temporary file %s\n", $filename);
112 …if (mysqli_query($link, "LOAD DATA LOCAL INFILE '$filename' INTO TABLE test FIELDS TERMINATED BY '…
115 unlink($filename);
/PHP-7.4/ext/mysqlnd/
H A Dmysqlnd_loaddata.c28 int mysqlnd_local_infile_init(void ** ptr, const char * const filename) in mysqlnd_local_infile_init() argument
44 if (php_check_open_basedir_ex(filename, 0) == -1) { in mysqlnd_local_infile_init()
51 info->filename = filename; in mysqlnd_local_infile_init()
52 info->fd = php_stream_open_wrapper_ex((char *)filename, "r", 0, NULL, context); in mysqlnd_local_infile_init()
55 snprintf((char *)info->error_msg, sizeof(info->error_msg), "Can't find file '%-.64s'.", filename); in mysqlnd_local_infile_init()
142 mysqlnd_handle_local_infile(MYSQLND_CONN_DATA * conn, const char * const filename, zend_bool * is_w… in mysqlnd_handle_local_infile() argument
174 if (infile.local_infile_init(&info, (char *)filename)) { in mysqlnd_handle_local_infile()
H A Dmysqlnd_priv.h35 enum_func_status mysqlnd_handle_local_infile(MYSQLND_CONN_DATA * conn, const char * const filename,…
H A Dmysqlnd_structs.h173 const char *filename; member
177 typedef int (*func_mysqlnd_local_infile__init)(void ** ptr, const char * const filename);
/PHP-7.4/ext/oci8/
H A Doci8.c164 ZEND_ARG_INFO(0, filename)
247 ZEND_ARG_INFO(0, filename)
528 ZEND_ARG_INFO(0, filename)
585 ZEND_ARG_INFO(0, filename)
H A Doci8_interface.c335 char *filename; in PHP_FUNCTION() local
339 if (zend_parse_parameters(ZEND_NUM_ARGS(), "p", &filename, &filename_len) == FAILURE) { in PHP_FUNCTION()
344 …ameters(ZEND_NUM_ARGS(), "Op", &z_descriptor, oci_lob_class_entry_ptr, &filename, &filename_len) =… in PHP_FUNCTION()
356 if (php_oci_lob_import(descriptor, filename)) { in PHP_FUNCTION()
974 char *filename; in PHP_FUNCTION() local
982 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "p|ll", &filename, &filename_len, &start, &length) == F… in PHP_FUNCTION()
996 …ters(ZEND_NUM_ARGS(), "Op|ll", &z_descriptor, oci_lob_class_entry_ptr, &filename, &filename_len, &… in PHP_FUNCTION()
1038 if (php_check_open_basedir(filename)) { in PHP_FUNCTION()
1042 stream = php_stream_open_wrapper_ex(filename, "w", REPORT_ERRORS, NULL, NULL); in PHP_FUNCTION()
H A Doci8_lob.c705 int php_oci_lob_import (php_oci_descriptor *descriptor, char *filename) in php_oci_lob_import() argument
715 if (php_check_open_basedir(filename)) { in php_oci_lob_import()
719 if ((fp = VCWD_OPEN(filename, O_RDONLY|O_BINARY)) == -1) { in php_oci_lob_import()
720 php_error_docref(NULL, E_WARNING, "Can't open file %s", filename); in php_oci_lob_import()
H A Dphp_oci8_int.h454 int php_oci_lob_import(php_oci_descriptor *descriptor, char *filename);
/PHP-7.4/ext/oci8/tests/
H A Dreflection1.phpt427 Parameter #1 [ <required> $filename ]
552 Parameter #1 [ <required> $filename ]
934 Parameter #1 [ <required> $filename ]
942 Parameter #1 [ <required> $filename ]
H A Dreflection2.phpt128 Parameter #0 [ <required> $filename ]
137 Parameter #0 [ <required> $filename ]
146 Parameter #0 [ <required> $filename ]
175 Parameter #0 [ <required> $filename ]
/PHP-7.4/ext/odbc/
H A Dphp_odbc.c1305 char *filename; in PHP_FUNCTION() local
1379 filename = estrndup(&Z_STRVAL_P(tmp)[1], Z_STRLEN_P(tmp) - 2); in PHP_FUNCTION()
1380 filename[strlen(filename)] = '\0'; in PHP_FUNCTION()
1383 if (php_check_open_basedir(filename)) { in PHP_FUNCTION()
1384 efree(filename); in PHP_FUNCTION()
1395 if ((params[i-1].fp = open(filename,O_RDONLY)) == -1) { in PHP_FUNCTION()
1396 php_error_docref(NULL, E_WARNING,"Can't open file %s", filename); in PHP_FUNCTION()
1404 efree(filename); in PHP_FUNCTION()
1408 efree(filename); in PHP_FUNCTION()
/PHP-7.4/ext/opcache/Optimizer/
H A Dcompact_literals.c295 fprintf(stderr, "File %s func %s\n", op_array->filename->val, in zend_optimizer_compact_literals()
H A Dpass1_5.c205 ce->info.user.filename != op_array->filename)) { in zend_optimizer_pass1()
H A Dzend_dump.c957 …fprintf(stderr, " ; %s:%u-%u\n", op_array->filename->val, op_array->line_start, op_array->line_… in zend_dump_op_array()
H A Dzend_optimizer.c793 ce->info.user.filename && in get_class_entry_from_op1()
794 ce->info.user.filename == op_array->filename) { in get_class_entry_from_op1()
822 func->op_array.filename && in zend_optimizer_get_called_func()
823 func->op_array.filename == op_array->filename) { in zend_optimizer_get_called_func()
840 func->op_array.filename && in zend_optimizer_get_called_func()
841 func->op_array.filename == op_array->filename) { in zend_optimizer_get_called_func()
H A Dzend_optimizer.h85 zend_string *filename; member
/PHP-7.4/ext/opcache/
H A DZendAccelerator.c166 for (p = filename; in is_stream_path()
872 if (!filename) { in zend_get_stream_timestamp()
1364 return filename && ZSTR_LEN(filename) >= sizeof(".phar") && in is_phar_file()
3266 if (function->op_array.filename != filename) { in preload_move_user_functions()
3267 filename = function->op_array.filename; in preload_move_user_functions()
3305 if (ce->info.user.filename != filename) { in preload_move_user_classes()
3306 filename = ce->info.user.filename; in preload_move_user_classes()
3340 script->script.filename = zend_string_copy(op_array->filename); in preload_compile_file()
3762 || parent->info.user.filename == ce->info.user.filename)) { in preload_link()
4580 script->script.main_op_array.filename = filename; in accel_preload()
[all …]
H A DZendAccelerator.h312 int zend_accel_invalidate(const char *filename, size_t filename_len, zend_bool force);
H A Dzend_accelerator_blacklist.c237 static void zend_accel_blacklist_loadone(zend_blacklist *blacklist, char *filename) in zend_accel_blacklist_loadone() argument
243 if ((fp = fopen(filename, "r")) == NULL) { in zend_accel_blacklist_loadone()
244 zend_accel_error(ACCEL_LOG_WARNING, "Cannot load blacklist file: %s\n", filename); in zend_accel_blacklist_loadone()
248 zend_accel_error(ACCEL_LOG_DEBUG,"Loading blacklist file: '%s'", filename); in zend_accel_blacklist_loadone()
250 if (VCWD_REALPATH(filename, buf)) { in zend_accel_blacklist_loadone()
318 void zend_accel_blacklist_load(zend_blacklist *blacklist, char *filename) argument
327 ret = glob(filename, 0, NULL, &globbuf);
333 zend_accel_error(ACCEL_LOG_WARNING, "No blacklist file found matching: %s\n", filename);
341 zend_accel_blacklist_loadone(blacklist, filename);
H A Dzend_accelerator_blacklist.h47 void zend_accel_blacklist_load(zend_blacklist *blacklist, char *filename);
H A Dzend_accelerator_module.c332 static int filename_is_in_cache(zend_string *filename)
337 key = accel_make_persistent_key(ZSTR_VAL(filename), ZSTR_LEN(filename), &key_length);
343 zend_stream_init_filename(&handle, ZSTR_VAL(filename));
556 …add_assoc_str(&persistent_script_report, "full_path", zend_string_dup(script->script.filename, 0));
688 add_next_index_str(&scripts, (*p)->script.filename);
882 zend_error(E_WARNING, ACCELERATOR_PRODUCT_NAME " could not compile file %s", handle.filename);
H A Dzend_accelerator_util_funcs.c72 if (persistent_script->script.filename) { in free_persistent_script()
83 zend_string *filename; in zend_accel_move_user_functions() local
92 filename = script->main_op_array.filename; in zend_accel_move_user_functions()
102 && EXPECTED(function->op_array.filename == filename)) { in zend_accel_move_user_functions()
114 zend_string *filename; in zend_accel_move_user_classes() local
123 filename = script->main_op_array.filename; in zend_accel_move_user_classes()
133 && EXPECTED(ce->info.user.filename == filename)) { in zend_accel_move_user_classes()
455 ZSTR_VAL(function2->op_array.filename), in zend_accel_function_hash_copy()
499 ZSTR_VAL(function2->op_array.filename), in zend_accel_function_hash_copy_from_shm()
526 zend_set_compiled_filename(ce1->info.user.filename); in zend_accel_class_hash_copy()
[all …]
H A Dzend_file_cache.c835 char *filename; local
884 return filename;
890 char *filename; local
901 efree(filename);
910 efree(filename);
916 efree(filename);
990 efree(filename);
1522 char *filename; local
1705 efree(filename);
1712 char *filename; local
[all …]
H A Dzend_persist.c311 if (op_array->filename) { in zend_persist_op_array_ex()
312 op_array->filename = zend_shared_alloc_get_xlat_entry(op_array->filename); in zend_persist_op_array_ex()
313 ZEND_ASSERT(op_array->filename != NULL); in zend_persist_op_array_ex()
476 if (op_array->filename) { in zend_persist_op_array_ex()
478 zend_accel_memdup_string(op_array->filename); in zend_persist_op_array_ex()
766 if (ce->info.user.filename) { in zend_persist_class_entry()
768 zend_accel_memdup_string(ce->info.user.filename); in zend_persist_class_entry()
1069 zend_accel_store_interned_string(script->script.filename); in zend_accel_script_persist()
/PHP-7.4/ext/opcache/tests/
H A Dbug78189.phpt19 foreach ($filenames as $filename) {
20 $part = substr($filename, strlen($tmpdir), 34);

Completed in 150 milliseconds

12345678910>>...40