new 36 Zend/zend_ast.c void *new = zend_ast_alloc(new_size); new 37 Zend/zend_ast.c memcpy(new, old, old_size); new 38 Zend/zend_ast.c return new; new 419 Zend/zend_ast.c zend_ast_zval *new = emalloc(sizeof(zend_ast_zval)); new 420 Zend/zend_ast.c new->kind = ZEND_AST_ZVAL; new 421 Zend/zend_ast.c new->attr = ast->attr; new 422 Zend/zend_ast.c ZVAL_COPY(&new->val, zend_ast_get_zval(ast)); new 423 Zend/zend_ast.c return (zend_ast *) new; new 426 Zend/zend_ast.c zend_ast_list *new = emalloc(zend_ast_list_size(list->children)); new 428 Zend/zend_ast.c new->kind = list->kind; new 429 Zend/zend_ast.c new->attr = list->attr; new 430 Zend/zend_ast.c new->children = list->children; new 432 Zend/zend_ast.c new->child[i] = zend_ast_copy(list->child[i]); new 434 Zend/zend_ast.c return (zend_ast *) new; new 437 Zend/zend_ast.c zend_ast *new = emalloc(zend_ast_size(children)); new 438 Zend/zend_ast.c new->kind = ast->kind; new 439 Zend/zend_ast.c new->attr = ast->attr; new 441 Zend/zend_ast.c new->child[i] = zend_ast_copy(ast->child[i]); new 443 Zend/zend_ast.c return new; new 134 ext/dba/dba_db3.c char *new = NULL; new 141 ext/dba/dba_db3.c new = estrndup(gval.data, gval.size); new 143 ext/dba/dba_db3.c return new; new 163 ext/dba/dba_db4.c char *new = NULL; new 173 ext/dba/dba_db4.c new = estrndup(gval.data, gval.size); new 178 ext/dba/dba_db4.c return new; new 100 ext/dba/dba_dbm.c char *new = NULL; new 106 ext/dba/dba_dbm.c new = estrndup(gval.dptr, gval.dsize); new 108 ext/dba/dba_dbm.c return new; new 65 ext/dba/dba_flatfile.c char *new = NULL; new 75 ext/dba/dba_flatfile.c new = estrndup(gval.dptr, gval.dsize); new 78 ext/dba/dba_flatfile.c return new; new 86 ext/dba/dba_gdbm.c char *new = NULL; new 92 ext/dba/dba_gdbm.c new = estrndup(gval.dptr, gval.dsize); new 95 ext/dba/dba_gdbm.c return new; new 80 ext/dba/dba_ndbm.c char *new = NULL; new 86 ext/dba/dba_ndbm.c new = estrndup(gval.dptr, gval.dsize); new 88 ext/dba/dba_ndbm.c return new; new 83 ext/dba/dba_qdbm.c char *value, *new = NULL; new 89 ext/dba/dba_qdbm.c new = estrndup(value, value_size); new 93 ext/dba/dba_qdbm.c return new; new 136 ext/dba/dba_qdbm.c char *value, *new = NULL; new 143 ext/dba/dba_qdbm.c new = estrndup(value, value_size); new 147 ext/dba/dba_qdbm.c return new; new 154 ext/dba/dba_qdbm.c char *value, *new = NULL; new 159 ext/dba/dba_qdbm.c new = estrndup(value, value_size); new 163 ext/dba/dba_qdbm.c return new; new 92 ext/dba/dba_tcadb.c char *value, *new = NULL; new 100 ext/dba/dba_tcadb.c new = estrndup(value, value_size); new 104 ext/dba/dba_tcadb.c return new; new 155 ext/dba/dba_tcadb.c char *value, *new = NULL; new 164 ext/dba/dba_tcadb.c new = estrndup(value, value_size); new 168 ext/dba/dba_tcadb.c return new; new 175 ext/dba/dba_tcadb.c char *value, *new = NULL; new 182 ext/dba/dba_tcadb.c new = estrndup(value, value_size); new 186 ext/dba/dba_tcadb.c return new; new 293 ext/odbc/birdstep.c VConn *new; new 316 ext/odbc/birdstep.c new = (VConn *)emalloc(sizeof(VConn)); new 317 ext/odbc/birdstep.c ind = birdstep_add_conn(list,new,hdbc); new 354 ext/opcache/Optimizer/block_pass.c static inline void replace_source(zend_block_source *list, zend_code_block *old, zend_code_block *new) new 361 ext/opcache/Optimizer/block_pass.c if ((*cs)->from == new) { new 373 ext/opcache/Optimizer/block_pass.c (*cs)->from = new; new 30 ext/opcache/zend_accelerator_util_funcs.c # define accel_xlat_set(old, new) zend_hash_index_add_new_ptr(&ZCG(bind_hash), (zend_ulong)(zend_uintptr_t)(old), (new)) new 33 ext/opcache/zend_accelerator_util_funcs.c # define accel_xlat_set(old, new) zend_hash_str_add_new_ptr(&ZCG(bind_hash), (char*)&(old), sizeof(void*), (old)) new 447 ext/opcache/zend_shared_alloc.c void zend_shared_alloc_register_xlat_entry(const void *old, const void *new) new 449 ext/opcache/zend_shared_alloc.c zend_hash_index_add_new_ptr(&ZCG(xlat_table), (zend_ulong)old, (void*)new); new 157 ext/opcache/zend_shared_alloc.h void zend_shared_alloc_register_xlat_entry(const void *old, const void *new); new 851 ext/phar/stream.c phar_entry_info new, *source; new 861 ext/phar/stream.c memcpy((void *) &new, (void *) entry, sizeof(phar_entry_info)); new 870 ext/phar/stream.c entry = zend_hash_str_add_mem(&(phar->manifest), resource_to->path+1, strlen(resource_to->path)-1, (void **)&new, sizeof(phar_entry_info)); new 692 ext/phar/tar.c php_stream *new; new 781 ext/phar/tar.c entry->header_offset = php_stream_tell(fp->new); new 783 ext/phar/tar.c if (sizeof(header) != php_stream_write(fp->new, (char *) &header, sizeof(header))) { new 790 ext/phar/tar.c pos = php_stream_tell(fp->new); /* save start of file within tar */ new 805 ext/phar/tar.c if (SUCCESS != php_stream_copy_to_stream_ex(phar_get_efp(entry, 0), fp->new, entry->uncompressed_filesize, NULL)) { new 813 ext/phar/tar.c php_stream_write(fp->new, padding, ((entry->uncompressed_filesize +511)&~511) - entry->uncompressed_filesize); new 1152 ext/phar/tar.c pass.new = newfile; new 1686 ext/session/session.c PHPAPI void session_adapt_url(const char *url, size_t urllen, char **new, size_t *newlen) /* {{{ */ new 1689 ext/session/session.c *new = php_url_scanner_adapt_single_url(url, urllen, PS(session_name), ZSTR_VAL(PS(id)), newlen, 1); new 205 main/alloca.c register pointer new = malloc (sizeof (header) + size); new 208 main/alloca.c if (new == 0) new 211 main/alloca.c ((header *) new)->h.next = last_alloca_header; new 212 main/alloca.c ((header *) new)->h.deep = depth; new 214 main/alloca.c last_alloca_header = (header *) new; new 218 main/alloca.c return (pointer) ((char *) new + sizeof (header)); new 104 sapi/fpm/fpm/fpm_atomic.h static inline int atomic_cas_64(atomic_t *lock, atomic_uint_t old, atomic_uint_t new) /* {{{ */ new 106 sapi/fpm/fpm/fpm_atomic.h __asm__ __volatile__("casx [%2], %3, %0 " : "=&r"(new) : "0"(new), "r"(lock), "r"(old): "memory"); new 108 sapi/fpm/fpm/fpm_atomic.h return new; new 121 sapi/fpm/fpm/fpm_atomic.h static inline int atomic_cas_32(atomic_t *lock, atomic_uint_t old, atomic_uint_t new) /* {{{ */ new 123 sapi/fpm/fpm/fpm_atomic.h __asm__ __volatile__("cas [%2], %3, %0 " : "=&r"(new) : "0"(new), "r"(lock), "r"(old): "memory"); new 125 sapi/fpm/fpm/fpm_atomic.h return new; new 46 sapi/phpdbg/phpdbg_help.c char *new, *p, *q; new 84 sapi/phpdbg/phpdbg_help.c new = emalloc(size); new 95 sapi/phpdbg/phpdbg_help.c for (p = text, q = new; *p; p++) { new 136 sapi/phpdbg/phpdbg_help.c if ((q-new)>size) { new 137 sapi/phpdbg/phpdbg_help.c phpdbg_error("help", "overrun=\"%lu\"", "Output overrun of %lu bytes", ((q - new) - size)); new 140 sapi/phpdbg/phpdbg_help.c phpdbg_out("%s\n", new); new 141 sapi/phpdbg/phpdbg_help.c efree(new); new 203 sapi/phpdbg/phpdbg_utils.c char *new = NULL; new 215 sapi/phpdbg/phpdbg_utils.c new = estrndup("", sizeof("")); new 218 sapi/phpdbg/phpdbg_utils.c new = estrndup(p, len); new 219 sapi/phpdbg/phpdbg_utils.c *(new + len) = '\0'; new 226 sapi/phpdbg/phpdbg_utils.c return new;