Home
last modified time | relevance | path

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

123456789

/PHP-7.4/ext/opcache/
H A Dzend_accelerator_hash.c96 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.4/ext/phar/
H A Dzip.c404 entry.filename = (char *) pemalloc(entry.filename_len + 1, entry.is_persistent); in phar_parse_zipfile()
407 pefree(entry.filename, entry.is_persistent); in phar_parse_zipfile()
411 entry.filename[entry.filename_len] = '\0'; in phar_parse_zipfile()
429 pefree(entry.filename, entry.is_persistent); in phar_parse_zipfile()
596 entry.offset = entry.offset_abs = in phar_parse_zipfile()
847 phar_add_virtual_dirs(entry->phar, entry->filename, entry->filename_len); in phar_zip_changed_apply_int()
897 … if (entry->fp_type == PHAR_MOD && entry->fp != entry->phar->fp && entry->fp != entry->phar->ufp) { in phar_zip_changed_apply_int()
911 …if (entry->flags & PHAR_ENT_COMPRESSION_MASK && (entry->old_flags == entry->flags || !entry->old_f… in phar_zip_changed_apply_int()
984 entry->old_flags = entry->flags; in phar_zip_changed_apply_int()
1094 …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.c188 entry->phar->metadata = entry->metadata; in phar_tar_process_metadata()
398 entry.filename[entry.filename_len] = '\0'; in phar_parse_tarfile()
466 entry.filename[entry.filename_len - 1] = '\0'; in phar_parse_tarfile()
510 pefree(entry.filename, entry.is_persistent); in phar_parse_tarfile()
737 phar_add_virtual_dirs(entry->phar, entry->filename, entry->filename_len); in phar_tar_writeheaders_int()
855 if (entry->fp_type == PHAR_MOD && entry->fp != entry->phar->fp && entry->fp != entry->phar->ufp) { in phar_tar_writeheaders_int()
865 entry->offset = entry->offset_abs = pos; in phar_tar_writeheaders_int()
888entry->uncompressed_filesize = entry->compressed_filesize = entry->metadata_str.s ? ZSTR_LEN(entry in phar_tar_setmetadata()
890 if (entry->fp && entry->fp_type == PHAR_MOD) { in phar_tar_setmetadata()
897 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()
1964 entry->link = estrdup(entry->link); in phar_update_cached_entry()
1968 entry->tmp = estrdup(entry->tmp); in phar_update_cached_entry()
[all …]
H A Ddirstream.c279 efree(entry); in phar_make_dirstream()
372 } 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_str_del(&phar->manifest, entry.filename, entry.filename_len); in phar_wrapper_mkdir()
535 phar_add_virtual_dirs(phar, entry.filename, entry.filename_len); in phar_wrapper_mkdir()
623 efree(entry); in phar_wrapper_rmdir()
640 efree(entry); in phar_wrapper_rmdir()
[all …]
H A Dphar_internal.h329 return entry->phar->fp; in phar_get_entrypfp()
337 return entry->phar->ufp; in phar_get_entrypufp()
345 entry->phar->fp = fp; in phar_set_entrypfp()
355 entry->phar->ufp = fp; in phar_set_entrypufp()
403 entry->fp_type = type; in phar_set_fp_type()
404 entry->offset = offset; in phar_set_fp_type()
407 data = &(PHAR_G(cached_fp)[entry->phar->phar_pos].manifest[entry->manifest_pos]); in phar_set_fp_type()
415 return entry->fp_type; in phar_get_fp_type()
423 return entry->offset; in phar_get_fp_offset()
427 PHAR_G(cached_fp)[entry->phar->phar_pos].manifest[entry->manifest_pos].offset = entry->offset; in phar_get_fp_offset()
[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()
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 Dphar.c338 if (entry->fp && !entry->fp_refcount) { in phar_tmpclose_apply()
406 pefree(entry->filename, entry->is_persistent); in destroy_phar_manifest_entry_int()
409 pefree(entry->link, entry->is_persistent); in destroy_phar_manifest_entry_int()
414 pefree(entry->tmp, entry->is_persistent); in destroy_phar_manifest_entry_int()
424 pefree(entry, entry->is_persistent); in destroy_phar_manifest_entry()
1089 entry.filename = pestrndup(buffer, entry.filename_len, entry.is_persistent); in phar_parse_pharfile()
1121 pefree(entry.filename, entry.is_persistent); in phar_parse_pharfile()
1130 entry.offset = entry.offset_abs = offset; in phar_parse_pharfile()
2398 entry->offset = entry->offset_abs = in phar_postprocess_file()
2849 entry->old_flags = entry->flags; in phar_flush()
[all …]
H A Dphar_object.c408 efree(entry); in PHP_METHOD()
460 efree(entry); in PHP_METHOD()
461 entry = NULL; in PHP_METHOD()
498 if (entry && path && path == entry) { in PHP_METHOD()
516 path = entry; in PHP_METHOD()
1185 if (entry) { in PHP_METHOD()
1232 if (entry) { in PHP_METHOD()
1998 entry->cfp = entry->fp; in phar_copy_file_contents()
3162 entry->old_flags = entry->flags; in phar_set_compression()
4698 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()
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.4/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
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 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-7.4/ext/standard/
H A Dbrowscap.c74 if (entry->parent) {
77 efree(entry);
84 if (entry->parent) { in browscap_entry_dtor_persistent()
87 pefree(entry, 1); in browscap_entry_dtor_persistent()
289 if (entry->parent) { in browscap_entry_to_array()
294 for (i = entry->kv_start; i < entry->kv_end; i++) { in browscap_entry_to_array()
359 browscap_entry *entry; in php_browscap_parser_cb() local
389 entry->kv_end = entry->kv_start = bdata->kv_used; in php_browscap_parser_cb()
390 entry->parent = NULL; in php_browscap_parser_cb()
395 &entry->contains_start[i], &entry->contains_len[i]); in php_browscap_parser_cb()
[all …]
H A Darray.c1119 zval *entry; in PHP_FUNCTION() local
1133 entry = Z_INDIRECT_P(entry); in PHP_FUNCTION()
1160 entry = Z_INDIRECT_P(entry); in PHP_FUNCTION()
1187 entry = Z_INDIRECT_P(entry); in PHP_FUNCTION()
1214 entry = Z_INDIRECT_P(entry); in PHP_FUNCTION()
1238 entry = Z_INDIRECT_P(entry); in PHP_FUNCTION()
3567 entry = Z_REFVAL_P(entry);
4099 entry = Z_REFVAL_P(entry);
4340 entry = Z_REFVAL_P(entry);
5955 *entry, local
[all …]
/PHP-7.4/ext/ldap/tests/
H A Dldap_next_entry_basic.phpt16 $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 Dldap_next_attribute_basic.phpt16 $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.4/ext/zip/tests/
H A Dzip_entry_read.phpt10 $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 Dbug7214.phpt12 $entry = zip_read($zip);
13 $contents = zip_entry_read($entry, zip_entry_filesize($entry));
14 if (strlen($contents) == zip_entry_filesize($entry)) {
H A Dzip_entry_close.phpt10 $entry = zip_read($zip);
11 echo "entry_open: "; var_dump(zip_entry_open($zip, $entry, "r"));
12 echo "entry_close: "; var_dump(zip_entry_close($entry));
13 echo "entry_close: "; var_dump(zip_entry_close($entry));
H A Dzip_entry_open.phpt10 $entry = zip_read($zip);
11 echo zip_entry_open($zip, $entry, "r") ? "OK" : "Failure";
12 zip_entry_close($entry);
/PHP-7.4/ext/phar/tests/
H A D019c.phpt33 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 D019b.phpt33 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-7.4/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-7.4/ext/sockets/
H A Dsendrecvmsg.c95 ancillary_reg_entry entry; in init_ancillary_registry() local
102 entry.size = sizev; \ in init_ancillary_registry()
104 entry.calc_space = calc; \ in init_ancillary_registry()
105 entry.from_array = from; \ in init_ancillary_registry()
106 entry.to_array = to; \ in init_ancillary_registry()
147 ancillary_reg_entry *entry; in get_ancillary_reg_entry() local
160 return entry; in get_ancillary_reg_entry()
282 ancillary_reg_entry *entry; in PHP_FUNCTION() local
300 if (entry == NULL) { in PHP_FUNCTION()
306 if (entry->var_el_size > 0 && n > (zend_long)((ZEND_LONG_MAX - entry->size - in PHP_FUNCTION()
[all …]

Completed in 101 milliseconds

123456789