Searched defs:new_name (Results 1 - 5 of 5) sorted by relevance

/PHP_TRUNK/ext/zip/
H A Dphp_zip.c2321 /* {{{ proto bool ZipArchive::renameIndex(int index, string new_name)
2322 Rename an entry selected by its index to new_name */
2328 char *new_name; local
2338 if (zend_parse_parameters(ZEND_NUM_ARGS(), "ls", &index, &new_name, &new_name_len) == FAILURE) {
2350 if (zip_rename(intern, index, (const char *)new_name) != 0) {
2357 /* {{{ proto bool ZipArchive::renameName(string name, string new_name)
2358 Rename an entry selected by its name to new_name */
2364 char *name, *new_name; local
2373 if (zend_parse_parameters(ZEND_NUM_ARGS(), "ss", &name, &name_len, &new_name, &new_name_len) == FAILURE) {
2384 if (zip_rename(intern, sb.index, (const char *)new_name)) {
[all...]
/PHP_TRUNK/ext/opcache/
H A Dzend_persist_calc.c165 zend_string *new_name = zend_shared_alloc_get_xlat_entry(op_array->function_name); local
166 if (IS_ACCEL_INTERNED(new_name)) {
167 op_array->function_name = new_name;
187 zend_string *new_name = zend_shared_alloc_get_xlat_entry(old_name); local
189 if (new_name) {
190 op_array->function_name = new_name;
H A Dzend_persist.c473 zend_string *new_name; local
475 new_name = zend_shared_alloc_get_xlat_entry(op_array->function_name);
476 ZEND_ASSERT(new_name != NULL);
477 op_array->function_name = new_name;
/PHP_TRUNK/Zend/
H A Dzend_compile.c4938 static void zend_check_already_in_use(uint32_t type, zend_string *old_name, zend_string *new_name, zend_string *check_name) /* {{{ */ argument
4945 "is already in use", zend_get_use_type_str(type), old_name->val, new_name->val);
4963 zend_string *new_name, *lookup_name; local
4966 new_name = zend_string_copy(zend_ast_get_str(new_name_ast));
4972 new_name = zend_string_init(unqualified_name, unqualified_name_len, 0);
4974 new_name = zend_string_copy(old_name);
4977 if (type == T_CLASS && zend_string_equals_literal(new_name, "strict")) {
4983 "has no effect", new_name->val);
4989 lookup_name = zend_string_copy(new_name);
4991 lookup_name = zend_string_tolower(new_name);
[all...]
/PHP_TRUNK/ext/standard/
H A Dfile.c1443 /* {{{ proto bool rename(string old_name, string new_name[, resource context])
1447 char *old_name, *new_name; local
1453 if (zend_parse_parameters(ZEND_NUM_ARGS(), "pp|r", &old_name, &old_name_len, &new_name, &new_name_len, &zcontext) == FAILURE) {
1469 if (wrapper != php_stream_locate_url_wrapper(new_name, NULL, 0)) {
1476 RETURN_BOOL(wrapper->wops->rename(wrapper, old_name, new_name, 0, context));

Completed in 29 milliseconds