Home
last modified time | relevance | path

Searched refs:entry (Results 1 – 25 of 208) sorted by relevance

123456789

/PHP-8.1/ext/opcache/
H A Dzend_accelerator_hash.c96 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.1/ext/phar/
H A Dzip.c401 entry.filename = (char *) pemalloc(entry.filename_len + 1, entry.is_persistent); in phar_parse_zipfile()
404 pefree(entry.filename, entry.is_persistent); in phar_parse_zipfile()
408 entry.filename[entry.filename_len] = '\0'; in phar_parse_zipfile()
426 pefree(entry.filename, entry.is_persistent); in phar_parse_zipfile()
586 entry.offset = entry.offset_abs = in phar_parse_zipfile()
842 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()
976 entry->old_flags = entry->flags; in phar_zip_changed_apply_int()
1078 …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 Dtar.c372 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()
508 pefree(entry.filename, entry.is_persistent); in phar_parse_tarfile()
735 phar_add_virtual_dirs(entry->phar, entry->filename, entry->filename_len); in phar_tar_writeheaders_int()
838 if (!entry->is_modified && entry->fp_refcount) { in phar_tar_writeheaders_int()
853 if (entry->fp_type == PHAR_MOD && entry->fp != entry->phar->fp && entry->fp != entry->phar->ufp) { in phar_tar_writeheaders_int()
863 entry->offset = entry->offset_abs = pos; in phar_tar_writeheaders_int()
885 if (entry->fp && entry->fp_type == PHAR_MOD) { in phar_tar_setmetadata()
892 entry->offset = entry->offset_abs = 0; in phar_tar_setmetadata()
[all …]
H A Dutil.c53 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()
2009 entry->link = estrdup(entry->link); in phar_update_cached_entry()
2013 entry->tmp = estrdup(entry->tmp); in phar_update_cached_entry()
[all …]
H A Dphar_internal.h339 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 Ddirstream.c268 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 Dfunc_interceptors.c60 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 Dphar.c315 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()
1153 entry.filename = pestrndup(buffer, entry.filename_len, entry.is_persistent); in phar_parse_pharfile()
1190 entry.offset = entry.offset_abs = offset; in phar_parse_pharfile()
2440 entry->offset = entry->offset_abs = in phar_postprocess_file()
2883 entry->old_flags = entry->flags; in phar_flush()
3052 if (entry->is_deleted || entry->is_dir || entry->is_mounted) { in phar_flush()
[all …]
H A Dphar_object.c407 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()
1153 if (entry) { in PHP_METHOD()
1200 if (entry) { in PHP_METHOD()
1945 entry->cfp = entry->fp; in phar_copy_file_contents()
3104 entry->old_flags = entry->flags; in phar_set_compression()
4624 entry_obj->entry->old_flags = entry_obj->entry->flags; in PHP_METHOD()
[all …]
H A Dstream.c77 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.1/Zend/
H A Dzend_gdb.c64 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.1/ext/dom/tests/
H A Ddom_test.inc14 <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 Ddom001.phpt29 // 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 Dbug40836.phpt11 <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;
29entry xmlns="http://www.w3.org/2005/Atom"><updated/><content><div xmlns="http://www.w3.org/1999/xh…
/PHP-8.1/ext/standard/
H A Dbrowscap.c72 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 Darray.c1089 zval *entry; in PHP_FUNCTION() local
1108 entry = Z_INDIRECT_P(entry); in PHP_FUNCTION()
1139 entry = Z_INDIRECT_P(entry); in PHP_FUNCTION()
1170 entry = Z_INDIRECT_P(entry); in PHP_FUNCTION()
1201 entry = Z_INDIRECT_P(entry); in PHP_FUNCTION()
1225 entry = Z_INDIRECT_P(entry); in PHP_FUNCTION()
3511 entry = Z_REFVAL_P(entry);
4049 entry = Z_REFVAL_P(entry);
4230 entry = Z_REFVAL_P(entry);
5755 *entry, local
[all …]
/PHP-8.1/ext/ldap/tests/
H A Dldap_next_entry_basic.phpt17 $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 Dldap_next_attribute_basic.phpt17 $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.1/ext/phar/tests/
H A D019c.phpt31 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 D019b.phpt31 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.1/ext/standard/tests/array/
H A Darray_flip_variation4.phpt60 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.1/ext/sockets/
H A Dsendrecvmsg.c96 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.1/ext/pcre/pcre2lib/
H A Dpcre2_substring.c76 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.1/ext/ldap/
H A Dldap.stub.php69 …function ldap_next_entry(LDAP\Connection $ldap, LDAP\ResultEntry $entry): LDAP\ResultEntry|false {} argument
77 function ldap_first_attribute(LDAP\Connection $ldap, LDAP\ResultEntry $entry): string|false {} argument
79 function ldap_next_attribute(LDAP\Connection $ldap, LDAP\ResultEntry $entry): string|false {} argument
85 function ldap_get_attributes(LDAP\Connection $ldap, LDAP\ResultEntry $entry): array {} argument
100 function ldap_get_dn(LDAP\Connection $ldap, LDAP\ResultEntry $entry): string|false {} argument
110 …function ldap_add(LDAP\Connection $ldap, string $dn, array $entry, ?array $controls = null): bool … argument
120 …function ldap_mod_add(LDAP\Connection $ldap, string $dn, array $entry, ?array $controls = null): b… argument
127 …function ldap_modify(LDAP\Connection $ldap, string $dn, array $entry, ?array $controls = null): bo… argument
131 …function ldap_mod_del(LDAP\Connection $ldap, string $dn, array $entry, ?array $controls = null): b… argument
158 …function ldap_next_reference(LDAP\Connection $ldap, LDAP\ResultEntry $entry): LDAP\ResultEntry|fal… argument
[all …]
/PHP-8.1/ext/zip/tests/
H A Dbug7214.phpt10 $entry = zip_read($zip);
11 $contents = zip_entry_read($entry, zip_entry_filesize($entry));
12 if (strlen($contents) == zip_entry_filesize($entry)) {

Completed in 106 milliseconds

123456789