Home
last modified time | relevance | path

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

1234567891011

/PHP-7.1/ext/zip/lib/
H A Dzip_hash.c81 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 Dzip_file_replace.c83 _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 Dzip_unchange.c58 …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.1/ext/phar/
H A Dzip.c376 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()
401 pefree(entry.filename, entry.is_persistent); in phar_parse_zipfile()
561 entry.offset = entry.offset_abs = in phar_parse_zipfile()
811 phar_add_virtual_dirs(entry->phar, entry->filename, entry->filename_len); in phar_zip_changed_apply_int()
856 … if (entry->fp_type == PHAR_MOD && entry->fp != entry->phar->fp && entry->fp != entry->phar->ufp) { in phar_zip_changed_apply_int()
870 …if (entry->flags & PHAR_ENT_COMPRESSION_MASK && (entry->old_flags == entry->flags || !entry->old_f… in phar_zip_changed_apply_int()
943 entry->old_flags = entry->flags; in phar_zip_changed_apply_int()
1053 …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.c184 entry->phar->metadata = entry->metadata; in phar_tar_process_metadata()
379 entry.filename[entry.filename_len] = '\0'; in phar_parse_tarfile()
447 entry.filename[entry.filename_len - 1] = '\0'; in phar_parse_tarfile()
491 pefree(entry.filename, entry.is_persistent); in phar_parse_tarfile()
718 phar_add_virtual_dirs(entry->phar, entry->filename, entry->filename_len); in phar_tar_writeheaders_int()
836 if (entry->fp_type == PHAR_MOD && entry->fp != entry->phar->fp && entry->fp != entry->phar->ufp) { in phar_tar_writeheaders_int()
846 entry->offset = entry->offset_abs = pos; in phar_tar_writeheaders_int()
869entry->uncompressed_filesize = entry->compressed_filesize = entry->metadata_str.s ? ZSTR_LEN(entry in phar_tar_setmetadata()
871 if (entry->fp && entry->fp_type == PHAR_MOD) { in phar_tar_setmetadata()
878 entry->offset = entry->offset_abs = 0; in phar_tar_setmetadata()
[all …]
H A Dutil.c57 spprintf(&ret, 0, "%s/%s", entry->filename, entry->link); in phar_get_link_location()
70 return entry; in phar_get_link_source()
133 entry = t; in phar_seek_efp()
791 entry->old_flags = entry->flags; in phar_open_entry_fp()
810 entry->old_flags = entry->flags; in phar_create_writeable_entry()
843 entry->old_flags = entry->flags; in phar_create_writeable_entry()
1286 entry->is_temp_dir = entry->is_dir = 1; in phar_get_entry_info_dir()
1312 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 Dphar_internal.h336 return entry->phar->fp; in phar_get_entrypfp()
344 return entry->phar->ufp; in phar_get_entrypufp()
352 entry->phar->fp = fp; in phar_set_entrypfp()
362 entry->phar->ufp = fp; in phar_set_entrypufp()
410 entry->fp_type = type; in phar_set_fp_type()
411 entry->offset = offset; in phar_set_fp_type()
414 data = &(PHAR_G(cached_fp)[entry->phar->phar_pos].manifest[entry->manifest_pos]); in phar_set_fp_type()
422 return entry->fp_type; in phar_get_fp_type()
430 return entry->offset; in phar_get_fp_offset()
434 PHAR_G(cached_fp)[entry->phar->phar_pos].manifest[entry->manifest_pos].offset = entry->offset; in phar_get_fp_offset()
[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 Dfunc_interceptors.c62 efree(entry); in PHAR_FUNC()
67 entry = phar_fix_filepath(entry, &entry_len, 1); in PHAR_FUNC()
74 efree(entry); in PHAR_FUNC()
135 efree(entry); in PHAR_FUNC()
266 efree(entry); in PHAR_FUNC()
304 efree(entry); in PHAR_FUNC()
367 efree(entry); in PHAR_FUNC()
406 efree(entry); in PHAR_FUNC()
641 efree(entry); in phar_file_stat()
651 entry = phar_fix_filepath(entry, &entry_len, 1); in phar_file_stat()
[all …]
H A Dphar.c344 if (entry->fp && !entry->fp_refcount) { in phar_tmpclose_apply()
412 pefree(entry->filename, entry->is_persistent); in destroy_phar_manifest_entry_int()
415 pefree(entry->link, entry->is_persistent); in destroy_phar_manifest_entry_int()
420 pefree(entry->tmp, entry->is_persistent); in destroy_phar_manifest_entry_int()
430 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;
2390 entry->offset = entry->offset_abs =
2839 entry->old_flags = entry->flags;
[all …]
H A Dphar_object.c421 efree(entry); in PHP_METHOD()
467 efree(entry); in PHP_METHOD()
468 entry = NULL; in PHP_METHOD()
504 if (entry && path && path == entry) { in PHP_METHOD()
522 path = entry; in PHP_METHOD()
1202 if (entry) { in PHP_METHOD()
1249 if (entry) { in PHP_METHOD()
2020 entry->cfp = entry->fp; in phar_copy_file_contents()
3155 entry->old_flags = entry->flags; in phar_set_compression()
4685 entry_obj->entry->old_flags = entry_obj->entry->flags; in PHP_METHOD()
[all …]
H A Dstream.c77 if (arch && !entry) { in phar_parse_url()
90 resource->path = entry; in phar_parse_url()
265 entry->phar = phar; in phar_wrapper_open_url()
266 entry->offset = entry->offset_abs = 0; in phar_wrapper_open_url()
367 phar_entry_info *entry; in phar_stream_read() local
397 phar_entry_info *entry; in phar_stream_seek() local
647 if (!entry->tmp || !entry->is_mounted) { in phar_wrapper_stat()
865 entry->fp = NULL; in phar_wrapper_rename()
867 entry->link = entry->tmp = NULL; in phar_wrapper_rename()
868 source = entry; in phar_wrapper_rename()
[all …]
/PHP-7.1/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.1/ext/dom/examples/
H A Ddom1.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>
/PHP-7.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
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.1/ext/mbstring/libmbfl/tests/conv_encoding.tests/
H A Dgen_exp.c61 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.1/ext/standard/
H A Dbrowscap.c76 if (entry->parent) {
79 efree(entry);
86 if (entry->parent) { in browscap_entry_dtor_persistent()
89 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()
358 browscap_entry *entry; in php_browscap_parser_cb() local
379 entry->kv_end = entry->kv_start = bdata->kv_used; in php_browscap_parser_cb()
380 entry->parent = NULL; in php_browscap_parser_cb()
385 &entry->contains_start[i], &entry->contains_len[i]); in php_browscap_parser_cb()
[all …]
/PHP-7.1/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.1/ext/phar/tests/
H A D019c.phpt34 while (false !== ($entry = readdir($dir))) {
35 $entry = $base . '/' . $entry;
36 var_dump($entry);
37 var_dump(is_dir($phar . $entry));
38 if (is_dir($phar . $entry))
40 dump($phar, $entry);
44 var_dump(file_get_contents($phar . $entry));
H A D019cU.phpt34 while (false !== ($entry = readdir($dir))) {
35 $entry = $base . '/' . $entry;
36 var_dump($entry);
37 var_dump(is_dir($phar . $entry));
38 if (is_dir($phar . $entry))
40 dump($phar, $entry);
44 var_dump(file_get_contents($phar . $entry));
H A D019bU.phpt36 while (false !== ($entry = readdir($dir))) {
37 $entry = $base . '/' . $entry;
38 var_dump($entry);
39 var_dump(is_dir($phar . $entry));
40 if (is_dir($phar . $entry))
42 dump($phar, $entry);
/PHP-7.1/ext/zip/tests/
H A Dzip_entry_read.phpt11 $entry = zip_read($zip);
12 if (!zip_entry_open($zip, $entry, "r")) die("Failure");
13 echo zip_entry_read($entry);
14 zip_entry_close($entry);

Completed in 69 milliseconds

1234567891011