Searched defs:old (Results 1 - 21 of 21) sorted by relevance

/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_atomic.h43 static inline atomic_uint_t atomic_cmp_set(atomic_t *lock, atomic_uint_t old, atomic_uint_t set) /* {{{ */ argument
48 "=a" (res) : "m" (*lock), "a" (old), "r" (set) : "memory");
69 static inline atomic_uint_t atomic_cmp_set(atomic_t *lock, atomic_uint_t old, atomic_uint_t set) /* {{{ */ argument
74 "=a" (res) : "m" (*lock), "a" (old), "r" (set) : "memory");
104 static inline int atomic_cas_64(atomic_t *lock, atomic_uint_t old, atomic_uint_t new) /* {{{ */ argument
106 __asm__ __volatile__("casx [%2], %3, %0 " : "=&r"(new) : "0"(new), "r"(lock), "r"(old): "memory");
112 static inline atomic_uint_t atomic_cmp_set(atomic_t *lock, atomic_uint_t old, atomic_uint_t set) /* {{{ */ argument
114 return (atomic_cas_64(lock, old, set)==old);
121 static inline int atomic_cas_32(atomic_t *lock, atomic_uint_t old, atomic_uint_ argument
129 atomic_cmp_set(atomic_t *lock, atomic_uint_t old, atomic_uint_t set) argument
[all...]
H A Dfpm_main.c1214 char old; local
1217 old = path_info[0];
1228 path_info[0] = old;
/PHP_TRUNK/ext/soap/
H A Dphp_xml.c95 zend_bool old; local
103 old = php_libxml_disable_entity_loader(1 TSRMLS_CC);
105 php_libxml_disable_entity_loader(old TSRMLS_CC);
143 zend_bool old; local
153 old = php_libxml_disable_entity_loader(1 TSRMLS_CC);
155 php_libxml_disable_entity_loader(old TSRMLS_CC);
H A Dsoap.c2172 int old = PG(display_errors); local
2211 PG(display_errors) = old;
2220 int old = PG(display_errors); local
2292 PG(display_errors) = old;
3213 The function returns old value of location options. */
H A Dphp_encoding.c250 xmlChar old; local
257 old = '\0';
259 if (*str != ' ' || old != ' ') {
263 old = *str;
266 if (old == ' ') {
/PHP_TRUNK/ext/mbstring/oniguruma/
H A Dregcomp.c1767 Node* old = *ptarget; local
1769 if (*ptarget != old && NTYPE(*ptarget) == NT_QTFR) {
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_set.c176 FILE *old = PHPDBG_G(oplog); local
181 PHPDBG_G(oplog) = old;
183 if (old) {
185 fclose(old);
/PHP_TRUNK/ext/calendar/
H A Dcalendar.c507 char *p, old[18], *endofalafim; local
509 p = endofalafim = old;
588 *ret = estrndup(old, (p - old) + 1);
/PHP_TRUNK/ext/fileinfo/libmagic/
H A Dcompress.c32 * uncompress(method, old, n, newch) - uncompress old into new,
319 uncompressgzipped(struct magic_set *ms, const unsigned char *old, argument
322 unsigned char flg = old[3];
330 data_start += 2 + old[data_start] + old[data_start + 1] * 256;
333 while(data_start < n && old[data_start])
338 while(data_start < n && old[data_start])
352 z.next_in = (Bytef *)strchr((const char *)old + data_start,
353 old[data_star
385 uncompressbuf(struct magic_set *ms, int fd, size_t method, const unsigned char *old, unsigned char **newch, size_t n) argument
[all...]
/PHP_TRUNK/ext/libxml/
H A Dlibxml.c1068 zend_bool old = LIBXML(entity_loader_disabled); local
1071 return old;
/PHP_TRUNK/ext/opcache/Optimizer/
H A Dblock_pass.c330 static inline void replace_source(zend_block_source *list, zend_code_block *old, zend_code_block *new) argument
332 /* replace all references to 'old' in 'list' with 'new' */
345 if ((*cs)->from == old) {
/PHP_TRUNK/ext/opcache/
H A Dzend_shared_alloc.c46 /* old/new mapping. We can use true global even for ZTS because its usage
432 void zend_shared_alloc_register_xlat_entry(const void *old, const void *new) argument
434 zend_hash_index_update_ptr(&xlat_table, (zend_ulong)old, (void*)new);
437 void *zend_shared_alloc_get_xlat_entry(const void *old) argument
441 if ((retval = zend_hash_index_find_ptr(&xlat_table, (zend_ulong)old)) == NULL) {
H A Dzend_accelerator_util_funcs.c34 # define accel_xlat_set(old, new) zend_hash_index_update_ptr(&ZCG(bind_hash), (zend_ulong)(zend_uintptr_t)(old), (new))
35 # define accel_xlat_get(old) zend_hash_index_find_ptr(&ZCG(bind_hash), (zend_ulong)(zend_uintptr_t)(old))
37 # define accel_xlat_set(old, new) (zend_hash_str_add_ptr(&ZCG(bind_hash), (char*)&(old), sizeof(void*), (zend_ulong)(zend_uintptr_t)(old), (void**)&(new))
38 # define accel_xlat_get(old, new) ((new) = zend_hash_str_find_ptr(&ZCG(bind_hash), (char*)&(old), sizeof(void*), (zend_ulong)(zend_uintptr_t)(old), (voi
265 zend_array *old = Z_ARR_P(src); local
280 zend_reference *old = Z_REF_P(src); local
293 zend_ast_ref *old = Z_AST_P(src); local
[all...]
/PHP_TRUNK/ext/phar/
H A Dphar.c51 zend_bool old, ini; local
54 old = PHAR_G(readonly_orig);
56 old = PHAR_G(require_hash_orig);
79 } else if (old && !ini) {
2418 /* old data descriptors have no signature */
2698 spprintf(error, 0, "unable to copy stub of old phar to new phar \"%s\"", phar->fname);
3192 move the temp to the old phar, unlink the old phar, and reload it into memory
H A Dtar.c201 php_uint32 sum1, sum2, size, old; local
223 old = (memcmp(hdr->magic, "ustar", sizeof("ustar")-1) != 0);
253 sum2 = phar_tar_checksum(buf, old?sizeof(old_tar_header):sizeof(tar_header));
258 if (((!old && hdr->prefix[0] == 0) || old) && strlen(hdr->name) == sizeof(".phar/signature.bin")-1 && !strncmp(hdr->name, ".phar/signature.bin", sizeof(".phar/signature.bin")-1)) {
391 } else if (!last_was_longlink && !old && hdr->prefix[0] != 0) {
448 entry.tar_type = ((old & (hdr->typeflag == '\0')) ? TAR_FILE : hdr->typeflag);
457 if (old && entry.tar_type == TAR_FILE && S_ISDIR(entry.flags)) {
671 php_stream *old; member in struct:_phar_pass_tar_info
1131 pass.old
[all...]
H A Dzip.c497 PHAR_ZIP_FAIL("unsupported compression method (PKWare Implode/old IBM TERSE) used in this zip");
780 php_stream *old; member in struct:_phar_zip_pass
950 if (p->old) {
951 if (-1 == php_stream_seek(p->old, entry->offset_abs, SEEK_SET)) {
1072 if (!entry->is_dir && entry->compressed_filesize && SUCCESS != php_stream_copy_to_stream_ex(p->old, p->filefp, entry->compressed_filesize, NULL)) {
1400 pass.old = oldfile;
/PHP_TRUNK/Zend/
H A Dzend_ast.c30 static inline void *zend_ast_realloc(void *old, size_t old_size, size_t new_size TSRMLS_DC) { argument
32 memcpy(new, old, old_size);
/PHP_TRUNK/ext/spl/
H A Dspl_dllist.c825 /* call dtor on the old element as in spl_ptr_llist_pop */
830 /* the element is replaced, delref the old one as in
942 spl_ptr_llist_element *old = *traverse_pointer_ptr; local
945 *traverse_pointer_ptr = old->prev;
955 *traverse_pointer_ptr = old->next;
967 SPL_LLIST_DELREF(old);
/PHP_TRUNK/ext/standard/
H A Dstring.c130 static zend_string *php_bin2hex(const unsigned char *old, const size_t oldlen) argument
138 result->val[j++] = hexconvtab[old[i] >> 4];
139 result->val[j++] = hexconvtab[old[i] & 15];
149 static zend_string *php_hex2bin(const unsigned char *old, const size_t oldlen) argument
157 unsigned char c = old[j++];
170 c = old[j++];
2587 zend_string *old; local
2593 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "S", &old) == FAILURE) {
2597 old_end = old->val + old
[all...]
H A Dhtml.c937 const char *old,
950 lim = old + oldlen; /* terminator address */
953 for (p = old, q = ret->val; p < lim;) {
1097 PHPAPI zend_string *php_unescape_html_entities(unsigned char *old, size_t oldlen, int all, int flags, char *hint_charset TSRMLS_DC) argument
1115 ret = zend_string_init((char*)old, oldlen, 0);
1130 traverse_for_entities((char*)old, oldlen, ret, all, flags, inverse_map, charset);
1137 PHPAPI zend_string *php_escape_html_entities(unsigned char *old, size_t oldlen, int all, int flags, char *hint_charset TSRMLS_DC) argument
1139 return php_escape_html_entities_ex(old, oldlen, all, flags, hint_charset, 1 TSRMLS_CC);
1149 unsigned char *old,
1176 next_char = get_next_char(charset, old, oldle
936 traverse_for_entities( const char *old, size_t oldlen, zend_string *ret, int all, int flags, const entity_ht *inv_map, enum entity_charset charset) argument
1143 find_entity_for_char( unsigned int k, enum entity_charset charset, const entity_stage1_row *table, const unsigned char **entity, size_t *entity_len, unsigned char *old, size_t oldlen, size_t *cursor) argument
1225 php_escape_html_entities_ex(unsigned char *old, size_t oldlen, int all, int flags, char *hint_charset, zend_bool double_encode TSRMLS_DC) argument
[all...]
/PHP_TRUNK/sapi/cgi/
H A Dcgi_main.c1263 char old; local
1266 old = path_info[0];
1277 path_info[0] = old;

Completed in 67 milliseconds