Searched refs:new_name (Results 1 - 7 of 7) sorted by relevance

/PHP_TRUNK/ext/imap/
H A Dphp_imap.c214 ZEND_ARG_INFO(0, new_name)
1793 /* {{{ proto bool imap_renamemailbox(resource stream_id, string old_name, string new_name)
/PHP_TRUNK/ext/opcache/
H A Dzend_persist.c394 zend_string *new_name; local
396 new_name = zend_shared_alloc_get_xlat_entry(op_array->function_name);
397 ZEND_ASSERT(new_name != NULL);
398 op_array->function_name = new_name;
H A Dzend_persist_calc.c169 zend_string *new_name = zend_shared_alloc_get_xlat_entry(op_array->function_name); local
170 if (IS_ACCEL_INTERNED(new_name)) {
171 op_array->function_name = new_name;
191 zend_string *new_name = zend_shared_alloc_get_xlat_entry(old_name); local
193 if (new_name) {
194 op_array->function_name = new_name;
/PHP_TRUNK/ext/zip/
H A Dphp_zip.c2303 /* {{{ proto bool ZipArchive::renameIndex(int index, string new_name)
2304 Rename an entry selected by its index to new_name */
2310 char *new_name; local
2320 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ls", &index, &new_name, &new_name_len) == FAILURE) {
2332 if (zip_rename(intern, index, (const char *)new_name) != 0) {
2339 /* {{{ proto bool ZipArchive::renameName(string name, string new_name)
2340 Rename an entry selected by its name to new_name */
2346 char *name, *new_name; local
2355 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &name, &name_len, &new_name, &new_name_len) == FAILURE) {
2366 if (zip_rename(intern, sb.index, (const char *)new_name)) {
[all...]
/PHP_TRUNK/ext/standard/
H A Dfile.c1456 /* {{{ proto bool rename(string old_name, string new_name[, resource context])
1460 char *old_name, *new_name; local
1466 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "pp|r", &old_name, &old_name_len, &new_name, &new_name_len, &zcontext) == FAILURE) {
1482 if (wrapper != php_stream_locate_url_wrapper(new_name, NULL, 0 TSRMLS_CC)) {
1489 RETURN_BOOL(wrapper->wops->rename(wrapper, old_name, new_name, 0, context TSRMLS_CC));
H A Dbasic_functions.c1164 ZEND_ARG_INFO(0, new_name)
/PHP_TRUNK/Zend/
H A Dzend_compile.c6260 static void zend_check_already_in_use(uint32_t type, zend_string *old_name, zend_string *new_name, zend_string *check_name) /* {{{ */ argument
6267 "is already in use", zend_get_use_type_str(type), old_name->val, new_name->val);
6285 zend_string *new_name, *lookup_name; local
6288 new_name = zend_string_copy(zend_ast_get_str(new_name_ast));
6293 new_name = zend_string_init(p + 1, old_name->len - (p - old_name->val + 1), 0);
6295 new_name = zend_string_copy(old_name);
6298 if (type == T_CLASS && zend_string_equals_literal(new_name, "strict")) {
6304 "has no effect", new_name->val);
6310 lookup_name = zend_string_copy(new_name);
6312 lookup_name = zend_string_alloc(new_name
[all...]

Completed in 40 milliseconds