| /PHP_TRUNK/sapi/fpm/fpm/ |
| H A D | fpm_atomic.h | 43 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 D | fpm_main.c | 1216 char old; local 1219 old = path_info[0]; 1230 path_info[0] = old;
|
| /PHP_TRUNK/ext/mbstring/oniguruma/ |
| H A D | regcomp.c | 1767 Node* old = *ptarget; local 1769 if (*ptarget != old && NTYPE(*ptarget) == NT_QTFR) {
|
| /PHP_TRUNK/ext/calendar/ |
| H A D | calendar.c | 509 char *p, old[18], *endofalafim; local 511 p = endofalafim = old; 590 *ret = estrndup(old, (p - old) + 1);
|
| /PHP_TRUNK/ext/phar/ |
| H A D | phar.c | 53 zend_bool old, ini; local 56 old = PHAR_G(readonly_orig); 58 old = PHAR_G(require_hash_orig); 81 } else if (old && !ini) { 2445 /* old data descriptors have no signature */ 2721 spprintf(error, 0, "unable to copy stub of old phar to new phar \"%s\"", phar->fname); 3196 move the temp to the old phar, unlink the old phar, and reload it into memory
|
| H A D | tar.c | 201 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 1113 pass.old [all...] |
| H A D | zip.c | 509 PHAR_ZIP_FAIL("unsupported compression method (PKWare Implode/old IBM TERSE) used in this zip"); 768 php_stream *old; member in struct:_phar_zip_pass 940 if (p->old) { 941 if (-1 == php_stream_seek(p->old, entry->offset_abs, SEEK_SET)) { 1063 if (!entry->is_dir && entry->compressed_filesize && SUCCESS != phar_stream_copy_to_stream(p->old, p->filefp, entry->compressed_filesize, NULL)) { 1371 pass.old = oldfile;
|
| /PHP_TRUNK/ext/standard/ |
| H A D | html.c | 925 const char *old, 939 lim = old + oldlen; /* terminator address */ 942 for (p = old, q = ret; p < lim;) { 1086 PHPAPI char *php_unescape_html_entities(unsigned char *old, size_t oldlen, size_t *newlen, int all, int flags, char *hint_charset TSRMLS_DC) argument 1104 ret = estrndup((char*)old, oldlen); 1118 traverse_for_entities(old, oldlen, ret, &retlen, all, flags, inverse_map, charset); 1126 PHPAPI char *php_escape_html_entities(unsigned char *old, size_t oldlen, size_t *newlen, int all, int flags, char *hint_charset TSRMLS_DC) argument 1128 return php_escape_html_entities_ex(old, oldlen, newlen, all, flags, hint_charset, 1 TSRMLS_CC); 1138 unsigned char *old, 1165 next_char = get_next_char(charset, old, oldle 924 traverse_for_entities( const char *old, size_t oldlen, char *ret, size_t *retlen, int all, int flags, const entity_ht *inv_map, enum entity_charset charset) argument 1132 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 1214 php_escape_html_entities_ex(unsigned char *old, size_t oldlen, size_t *newlen, int all, int flags, char *hint_charset, zend_bool double_encode TSRMLS_DC) argument [all...] |
| H A D | string.c | 135 static char *php_bin2hex(const unsigned char *old, const size_t oldlen, size_t *newlen) argument 143 result[j++] = hexconvtab[old[i] >> 4]; 144 result[j++] = hexconvtab[old[i] & 15]; 157 static char *php_hex2bin(const unsigned char *old, const size_t oldlen, size_t *newlen) argument 163 char c = old[j++]; 174 c = old[j++]; 2587 char *str, *old; local 2593 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &old, &old_len) == FAILURE) { 2597 old_end = old + old_len; 2599 if (old [all...] |
| /PHP_TRUNK/ext/libxml/ |
| H A D | libxml.c | 1057 zend_bool old = LIBXML(entity_loader_disabled); local 1060 return old;
|
| /PHP_TRUNK/ext/soap/ |
| H A D | php_xml.c | 95 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 D | php_encoding.c | 255 xmlChar old; local 262 old = '\0'; 264 if (*str != ' ' || old != ' ') { 268 old = *str; 271 if (old == ' ') {
|
| H A D | soap.c | 2160 int old = PG(display_errors); local 2201 PG(display_errors) = old; 2210 int old = PG(display_errors); local 2284 PG(display_errors) = old; 3190 The function returns old value of location options. */
|
| /PHP_TRUNK/ext/spl/ |
| H A D | spl_dllist.c | 846 /* call dtor on the old element as in spl_ptr_llist_pop */ 851 /* the element is replaced, delref the old one as in 961 spl_ptr_llist_element *old = *traverse_pointer_ptr; local 964 *traverse_pointer_ptr = old->prev; 975 *traverse_pointer_ptr = old->next; 988 SPL_LLIST_DELREF(old);
|
| /PHP_TRUNK/ext/fileinfo/libmagic/ |
| H A D | compress.c | 32 * uncompress(method, old, n, newch) - uncompress old into new, 320 uncompressgzipped(struct magic_set *ms, const unsigned char *old, argument 323 unsigned char flg = old[3]; 331 data_start += 2 + old[data_start] + old[data_start + 1] * 256; 334 while(data_start < n && old[data_start]) 339 while(data_start < n && old[data_start]) 353 z.next_in = (Bytef *)strchr((const char *)old + data_start, 354 old[data_star 386 uncompressbuf(struct magic_set *ms, int fd, size_t method, const unsigned char *old, unsigned char **newch, size_t n) argument [all...] |
| /PHP_TRUNK/sapi/cgi/ |
| H A D | cgi_main.c | 1265 char old; local 1268 old = path_info[0]; 1279 path_info[0] = old;
|
| /PHP_TRUNK/ext/opcache/Optimizer/ |
| H A D | block_pass.c | 334 static inline void replace_source(zend_block_source *list, zend_code_block *old, zend_code_block *new) argument 336 /* replace all references to 'old' in 'list' with 'new' */ 349 if ((*cs)->from == old) {
|
| /PHP_TRUNK/ext/opcache/ |
| H A D | zend_shared_alloc.c | 46 /* 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(&xlat_table, (ulong)old, (void*)&new, sizeof(void *), NULL); 437 void *zend_shared_alloc_get_xlat_entry(const void *old) argument 441 if (zend_hash_index_find(&xlat_table, (ulong)old, (void **)&retval) == FAILURE) {
|