Home
last modified time | relevance | path

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

12345678910>>...12

/PHP-8.4/ext/dom/lexbor/lexbor/core/
H A Dbst.c127 entry = entry->right; in lexbor_bst_insert()
137 entry = entry->left; in lexbor_bst_insert()
170 entry = entry->right; in lexbor_bst_insert_not_exists()
180 entry = entry->left; in lexbor_bst_insert_not_exists()
237 entry = entry->right; in lexbor_bst_remove()
240 entry = entry->left; in lexbor_bst_remove()
263 entry = entry->right; in lexbor_bst_remove_close()
267 entry = entry->left; in lexbor_bst_remove_close()
297 entry->next = entry->next->next; in lexbor_bst_remove_by_pointer()
310 if (entry->parent->left == entry) entry->parent->left = NULL; in lexbor_bst_remove_by_pointer()
[all …]
H A Dshs.c40 while (entry->key != NULL) in lexbor_shs_entry_get_static()
46 return entry; in lexbor_shs_entry_get_static()
49 entry = &root[entry->next]; in lexbor_shs_entry_get_static()
55 entry = &root[entry->next]; in lexbor_shs_entry_get_static()
69 while (entry->key != NULL) in lexbor_shs_entry_get_lower_static()
75 return entry; in lexbor_shs_entry_get_lower_static()
78 entry = &root[entry->next]; in lexbor_shs_entry_get_lower_static()
84 entry = &root[entry->next]; in lexbor_shs_entry_get_lower_static()
104 return entry; in lexbor_shs_entry_get_upper_static()
107 entry = &root[entry->next]; in lexbor_shs_entry_get_upper_static()
[all …]
H A Dbst_map.c85 lexbor_bst_map_entry_t *entry; in lexbor_bst_map_search() local
96 entry = bst_entry->value; in lexbor_bst_map_search()
101 return entry; in lexbor_bst_map_search()
119 if (entry == NULL) { in lexbor_bst_map_insert()
123 entry->value = value; in lexbor_bst_map_insert()
125 return entry; in lexbor_bst_map_insert()
148 entry = bst_entry->value; in lexbor_bst_map_insert_not_exists()
153 return entry; in lexbor_bst_map_insert_not_exists()
176 if (entry == NULL) { in lexbor_bst_map_insert_not_exists()
189 bst_entry->value = entry; in lexbor_bst_map_insert_not_exists()
[all …]
H A Dhash.c99 if (entry == NULL) { in _lexbor_hash_entry_create()
110 return entry; in _lexbor_hash_entry_create()
202 return entry; in lexbor_hash_insert()
216 entry = entry->next; in lexbor_hash_insert()
222 return entry->next; in lexbor_hash_insert()
242 return entry; in lexbor_hash_insert_by_entry()
260 item->next = entry; in lexbor_hash_insert_by_entry()
262 return entry; in lexbor_hash_insert_by_entry()
314 prev = entry; in lexbor_hash_remove_by_hash_id()
315 entry = entry->next; in lexbor_hash_remove_by_hash_id()
[all …]
H A Dhash.h163 if (entry->length <= LEXBOR_HASH_SHORT_SIZE) { in lexbor_hash_entry_str()
164 return (lxb_char_t *) entry->u.short_str; in lexbor_hash_entry_str()
167 return entry->u.long_str; in lexbor_hash_entry_str()
171 lexbor_hash_entry_str_set(lexbor_hash_entry_t *entry, in lexbor_hash_entry_str_set() argument
174 entry->length = length; in lexbor_hash_entry_str_set()
177 memcpy(entry->u.short_str, data, length); in lexbor_hash_entry_str_set()
178 return (lxb_char_t *) entry->u.short_str; in lexbor_hash_entry_str_set()
181 entry->u.long_str = data; in lexbor_hash_entry_str_set()
182 return entry->u.long_str; in lexbor_hash_entry_str_set()
188 if (entry->length > LEXBOR_HASH_SHORT_SIZE) { in lexbor_hash_entry_str_free()
[all …]
H A Dshs.h56 const lexbor_shs_hash_t *entry; in lexbor_shs_hash_get_static() local
58 entry = &table[ (key % table_size) + 1 ]; in lexbor_shs_hash_get_static()
61 if (entry->key == key) { in lexbor_shs_hash_get_static()
62 return entry; in lexbor_shs_hash_get_static()
65 entry = &table[entry->next]; in lexbor_shs_hash_get_static()
67 while (entry != table); in lexbor_shs_hash_get_static()
/PHP-8.4/ext/phar/
H A Dzip.c431 entry.filename = (char *) pemalloc(entry.filename_len + 1, entry.is_persistent); in phar_parse_zipfile()
434 pefree(entry.filename, entry.is_persistent); in phar_parse_zipfile()
438 entry.filename[entry.filename_len] = '\0'; in phar_parse_zipfile()
475 entry.offset = entry.offset_abs = entry.header_offset in phar_parse_zipfile()
480 entry.offset = entry.offset_abs = entry.header_offset in phar_parse_zipfile()
895 phar_add_virtual_dirs(entry->phar, entry->filename, entry->filename_len); in phar_zip_changed_apply_int()
944 … if (entry->fp_type == PHAR_MOD && entry->fp != entry->phar->fp && entry->fp != entry->phar->ufp) { in phar_zip_changed_apply_int()
958 …if (entry->flags & PHAR_ENT_COMPRESSION_MASK && (entry->old_flags == entry->flags || !entry->old_f… in phar_zip_changed_apply_int()
1029 entry->old_flags = entry->flags; in phar_zip_changed_apply_int()
1131 …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.c366 entry.filename_len = entry.uncompressed_filesize; in phar_parse_tarfile()
389 entry.filename[entry.filename_len] = '\0'; in phar_parse_tarfile()
457 entry.filename[entry.filename_len - 1] = '\0'; in phar_parse_tarfile()
502 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 Dutil.c56 spprintf(&ret, 0, "%s/%s", entry->filename, entry->link); in phar_get_link_location()
134 PHAR_G(cached_fp)[entry->phar->phar_pos].manifest[entry->manifest_pos].offset = entry->offset; in phar_get_fp_offset()
153 entry = t; in phar_seek_efp()
373 entry->old_flags = entry->flags; in phar_create_writeable_entry()
406 entry->old_flags = entry->flags; in phar_create_writeable_entry()
945 entry->old_flags = entry->flags; in phar_open_entry_fp()
1341 entry->is_temp_dir = entry->is_dir = 1; in phar_get_entry_info_dir()
1367 if (!entry->tmp || !entry->is_mounted) { in phar_get_entry_info_dir()
2071 entry->link = estrdup(entry->link); in phar_update_cached_entry()
2075 entry->tmp = estrdup(entry->tmp); in phar_update_cached_entry()
[all …]
H A Ddirstream.c268 efree(entry); in phar_make_dirstream()
357 } else if (entry && entry->is_dir) { in phar_wrapper_open_dir()
484 entry.is_zip = 1; in phar_wrapper_mkdir()
490 entry.is_tar = 1; in phar_wrapper_mkdir()
496 entry.is_dir = 1; in phar_wrapper_mkdir()
497 entry.phar = phar; in phar_wrapper_mkdir()
514 zend_hash_str_del(&phar->manifest, entry.filename, entry.filename_len); in phar_wrapper_mkdir()
519 phar_add_virtual_dirs(phar, entry.filename, entry.filename_len); in phar_wrapper_mkdir()
605 efree(entry); in phar_wrapper_rmdir()
622 efree(entry); in phar_wrapper_rmdir()
[all …]
H A Dphar.c320 if (entry->fp && !entry->fp_refcount) { in phar_tmpclose_apply()
370 pefree(entry->filename, entry->is_persistent); in destroy_phar_manifest_entry_int()
373 pefree(entry->link, entry->is_persistent); in destroy_phar_manifest_entry_int()
378 pefree(entry->tmp, entry->is_persistent); in destroy_phar_manifest_entry_int()
388 pefree(entry, entry->is_persistent); in destroy_phar_manifest_entry()
1158 entry.filename = pestrndup(buffer, entry.filename_len, entry.is_persistent); in phar_parse_pharfile()
1195 entry.offset = entry.offset_abs = offset; in phar_parse_pharfile()
2430 entry->offset = entry->offset_abs = in phar_postprocess_file()
2839 entry->old_flags = entry->flags; in phar_flush_ex()
3008 if (entry->is_deleted || entry->is_dir || entry->is_mounted) { in phar_flush_ex()
[all …]
H A Dphar_object.c421 efree(entry); in PHP_METHOD()
478 efree(entry); in PHP_METHOD()
479 entry = NULL; in PHP_METHOD()
507 if (entry && path == entry) { in PHP_METHOD()
525 path = entry; in PHP_METHOD()
1171 if (entry) { in PHP_METHOD()
1218 if (entry) { in PHP_METHOD()
1968 entry->cfp = entry->fp; in phar_copy_file_contents()
3157 entry->old_flags = entry->flags; in phar_set_compression()
4684 entry_obj->entry->old_flags = entry_obj->entry->flags; in PHP_METHOD()
[all …]
/PHP-8.4/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.4/ext/dom/lexbor/lexbor/css/selectors/
H A Dpseudo.c17 const lexbor_shs_entry_t *entry; in lxb_css_selector_pseudo_class_by_name() local
21 if (entry == NULL) { in lxb_css_selector_pseudo_class_by_name()
25 return entry->value; in lxb_css_selector_pseudo_class_by_name()
32 const lexbor_shs_entry_t *entry; in lxb_css_selector_pseudo_class_function_by_name() local
36 if (entry == NULL) { in lxb_css_selector_pseudo_class_function_by_name()
40 return entry->value; in lxb_css_selector_pseudo_class_function_by_name()
52 const lexbor_shs_entry_t *entry; in lxb_css_selector_pseudo_element_by_name() local
56 if (entry == NULL) { in lxb_css_selector_pseudo_element_by_name()
60 return entry->value; in lxb_css_selector_pseudo_element_by_name()
71 if (entry == NULL) { in lxb_css_selector_pseudo_element_function_by_name()
[all …]
/PHP-8.4/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.4/ext/dom/lexbor/lexbor/ns/
H A Dns.c20 const lexbor_shs_entry_t *entry; in lxb_ns_append() local
28 if (entry != NULL) { in lxb_ns_append()
29 return entry->value; in lxb_ns_append()
57 *length = data->entry.length; in lxb_ns_by_id()
80 const lexbor_shs_entry_t *entry; in lxb_ns_data_by_link() local
88 if (entry != NULL) { in lxb_ns_data_by_link()
89 return entry->value; in lxb_ns_data_by_link()
109 if (entry != NULL) { in lxb_ns_prefix_append()
110 return entry->value; in lxb_ns_prefix_append()
149 if (entry != NULL) { in lxb_ns_prefix_data_by_name()
[all …]
/PHP-8.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
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>
/PHP-8.4/ext/dom/lexbor/lexbor/tag/
H A Dtag.c17 const lexbor_shs_entry_t *entry; in lxb_tag_append() local
21 if (entry != NULL) { in lxb_tag_append()
22 return entry->value; in lxb_tag_append()
44 const lexbor_shs_entry_t *entry; in lxb_tag_append_lower() local
48 if (entry != NULL) { in lxb_tag_append_lower()
49 return entry->value; in lxb_tag_append_lower()
79 const lexbor_shs_entry_t *entry; in lxb_tag_data_by_name() local
87 if (entry != NULL) { in lxb_tag_data_by_name()
88 return (const lxb_tag_data_t *) entry->value; in lxb_tag_data_by_name()
101 const lexbor_shs_entry_t *entry;
[all …]
/PHP-8.4/ext/dom/lexbor/lexbor/selectors-adapted/
H A Dselectors.c350 nested.entry = entry; in lxb_selectors_find()
379 nested.entry = entry; in lxb_selectors_match_node()
467 entry = selectors->current->entry; in lxb_selectors_state_run()
483 entry = selectors->current->entry; in lxb_selectors_state_run()
535 entry->nested->entry = next; in lxb_selectors_state_find()
543 next = entry->nested->entry; in lxb_selectors_state_find()
611 entry->following->node = entry->node; in lxb_selectors_state_find_check()
636 entry = entry->next; in lxb_selectors_state_find_check()
644 entry = entry->next; in lxb_selectors_state_find_check()
750 entry->selector, entry); in lxb_selectors_state_pseudo_class_function()
[all …]
/PHP-8.4/ext/dom/lexbor/lexbor/html/tree/
H A Derror.c18 lxb_html_tree_error_t *entry = lexbor_array_obj_push(parse_errors); in lxb_html_tree_error_add() local
19 if (entry == NULL) { in lxb_html_tree_error_add()
23 entry->id = id; in lxb_html_tree_error_add()
24 entry->line = token->line; in lxb_html_tree_error_add()
25 entry->column = token->column; in lxb_html_tree_error_add()
26 entry->length = token->end - token->begin; in lxb_html_tree_error_add()
28 return entry; in lxb_html_tree_error_add()
/PHP-8.4/ext/dom/lexbor/lexbor/selectors/
H A Dselectors.c275 nested.entry = entry; in lxb_selectors_find()
307 nested.entry = entry; in lxb_selectors_match_node()
399 entry = selectors->current->entry; in lxb_selectors_state_run()
408 entry = selectors->state(selectors, entry); in lxb_selectors_state_run()
415 entry = selectors->current->entry; in lxb_selectors_state_run()
475 entry->nested->entry = next; in lxb_selectors_state_find()
483 next = entry->nested->entry; in lxb_selectors_state_find()
551 entry->following->node = entry->node; in lxb_selectors_state_find_check()
580 entry = entry->next; in lxb_selectors_state_find_check()
588 entry = entry->next; in lxb_selectors_state_find_check()
[all …]
/PHP-8.4/ext/dom/lexbor/lexbor/css/syntax/tokenizer/
H A Derror.c19 lxb_css_syntax_tokenizer_error_t *entry; in lxb_css_syntax_tokenizer_error_add() local
21 entry = lexbor_array_obj_push(parse_errors); in lxb_css_syntax_tokenizer_error_add()
22 if (entry == NULL) { in lxb_css_syntax_tokenizer_error_add()
26 entry->id = id; in lxb_css_syntax_tokenizer_error_add()
27 entry->pos = pos; in lxb_css_syntax_tokenizer_error_add()
29 return entry; in lxb_css_syntax_tokenizer_error_add()
/PHP-8.4/ext/standard/
H A Dbrowscap.c70 if (entry->parent) {
73 efree(entry);
80 if (entry->parent) { in browscap_entry_dtor_persistent()
83 pefree(entry, 1); in browscap_entry_dtor_persistent()
269 for (uint32_t i = entry->kv_start; i < entry->kv_end; i++) { in browscap_entry_add_kv_to_existing_array()
278 HashTable *ht = zend_new_array(2 + (entry->parent ? 1 : 0) + (entry->kv_end - entry->kv_start)); in browscap_entry_to_array()
292 if (entry->parent) { in browscap_entry_to_array()
361 browscap_entry *entry; in php_browscap_parser_cb() local
391 entry->kv_end = entry->kv_start = bdata->kv_used; in php_browscap_parser_cb()
392 entry->parent = NULL; in php_browscap_parser_cb()
[all …]
/PHP-8.4/ext/dom/lexbor/lexbor/html/tokenizer/
H A Derror.c19 lxb_html_tokenizer_error_t *entry = lexbor_array_obj_push(parse_errors); in lxb_html_tokenizer_error_add() local
20 if (entry == NULL) { in lxb_html_tokenizer_error_add()
24 entry->id = id; in lxb_html_tokenizer_error_add()
25 entry->pos = pos; in lxb_html_tokenizer_error_add()
27 return entry; in lxb_html_tokenizer_error_add()

Completed in 82 milliseconds

12345678910>>...12