/PHP-7.3/ext/zip/lib/ |
H A D | zip_hash.c | 81 free(entry); in _free_list() 82 entry = next; in _free_list() 134 for (entry = hash->table[hash_value]; entry != NULL; entry = entry->next) { in _zip_hash_add() 189 free(entry); in _zip_hash_delete() 197 entry = entry->next; in _zip_hash_delete() 217 for (entry = hash->table[hash_value]; entry != NULL; entry = entry->next) { in _zip_hash_lookup() 246 while (entry) { in _zip_hash_revert() 255 p = entry; in _zip_hash_revert() 256 entry = entry->next; in _zip_hash_revert() 261 entry->current_index = entry->orig_index; in _zip_hash_revert() [all …]
|
H A D | zip_file_replace.c | 83 _zip_entry_finalize(za->entry+idx); in _zip_file_replace() 91 _zip_unchange_data(za->entry+idx); in _zip_file_replace() 93 …if (za->entry[idx].orig != NULL && (za->entry[idx].changes == NULL || (za->entry[idx].changes->cha… in _zip_file_replace() 94 if (za->entry[idx].changes == NULL) { in _zip_file_replace() 95 if ((za->entry[idx].changes=_zip_dirent_clone(za->entry[idx].orig)) == NULL) { in _zip_file_replace() 101 za->entry[idx].changes->comp_method = ZIP_CM_REPLACED_DEFAULT; in _zip_file_replace() 102 za->entry[idx].changes->changed |= ZIP_DIRENT_COMP_METHOD; in _zip_file_replace() 105 za->entry[idx].source = source; in _zip_file_replace()
|
H A D | zip_unchange.c | 58 …if (!allow_duplicates && za->entry[idx].changes && (za->entry[idx].changes->changed & ZIP_DIRENT_F… in _zip_unchange() 59 if (za->entry[idx].orig != NULL) { in _zip_unchange() 89 _zip_dirent_free(za->entry[idx].changes); in _zip_unchange() 90 za->entry[idx].changes = NULL; in _zip_unchange() 92 _zip_unchange_data(za->entry+idx); in _zip_unchange()
|
/PHP-7.3/ext/opcache/ |
H A D | zend_accelerator_hash.c | 96 while (entry) { in zend_accel_hash_update() 116 return entry; in zend_accel_hash_update() 118 entry = entry->next; in zend_accel_hash_update() 132 entry->data = data; in zend_accel_hash_update() 136 entry->key = key; in zend_accel_hash_update() 140 return entry; in zend_accel_hash_update() 154 while (entry) { in zend_accel_hash_find_ex() 168 return entry; in zend_accel_hash_find_ex() 172 entry = entry->next; in zend_accel_hash_find_ex() 242 while (entry) { in zend_accel_hash_unlink() [all …]
|
/PHP-7.3/ext/phar/ |
H A D | zip.c | 376 entry.filename = (char *) pemalloc(entry.filename_len + 1, entry.is_persistent); in phar_parse_zipfile() 379 pefree(entry.filename, entry.is_persistent); in phar_parse_zipfile() 383 entry.filename[entry.filename_len] = '\0'; in phar_parse_zipfile() 402 pefree(entry.filename, entry.is_persistent); in phar_parse_zipfile() 563 entry.offset = entry.offset_abs = in phar_parse_zipfile() 813 phar_add_virtual_dirs(entry->phar, entry->filename, entry->filename_len); in phar_zip_changed_apply_int() 858 … if (entry->fp_type == PHAR_MOD && entry->fp != entry->phar->fp && entry->fp != entry->phar->ufp) { in phar_zip_changed_apply_int() 872 …if (entry->flags & PHAR_ENT_COMPRESSION_MASK && (entry->old_flags == entry->flags || !entry->old_f… in phar_zip_changed_apply_int() 945 entry->old_flags = entry->flags; in phar_zip_changed_apply_int() 1055 …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 | 188 entry->phar->metadata = entry->metadata; in phar_tar_process_metadata() 389 entry.filename[entry.filename_len] = '\0'; in phar_parse_tarfile() 457 entry.filename[entry.filename_len - 1] = '\0'; in phar_parse_tarfile() 501 pefree(entry.filename, entry.is_persistent); in phar_parse_tarfile() 728 phar_add_virtual_dirs(entry->phar, entry->filename, entry->filename_len); in phar_tar_writeheaders_int() 846 if (entry->fp_type == PHAR_MOD && entry->fp != entry->phar->fp && entry->fp != entry->phar->ufp) { in phar_tar_writeheaders_int() 856 entry->offset = entry->offset_abs = pos; in phar_tar_writeheaders_int() 879 …entry->uncompressed_filesize = entry->compressed_filesize = entry->metadata_str.s ? ZSTR_LEN(entry… in phar_tar_setmetadata() 881 if (entry->fp && entry->fp_type == PHAR_MOD) { in phar_tar_setmetadata() 888 entry->offset = entry->offset_abs = 0; in phar_tar_setmetadata() [all …]
|
H A D | util.c | 55 spprintf(&ret, 0, "%s/%s", entry->filename, entry->link); in phar_get_link_location() 68 return entry; in phar_get_link_source() 131 entry = t; in phar_seek_efp() 789 entry->old_flags = entry->flags; in phar_open_entry_fp() 808 entry->old_flags = entry->flags; in phar_create_writeable_entry() 841 entry->old_flags = entry->flags; in phar_create_writeable_entry() 1284 entry->is_temp_dir = entry->is_dir = 1; in phar_get_entry_info_dir() 1310 if (!entry->tmp || !entry->is_mounted) { in phar_get_entry_info_dir() 1979 entry->link = estrdup(entry->link); in phar_update_cached_entry() 1983 entry->tmp = estrdup(entry->tmp); in phar_update_cached_entry() [all …]
|
H A D | dirstream.c | 280 efree(entry); in phar_make_dirstream() 373 } else if (entry && entry->is_dir) { in phar_wrapper_open_dir() 501 entry.is_zip = 1; in phar_wrapper_mkdir() 507 entry.is_tar = 1; in phar_wrapper_mkdir() 513 entry.is_dir = 1; in phar_wrapper_mkdir() 514 entry.phar = phar; in phar_wrapper_mkdir() 531 zend_hash_str_del(&phar->manifest, entry.filename, entry.filename_len); in phar_wrapper_mkdir() 536 phar_add_virtual_dirs(phar, entry.filename, entry.filename_len); 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 | 334 return entry->phar->fp; in phar_get_entrypfp() 342 return entry->phar->ufp; in phar_get_entrypufp() 350 entry->phar->fp = fp; in phar_set_entrypfp() 360 entry->phar->ufp = fp; in phar_set_entrypufp() 408 entry->fp_type = type; in phar_set_fp_type() 409 entry->offset = offset; in phar_set_fp_type() 412 data = &(PHAR_G(cached_fp)[entry->phar->phar_pos].manifest[entry->manifest_pos]); in phar_set_fp_type() 420 return entry->fp_type; in phar_get_fp_type() 428 return entry->offset; in phar_get_fp_offset() 432 PHAR_G(cached_fp)[entry->phar->phar_pos].manifest[entry->manifest_pos].offset = entry->offset; in phar_get_fp_offset() [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() 133 efree(entry); in PHAR_FUNC() 264 efree(entry); in PHAR_FUNC() 302 efree(entry); in PHAR_FUNC() 365 efree(entry); in PHAR_FUNC() 404 efree(entry); in PHAR_FUNC() 619 efree(entry); in phar_file_stat() 629 entry = phar_fix_filepath(entry, &entry_len, 1); in phar_file_stat() [all …]
|
H A D | phar.c | 342 if (entry->fp && !entry->fp_refcount) { in phar_tmpclose_apply() 410 pefree(entry->filename, entry->is_persistent); in destroy_phar_manifest_entry_int() 413 pefree(entry->link, entry->is_persistent); in destroy_phar_manifest_entry_int() 418 pefree(entry->tmp, entry->is_persistent); in destroy_phar_manifest_entry_int() 428 pefree(entry, entry->is_persistent); in destroy_phar_manifest_entry() 1098 entry.filename = pestrndup(buffer, entry.filename_len, entry.is_persistent); 1130 pefree(entry.filename, entry.is_persistent); 1139 entry.offset = entry.offset_abs = offset; 2405 entry->offset = entry->offset_abs = 2855 entry->old_flags = entry->flags; [all …]
|
H A D | phar_object.c | 412 efree(entry); in PHP_METHOD() 454 efree(entry); in PHP_METHOD() 455 entry = NULL; in PHP_METHOD() 491 if (entry && path && path == entry) { in PHP_METHOD() 509 path = entry; in PHP_METHOD() 1170 if (entry) { in PHP_METHOD() 1217 if (entry) { in PHP_METHOD() 1985 entry->cfp = entry->fp; in phar_copy_file_contents() 3154 entry->old_flags = entry->flags; in phar_set_compression() 4669 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() 266 entry->phar = phar; in phar_wrapper_open_url() 267 entry->offset = entry->offset_abs = 0; in phar_wrapper_open_url() 368 phar_entry_info *entry; in phar_stream_read() local 398 phar_entry_info *entry; in phar_stream_seek() local 630 if (!entry->tmp || !entry->is_mounted) { in phar_wrapper_stat() 848 entry->fp = NULL; in phar_wrapper_rename() 850 entry->link = entry->tmp = NULL; in phar_wrapper_rename() 851 source = entry; in phar_wrapper_rename() [all …]
|
/PHP-7.3/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-7.3/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-7.3/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-7.3/ext/standard/ |
H A D | browscap.c | 74 if (entry->parent) { 77 efree(entry); 84 if (entry->parent) { in browscap_entry_dtor_persistent() 87 pefree(entry, 1); in browscap_entry_dtor_persistent() 283 if (entry->parent) { in browscap_entry_to_array() 288 for (i = entry->kv_start; i < entry->kv_end; i++) { in browscap_entry_to_array() 376 browscap_entry *entry; in php_browscap_parser_cb() local 406 entry->kv_end = entry->kv_start = bdata->kv_used; in php_browscap_parser_cb() 407 entry->parent = NULL; in php_browscap_parser_cb() 412 &entry->contains_start[i], &entry->contains_len[i]); in php_browscap_parser_cb() [all …]
|
H A D | array.c | 1125 zval *entry; in PHP_FUNCTION() local 1139 entry = Z_INDIRECT_P(entry); in PHP_FUNCTION() 1166 entry = Z_INDIRECT_P(entry); in PHP_FUNCTION() 1193 entry = Z_INDIRECT_P(entry); in PHP_FUNCTION() 1220 entry = Z_INDIRECT_P(entry); in PHP_FUNCTION() 1244 entry = Z_INDIRECT_P(entry); in PHP_FUNCTION() 3537 entry = Z_REFVAL_P(entry); 4024 entry = Z_REFVAL_P(entry); 4267 entry = Z_REFVAL_P(entry); 5887 *entry, local [all …]
|
/PHP-7.3/ext/zip/tests/ |
H A D | zip_entry_read.phpt | 10 $entry = zip_read($zip); 11 if (!zip_entry_open($zip, $entry, "r")) die("Failure"); 12 echo zip_entry_read($entry); 13 zip_entry_close($entry);
|
H A D | bug7214.phpt | 12 $entry = zip_read($zip); 13 $contents = zip_entry_read($entry, zip_entry_filesize($entry)); 14 if (strlen($contents) == zip_entry_filesize($entry)) {
|
/PHP-7.3/ext/phar/tests/ |
H A D | 019c.phpt | 33 while (false !== ($entry = readdir($dir))) { 34 $entry = $base . '/' . $entry; 35 var_dump($entry); 36 var_dump(is_dir($phar . $entry)); 37 if (is_dir($phar . $entry)) 39 dump($phar, $entry); 43 var_dump(file_get_contents($phar . $entry));
|
/PHP-7.3/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 …]
|