/PHP-8.3/ext/spl/ |
H A D | spl_directory.c | 145 if (intern->oth_handler && intern->oth_handler->dtor) { in spl_filesystem_object_free_storage() 146 intern->oth_handler->dtor(intern); in spl_filesystem_object_free_storage() 276 if (!intern->u.dir.dirp || !php_stream_readdir(intern->u.dir.dirp, &intern->u.dir.entry)) { in spl_filesystem_dir_read() 344 if (!ZSTR_LEN(intern->file_name) || !intern->u.file.stream) { in spl_filesystem_file_open() 365 …intern->file_name = zend_string_init(ZSTR_VAL(intern->file_name), ZSTR_LEN(intern->file_name)-1, 0… in spl_filesystem_file_open() 367 intern->file_name = zend_string_copy(intern->file_name); in spl_filesystem_file_open() 439 if (intern->oth_handler && intern->oth_handler->clone) { in spl_filesystem_object_clone() 440 intern->oth_handler->clone(source, intern); in spl_filesystem_object_clone() 502 return intern; in spl_filesystem_object_create_info() 1307 if (intern->type == SPL_FS_DIR && !intern->file_name && intern->u.dir.entry.d_name[0]) { in PHP_METHOD() [all …]
|
H A D | spl_observer.c | 91 &intern->std, intern->std.ce, &intern->fptr_get_hash, "getHash", &rv, ¶m); in spl_object_storage_get_hash() 252 intern->index = 0; in spl_object_storage_addall() 265 intern->pos = 0; in spl_object_storage_new_ex() 520 intern->index = 0; in PHP_METHOD() 762 zend_hash_move_forward_ex(&intern->storage, &intern->pos); in PHP_METHOD() 763 intern->index++; in PHP_METHOD() 1104 zend_hash_move_forward_ex(&intern->storage, &intern->pos); in PHP_METHOD() 1168 zend_hash_move_forward_ex(&intern->storage, &intern->pos); in PHP_METHOD() 1189 zend_hash_move_forward_ex(&intern->storage, &intern->pos); in PHP_METHOD() 1230 zend_hash_move_forward_ex(&intern->storage, &intern->pos); in PHP_METHOD() [all …]
|
H A D | spl_iterators.c | 666 sub_iter = intern->iterators[intern->level].iterator; in spl_recursive_it_it_construct() 1473 intern->inner.iterator = intern->inner.ce->get_iterator(intern->inner.ce, zobject, 0); in spl_dual_it_construct() 1564 intern->inner.iterator->funcs->get_current_key(intern->inner.iterator, &intern->current.key); in spl_dual_it_fetch() 1570 ZVAL_LONG(&intern->current.key, intern->current.pos); in spl_dual_it_fetch() 1892 …&intern->current.data, intern->u.regex.mode == REGIT_MODE_ALL_MATCHES, intern->u.regex.use_flags, … in PHP_METHOD() 2215 …if (intern->u.limit.count != -1 && intern->current.pos >= intern->u.limit.offset + intern->u.limit… in spl_limit_it_valid() 2231 if (pos >= intern->u.limit.offset + intern->u.limit.count && intern->u.limit.count != -1) { in spl_limit_it_seek() 2277 spl_limit_it_seek(intern, intern->u.limit.offset); in PHP_METHOD() 2292 …RETURN_BOOL((intern->u.limit.count == -1 || intern->current.pos < intern->u.limit.offset + intern-… in PHP_METHOD() 2307 …if (intern->u.limit.count == -1 || intern->current.pos < intern->u.limit.offset + intern->u.limit.… in PHP_METHOD() [all …]
|
H A D | spl_array.c | 106 intern = Z_SPLARRAY_P(&intern->array); in spl_array_is_object() 108 return (intern->ar_flags & SPL_ARRAY_IS_SELF) || Z_TYPE(intern->array) == IS_OBJECT; in spl_array_is_object() 149 spl_array_object *intern; in spl_array_object_new_ex() local 158 intern->ar_flags = 0; in spl_array_object_new_ex() 159 intern->is_child = false; in spl_array_object_new_ex() 160 intern->bucket = NULL; in spl_array_object_new_ex() 222 return &intern->std; in spl_array_object_new_ex() 407 (intern->fptr_offset_get || (type == BP_VAR_IS && intern->fptr_offset_has))) { in spl_array_read_dimension_ex() 1072 ZVAL_COPY(&intern->bucket->val, &intern->array); in spl_array_set_array() 1397 intern->nApplyCount++; in spl_array_method() [all …]
|
H A D | spl_dllist.c | 301 if (intern->llist) { in spl_dllist_object_free_storage() 323 intern->flags = 0; in spl_dllist_object_new_ex() 333 intern->traverse_pointer = intern->llist->head; in spl_dllist_object_new_ex() 337 intern->traverse_pointer = intern->llist->head; in spl_dllist_object_new_ex() 344 intern->traverse_pointer = intern->llist->head; in spl_dllist_object_new_ex() 389 return &intern->std; in spl_dllist_object_new_ex() 413 if (intern->fptr_count) { in spl_dllist_object_count_elements() 767 llist = intern->llist; in PHP_METHOD() 944 …spl_dllist_it_helper_move_forward(&intern->traverse_pointer, &intern->traverse_position, intern->l… in PHP_METHOD() 957 …spl_dllist_it_helper_move_forward(&intern->traverse_pointer, &intern->traverse_position, intern->l… in PHP_METHOD() [all …]
|
H A D | spl_fixedarray.c | 62 zend_object_iterator intern; member 226 *n = (int)intern->array.size; in spl_fixedarray_object_get_gc() 314 return &intern->std; in spl_fixedarray_object_new_ex() 542 *count = intern->array.size; in spl_fixedarray_object_count_elements() 652 intern->array.size = 0; in PHP_METHOD() 655 ZVAL_COPY(&intern->array.elements[intern->array.size], elem); in PHP_METHOD() 656 intern->array.size++; in PHP_METHOD() 664 if (intern->array.size) { in PHP_METHOD() 665 intern->array.elements = erealloc(intern->array.elements, sizeof(zval) * intern->array.size); in PHP_METHOD() 770 intern->array = array; in PHP_METHOD() [all …]
|
H A D | spl_heap.c | 443 return &intern->std; in spl_heap_object_new_ex() 479 return &intern->std; in spl_heap_object_new_ex() 636 spl_heap_object *intern; in PHP_METHOD() local 658 spl_heap_object *intern; in PHP_METHOD() local 681 spl_heap_object *intern; in PHP_METHOD() local 700 if (!intern->fptr_cmp) { in PHP_METHOD() 723 spl_heap_object *intern; in PHP_METHOD() local 748 spl_heap_object *intern; in PHP_METHOD() local 777 spl_heap_object *intern; in PHP_METHOD() local 790 intern->flags = value; in PHP_METHOD() [all …]
|
/PHP-8.3/ext/xsl/ |
H A D | php_xsl.c | 61 zend_object_std_dtor(&intern->std); in ZEND_GET_MODULE() 63 if (intern->parameter) { in ZEND_GET_MODULE() 73 if (intern->node_list) { in ZEND_GET_MODULE() 78 if (intern->doc) { in ZEND_GET_MODULE() 80 efree(intern->doc); in ZEND_GET_MODULE() 83 if (intern->ptr) { in ZEND_GET_MODULE() 90 intern->ptr = NULL; in ZEND_GET_MODULE() 92 if (intern->profiling) { in ZEND_GET_MODULE() 93 efree(intern->profiling); in ZEND_GET_MODULE() 101 xsl_object *intern; in xsl_objects_new() local [all …]
|
H A D | xsltprocessor.c | 105 xsl_object *intern; in xsl_ext_function_php() local 327 xsl_object *intern; in PHP_METHOD() local 534 efree(intern->doc); in php_xsl_apply_stylesheet() 535 intern->doc = NULL; in php_xsl_apply_stylesheet() 559 xsl_object *intern; in PHP_METHOD() local 616 xsl_object *intern; in PHP_METHOD() local 647 xsl_object *intern; in PHP_METHOD() local 682 xsl_object *intern; in PHP_METHOD() local 740 xsl_object *intern; in PHP_METHOD() local 761 xsl_object *intern; in PHP_METHOD() local [all …]
|
/PHP-8.3/ext/dom/ |
H A D | documentfragment.c | 37 dom_object *intern; in PHP_METHOD() local 50 intern = Z_DOMOBJ_P(ZEND_THIS); in PHP_METHOD() 51 oldnode = dom_object_get_node(intern); in PHP_METHOD() 55 php_libxml_increment_node_ptr((php_libxml_node_object *)intern, nodep, (void *)intern); in PHP_METHOD() 63 dom_object *intern; in PHP_METHOD() local 103 dom_object *intern; in PHP_METHOD() local 109 DOM_GET_THIS_INTERN(intern); in PHP_METHOD() 122 dom_object *intern; in PHP_METHOD() local 128 DOM_GET_THIS_INTERN(intern); in PHP_METHOD() 141 dom_object *intern; in PHP_METHOD() local [all …]
|
H A D | characterdata.c | 109 dom_object *intern; in PHP_METHOD() local 152 dom_object *intern; in PHP_METHOD() local 179 dom_object *intern; in PHP_METHOD() local 224 dom_object *intern; in PHP_METHOD() local 279 dom_object *intern; in PHP_METHOD() local 330 dom_object *intern; in PHP_METHOD() local 336 DOM_GET_THIS_INTERN(intern); in PHP_METHOD() 346 dom_object *intern; in PHP_METHOD() local 352 DOM_GET_THIS_INTERN(intern); in PHP_METHOD() 361 dom_object *intern; in PHP_METHOD() local [all …]
|
H A D | xpath.c | 44 dom_xpath_object *intern; in dom_xpath_ext_function_php() local 53 if (intern == NULL) { in dom_xpath_ext_function_php() 218 dom_xpath_object *intern; in PHP_METHOD() local 233 intern = Z_XPATHOBJ_P(ZEND_THIS); in PHP_METHOD() 234 if (intern != NULL) { in PHP_METHOD() 248 intern->dom.ptr = ctx; in PHP_METHOD() 249 ctx->userData = (void *)intern; in PHP_METHOD() 303 dom_xpath_object *intern; in PHP_METHOD() local 311 intern = Z_XPATHOBJ_P(id); in PHP_METHOD() 342 dom_xpath_object *intern; in php_xpath_eval() local [all …]
|
H A D | cdatasection.c | 37 dom_object *intern; in PHP_METHOD() local 52 intern = Z_DOMOBJ_P(ZEND_THIS); in PHP_METHOD() 53 oldnode = dom_object_get_node(intern); in PHP_METHOD() 55 php_libxml_node_decrement_resource((php_libxml_node_object *)intern); in PHP_METHOD() 57 php_libxml_increment_node_ptr((php_libxml_node_object *)intern, nodep, (void *)intern); in PHP_METHOD()
|
H A D | comment.c | 37 dom_object *intern; in PHP_METHOD() local 52 intern = Z_DOMOBJ_P(ZEND_THIS); in PHP_METHOD() 53 oldnode = dom_object_get_node(intern); in PHP_METHOD() 55 php_libxml_node_decrement_resource((php_libxml_node_object *)intern); in PHP_METHOD() 57 php_libxml_increment_node_ptr((php_libxml_node_object *)intern, (xmlNodePtr)nodep, (void *)intern); in PHP_METHOD()
|
H A D | document.c | 494 dom_object *intern; in PHP_METHOD() local 529 dom_object *intern; in PHP_METHOD() local 559 dom_object *intern; in PHP_METHOD() local 589 dom_object *intern; in PHP_METHOD() local 619 dom_object *intern; in PHP_METHOD() local 649 dom_object *intern; in PHP_METHOD() local 686 dom_object *intern; in PHP_METHOD() local 720 dom_object *intern; in PHP_METHOD() local 845 dom_object *intern; in PHP_METHOD() local 904 dom_object *intern; in PHP_METHOD() local [all …]
|
H A D | element.c | 37 dom_object *intern; in PHP_METHOD() local 280 dom_object *intern; in PHP_METHOD() local 376 dom_object *intern; in PHP_METHOD() local 546 dom_object *intern; in PHP_METHOD() local 575 dom_object *intern; in PHP_METHOD() local 722 dom_object *intern; in PHP_METHOD() local 767 dom_object *intern; in PHP_METHOD() local 955 dom_object *intern; in PHP_METHOD() local 999 dom_object *intern; in PHP_METHOD() local 1130 dom_object *intern; in PHP_METHOD() local [all …]
|
H A D | text.c | 38 dom_object *intern; in PHP_METHOD() local 53 intern = Z_DOMOBJ_P(ZEND_THIS); in PHP_METHOD() 54 oldnode = dom_object_get_node(intern); in PHP_METHOD() 56 php_libxml_node_decrement_resource((php_libxml_node_object *)intern); in PHP_METHOD() 58 php_libxml_increment_node_ptr((php_libxml_node_object *)intern, nodep, (void *)intern); in PHP_METHOD() 115 dom_object *intern; in PHP_METHOD() local 121 DOM_GET_OBJ(node, id, xmlNodePtr, intern); in PHP_METHOD() 165 php_dom_create_object(nnode, return_value, intern); in PHP_METHOD() 176 dom_object *intern; in PHP_METHOD() local 182 DOM_GET_OBJ(node, id, xmlNodePtr, intern); in PHP_METHOD()
|
/PHP-8.3/ext/xmlreader/ |
H A D | php_xmlreader.c | 342 if (intern->ptr) { in xmlreader_free_resources() 400 if (intern->ptr) { in php_xmlreader_string_arg() 426 if (intern->ptr) { in php_xmlreader_no_arg() 454 if (intern->ptr) { in php_xmlreader_no_arg_string() 489 if (intern->ptr) { in php_xmlreader_set_relaxng_schema() 566 if (intern->ptr) { in PHP_METHOD() 601 if (intern->ptr) { in PHP_METHOD() 625 if (!intern || !intern->ptr) { in PHP_METHOD() 677 if (intern->ptr) { in PHP_METHOD() 945 if (intern && intern->ptr) { in PHP_METHOD() [all …]
|
/PHP-8.3/Zend/ |
H A D | zend_interfaces.c | 530 return intern; in zend_internal_iterator_fetch() 557 if (!intern) { in ZEND_METHOD() 565 zval *data = intern->iter->funcs->get_current_data(intern->iter); in ZEND_METHOD() 575 if (!intern) { in ZEND_METHOD() 584 intern->iter->funcs->get_current_key(intern->iter, return_value); in ZEND_METHOD() 594 if (!intern) { in ZEND_METHOD() 604 intern->iter->funcs->move_forward(intern->iter); in ZEND_METHOD() 611 if (!intern) { in ZEND_METHOD() 619 RETURN_BOOL(intern->iter->funcs->valid(intern->iter) == SUCCESS); in ZEND_METHOD() 626 if (!intern) { in ZEND_METHOD() [all …]
|
/PHP-8.3/ext/intl/dateformat/ |
H A D | dateformat_class.c | 49 IntlDateFormatter_object* intern; in IntlDateFormatter_object_create() local 51 intern = zend_object_alloc(sizeof(IntlDateFormatter_object), ce); in IntlDateFormatter_object_create() 52 dateformat_data_init( &intern->datef_data ); in IntlDateFormatter_object_create() 53 zend_object_std_init( &intern->zo, ce ); in IntlDateFormatter_object_create() 54 object_properties_init(&intern->zo, ce); in IntlDateFormatter_object_create() 55 intern->date_type = 0; in IntlDateFormatter_object_create() 56 intern->time_type = 0; in IntlDateFormatter_object_create() 57 intern->calendar = -1; in IntlDateFormatter_object_create() 58 intern->requested_locale = NULL; in IntlDateFormatter_object_create() 60 return &intern->zo; in IntlDateFormatter_object_create()
|
/PHP-8.3/ext/zip/ |
H A D | php_zip.c | 470 intern = obj->za; \ 471 if (!intern) { \ 1050 if (!intern) { in php_zip_object_free_storage() 1053 if (intern->za) { in php_zip_object_free_storage() 1077 intern->za = NULL; in php_zip_object_free_storage() 1096 return &intern->zo; in php_zip_object_new() 1447 struct zip *intern; local 1523 struct zip *intern; local 1550 struct zip *intern; local 1604 struct zip *intern; local [all …]
|
/PHP-8.3/ext/mysqli/ |
H A D | mysqli_result_iterator.c | 35 zend_object_iterator intern; member 53 zend_iterator_init(&iterator->intern); in php_mysqli_result_get_iterator() 56 ZVAL_OBJ(&iterator->intern.data, Z_OBJ_P(object)); in php_mysqli_result_get_iterator() 57 iterator->intern.funcs = &php_mysqli_result_iterator_funcs; in php_mysqli_result_get_iterator() 61 return &iterator->intern; in php_mysqli_result_get_iterator() 71 zval_ptr_dtor(&iterator->intern.data); in php_mysqli_result_iterator_dtor() 99 mysqli_object *intern = iterator->result; in php_mysqli_result_iterator_move_forward() local 102 MYSQLI_FETCH_RESOURCE_BY_OBJ(result, MYSQL_RES *, intern, "mysqli_result", MYSQLI_STATUS_VALID); in php_mysqli_result_iterator_move_forward() 116 mysqli_object *intern = iterator->result; in php_mysqli_result_iterator_rewind() local 119 MYSQLI_FETCH_RESOURCE_BY_OBJ(result, MYSQL_RES *, intern, "mysqli_result", MYSQLI_STATUS_VALID); in php_mysqli_result_iterator_rewind()
|
/PHP-8.3/ext/reflection/ |
H A D | php_reflection.c | 236 if (intern->ptr) { in reflection_free_objects_storage() 271 intern->ptr = NULL; in reflection_free_objects_storage() 292 return &intern->zo; in reflection_objects_new() 1272 intern->ptr = ce; in zend_reflection_class_factory() 1274 intern->ce = ce; in zend_reflection_class_factory() 1440 intern->ce = ce; in reflection_method_factory() 1463 intern->ce = ce; in reflection_property_factory() 2144 Z_ISUNDEF(intern->obj) ? NULL : &intern->obj, in ZEND_METHOD() 2542 intern->ce = ce; in ZEND_METHOD() 3301 intern->ce = ce; in instantiate_reflection_method() [all …]
|
/PHP-8.3/ext/intl/formatter/ |
H A D | formatter_class.c | 47 NumberFormatter_object* intern; in NumberFormatter_object_create() local 49 intern = zend_object_alloc(sizeof(NumberFormatter_object), ce); in NumberFormatter_object_create() 50 formatter_data_init( &intern->nf_data ); in NumberFormatter_object_create() 51 zend_object_std_init( &intern->zo, ce ); in NumberFormatter_object_create() 52 object_properties_init(&intern->zo, ce); in NumberFormatter_object_create() 54 return &intern->zo; in NumberFormatter_object_create()
|
/PHP-8.3/ext/intl/msgformat/ |
H A D | msgformat_class.c | 45 MessageFormatter_object* intern; in MessageFormatter_object_create() local 47 intern = zend_object_alloc(sizeof(MessageFormatter_object), ce); in MessageFormatter_object_create() 48 msgformat_data_init( &intern->mf_data ); in MessageFormatter_object_create() 49 zend_object_std_init( &intern->zo, ce ); in MessageFormatter_object_create() 50 object_properties_init(&intern->zo, ce); in MessageFormatter_object_create() 52 return &intern->zo; in MessageFormatter_object_create()
|