Home
last modified time | relevance | path

Searched refs:new_name (Results 1 – 15 of 15) sorted by relevance

/PHP-7.1/ext/pdo_mysql/tests/
H A Dpdo_mysql_attr_driver_name.phpt23 $new_name = $db->getAttribute(PDO::ATTR_DRIVER_NAME);
24 if ($name != $new_name)
25 printf("[002] Did we change it from '%s' to '%s'?\n", $name, $new_name);
/PHP-7.1/ext/zip/lib/
H A Dzip_set_name.c48 const zip_uint8_t *old_name, *new_name; in _zip_set_name() local
99 …if ((new_name = _zip_string_get(same_as_orig ? e->orig->filename : str, NULL, 0, &za->error)) == N… in _zip_set_name()
124 if (_zip_hash_add(za->names, new_name, idx, 0, &za->error) == false) { in _zip_set_name()
/PHP-7.1/ext/opcache/
H A Dzend_persist_calc.c179 zend_string *new_name = zend_shared_alloc_get_xlat_entry(op_array->function_name); in zend_persist_op_array_calc_ex() local
180 if (IS_ACCEL_INTERNED(new_name)) { in zend_persist_op_array_calc_ex()
181 op_array->function_name = new_name; in zend_persist_op_array_calc_ex()
201 zend_string *new_name = zend_shared_alloc_get_xlat_entry(old_name); in zend_persist_op_array_calc_ex() local
203 if (new_name) { in zend_persist_op_array_calc_ex()
204 op_array->function_name = new_name; in zend_persist_op_array_calc_ex()
H A Dzend_persist.c493 zend_string *new_name; in zend_persist_op_array_ex() local
495 new_name = zend_shared_alloc_get_xlat_entry(op_array->function_name); in zend_persist_op_array_ex()
496 ZEND_ASSERT(new_name != NULL); in zend_persist_op_array_ex()
497 op_array->function_name = new_name; in zend_persist_op_array_ex()
/PHP-7.1/ext/standard/tests/file/
H A Drename_variation10.phpt7 /* Prototype : bool rename(string old_name, string new_name[, resource context])
26 $new_name = __FILE__.'.renamed';
117 $res = rename($old_name, $new_name, $value);
120 unlink($new_name);
H A Drename_variation12.phpt11 /* Prototype : bool rename(string old_name, string new_name[, resource context])
H A Drename_variation11-win32.phpt12 /* Prototype : bool rename(string old_name, string new_name[, resource context])
H A Drename_variation12-win32.phpt11 /* Prototype : bool rename(string old_name, string new_name[, resource context])
H A Drename_variation13.phpt12 /* Prototype : bool rename(string old_name, string new_name[, resource context])
H A Drename_variation13-win32.phpt12 /* Prototype : bool rename(string old_name, string new_name[, resource context])
/PHP-7.1/ext/zip/
H A Dphp_zip.c2433 char *new_name; in ZIPARCHIVE_METHOD() local
2443 if (zend_parse_parameters(ZEND_NUM_ARGS(), "ls", &index, &new_name, &new_name_len) == FAILURE) { in ZIPARCHIVE_METHOD()
2455 if (zip_rename(intern, index, (const char *)new_name) != 0) { in ZIPARCHIVE_METHOD()
2469 char *name, *new_name; in ZIPARCHIVE_METHOD() local
2478 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "ss", &name, &name_len, &new_name, &new_name_len) == FA… in ZIPARCHIVE_METHOD()
2489 if (zip_rename(intern, sb.index, (const char *)new_name)) { in ZIPARCHIVE_METHOD()
2885 ZEND_ARG_INFO(0, new_name)
2890 ZEND_ARG_INFO(0, new_name)
/PHP-7.1/Zend/
H A Dzend_compile.c6224 zend_string *new_name, *lookup_name; in zend_compile_use() local
6227 new_name = zend_string_copy(zend_ast_get_str(new_name_ast)); in zend_compile_use()
6235 new_name = zend_string_copy(old_name); in zend_compile_use()
6244 "has no effect", ZSTR_VAL(new_name)); in zend_compile_use()
6250 lookup_name = zend_string_copy(new_name); in zend_compile_use()
6252 lookup_name = zend_string_tolower(new_name); in zend_compile_use()
6255 if (type == T_CLASS && zend_is_reserved_class_name(new_name)) { in zend_compile_use()
6257 "is a special class name", ZSTR_VAL(old_name), ZSTR_VAL(new_name), ZSTR_VAL(new_name)); in zend_compile_use()
6266 zend_check_use_conflict(type, old_name, new_name, ns_name); in zend_compile_use()
6270 zend_check_use_conflict(type, old_name, new_name, lookup_name); in zend_compile_use()
[all …]
/PHP-7.1/ext/standard/
H A Dfile.c1425 char *old_name, *new_name; in PHP_FUNCTION() local
1431 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "pp|r", &old_name, &old_name_len, &new_name, &new_name_… in PHP_FUNCTION()
1447 if (wrapper != php_stream_locate_url_wrapper(new_name, NULL, 0)) { in PHP_FUNCTION()
1454 RETURN_BOOL(wrapper->wops->rename(wrapper, old_name, new_name, 0, context)); in PHP_FUNCTION()
H A Dbasic_functions.c1165 ZEND_ARG_INFO(0, new_name)
/PHP-7.1/ext/imap/
H A Dphp_imap.c214 ZEND_ARG_INFO(0, new_name)

Completed in 89 milliseconds