Searched defs:old_name (Results 1 - 4 of 4) sorted by relevance

/PHP_TRUNK/ext/zip/lib/
H A Dzip_file_rename.c47 const char *old_name;
60 if ((old_name=zip_get_name(za, idx, 0)) == NULL)
64 old_is_dir = (old_name[strlen(old_name)-1] == '/');
45 const char *old_name; local
/PHP_TRUNK/ext/opcache/
H A Dzend_persist_calc.c181 zend_string *old_name = op_array->function_name; local
182 zend_string *new_name = zend_shared_alloc_get_xlat_entry(old_name);
188 zend_shared_alloc_register_xlat_entry(old_name, op_array->function_name);
/PHP_TRUNK/Zend/
H A Dzend_compile.c4667 static void zend_check_already_in_use(uint32_t type, zend_string *old_name, zend_string *new_name, zend_string *check_name) /* {{{ */ argument
4669 if (zend_string_equals_str_ci(old_name, check_name)) {
4674 "is already in use", zend_get_use_type_str(type), old_name->val, new_name->val);
4691 zend_string *old_name = zend_ast_get_str(old_name_ast); local
4699 if (zend_get_unqualified_name(old_name, &unqualified_name, &unqualified_name_len)) {
4703 new_name = zend_string_copy(old_name);
4728 "is a special class name", old_name->val, new_name->val, new_name->val);
4738 zend_check_already_in_use(type, old_name, new_name, ns_name);
4750 zend_check_already_in_use(type, old_name, new_name, lookup_name);
4760 zend_check_already_in_use(type, old_name, new_nam
[all...]
/PHP_TRUNK/ext/standard/
H A Dfile.c1450 /* {{{ proto bool rename(string old_name, string new_name[, resource context])
1454 char *old_name, *new_name; local
1460 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "pp|r", &old_name, &old_name_len, &new_name, &new_name_len, &zcontext) == FAILURE) {
1464 wrapper = php_stream_locate_url_wrapper(old_name, NULL, 0 TSRMLS_CC);
1483 RETURN_BOOL(wrapper->wops->rename(wrapper, old_name, new_name, 0, context TSRMLS_CC));

Completed in 16 milliseconds