/PHP-8.2/ext/reflection/ |
H A D | php_reflection.c | 226 if (intern->ptr) { in reflection_free_objects_storage() 265 intern->ptr = NULL; in reflection_free_objects_storage() 287 return &intern->zo; in reflection_objects_new() 1262 intern->ptr = ce; in zend_reflection_class_factory() 1264 intern->ce = ce; in zend_reflection_class_factory() 1430 intern->ce = ce; in reflection_method_factory() 1453 intern->ce = ce; in reflection_property_factory() 2163 Z_ISUNDEF(intern->obj) ? NULL : &intern->obj, in ZEND_METHOD() 2557 intern->ce = ce; in ZEND_METHOD() 3301 intern->ce = ce; in ZEND_METHOD() [all …]
|
/PHP-8.2/ext/intl/spoofchecker/ |
H A D | spoofchecker_class.c | 43 Spoofchecker_object* intern; in Spoofchecker_object_create() local 45 intern = zend_object_alloc(sizeof(Spoofchecker_object), ce); in Spoofchecker_object_create() 46 intl_error_init(SPOOFCHECKER_ERROR_P(intern)); in Spoofchecker_object_create() 47 zend_object_std_init(&intern->zo, ce); in Spoofchecker_object_create() 48 object_properties_init(&intern->zo, ce); in Spoofchecker_object_create() 50 intern->zo.handlers = &Spoofchecker_handlers; in Spoofchecker_object_create() 52 return &intern->zo; in Spoofchecker_object_create()
|
/PHP-8.2/ext/dom/ |
H A D | dom_iterators.c | 129 zval_ptr_dtor(&iterator->intern.data); in php_dom_iterator_dtor() 157 zval *object = &iterator->intern.data; in php_dom_iterator_current_key() 164 if (intern != NULL && intern->ptr != NULL) { in php_dom_iterator_current_key() 178 dom_object *intern; in php_dom_iterator_move_forward() local 191 intern = Z_DOMOBJ_P(&iterator->curobj); in php_dom_iterator_move_forward() 192 object = &iterator->intern.data; in php_dom_iterator_move_forward() 196 if (intern != NULL && intern->ptr != NULL) { in php_dom_iterator_move_forward() 260 dom_object *intern; in php_dom_get_iterator() local 273 zend_iterator_init(&iterator->intern); in php_dom_get_iterator() 280 intern = Z_DOMOBJ_P(object); in php_dom_get_iterator() [all …]
|
H A D | php_dom.c | 458 if (intern->node) { in php_dom_export_node() 967 if (intern->node_list) { in dom_xpath_objects_free_storage() 994 intern->ptr = NULL; in dom_objects_free_storage() 1032 return intern; in dom_objects_set_class() 1040 return &intern->std; in dom_objects_new() 1049 return &intern->dom.std; in dom_objects_namespace_node_new() 1078 return &intern->dom.std; in dom_xpath_objects_new() 1099 intern->ptr = NULL; in dom_nnodemap_objects_free_storage() 1110 dom_object *intern; in dom_nodemap_or_nodelist_objects_new() local 1125 return &intern->std; in dom_nodemap_or_nodelist_objects_new() [all …]
|
H A D | processinginstruction.c | 37 dom_object *intern; in PHP_METHOD() local 59 intern = Z_DOMOBJ_P(ZEND_THIS); in PHP_METHOD() 60 oldnode = dom_object_get_node(intern); in PHP_METHOD() 62 php_libxml_node_decrement_resource((php_libxml_node_object *)intern); in PHP_METHOD() 64 php_libxml_increment_node_ptr((php_libxml_node_object *)intern, nodep, (void *)intern); in PHP_METHOD()
|
H A D | attr.c | 40 dom_object *intern; in PHP_METHOD() local 48 intern = Z_DOMOBJ_P(ZEND_THIS); in PHP_METHOD() 63 oldnode = dom_object_get_node(intern); in PHP_METHOD() 65 php_libxml_node_decrement_resource((php_libxml_node_object *)intern); in PHP_METHOD() 67 php_libxml_increment_node_ptr((php_libxml_node_object *)intern, (xmlNodePtr)nodep, (void *)intern); in PHP_METHOD() 211 dom_object *intern; in PHP_METHOD() local 219 DOM_GET_OBJ(attrp, id, xmlAttrPtr, intern); in PHP_METHOD()
|
H A D | entityreference.c | 39 dom_object *intern; in PHP_METHOD() local 60 intern = Z_DOMOBJ_P(ZEND_THIS); in PHP_METHOD() 61 oldnode = dom_object_get_node(intern); in PHP_METHOD() 63 php_libxml_node_decrement_resource((php_libxml_node_object *)intern); in PHP_METHOD() 65 php_libxml_increment_node_ptr((php_libxml_node_object *)intern, node, (void *)intern); in PHP_METHOD()
|
H A D | node.c | 268 dom_object *intern; in dom_node_child_nodes_read() local 475 dom_object *intern; in dom_node_attributes_read() local 1282 dom_object *intern; in PHP_METHOD() local 1311 dom_object *intern; in PHP_METHOD() local 1357 intern = NULL; in PHP_METHOD() 1371 dom_object *intern; in PHP_METHOD() local 1407 dom_object *intern; in PHP_METHOD() local 1460 dom_object *intern; in PHP_METHOD() local 1511 dom_object *intern; in PHP_METHOD() local 1544 dom_object *intern; in PHP_METHOD() local [all …]
|
H A D | documenttype.c | 56 dom_object *intern; in dom_documenttype_entities_read() local 67 intern = Z_DOMOBJ_P(retval); in dom_documenttype_entities_read() 68 dom_namednode_iter(obj, XML_ENTITY_NODE, intern, entityht, NULL, NULL); in dom_documenttype_entities_read() 84 dom_object *intern; in dom_documenttype_notations_read() local 95 intern = Z_DOMOBJ_P(retval); in dom_documenttype_notations_read() 96 dom_namednode_iter(obj, XML_NOTATION_NODE, intern, notationht, NULL, NULL); in dom_documenttype_notations_read()
|
H A D | namednodemap.c | 188 dom_object *intern = Z_DOMOBJ_P(id); in PHP_METHOD() local 189 dom_nnodemap_object *objmap = intern->ptr; in PHP_METHOD() 202 dom_object *intern; in PHP_METHOD() local 215 intern = Z_DOMOBJ_P(id); in PHP_METHOD() 217 objmap = (dom_nnodemap_object *)intern->ptr; in PHP_METHOD() 253 dom_object *intern; in PHP_METHOD() local 260 intern = Z_DOMOBJ_P(id); in PHP_METHOD() 261 RETURN_LONG(php_dom_get_namednodemap_length(intern)); in PHP_METHOD()
|
H A D | nodelist.c | 104 dom_object *intern; in PHP_METHOD() local 111 intern = Z_DOMOBJ_P(id); in PHP_METHOD() 112 RETURN_LONG(php_dom_get_nodelist_length(intern)); in PHP_METHOD() 180 dom_object *intern = Z_DOMOBJ_P(id); in PHP_METHOD() local 181 dom_nnodemap_object *objmap = intern->ptr; in PHP_METHOD()
|
/PHP-8.2/ext/intl/dateformat/ |
H A D | datepatterngenerator_class.cpp | 94 IntlDatePatternGenerator_object *intern = in IntlDatePatternGenerator_object_create() local 97 zend_object_std_init(&intern->zo, ce); in IntlDatePatternGenerator_object_create() 98 object_properties_init(&intern->zo, ce); in IntlDatePatternGenerator_object_create() 99 IntlDatePatternGenerator_object_init(intern); in IntlDatePatternGenerator_object_create() 101 intern->zo.handlers = &IntlDatePatternGenerator_handlers; in IntlDatePatternGenerator_object_create() 103 return &intern->zo; in IntlDatePatternGenerator_object_create()
|
/PHP-8.2/ext/intl/transliterator/ |
H A D | transliterator_class.c | 112 Transliterator_object* intern; in Transliterator_object_create() local 114 intern = zend_object_alloc(sizeof(Transliterator_object), ce); in Transliterator_object_create() 116 zend_object_std_init( &intern->zo, ce ); in Transliterator_object_create() 117 object_properties_init( &intern->zo, ce ); in Transliterator_object_create() 118 transliterator_object_init( intern ); in Transliterator_object_create() 120 intern->zo.handlers = &Transliterator_handlers; in Transliterator_object_create() 122 return &intern->zo; in Transliterator_object_create()
|
/PHP-8.2/ext/mysqli/ |
H A D | php_mysqli_structs.h | 183 mysqli_object *intern = Z_MYSQLI_P(__id); \ 184 if (!(my_res = (MYSQLI_RESOURCE *)intern->ptr)) {\ 185 zend_throw_error(NULL, "%s object is already closed", ZSTR_VAL(intern->zo.ce->name));\ 190 zend_throw_error(NULL, "%s object is not fully initialized", ZSTR_VAL(intern->zo.ce->name)); \ 199 zend_throw_error(NULL, "%s object is already closed", ZSTR_VAL(intern->zo.ce->name));\ 204 zend_throw_error(NULL, "%s object is not fully initialized", ZSTR_VAL(intern->zo.ce->name)); \ 226 mysqli_object *intern = Z_MYSQLI_P(__id); \ 227 ((MYSQLI_RESOURCE *)intern->ptr)->status = __value; \ 232 mysqli_object *intern = Z_MYSQLI_P(__id); \ 233 efree(intern->ptr); \ [all …]
|
H A D | mysqli.c | 151 mysqli_object *intern = php_mysqli_fetch_object(object); in mysqli_objects_free_storage() local 152 MYSQLI_RESOURCE *my_res = (MYSQLI_RESOURCE *)intern->ptr; in mysqli_objects_free_storage() 157 zend_object_std_dtor(&intern->zo); in mysqli_objects_free_storage() 166 mysqli_object *intern = php_mysqli_fetch_object(object); in mysqli_link_free_storage() local 369 mysqli_object *intern; in mysqli_objects_new() local 382 zend_object_std_init(&intern->zo, class_type); in mysqli_objects_new() 383 object_properties_init(&intern->zo, class_type); in mysqli_objects_new() 400 intern->zo.handlers = handlers; in mysqli_objects_new() 402 return &intern->zo; in mysqli_objects_new() 412 mysqli_object *intern = Z_MYSQLI_P(zv); in mysqli_convert_zv_to_mysqlnd() local [all …]
|
/PHP-8.2/ext/spl/ |
H A D | spl_directory.h | 39 PHPAPI zend_string *spl_filesystem_object_get_path(spl_filesystem_object *intern); 103 #define SPL_FILE_DIR_CURRENT(intern,mode) ((intern->flags&SPL_FILE_DIR_CURRENT_MODE_MASK)==mode) argument 109 #define SPL_FILE_DIR_KEY(intern,mode) ((intern->flags&SPL_FILE_DIR_KEY_MODE_MASK)==mode) argument
|
/PHP-8.2/ext/curl/ |
H A D | share.c | 142 php_curlsh *intern = zend_object_alloc(sizeof(php_curlsh), class_type); in curl_share_create_object() local 144 zend_object_std_init(&intern->std, class_type); in curl_share_create_object() 145 object_properties_init(&intern->std, class_type); in curl_share_create_object() 146 intern->std.handlers = &curl_share_handlers; in curl_share_create_object() 148 return &intern->std; in curl_share_create_object()
|
/PHP-8.2/ext/fileinfo/ |
H A D | fileinfo.c | 72 finfo_object *intern = php_finfo_fetch_object(object); in finfo_objects_free() local 74 if (intern->ptr) { in finfo_objects_free() 75 magic_close(intern->ptr->magic); in finfo_objects_free() 76 efree(intern->ptr); in finfo_objects_free() 79 zend_object_std_dtor(&intern->zo); in finfo_objects_free() 86 finfo_object *intern; in finfo_objects_new() local 88 intern = zend_object_alloc(sizeof(finfo_object), class_type); in finfo_objects_new() 90 zend_object_std_init(&intern->zo, class_type); in finfo_objects_new() 91 object_properties_init(&intern->zo, class_type); in finfo_objects_new() 92 intern->zo.handlers = &finfo_object_handlers; in finfo_objects_new() [all …]
|
/PHP-8.2/ext/intl/breakiterator/ |
H A D | breakiterator_class.cpp | 204 BreakIterator_object* intern; in BreakIterator_object_create() local 206 intern = (BreakIterator_object*) zend_object_alloc(sizeof(BreakIterator_object), ce); in BreakIterator_object_create() 208 zend_object_std_init(&intern->zo, ce); in BreakIterator_object_create() 209 object_properties_init(&intern->zo, ce); in BreakIterator_object_create() 210 breakiterator_object_init(intern); in BreakIterator_object_create() 212 intern->zo.handlers = &BreakIterator_handlers; in BreakIterator_object_create() 214 return &intern->zo; in BreakIterator_object_create()
|
/PHP-8.2/ext/sqlite3/ |
H A D | sqlite3.c | 2180 if (!intern) { in php_sqlite3_object_free_storage() 2192 if (intern->initialised && intern->db) { in php_sqlite3_object_free_storage() 2213 if (intern->initialised && intern->db){ in php_sqlite3_object_free_storage() 2223 if (intern->initialised && intern->db) { in php_sqlite3_object_free_storage() 2236 if (intern->funcs == NULL && intern->collations == NULL) { in php_sqlite3_get_gc() 2272 if (!intern) { in php_sqlite3_stmt_object_free_storage() 2283 zend_llist_del_element(&(intern->db_obj->free_list), intern->stmt, in php_sqlite3_stmt_object_free_storage() 2299 if (!intern) { in php_sqlite3_result_object_free_storage() 2306 if (intern->stmt_obj && intern->stmt_obj->initialised) { in php_sqlite3_result_object_free_storage() 2332 return &intern->zo; in php_sqlite3_object_new() [all …]
|
/PHP-8.2/ext/zend_test/ |
H A D | iterators.c | 29 zend_object_iterator intern; member 40 zval_ptr_dtor(&iterator->intern.data); in test_traversable_it_dtor() 102 ZVAL_OBJ_COPY(&iterator->intern.data, Z_OBJ_P(object)); in test_traversable_get_iterator() 103 iterator->intern.funcs = &test_traversable_it_vtable; in test_traversable_get_iterator()
|
/PHP-8.2/ext/intl/common/ |
H A D | common_enum.cpp | 193 IntlIterator_object *intern; in IntlIterator_object_create() local 195 …intern = (IntlIterator_object*)ecalloc(1, sizeof(IntlIterator_object) + sizeof(zval) * (ce->defaul… in IntlIterator_object_create() 197 zend_object_std_init(&intern->zo, ce); in IntlIterator_object_create() 198 object_properties_init(&intern->zo, ce); in IntlIterator_object_create() 199 intl_error_init(INTLITERATOR_ERROR_P(intern)); in IntlIterator_object_create() 201 intern->iterator = NULL; in IntlIterator_object_create() 203 intern->zo.handlers = &IntlIterator_handlers; in IntlIterator_object_create() 205 return &intern->zo; in IntlIterator_object_create()
|
/PHP-8.2/ext/intl/calendar/ |
H A D | calendar_class.cpp | 251 Calendar_object* intern; in Calendar_object_create() local 253 …intern = (Calendar_object*)ecalloc(1, sizeof(Calendar_object) + sizeof(zval) * (ce->default_proper… in Calendar_object_create() 255 zend_object_std_init(&intern->zo, ce); in Calendar_object_create() 256 object_properties_init(&intern->zo, ce); in Calendar_object_create() 257 calendar_object_init(intern); in Calendar_object_create() 260 intern->zo.handlers = &Calendar_handlers; in Calendar_object_create() 262 return &intern->zo; in Calendar_object_create()
|
/PHP-8.2/ext/tidy/ |
H A D | tidy.c | 396 if (intern->ptdoc) { in tidy_object_free_storage() 397 intern->ptdoc->ref_count--; in tidy_object_free_storage() 401 efree(intern->ptdoc->errbuf); in tidy_object_free_storage() 403 efree(intern->ptdoc); in tidy_object_free_storage() 410 PHPTidyObj *intern; in tidy_object_new() local 423 intern->ptdoc->ref_count = 1; in tidy_object_new() 428 if (tidySetErrorBuffer(intern->ptdoc->doc, intern->ptdoc->errbuf) != 0) { in tidy_object_new() 430 efree(intern->ptdoc->errbuf); in tidy_object_new() 432 efree(intern->ptdoc); in tidy_object_new() 433 efree(intern); in tidy_object_new() [all …]
|
/PHP-8.2/ext/intl/resourcebundle/ |
H A D | resourcebundle_iterator.c | 71 zval *object = &iterator->intern.data; in resourcebundle_iterator_dtor() 158 zend_iterator_init(&iterator->intern); in resourcebundle_get_iterator() 160 ZVAL_OBJ(&iterator->intern.data, Z_OBJ_P(object)); in resourcebundle_get_iterator() 161 iterator->intern.funcs = &resourcebundle_iterator_funcs; in resourcebundle_get_iterator()
|