/PHP-8.0/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-8.0/ext/phar/ |
H A D | zip.c | 400 entry.filename = (char *) pemalloc(entry.filename_len + 1, entry.is_persistent); in phar_parse_zipfile() 403 pefree(entry.filename, entry.is_persistent); in phar_parse_zipfile() 407 entry.filename[entry.filename_len] = '\0'; in phar_parse_zipfile() 425 pefree(entry.filename, entry.is_persistent); in phar_parse_zipfile() 585 entry.offset = entry.offset_abs = in phar_parse_zipfile() 841 phar_add_virtual_dirs(entry->phar, entry->filename, entry->filename_len); in phar_zip_changed_apply_int() 891 … if (entry->fp_type == PHAR_MOD && entry->fp != entry->phar->fp && entry->fp != entry->phar->ufp) { in phar_zip_changed_apply_int() 905 …if (entry->flags & PHAR_ENT_COMPRESSION_MASK && (entry->old_flags == entry->flags || !entry->old_f… in phar_zip_changed_apply_int() 978 entry->old_flags = entry->flags; in phar_zip_changed_apply_int() 1080 …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 | 372 entry.filename_len = entry.uncompressed_filesize; in phar_parse_tarfile() 395 entry.filename[entry.filename_len] = '\0'; in phar_parse_tarfile() 463 entry.filename[entry.filename_len - 1] = '\0'; in phar_parse_tarfile() 507 pefree(entry.filename, entry.is_persistent); in phar_parse_tarfile() 734 phar_add_virtual_dirs(entry->phar, entry->filename, entry->filename_len); in phar_tar_writeheaders_int() 837 if (!entry->is_modified && entry->fp_refcount) { in phar_tar_writeheaders_int() 852 if (entry->fp_type == PHAR_MOD && entry->fp != entry->phar->fp && entry->fp != entry->phar->ufp) { in phar_tar_writeheaders_int() 862 entry->offset = entry->offset_abs = pos; in phar_tar_writeheaders_int() 884 if (entry->fp && entry->fp_type == PHAR_MOD) { in phar_tar_setmetadata() 891 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() 1968 entry->link = estrdup(entry->link); in phar_update_cached_entry() 1972 entry->tmp = estrdup(entry->tmp); in phar_update_cached_entry() [all …]
|
H A D | phar_internal.h | 337 return entry->phar->fp; in phar_get_entrypfp() 345 return entry->phar->ufp; in phar_get_entrypufp() 353 entry->phar->fp = fp; in phar_set_entrypfp() 363 entry->phar->ufp = fp; in phar_set_entrypufp() 411 entry->fp_type = type; in phar_set_fp_type() 412 entry->offset = offset; in phar_set_fp_type() 415 data = &(PHAR_G(cached_fp)[entry->phar->phar_pos].manifest[entry->manifest_pos]); in phar_set_fp_type() 423 return entry->fp_type; in phar_get_fp_type() 431 return entry->offset; in phar_get_fp_offset() 435 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 | 270 efree(entry); in phar_make_dirstream() 360 } else if (entry && entry->is_dir) { in phar_wrapper_open_dir() 488 entry.is_zip = 1; in phar_wrapper_mkdir() 494 entry.is_tar = 1; in phar_wrapper_mkdir() 500 entry.is_dir = 1; in phar_wrapper_mkdir() 501 entry.phar = phar; in phar_wrapper_mkdir() 518 zend_hash_str_del(&phar->manifest, entry.filename, entry.filename_len); in phar_wrapper_mkdir() 523 phar_add_virtual_dirs(phar, entry.filename, entry.filename_len); in phar_wrapper_mkdir() 611 efree(entry); in phar_wrapper_rmdir() 628 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 | 326 if (entry->fp && !entry->fp_refcount) { in phar_tmpclose_apply() 376 pefree(entry->filename, entry->is_persistent); in destroy_phar_manifest_entry_int() 379 pefree(entry->link, entry->is_persistent); in destroy_phar_manifest_entry_int() 384 pefree(entry->tmp, entry->is_persistent); in destroy_phar_manifest_entry_int() 394 pefree(entry, entry->is_persistent); in destroy_phar_manifest_entry() 1162 entry.filename = pestrndup(buffer, entry.filename_len, entry.is_persistent); in phar_parse_pharfile() 1199 entry.offset = entry.offset_abs = offset; in phar_parse_pharfile() 2449 entry->offset = entry->offset_abs = in phar_postprocess_file() 2897 entry->old_flags = entry->flags; in phar_flush() 3066 if (entry->is_deleted || entry->is_dir || entry->is_mounted) { in phar_flush() [all …]
|
H A D | phar_object.c | 408 efree(entry); in PHP_METHOD() 459 efree(entry); in PHP_METHOD() 460 entry = NULL; in PHP_METHOD() 497 if (entry && path && path == entry) { in PHP_METHOD() 515 path = entry; in PHP_METHOD() 1160 if (entry) { in PHP_METHOD() 1207 if (entry) { in PHP_METHOD() 1966 entry->cfp = entry->fp; in phar_copy_file_contents() 3117 entry->old_flags = entry->flags; in phar_set_compression() 4641 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() 263 entry->phar = phar; in phar_wrapper_open_url() 264 entry->offset = entry->offset_abs = 0; in phar_wrapper_open_url() 365 phar_entry_info *entry; in phar_stream_read() local 395 phar_entry_info *entry; in phar_stream_seek() local 627 if (!entry->tmp || !entry->is_mounted) { in phar_wrapper_stat() 845 entry->fp = NULL; in phar_wrapper_rename() 847 entry->link = entry->tmp = NULL; in phar_wrapper_rename() 848 source = entry; in phar_wrapper_rename() [all …]
|
/PHP-8.0/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.0/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.0/ext/ldap/ |
H A D | ldap.stub.php | 73 * @param resource $entry 76 function ldap_next_entry($ldap, $entry) {} argument 86 * @param resource $entry 92 * @param resource $entry 98 * @param resource $entry 104 * @param resource $entry 110 * @param resource $entry 117 * @param resource $entry 228 * @param resource $entry 231 function ldap_next_reference($ldap, $entry) {} argument [all …]
|
/PHP-8.0/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) 31 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-8.0/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() 357 browscap_entry *entry; in php_browscap_parser_cb() local 387 entry->kv_end = entry->kv_start = bdata->kv_used; in php_browscap_parser_cb() 388 entry->parent = NULL; in php_browscap_parser_cb() 393 &entry->contains_start[i], &entry->contains_len[i]); in php_browscap_parser_cb() [all …]
|
H A D | array.c | 1099 zval *entry; in PHP_FUNCTION() local 1113 entry = Z_INDIRECT_P(entry); in PHP_FUNCTION() 1139 entry = Z_INDIRECT_P(entry); in PHP_FUNCTION() 1165 entry = Z_INDIRECT_P(entry); in PHP_FUNCTION() 1191 entry = Z_INDIRECT_P(entry); in PHP_FUNCTION() 1214 entry = Z_INDIRECT_P(entry); in PHP_FUNCTION() 3547 entry = Z_REFVAL_P(entry); 4076 entry = Z_REFVAL_P(entry); 4254 entry = Z_REFVAL_P(entry); 5781 *entry, local [all …]
|
/PHP-8.0/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.0/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));
|
H A D | 019b.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);
|
/PHP-8.0/ext/sockets/ |
H A D | sendrecvmsg.c | 96 ancillary_reg_entry entry; in init_ancillary_registry() local 103 entry.size = sizev; \ in init_ancillary_registry() 105 entry.calc_space = calc; \ in init_ancillary_registry() 106 entry.from_array = from; \ in init_ancillary_registry() 107 entry.to_array = to; \ in init_ancillary_registry() 153 ancillary_reg_entry *entry; in get_ancillary_reg_entry() local 166 return entry; in get_ancillary_reg_entry() 283 ancillary_reg_entry *entry; in PHP_FUNCTION() local 300 if (entry == NULL) { in PHP_FUNCTION() 310 size_t size = entry->size + n * entry->var_el_size; in PHP_FUNCTION() [all …]
|
/PHP-8.0/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.0/ext/zip/tests/ |
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)) {
|