/PHP-5.6/ext/opcache/ |
H A D | zend_accelerator_hash.c | 99 while (entry) { in zend_accel_hash_update() 119 return entry; in zend_accel_hash_update() 121 entry = entry->next; in zend_accel_hash_update() 143 return entry; in zend_accel_hash_update() 165 while (entry) { in zend_accel_hash_find() 175 entry = entry->next; in zend_accel_hash_find() 199 while (entry) { in zend_accel_hash_find_entry() 206 return entry; in zend_accel_hash_find_entry() 209 entry = entry->next; in zend_accel_hash_find_entry() 230 while (entry) { in zend_accel_hash_unlink() [all …]
|
/PHP-5.6/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() 721 phar_add_virtual_dirs(entry->phar, entry->filename, entry->filename_len TSRMLS_CC); in phar_tar_writeheaders() 834 if (entry->fp_type == PHAR_MOD && entry->fp != entry->phar->fp && entry->fp != entry->phar->ufp) { in phar_tar_writeheaders() 844 entry->offset = entry->offset_abs = pos; in phar_tar_writeheaders() 862 entry->uncompressed_filesize = entry->compressed_filesize = entry->metadata_str.len; in phar_tar_setmetadata() 864 if (entry->fp && entry->fp_type == PHAR_MOD) { in phar_tar_setmetadata() 871 entry->offset = entry->offset_abs = 0; in phar_tar_setmetadata() 876 …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() 1331 if (!entry->tmp || !entry->is_mounted) { in phar_get_entry_info_dir() 2016 entry->link = estrdup(entry->link); 2020 entry->tmp = estrdup(entry->tmp); [all …]
|
H A D | dirstream.c | 278 efree(entry); in phar_make_dirstream() 371 } else if (entry && entry->is_dir) { in phar_wrapper_open_dir() 500 entry.is_zip = 1; in phar_wrapper_mkdir() 506 entry.is_tar = 1; in phar_wrapper_mkdir() 512 entry.is_dir = 1; in phar_wrapper_mkdir() 513 entry.phar = phar; in phar_wrapper_mkdir() 530 zend_hash_del(&phar->manifest, entry.filename, entry.filename_len); in phar_wrapper_mkdir() 535 phar_add_virtual_dirs(phar, entry.filename, entry.filename_len TSRMLS_CC); in phar_wrapper_mkdir() 624 efree(entry); in phar_wrapper_rmdir() 641 efree(entry); in phar_wrapper_rmdir() [all …]
|
H A D | phar_internal.h | 350 if (!entry->is_persistent) { in phar_get_entrypfp() 351 return entry->phar->fp; in phar_get_entrypfp() 359 return entry->phar->ufp; in phar_get_entrypufp() 367 entry->phar->fp = fp; in phar_set_entrypfp() 377 entry->phar->ufp = fp; in phar_set_entrypufp() 425 entry->fp_type = type; in phar_set_fp_type() 426 entry->offset = offset; in phar_set_fp_type() 437 return entry->fp_type; in phar_get_fp_type() 445 return entry->offset; in phar_get_fp_offset() 449 …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 | 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() 1094 entry.filename = pestrndup(buffer, entry.filename_len, entry.is_persistent); 1126 pefree(entry.filename, entry.is_persistent); 1130 pefree(entry.filename, entry.is_persistent); 1135 entry.offset = entry.offset_abs = offset; 2452 entry->offset = entry->offset_abs = 2907 entry->old_flags = entry->flags; [all …]
|
H A D | phar_object.c | 453 efree(entry); in PHP_METHOD() 491 efree(entry); in PHP_METHOD() 492 entry = NULL; in PHP_METHOD() 528 if (entry && path && path == entry) { in PHP_METHOD() 529 efree(entry); in PHP_METHOD() 546 path = entry; in PHP_METHOD() 761 efree(entry); in PHP_METHOD() 1194 if (entry) { in PHP_METHOD() 1241 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 649 if (!entry->tmp || !entry->is_mounted) { in phar_wrapper_stat() 869 entry->fp = NULL; in phar_wrapper_rename() 870 entry->metadata = 0; in phar_wrapper_rename() 871 entry->link = entry->tmp = NULL; in phar_wrapper_rename() 872 source = entry; in phar_wrapper_rename() [all …]
|
/PHP-5.6/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.6/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.6/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.6/ext/zip/lib/ |
H A D | zip_file_replace.c | 86 _zip_entry_finalize(za->entry+idx); in _zip_file_replace() 94 _zip_unchange_data(za->entry+idx); in _zip_file_replace() 96 …if (za->entry[idx].orig != NULL && (za->entry[idx].changes == NULL || (za->entry[idx].changes->cha… in _zip_file_replace() 97 if (za->entry[idx].changes == NULL) { in _zip_file_replace() 98 if ((za->entry[idx].changes=_zip_dirent_clone(za->entry[idx].orig)) == NULL) { in _zip_file_replace() 104 za->entry[idx].changes->comp_method = ZIP_CM_REPLACED_DEFAULT; in _zip_file_replace() 105 za->entry[idx].changes->changed |= ZIP_DIRENT_COMP_METHOD; in _zip_file_replace() 108 za->entry[idx].source = source; in _zip_file_replace()
|
H A D | zip_unchange.c | 60 …if (!allow_duplicates && za->entry[idx].changes && (za->entry[idx].changes->changed & ZIP_DIRENT_F… in _zip_unchange() 68 _zip_dirent_free(za->entry[idx].changes); in _zip_unchange() 69 za->entry[idx].changes = NULL; in _zip_unchange() 71 _zip_unchange_data(za->entry+idx); in _zip_unchange()
|
/PHP-5.6/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)
|
H A D | ldap_next_attribute_basic.phpt | 16 $entry = ldap_first_entry($link, $result); 17 $attribute = ldap_first_attribute($link, $entry); 19 ldap_next_attribute($link, $entry), 20 ldap_next_attribute($link, $entry), 21 ldap_next_attribute($link, $entry), 22 ldap_next_attribute($link, $entry)
|
/PHP-5.6/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.6/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);
|
H A D | bug7214.phpt | 13 $entry = zip_read($zip); 14 $contents = zip_entry_read($entry, zip_entry_filesize($entry)); 15 if (strlen($contents) == zip_entry_filesize($entry)) {
|
/PHP-5.6/ext/sockets/ |
H A D | sendrecvmsg.c | 91 ancillary_reg_entry entry; in init_ancillary_registry() local 98 entry.size = sizev; \ in init_ancillary_registry() 100 entry.calc_space = calc; \ in init_ancillary_registry() 101 entry.from_array = from; \ in init_ancillary_registry() 102 entry.to_array = to; \ in init_ancillary_registry() 106 (void*)&entry, sizeof(entry), NULL) in init_ancillary_registry() 144 ancillary_reg_entry *entry; in get_ancillary_reg_entry() local 158 return entry; in get_ancillary_reg_entry() 296 if (entry == NULL) { in PHP_FUNCTION() 302 if (entry->var_el_size > 0 && n > (LONG_MAX - (long)entry->size - in PHP_FUNCTION() [all …]
|