Home
last modified time | relevance | path

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

12345678910

/PHP-7.0/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.0/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.0/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()
402 pefree(entry.filename, entry.is_persistent); in phar_parse_zipfile()
562 entry.offset = entry.offset_abs = in phar_parse_zipfile()
812 phar_add_virtual_dirs(entry->phar, entry->filename, entry->filename_len); in phar_zip_changed_apply_int()
857 … if (entry->fp_type == PHAR_MOD && entry->fp != entry->phar->fp && entry->fp != entry->phar->ufp) { in phar_zip_changed_apply_int()
871 …if (entry->flags & PHAR_ENT_COMPRESSION_MASK && (entry->old_flags == entry->flags || !entry->old_f… in phar_zip_changed_apply_int()
944 entry->old_flags = entry->flags; in phar_zip_changed_apply_int()
1054 …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()
831 if (entry->fp_type == PHAR_MOD && entry->fp != entry->phar->fp && entry->fp != entry->phar->ufp) { in phar_tar_writeheaders_int()
841 entry->offset = entry->offset_abs = pos; in phar_tar_writeheaders_int()
864entry->uncompressed_filesize = entry->compressed_filesize = entry->metadata_str.s ? ZSTR_LEN(entry in phar_tar_setmetadata()
866 if (entry->fp && entry->fp_type == PHAR_MOD) { in phar_tar_setmetadata()
873 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()
798 entry->old_flags = entry->flags; in phar_open_entry_fp()
817 entry->old_flags = entry->flags; in phar_create_writeable_entry()
850 entry->old_flags = entry->flags; in phar_create_writeable_entry()
1293 entry->is_temp_dir = entry->is_dir = 1; in phar_get_entry_info_dir()
1319 if (!entry->tmp || !entry->is_mounted) { in phar_get_entry_info_dir()
1975 entry->link = estrdup(entry->link); in phar_update_cached_entry()
1979 entry->tmp = estrdup(entry->tmp); in phar_update_cached_entry()
[all …]
H A Dphar_internal.h347 return entry->phar->fp; in phar_get_entrypfp()
355 return entry->phar->ufp; in phar_get_entrypufp()
363 entry->phar->fp = fp; in phar_set_entrypfp()
373 entry->phar->ufp = fp; in phar_set_entrypufp()
421 entry->fp_type = type; in phar_set_fp_type()
422 entry->offset = offset; in phar_set_fp_type()
425 data = &(PHAR_G(cached_fp)[entry->phar->phar_pos].manifest[entry->manifest_pos]); in phar_set_fp_type()
433 return entry->fp_type; in phar_get_fp_type()
441 return entry->offset; in phar_get_fp_offset()
445 PHAR_G(cached_fp)[entry->phar->phar_pos].manifest[entry->manifest_pos].offset = entry->offset; in phar_get_fp_offset()
[all …]
H A Ddirstream.c280 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 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;
2407 entry->offset = entry->offset_abs =
2856 entry->old_flags = entry->flags;
[all …]
H A Dphar_object.c430 efree(entry); in PHP_METHOD()
476 efree(entry); in PHP_METHOD()
477 entry = NULL; in PHP_METHOD()
513 if (entry && path && path == entry) { in PHP_METHOD()
531 path = entry; in PHP_METHOD()
1211 if (entry) { in PHP_METHOD()
1258 if (entry) { in PHP_METHOD()
2047 entry->cfp = entry->fp; in phar_copy_file_contents()
3180 entry->old_flags = entry->flags; in phar_set_compression()
4724 entry_obj->entry->old_flags = entry_obj->entry->flags; in PHP_METHOD()
[all …]
H A Dstream.c76 if (arch && !entry) { in phar_parse_url()
89 resource->path = entry; in phar_parse_url()
264 entry->phar = phar; in phar_wrapper_open_url()
265 entry->offset = entry->offset_abs = 0; in phar_wrapper_open_url()
366 phar_entry_info *entry; in phar_stream_read() local
396 phar_entry_info *entry; in phar_stream_seek() local
646 if (!entry->tmp || !entry->is_mounted) { in phar_wrapper_stat()
864 entry->fp = NULL; in phar_wrapper_rename()
866 entry->link = entry->tmp = NULL; in phar_wrapper_rename()
867 source = entry; in phar_wrapper_rename()
[all …]
/PHP-7.0/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.0/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.0/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.0/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.0/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.0/ext/phar/tests/
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 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 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.0/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 147 milliseconds

12345678910