old 35 Zend/zend_ast.c static inline void *zend_ast_realloc(void *old, size_t old_size, size_t new_size) { old 37 Zend/zend_ast.c memcpy(new, old, old_size); old 507 ext/calendar/calendar.c char *p, old[18], *endofalafim; old 509 ext/calendar/calendar.c p = endofalafim = old; old 588 ext/calendar/calendar.c *ret = estrndup(old, (p - old) + 1); old 330 ext/fileinfo/libmagic/compress.c uncompressgzipped(struct magic_set *ms, const unsigned char *old, old 333 ext/fileinfo/libmagic/compress.c unsigned char flg = old[3]; old 341 ext/fileinfo/libmagic/compress.c data_start += 2 + old[data_start] + old[data_start + 1] * 256; old 344 ext/fileinfo/libmagic/compress.c while(data_start < n && old[data_start]) old 349 ext/fileinfo/libmagic/compress.c while(data_start < n && old[data_start]) old 363 ext/fileinfo/libmagic/compress.c z.next_in = (Bytef *)strchr((const char *)old + data_start, old 364 ext/fileinfo/libmagic/compress.c old[data_start]); old 397 ext/fileinfo/libmagic/compress.c const unsigned char *old, unsigned char **newch, size_t n) old 406 ext/fileinfo/libmagic/compress.c return uncompressgzipped(ms, old, newch, n); old 459 ext/fileinfo/libmagic/compress.c if (swrite(fdin[1], old, n) != (ssize_t)n) { old 1090 ext/libxml/libxml.c zend_bool old = LIBXML(entity_loader_disabled); old 1093 ext/libxml/libxml.c return old; old 1767 ext/mbstring/oniguruma/regcomp.c Node* old = *ptarget; old 1769 ext/mbstring/oniguruma/regcomp.c if (*ptarget != old && NTYPE(*ptarget) == NT_QTFR) { old 354 ext/opcache/Optimizer/block_pass.c static inline void replace_source(zend_block_source *list, zend_code_block *old, zend_code_block *new) old 369 ext/opcache/Optimizer/block_pass.c if ((*cs)->from == old) { old 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)) old 31 ext/opcache/zend_accelerator_util_funcs.c # define accel_xlat_get(old) zend_hash_index_find_ptr(&ZCG(bind_hash), (zend_ulong)(zend_uintptr_t)(old)) old 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)) old 34 ext/opcache/zend_accelerator_util_funcs.c # define accel_xlat_get(old) zend_hash_str_find_ptr(&ZCG(bind_hash), (char*)&(old), sizeof(void*)) old 165 ext/opcache/zend_accelerator_util_funcs.c zend_reference *old = Z_REF_P(src); old 166 ext/opcache/zend_accelerator_util_funcs.c ZVAL_NEW_REF(src, &old->val); old 167 ext/opcache/zend_accelerator_util_funcs.c Z_REF_P(src)->gc = old->gc; old 168 ext/opcache/zend_accelerator_util_funcs.c accel_xlat_set(old, Z_REF_P(src)); old 176 ext/opcache/zend_accelerator_util_funcs.c zend_ast_ref *old = Z_AST_P(src); old 178 ext/opcache/zend_accelerator_util_funcs.c ZVAL_NEW_AST(src, old->ast); old 179 ext/opcache/zend_accelerator_util_funcs.c Z_AST_P(src)->gc = old->gc; old 181 ext/opcache/zend_accelerator_util_funcs.c accel_xlat_set(old, Z_AST_P(src)); old 165 ext/opcache/zend_file_cache.c char old = *s; old 168 ext/opcache/zend_file_cache.c *s = old; old 171 ext/opcache/zend_file_cache.c *s = old; old 168 ext/opcache/zend_persist_calc.c HashTable *old = op_array->static_variables; old 172 ext/opcache/zend_persist_calc.c zend_shared_alloc_register_xlat_entry(old, op_array->static_variables); old 447 ext/opcache/zend_shared_alloc.c void zend_shared_alloc_register_xlat_entry(const void *old, const void *new) old 449 ext/opcache/zend_shared_alloc.c zend_hash_index_add_new_ptr(&ZCG(xlat_table), (zend_ulong)old, (void*)new); old 452 ext/opcache/zend_shared_alloc.c void *zend_shared_alloc_get_xlat_entry(const void *old) old 456 ext/opcache/zend_shared_alloc.c if ((retval = zend_hash_index_find_ptr(&ZCG(xlat_table), (zend_ulong)old)) == NULL) { old 157 ext/opcache/zend_shared_alloc.h void zend_shared_alloc_register_xlat_entry(const void *old, const void *new); old 158 ext/opcache/zend_shared_alloc.h void *zend_shared_alloc_get_xlat_entry(const void *old); old 51 ext/phar/phar.c zend_bool old, ini; old 54 ext/phar/phar.c old = PHAR_G(readonly_orig); old 56 ext/phar/phar.c old = PHAR_G(require_hash_orig); old 79 ext/phar/phar.c } else if (old && !ini) { old 211 ext/phar/tar.c php_uint32 sum1, sum2, size, old; old 234 ext/phar/tar.c old = (memcmp(hdr->magic, "ustar", sizeof("ustar")-1) != 0); old 264 ext/phar/tar.c sum2 = phar_tar_checksum(buf, old?sizeof(old_tar_header):sizeof(tar_header)); old 270 ext/phar/tar.c if (!old && (hdr->typeflag == TAR_GLOBAL_HDR || hdr->typeflag == TAR_FILE_HDR)) { old 275 ext/phar/tar.c if (((!old && hdr->prefix[0] == 0) || old) && strnlen(hdr->name, 100) == sizeof(".phar/signature.bin")-1 && !strncmp(hdr->name, ".phar/signature.bin", sizeof(".phar/signature.bin")-1)) { old 408 ext/phar/tar.c } else if (!last_was_longlink && !old && hdr->prefix[0] != 0) { old 465 ext/phar/tar.c entry.tar_type = ((old & (hdr->typeflag == '\0')) ? TAR_FILE : hdr->typeflag); old 472 ext/phar/tar.c if (old && entry.tar_type == TAR_FILE && S_ISDIR(entry.flags)) { old 691 ext/phar/tar.c php_stream *old; old 1151 ext/phar/tar.c pass.old = oldfile; old 782 ext/phar/zip.c php_stream *old; old 952 ext/phar/zip.c if (p->old) { old 953 ext/phar/zip.c if (-1 == php_stream_seek(p->old, entry->offset_abs, SEEK_SET)) { old 1074 ext/phar/zip.c if (!entry->is_dir && entry->compressed_filesize && SUCCESS != php_stream_copy_to_stream_ex(p->old, p->filefp, entry->compressed_filesize, NULL)) { old 1402 ext/phar/zip.c pass.old = oldfile; old 250 ext/soap/php_encoding.c xmlChar old; old 257 ext/soap/php_encoding.c old = '\0'; old 259 ext/soap/php_encoding.c if (*str != ' ' || old != ' ') { old 263 ext/soap/php_encoding.c old = *str; old 266 ext/soap/php_encoding.c if (old == ' ') { old 95 ext/soap/php_xml.c zend_bool old; old 106 ext/soap/php_xml.c old = php_libxml_disable_entity_loader(1); old 108 ext/soap/php_xml.c php_libxml_disable_entity_loader(old); old 145 ext/soap/php_xml.c zend_bool old; old 155 ext/soap/php_xml.c old = php_libxml_disable_entity_loader(1); old 157 ext/soap/php_xml.c php_libxml_disable_entity_loader(old); old 2167 ext/soap/soap.c int old = PG(display_errors); old 2204 ext/soap/soap.c PG(display_errors) = old; old 2213 ext/soap/soap.c int old = PG(display_errors); old 2283 ext/soap/soap.c PG(display_errors) = old; old 958 ext/spl/spl_dllist.c spl_ptr_llist_element *old = *traverse_pointer_ptr; old 961 ext/spl/spl_dllist.c *traverse_pointer_ptr = old->prev; old 971 ext/spl/spl_dllist.c *traverse_pointer_ptr = old->next; old 983 ext/spl/spl_dllist.c SPL_LLIST_DELREF(old); old 938 ext/standard/html.c const char *old, old 951 ext/standard/html.c lim = old + oldlen; /* terminator address */ old 954 ext/standard/html.c for (p = old, q = ZSTR_VAL(ret); p < lim;) { old 1098 ext/standard/html.c PHPAPI zend_string *php_unescape_html_entities(unsigned char *old, size_t oldlen, int all, int flags, char *hint_charset) old 1116 ext/standard/html.c ret = zend_string_init((char*)old, oldlen, 0); old 1131 ext/standard/html.c traverse_for_entities((char*)old, oldlen, ret, all, flags, inverse_map, charset); old 1138 ext/standard/html.c PHPAPI zend_string *php_escape_html_entities(unsigned char *old, size_t oldlen, int all, int flags, char *hint_charset) old 1140 ext/standard/html.c return php_escape_html_entities_ex(old, oldlen, all, flags, hint_charset, 1); old 1150 ext/standard/html.c unsigned char *old, old 1177 ext/standard/html.c next_char = get_next_char(charset, old, oldlen, cursor, &status); old 1226 ext/standard/html.c PHPAPI zend_string *php_escape_html_entities_ex(unsigned char *old, size_t oldlen, int all, int flags, char *hint_charset, zend_bool double_encode) old 1287 ext/standard/html.c unsigned int this_char = get_next_char(charset, old, oldlen, &cursor, &status); old 1309 ext/standard/html.c mbsequence = &old[cursor_before]; old 1332 ext/standard/html.c &rep_len, old, oldlen, &cursor); old 1390 ext/standard/html.c if (old[cursor] == '#') { /* numeric entity */ old 1393 ext/standard/html.c char *pos = (char*)&old[cursor+1]; old 1401 ext/standard/html.c ent_len = pos - (char*)&old[cursor]; old 1404 ext/standard/html.c const char *start = (const char *) &old[cursor], old 1428 ext/standard/html.c memcpy(&ZSTR_VAL(replaced)[len], &old[cursor], ent_len); old 57 ext/standard/html.h PHPAPI zend_string *php_escape_html_entities(unsigned char *old, size_t oldlen, int all, int flags, char *hint_charset); old 58 ext/standard/html.h PHPAPI zend_string *php_escape_html_entities_ex(unsigned char *old, size_t oldlen, int all, int flags, char *hint_charset, zend_bool double_encode); old 59 ext/standard/html.h PHPAPI zend_string *php_unescape_html_entities(unsigned char *old, size_t oldlen, int all, int flags, char *hint_charset); old 138 ext/standard/string.c static zend_string *php_bin2hex(const unsigned char *old, const size_t oldlen) old 146 ext/standard/string.c ZSTR_VAL(result)[j++] = hexconvtab[old[i] >> 4]; old 147 ext/standard/string.c ZSTR_VAL(result)[j++] = hexconvtab[old[i] & 15]; old 157 ext/standard/string.c static zend_string *php_hex2bin(const unsigned char *old, const size_t oldlen) old 165 ext/standard/string.c unsigned char c = old[j++]; old 177 ext/standard/string.c c = old[j++]; old 2701 ext/standard/string.c zend_string *old; old 2707 ext/standard/string.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "S", &old) == FAILURE) { old 2711 ext/standard/string.c old_end = ZSTR_VAL(old) + ZSTR_LEN(old); old 2713 ext/standard/string.c if (ZSTR_VAL(old) == old_end) { old 2717 ext/standard/string.c str = zend_string_safe_alloc(2, ZSTR_LEN(old), 0, 0); old 2719 ext/standard/string.c for (p = ZSTR_VAL(old), q = ZSTR_VAL(str); p != old_end; p++) { old 1248 sapi/cgi/cgi_main.c char old; old 1251 sapi/cgi/cgi_main.c old = path_info[0]; old 1262 sapi/cgi/cgi_main.c path_info[0] = old; old 43 sapi/fpm/fpm/fpm_atomic.h static inline atomic_uint_t atomic_cmp_set(atomic_t *lock, atomic_uint_t old, atomic_uint_t set) /* {{{ */ old 48 sapi/fpm/fpm/fpm_atomic.h "=a" (res) : "m" (*lock), "a" (old), "r" (set) : "memory"); old 69 sapi/fpm/fpm/fpm_atomic.h static inline atomic_uint_t atomic_cmp_set(atomic_t *lock, atomic_uint_t old, atomic_uint_t set) /* {{{ */ old 74 sapi/fpm/fpm/fpm_atomic.h "=a" (res) : "m" (*lock), "a" (old), "r" (set) : "memory"); old 104 sapi/fpm/fpm/fpm_atomic.h static inline int atomic_cas_64(atomic_t *lock, atomic_uint_t old, atomic_uint_t new) /* {{{ */ old 106 sapi/fpm/fpm/fpm_atomic.h __asm__ __volatile__("casx [%2], %3, %0 " : "=&r"(new) : "0"(new), "r"(lock), "r"(old): "memory"); old 112 sapi/fpm/fpm/fpm_atomic.h static inline atomic_uint_t atomic_cmp_set(atomic_t *lock, atomic_uint_t old, atomic_uint_t set) /* {{{ */ old 114 sapi/fpm/fpm/fpm_atomic.h return (atomic_cas_64(lock, old, set)==old); old 121 sapi/fpm/fpm/fpm_atomic.h static inline int atomic_cas_32(atomic_t *lock, atomic_uint_t old, atomic_uint_t new) /* {{{ */ old 123 sapi/fpm/fpm/fpm_atomic.h __asm__ __volatile__("cas [%2], %3, %0 " : "=&r"(new) : "0"(new), "r"(lock), "r"(old): "memory"); old 129 sapi/fpm/fpm/fpm_atomic.h static inline atomic_uint_t atomic_cmp_set(atomic_t *lock, atomic_uint_t old, atomic_uint_t set) /* {{{ */ old 131 sapi/fpm/fpm/fpm_atomic.h return (atomic_cas_32(lock, old, set)==old); old 1217 sapi/fpm/fpm/fpm_main.c char old; old 1220 sapi/fpm/fpm/fpm_main.c old = path_info[0]; old 1231 sapi/fpm/fpm/fpm_main.c path_info[0] = old; old 209 sapi/phpdbg/phpdbg_set.c FILE *old = PHPDBG_G(oplog); old 214 sapi/phpdbg/phpdbg_set.c PHPDBG_G(oplog) = old; old 216 sapi/phpdbg/phpdbg_set.c if (old) { old 218 sapi/phpdbg/phpdbg_set.c fclose(old); old 202 sapi/phpdbg/phpdbg_watch.c phpdbg_watchpoint_t *old; old 204 sapi/phpdbg/phpdbg_watch.c if ((old = zend_hash_find_ptr(&cur->watches, watch->str)) || (old = zend_hash_find_ptr(&cur->implicit_watches, watch->str))) { old 205 sapi/phpdbg/phpdbg_watch.c if (((old->flags ^ watch->flags) & (PHPDBG_WATCH_NORMAL|PHPDBG_WATCH_IMPLICIT)) == 0) { old 209 sapi/phpdbg/phpdbg_watch.c flags = old->flags; old 228 sapi/phpdbg/phpdbg_watch.c old->flags = watch->flags; old 231 sapi/phpdbg/phpdbg_watch.c watch = old;