/PHP-8.2/ext/phar/ |
H A D | zip.c | 399 entry.filename = (char *) pemalloc(entry.filename_len + 1, entry.is_persistent); in phar_parse_zipfile() 402 pefree(entry.filename, entry.is_persistent); in phar_parse_zipfile() 406 entry.filename[entry.filename_len] = '\0'; in phar_parse_zipfile() 443 entry.offset = entry.offset_abs = entry.header_offset in phar_parse_zipfile() 448 entry.offset = entry.offset_abs = entry.header_offset in phar_parse_zipfile() 865 phar_add_virtual_dirs(entry->phar, entry->filename, entry->filename_len); in phar_zip_changed_apply_int() 914 … if (entry->fp_type == PHAR_MOD && entry->fp != entry->phar->fp && entry->fp != entry->phar->ufp) { in phar_zip_changed_apply_int() 928 …if (entry->flags & PHAR_ENT_COMPRESSION_MASK && (entry->old_flags == entry->flags || !entry->old_f… in phar_zip_changed_apply_int() 999 entry->old_flags = entry->flags; in phar_zip_changed_apply_int() 1101 …if (entry->fp_type == PHAR_MOD && entry->fp != entry->phar->fp && entry->fp != entry->phar->ufp &&… in phar_zip_changed_apply_int() [all …]
|
H A D | tar.c | 371 entry.filename_len = entry.uncompressed_filesize; in phar_parse_tarfile() 394 entry.filename[entry.filename_len] = '\0'; in phar_parse_tarfile() 462 entry.filename[entry.filename_len - 1] = '\0'; in phar_parse_tarfile() 507 pefree(entry.filename, entry.is_persistent); in phar_parse_tarfile() 739 phar_add_virtual_dirs(entry->phar, entry->filename, entry->filename_len); in phar_tar_writeheaders_int() 842 if (!entry->is_modified && entry->fp_refcount) { in phar_tar_writeheaders_int() 857 if (entry->fp_type == PHAR_MOD && entry->fp != entry->phar->fp && entry->fp != entry->phar->ufp) { in phar_tar_writeheaders_int() 867 entry->offset = entry->offset_abs = pos; in phar_tar_writeheaders_int() 889 if (entry->fp && entry->fp_type == PHAR_MOD) { in phar_tar_setmetadata() 896 entry->offset = entry->offset_abs = 0; in phar_tar_setmetadata() [all …]
|
H A D | util.c | 53 spprintf(&ret, 0, "%s/%s", entry->filename, entry->link); in phar_get_link_location() 66 return entry; in phar_get_link_source() 129 entry = t; in phar_seek_efp() 787 entry->old_flags = entry->flags; in phar_open_entry_fp() 806 entry->old_flags = entry->flags; in phar_create_writeable_entry() 839 entry->old_flags = entry->flags; in phar_create_writeable_entry() 1282 entry->is_temp_dir = entry->is_dir = 1; in phar_get_entry_info_dir() 1308 if (!entry->tmp || !entry->is_mounted) { in phar_get_entry_info_dir() 2016 entry->link = estrdup(entry->link); in phar_update_cached_entry() 2020 entry->tmp = estrdup(entry->tmp); in phar_update_cached_entry() [all …]
|
H A D | phar_internal.h | 339 return entry->phar->fp; in phar_get_entrypfp() 347 return entry->phar->ufp; in phar_get_entrypufp() 355 entry->phar->fp = fp; in phar_set_entrypfp() 365 entry->phar->ufp = fp; in phar_set_entrypufp() 413 entry->fp_type = type; in phar_set_fp_type() 414 entry->offset = offset; in phar_set_fp_type() 417 data = &(PHAR_G(cached_fp)[entry->phar->phar_pos].manifest[entry->manifest_pos]); in phar_set_fp_type() 425 return entry->fp_type; in phar_get_fp_type() 433 return entry->offset; in phar_get_fp_offset() 437 PHAR_G(cached_fp)[entry->phar->phar_pos].manifest[entry->manifest_pos].offset = entry->offset; in phar_get_fp_offset() [all …]
|
H A D | dirstream.c | 268 efree(entry); in phar_make_dirstream() 358 } else if (entry && entry->is_dir) { in phar_wrapper_open_dir() 486 entry.is_zip = 1; in phar_wrapper_mkdir() 492 entry.is_tar = 1; in phar_wrapper_mkdir() 498 entry.is_dir = 1; in phar_wrapper_mkdir() 499 entry.phar = phar; in phar_wrapper_mkdir() 516 zend_hash_str_del(&phar->manifest, entry.filename, entry.filename_len); in phar_wrapper_mkdir() 521 phar_add_virtual_dirs(phar, entry.filename, entry.filename_len); in phar_wrapper_mkdir() 609 efree(entry); in phar_wrapper_rmdir() 626 efree(entry); in phar_wrapper_rmdir() [all …]
|
H A D | func_interceptors.c | 60 efree(entry); in PHAR_FUNC() 65 entry = phar_fix_filepath(entry, &entry_len, 1); in PHAR_FUNC() 72 efree(entry); in PHAR_FUNC() 138 efree(entry); in PHAR_FUNC() 269 efree(entry); in PHAR_FUNC() 307 efree(entry); in PHAR_FUNC() 370 efree(entry); in PHAR_FUNC() 409 efree(entry); in PHAR_FUNC() 623 efree(entry); in phar_file_stat() 633 entry = phar_fix_filepath(entry, &entry_len, 1); in phar_file_stat() [all …]
|
H A D | phar.c | 315 if (entry->fp && !entry->fp_refcount) { in phar_tmpclose_apply() 365 pefree(entry->filename, entry->is_persistent); in destroy_phar_manifest_entry_int() 368 pefree(entry->link, entry->is_persistent); in destroy_phar_manifest_entry_int() 373 pefree(entry->tmp, entry->is_persistent); in destroy_phar_manifest_entry_int() 383 pefree(entry, entry->is_persistent); in destroy_phar_manifest_entry() 1156 entry.filename = pestrndup(buffer, entry.filename_len, entry.is_persistent); in phar_parse_pharfile() 1193 entry.offset = entry.offset_abs = offset; in phar_parse_pharfile() 2443 entry->offset = entry->offset_abs = in phar_postprocess_file() 2881 entry->old_flags = entry->flags; in phar_flush() 3050 if (entry->is_deleted || entry->is_dir || entry->is_mounted) { in phar_flush() [all …]
|
H A D | phar_object.c | 407 efree(entry); in PHP_METHOD() 458 efree(entry); in PHP_METHOD() 459 entry = NULL; in PHP_METHOD() 496 if (entry && path && path == entry) { in PHP_METHOD() 514 path = entry; in PHP_METHOD() 1154 if (entry) { in PHP_METHOD() 1201 if (entry) { in PHP_METHOD() 1948 entry->cfp = entry->fp; in phar_copy_file_contents() 3110 entry->old_flags = entry->flags; in phar_set_compression() 4630 entry_obj->entry->old_flags = entry_obj->entry->flags; in PHP_METHOD() [all …]
|
H A D | stream.c | 77 if (arch && !entry) { in phar_parse_url() 91 efree(entry); in phar_parse_url() 274 entry->phar = phar; in phar_wrapper_open_url() 275 entry->offset = entry->offset_abs = 0; in phar_wrapper_open_url() 376 phar_entry_info *entry; in phar_stream_read() local 406 phar_entry_info *entry; in phar_stream_seek() local 638 if (!entry->tmp || !entry->is_mounted) { in phar_wrapper_stat() 857 entry->fp = NULL; in phar_wrapper_rename() 859 entry->link = entry->tmp = NULL; in phar_wrapper_rename() 860 source = entry; in phar_wrapper_rename() [all …]
|
/PHP-8.2/ext/opcache/ |
H A D | zend_accelerator_hash.c | 96 while (entry) { in zend_accel_hash_update() 115 return entry; in zend_accel_hash_update() 117 entry = entry->next; in zend_accel_hash_update() 131 entry->data = data; in zend_accel_hash_update() 135 entry->key = key; in zend_accel_hash_update() 138 return entry; in zend_accel_hash_update() 154 while (entry) { in zend_accel_hash_find_ex() 167 return entry; in zend_accel_hash_find_ex() 171 entry = entry->next; in zend_accel_hash_find_ex() 205 while (entry) { in zend_accel_hash_unlink() [all …]
|
/PHP-8.2/Zend/ |
H A D | zend_gdb.c | 64 zend_gdbjit_code_entry *entry; in zend_gdb_register_code() local 67 if (entry == NULL) { in zend_gdb_register_code() 71 entry->symfile_addr = ((char*)entry) + sizeof(zend_gdbjit_code_entry); in zend_gdb_register_code() 72 entry->symfile_size = size; in zend_gdb_register_code() 76 entry->prev_entry = NULL; in zend_gdb_register_code() 79 if (entry->next_entry) { in zend_gdb_register_code() 80 entry->next_entry->prev_entry = entry; in zend_gdb_register_code() 94 zend_gdbjit_code_entry *entry; in zend_gdb_unregister_all() local 99 if (entry->next_entry) { in zend_gdb_unregister_all() 100 entry->next_entry->prev_entry = NULL; in zend_gdb_unregister_all() [all …]
|
/PHP-8.2/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 198 <row><entry>a1</entry><entry morerows="1">b1</entry><entry>c1</entry></row> 199 <row><entry>a2</entry><entry>c2</entry></row> 200 <row><entry>a3</entry><entry>b3</entry><entry>c3</entry></row> 257 <row><entry>a1</entry><entry morerows="1">b1</entry><entry>c1</entry></row> 258 <row><entry>a2</entry><entry>c2</entry></row> 259 <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-8.2/ext/standard/ |
H A D | browscap.c | 72 if (entry->parent) { 75 efree(entry); 82 if (entry->parent) { in browscap_entry_dtor_persistent() 85 pefree(entry, 1); in browscap_entry_dtor_persistent() 287 if (entry->parent) { in browscap_entry_to_array() 292 for (i = entry->kv_start; i < entry->kv_end; i++) { in browscap_entry_to_array() 356 browscap_entry *entry; in php_browscap_parser_cb() local 386 entry->kv_end = entry->kv_start = bdata->kv_used; in php_browscap_parser_cb() 387 entry->parent = NULL; in php_browscap_parser_cb() 392 &entry->contains_start[i], &entry->contains_len[i]); in php_browscap_parser_cb() [all …]
|
H A D | array.c | 1036 zval *entry; in PHP_FUNCTION() local 1055 entry = Z_INDIRECT_P(entry); in PHP_FUNCTION() 1067 zval *entry; in PHP_FUNCTION() local 1086 entry = Z_INDIRECT_P(entry); in PHP_FUNCTION() 1117 entry = Z_INDIRECT_P(entry); in PHP_FUNCTION() 1148 entry = Z_INDIRECT_P(entry); in PHP_FUNCTION() 1172 entry = Z_INDIRECT_P(entry); in PHP_FUNCTION() 3621 entry = Z_REFVAL_P(entry); 4350 entry = Z_REFVAL_P(entry); 5986 *entry, local [all …]
|
/PHP-8.2/ext/ldap/tests/ |
H A D | ldap_next_entry_basic.phpt | 17 $entry = ldap_first_entry($link, $result); 19 $entry = ldap_next_entry($link, $entry), 20 ldap_get_values($link, $entry, 'sn'), 21 $entry = ldap_next_entry($link, $entry)
|
H A D | ldap_next_attribute_basic.phpt | 17 $entry = ldap_first_entry($link, $result); 18 $attribute = ldap_first_attribute($link, $entry); 20 ldap_next_attribute($link, $entry), 21 ldap_next_attribute($link, $entry), 22 ldap_next_attribute($link, $entry), 23 ldap_next_attribute($link, $entry)
|
/PHP-8.2/ext/phar/tests/ |
H A D | 019c.phpt | 31 while (false !== ($entry = readdir($dir))) { 32 $entry = $base . '/' . $entry; 33 var_dump($entry); 34 var_dump(is_dir($phar . $entry)); 35 if (is_dir($phar . $entry)) 37 dump($phar, $entry); 41 var_dump(file_get_contents($phar . $entry));
|
H A D | 019b.phpt | 31 while (false !== ($entry = readdir($dir))) { 32 $entry = $base . '/' . $entry; 33 var_dump($entry); 34 var_dump(is_dir($phar . $entry)); 35 if (is_dir($phar . $entry)) 37 dump($phar, $entry);
|
/PHP-8.2/ext/standard/tests/array/ |
H A D | array_flip_variation4.phpt | 60 Warning: array_flip(): Can only flip string and integer values, entry skipped in %s on line %d 62 Warning: array_flip(): Can only flip string and integer values, entry skipped in %s on line %d 64 Warning: array_flip(): Can only flip string and integer values, entry skipped in %s on line %d 66 Warning: array_flip(): Can only flip string and integer values, entry skipped in %s on line %d 68 Warning: array_flip(): Can only flip string and integer values, entry skipped in %s on line %d 70 Warning: array_flip(): Can only flip string and integer values, entry skipped in %s on line %d 72 Warning: array_flip(): Can only flip string and integer values, entry skipped in %s on line %d 74 Warning: array_flip(): Can only flip string and integer values, entry skipped in %s on line %d 76 Warning: array_flip(): Can only flip string and integer values, entry skipped in %s on line %d 78 Warning: array_flip(): Can only flip string and integer values, entry skipped in %s on line %d [all …]
|
/PHP-8.2/ext/sockets/ |
H A D | sendrecvmsg.c | 94 ancillary_reg_entry entry; in init_ancillary_registry() local 101 entry.size = sizev; \ in init_ancillary_registry() 103 entry.calc_space = calc; \ in init_ancillary_registry() 104 entry.from_array = from; \ in init_ancillary_registry() 105 entry.to_array = to; \ in init_ancillary_registry() 159 ancillary_reg_entry *entry; in get_ancillary_reg_entry() local 172 return entry; in get_ancillary_reg_entry() 289 ancillary_reg_entry *entry; in PHP_FUNCTION() local 306 if (entry == NULL) { in PHP_FUNCTION() 316 size_t size = entry->size + n * entry->var_el_size; in PHP_FUNCTION() [all …]
|
/PHP-8.2/ext/pcre/pcre2lib/ |
H A D | pcre2_substring.c | 76 PCRE2_SPTR first, last, entry; in pcre2_substring_copy_byname() local 84 for (entry = first; entry <= last; entry += entrysize) in pcre2_substring_copy_byname() 86 uint32_t n = GET2(entry, 0); in pcre2_substring_copy_byname() 164 PCRE2_SPTR first, last, entry; in pcre2_substring_get_byname() local 172 for (entry = first; entry <= last; entry += entrysize) in pcre2_substring_get_byname() 174 uint32_t n = GET2(entry, 0); in pcre2_substring_get_byname() 271 PCRE2_SPTR first, last, entry; in pcre2_substring_length_byname() local 279 for (entry = first; entry <= last; entry += entrysize) in pcre2_substring_length_byname() 281 uint32_t n = GET2(entry, 0); in pcre2_substring_length_byname() 491 PCRE2_SPTR entry = nametable + entrysize*mid; in pcre2_substring_nametable_scan() local [all …]
|
/PHP-8.2/ext/zip/tests/ |
H A D | bug7214.phpt | 10 $entry = zip_read($zip); 11 $contents = zip_entry_read($entry, zip_entry_filesize($entry)); 12 if (strlen($contents) == zip_entry_filesize($entry)) {
|
H A D | zip_entry_read.phpt | 8 $entry = zip_read($zip); 9 if (!zip_entry_open($zip, $entry, "r")) die("Failure"); 10 echo zip_entry_read($entry); 11 zip_entry_close($entry);
|