/PHP-5.5/ext/opcache/ |
H A D | zend_accelerator_hash.c | 93 while (entry) { in zend_accel_hash_update() 113 return entry; in zend_accel_hash_update() 115 entry = entry->next; in zend_accel_hash_update() 137 return entry; in zend_accel_hash_update() 153 while (entry) { in zend_accel_hash_find() 163 entry = entry->next; in zend_accel_hash_find() 181 while (entry) { in zend_accel_hash_find_entry() 188 return entry; in zend_accel_hash_find_entry() 191 entry = entry->next; in zend_accel_hash_find_entry() 206 while (entry) { in zend_accel_hash_unlink() [all …]
|
/PHP-5.5/ext/phar/ |
H A D | zip.c | 388 entry.filename = (char *) pemalloc(entry.filename_len + 1, entry.is_persistent); in phar_parse_zipfile() 390 if (entry.filename_len != php_stream_read(fp, entry.filename, entry.filename_len)) { in phar_parse_zipfile() 391 pefree(entry.filename, entry.is_persistent); in phar_parse_zipfile() 395 entry.filename[entry.filename_len] = '\0'; in phar_parse_zipfile() 414 pefree(entry.filename, entry.is_persistent); in phar_parse_zipfile() 581 entry.offset = entry.offset_abs = in phar_parse_zipfile() 837 … if (entry->fp_type == PHAR_MOD && entry->fp != entry->phar->fp && entry->fp != entry->phar->ufp) { in phar_zip_changed_apply() 851 …if (entry->flags & PHAR_ENT_COMPRESSION_MASK && (entry->old_flags == entry->flags || !entry->old_f… in phar_zip_changed_apply() 924 entry->old_flags = entry->flags; in phar_zip_changed_apply() 1035 …if (entry->fp_type == PHAR_MOD && entry->fp != entry->phar->fp && entry->fp != entry->phar->ufp &&… in phar_zip_changed_apply() [all …]
|
H A D | tar.c | 184 entry->phar->metadata = entry->metadata; in phar_tar_process_metadata() 379 entry.filename[entry.filename_len] = '\0'; in phar_parse_tarfile() 493 pefree(entry.filename, entry.is_persistent); in phar_parse_tarfile() 719 phar_add_virtual_dirs(entry->phar, entry->filename, entry->filename_len TSRMLS_CC); in phar_tar_writeheaders() 832 if (entry->fp_type == PHAR_MOD && entry->fp != entry->phar->fp && entry->fp != entry->phar->ufp) { in phar_tar_writeheaders() 842 entry->offset = entry->offset_abs = pos; in phar_tar_writeheaders() 860 entry->uncompressed_filesize = entry->compressed_filesize = entry->metadata_str.len; in phar_tar_setmetadata() 862 if (entry->fp && entry->fp_type == PHAR_MOD) { in phar_tar_setmetadata() 869 entry->offset = entry->offset_abs = 0; in phar_tar_setmetadata() 874 …if (entry->metadata_str.len != php_stream_write(entry->fp, entry->metadata_str.c, entry->metadata_… in phar_tar_setmetadata() [all …]
|
H A D | util.c | 57 spprintf(&ret, 0, "%s/%s", entry->filename, entry->link); in phar_get_link_location() 70 return entry; in phar_get_link_source() 133 entry = t; in phar_seek_efp() 799 entry->old_flags = entry->flags; in phar_open_entry_fp() 818 entry->old_flags = entry->flags; in phar_create_writeable_entry() 851 entry->old_flags = entry->flags; in phar_create_writeable_entry() 1298 entry->is_temp_dir = entry->is_dir = 1; in phar_get_entry_info_dir() 1336 if (!entry->tmp || !entry->is_mounted) { in phar_get_entry_info_dir() 1995 entry->link = estrdup(entry->link); 1999 entry->tmp = estrdup(entry->tmp); [all …]
|
H A D | phar_internal.h | 366 if (!entry->is_persistent) { in phar_get_entrypfp() 367 return entry->phar->fp; in phar_get_entrypfp() 375 return entry->phar->ufp; in phar_get_entrypufp() 383 entry->phar->fp = fp; in phar_set_entrypfp() 393 entry->phar->ufp = fp; in phar_set_entrypufp() 441 entry->fp_type = type; in phar_set_fp_type() 442 entry->offset = offset; in phar_set_fp_type() 453 return entry->fp_type; in phar_get_fp_type() 461 return entry->offset; in phar_get_fp_offset() 465 …PHAR_GLOBALS->cached_fp[entry->phar->phar_pos].manifest[entry->manifest_pos].offset = entry->offse… in phar_get_fp_offset() [all …]
|
H A D | func_interceptors.c | 62 efree(entry); in PHAR_FUNC() 67 entry = phar_fix_filepath(entry, &entry_len, 1 TSRMLS_CC); in PHAR_FUNC() 74 efree(entry); in PHAR_FUNC() 135 efree(entry); in PHAR_FUNC() 153 name = entry; in PHAR_FUNC() 266 efree(entry); in PHAR_FUNC() 281 name = entry; in PHAR_FUNC() 304 efree(entry); in PHAR_FUNC() 362 efree(entry); in PHAR_FUNC() 401 efree(entry); in PHAR_FUNC() [all …]
|
H A D | dirstream.c | 295 efree(entry); in phar_make_dirstream() 389 } else if (entry && entry->is_dir) { in phar_wrapper_open_dir() 521 entry.is_zip = 1; in phar_wrapper_mkdir() 527 entry.is_tar = 1; in phar_wrapper_mkdir() 533 entry.is_dir = 1; in phar_wrapper_mkdir() 534 entry.phar = phar; in phar_wrapper_mkdir() 551 zend_hash_del(&phar->manifest, entry.filename, entry.filename_len); in phar_wrapper_mkdir() 556 phar_add_virtual_dirs(phar, entry.filename, entry.filename_len TSRMLS_CC); in phar_wrapper_mkdir() 649 efree(entry); in phar_wrapper_rmdir() 670 efree(entry); in phar_wrapper_rmdir() [all …]
|
H A D | phar.c | 344 if (entry->fp && !entry->fp_refcount) { in phar_tmpclose_apply() 415 pefree(entry->filename, entry->is_persistent); in destroy_phar_manifest_entry() 418 pefree(entry->link, entry->is_persistent); in destroy_phar_manifest_entry() 423 pefree(entry->tmp, entry->is_persistent); in destroy_phar_manifest_entry() 1083 entry.filename = pestrndup(buffer, entry.filename_len, entry.is_persistent); 1115 pefree(entry.filename, entry.is_persistent); 1119 pefree(entry.filename, entry.is_persistent); 1124 entry.offset = entry.offset_abs = offset; 2462 entry->offset = entry->offset_abs = 2917 entry->old_flags = entry->flags; [all …]
|
H A D | phar_object.c | 455 efree(entry); in PHP_METHOD() 493 efree(entry); in PHP_METHOD() 494 entry = NULL; in PHP_METHOD() 530 if (entry && path && path == entry) { in PHP_METHOD() 531 efree(entry); in PHP_METHOD() 548 path = entry; in PHP_METHOD() 763 efree(entry); in PHP_METHOD() 1196 if (entry) { in PHP_METHOD() 1243 if (entry) { in PHP_METHOD() 2009 entry->cfp = entry->fp; in phar_copy_file_contents() [all …]
|
H A D | stream.c | 76 if (arch && !entry) { in phar_parse_url() 89 resource->path = entry; in phar_parse_url() 264 entry->phar = phar; in phar_wrapper_open_url() 265 entry->offset = entry->offset_abs = 0; in phar_wrapper_open_url() 363 phar_entry_info *entry; in phar_stream_read() local 656 if (!entry->tmp || !entry->is_mounted) { in phar_wrapper_stat() 877 entry->fp = NULL; in phar_wrapper_rename() 878 entry->metadata = 0; in phar_wrapper_rename() 879 entry->link = entry->tmp = NULL; in phar_wrapper_rename() 880 source = entry; in phar_wrapper_rename() [all …]
|
/PHP-5.5/ext/dom/examples/ |
H A D | dom1.inc | 14 <row><entry>a1</entry><entry morerows='1'>b1</entry><entry>c1</entry></row> 15 <row><entry>a2</entry><entry>c2</entry></row> 16 <row><entry>a3</entry><entry>b3</entry><entry>c3</entry></row>
|
/PHP-5.5/ext/dom/tests/ |
H A D | dom_test.inc | 14 <row><entry>a1</entry><entry morerows='1'>b1</entry><entry>c1</entry></row> 15 <row><entry>a2</entry><entry>c2</entry></row> 16 <row><entry>a3</entry><entry>b3</entry><entry>c3</entry></row>
|
H A D | dom001.phpt | 29 // The last node should be identical with the last entry in the children array 203 <row><entry>a1</entry><entry morerows="1">b1</entry><entry>c1</entry></row> 204 <row><entry>a2</entry><entry>c2</entry></row> 205 <row><entry>a3</entry><entry>b3</entry><entry>c3</entry></row> 264 <row><entry>a1</entry><entry morerows="1">b1</entry><entry>c1</entry></row> 265 <row><entry>a2</entry><entry>c2</entry></row> 266 <row><entry>a3</entry><entry>b3</entry><entry>c3</entry></row>
|
H A D | bug40836.phpt | 11 <entry xmlns="http://www.w3.org/2005/Atom"> 18 </entry> 21 $entry = $dom->getElementsByTagNameNS("http://www.w3.org/2005/Atom", "entry")->item(0); 22 $contentNode = $entry->getElementsByTagName("content")->item(0)->firstChild; 23 $dateNode = $entry->getElementsByTagName("updated")->item(0)->firstChild; 29 …entry xmlns="http://www.w3.org/2005/Atom"><updated/><content><div xmlns="http://www.w3.org/1999/xh…
|
/PHP-5.5/ext/mbstring/libmbfl/tests/conv_encoding.tests/ |
H A D | gen_exp.c | 61 entry = &map->entries[i]; in mappings_add() 75 entry->cp_uni = cp_uni; in mappings_add() 76 entry->n = 0; in mappings_add() 93 entry->cp_uni = cp_uni; in mappings_add() 94 entry->n = 0; in mappings_add() 102 if (entry->n >= sizeof(entry->cp_932) / sizeof(*entry->cp_932)) in mappings_add() 104 entry->cp_932[entry->n++] = cp_932; in mappings_add() 202 if (entry->cp_uni < 32 || entry->cp_uni == 127) in to_cp932_visitor() 241 if (entry->cp_uni < 32 || entry->cp_uni == 127) in from_cp932_visitor() 275 if (entry->cp_uni < 32 || entry->cp_uni == 127) in to_cp50220_visitor() [all …]
|
/PHP-5.5/ext/zip/lib/ |
H A D | zip_unchange.c | 60 if (za->entry[idx].ch_filename) { in _zip_unchange() 71 free(za->entry[idx].ch_filename); in _zip_unchange() 72 za->entry[idx].ch_filename = NULL; in _zip_unchange() 75 free(za->entry[idx].ch_extra); in _zip_unchange() 76 za->entry[idx].ch_extra = NULL; in _zip_unchange() 77 za->entry[idx].ch_extra_len = -1; in _zip_unchange() 78 free(za->entry[idx].ch_comment); in _zip_unchange() 79 za->entry[idx].ch_comment = NULL; in _zip_unchange() 80 za->entry[idx].ch_comment_len = -1; in _zip_unchange() 82 _zip_unchange_data(za->entry+idx); in _zip_unchange()
|
H A D | zip_close.c | 118 _zip_dirent_init(&cd->entry[i]); in zip_close() 176 memcpy(cd->entry+j, &de, sizeof(cd->entry[j])); in zip_close() 183 cd->entry[j].filename = "-"; in zip_close() 189 cd->entry[j].filename = za->cdir->entry[i].filename; in zip_close() 206 memcpy(cd->entry+j, za->cdir->entry+i, sizeof(cd->entry[j])); in zip_close() 216 if (za->entry[i].ch_filename) { in zip_close() 223 cd->entry[j].filename = za->entry[i].ch_filename; in zip_close() 233 memcpy(de.extrafield, za->entry[i].ch_extra, za->entry[i].ch_extra_len); in zip_close() 246 cd->entry[j].comment = za->entry[i].ch_comment; in zip_close() 247 cd->entry[j].comment_len = za->entry[i].ch_comment_len; in zip_close() [all …]
|
H A D | zip_stat_index.c | 56 && ZIP_ENTRY_DATA_CHANGED(za->entry+index)) { in zip_stat_index() 57 if (zip_source_stat(za->entry[index].source, st) < 0) { in zip_stat_index() 70 st->crc = za->cdir->entry[index].crc; in zip_stat_index() 71 st->size = za->cdir->entry[index].uncomp_size; in zip_stat_index() 72 st->mtime = za->cdir->entry[index].last_mod; in zip_stat_index() 73 st->comp_size = za->cdir->entry[index].comp_size; in zip_stat_index() 74 st->comp_method = za->cdir->entry[index].comp_method; in zip_stat_index() 75 if (za->cdir->entry[index].bitflags & ZIP_GPBF_ENCRYPTED) { in zip_stat_index() 76 if (za->cdir->entry[index].bitflags & ZIP_GPBF_STRONG_ENCRYPTION) { in zip_stat_index()
|
H A D | zip_get_file_comment.c | 49 || (za->entry[idx].ch_comment_len == -1)) { in zip_get_file_comment() 51 *lenp = za->cdir->entry[idx].comment_len; in zip_get_file_comment() 52 return za->cdir->entry[idx].comment; in zip_get_file_comment() 56 *lenp = za->entry[idx].ch_comment_len; in zip_get_file_comment() 57 return za->entry[idx].ch_comment; in zip_get_file_comment()
|
H A D | zip_get_file_extra.c | 49 || (za->entry[idx].ch_extra_len == -1)) { in zip_get_file_extra() 51 *lenp = za->cdir->entry[idx].extrafield_len; in zip_get_file_extra() 52 return za->cdir->entry[idx].extrafield; in zip_get_file_extra() 56 *lenp = za->entry[idx].ch_extra_len; in zip_get_file_extra() 57 return za->entry[idx].ch_extra; in zip_get_file_extra()
|
/PHP-5.5/ext/ldap/tests/ |
H A D | ldap_next_entry_basic.phpt | 16 $entry = ldap_first_entry($link, $result); 18 $entry = ldap_next_entry($link, $entry), 19 ldap_get_values($link, $entry, 'sn'), 20 $entry = ldap_next_entry($link, $entry) 32 resource(%d) of type (ldap result entry)
|
/PHP-5.5/ext/phar/tests/ |
H A D | 019c.phpt | 34 while (false !== ($entry = readdir($dir))) { 35 $entry = $base . '/' . $entry; 36 var_dump($entry); 37 var_dump(is_dir($phar . $entry)); 38 if (is_dir($phar . $entry)) 40 dump($phar, $entry); 44 var_dump(file_get_contents($phar . $entry));
|
H A D | 019cU.phpt | 34 while (false !== ($entry = readdir($dir))) { 35 $entry = $base . '/' . $entry; 36 var_dump($entry); 37 var_dump(is_dir($phar . $entry)); 38 if (is_dir($phar . $entry)) 40 dump($phar, $entry); 44 var_dump(file_get_contents($phar . $entry));
|
H A D | 019bU.phpt | 36 while (false !== ($entry = readdir($dir))) { 37 $entry = $base . '/' . $entry; 38 var_dump($entry); 39 var_dump(is_dir($phar . $entry)); 40 if (is_dir($phar . $entry)) 42 dump($phar, $entry);
|
/PHP-5.5/ext/zip/tests/ |
H A D | zip_entry_read.phpt | 11 $entry = zip_read($zip); 12 if (!zip_entry_open($zip, $entry, "r")) die("Failure"); 13 echo zip_entry_read($entry); 14 zip_entry_close($entry);
|