/PHP-8.1/ext/intl/timezone/ |
H A D | timezone_class.cpp | 372 TimeZone_object* intern; in TimeZone_object_create() local 374 …intern = (TimeZone_object*)ecalloc(1, sizeof(TimeZone_object) + sizeof(zval) * (ce->default_proper… in TimeZone_object_create() 376 zend_object_std_init(&intern->zo, ce); in TimeZone_object_create() 377 object_properties_init(&intern->zo, ce); in TimeZone_object_create() 378 TimeZone_object_init(intern); in TimeZone_object_create() 380 intern->zo.handlers = &TimeZone_handlers; in TimeZone_object_create() 382 return &intern->zo; in TimeZone_object_create()
|
/PHP-8.1/ext/shmop/ |
H A D | shmop.c | 83 php_shmop *intern = zend_object_alloc(sizeof(php_shmop), class_type); in shmop_create_object() local 85 zend_object_std_init(&intern->std, class_type); in shmop_create_object() 86 object_properties_init(&intern->std, class_type); in shmop_create_object() 87 intern->std.handlers = &shmop_object_handlers; in shmop_create_object() 89 return &intern->std; in shmop_create_object()
|
/PHP-8.1/ext/mysqli/ |
H A D | mysqli.c | 200 mysqli_object *intern = php_mysqli_fetch_object(object); in mysqli_objects_free_storage() local 201 MYSQLI_RESOURCE *my_res = (MYSQLI_RESOURCE *)intern->ptr; in mysqli_objects_free_storage() 206 zend_object_std_dtor(&intern->zo); in mysqli_objects_free_storage() 215 mysqli_object *intern = php_mysqli_fetch_object(object); in mysqli_link_free_storage() local 418 mysqli_object *intern; in mysqli_objects_new() local 431 zend_object_std_init(&intern->zo, class_type); in mysqli_objects_new() 432 object_properties_init(&intern->zo, class_type); in mysqli_objects_new() 449 intern->zo.handlers = handlers; in mysqli_objects_new() 451 return &intern->zo; in mysqli_objects_new() 462 mysqli_object *intern = Z_MYSQLI_P(zv); in mysqli_convert_zv_to_mysqlnd() local [all …]
|
H A D | mysqli_nonapi.c | 783 mysqli_object *intern = Z_MYSQLI_P(elem); local 784 if (!(my_res = (MYSQLI_RESOURCE *)intern->ptr)) { 785 zend_throw_error(NULL, "%s object is already closed", ZSTR_VAL(intern->zo.ce->name)); 790 zend_throw_error(NULL, "%s object is not fully initialized", ZSTR_VAL(intern->zo.ce->name)); 818 mysqli_object *intern = Z_MYSQLI_P(elem); local 819 if (!(my_res = (MYSQLI_RESOURCE *)intern->ptr)) { 820 zend_throw_error(NULL, "%s object is already closed", ZSTR_VAL(intern->zo.ce->name)); 854 mysqli_object *intern = Z_MYSQLI_P(elem); local 855 mysql = (MY_MYSQL *)((MYSQLI_RESOURCE *)intern->ptr)->ptr;
|
/PHP-8.1/ext/sysvsem/ |
H A D | sysvsem.c | 99 sysvsem_sem *intern = zend_object_alloc(sizeof(sysvsem_sem), class_type); in sysvsem_create_object() local 101 zend_object_std_init(&intern->std, class_type); in sysvsem_create_object() 102 object_properties_init(&intern->std, class_type); in sysvsem_create_object() 103 intern->std.handlers = &sysvsem_object_handlers; in sysvsem_create_object() 105 return &intern->std; in sysvsem_create_object()
|
/PHP-8.1/ext/enchant/ |
H A D | enchant.c | 53 enchant_broker *intern = zend_object_alloc(sizeof(enchant_broker), class_type); in enchant_broker_create_object() local 55 zend_object_std_init(&intern->std, class_type); in enchant_broker_create_object() 56 object_properties_init(&intern->std, class_type); in enchant_broker_create_object() 57 intern->std.handlers = &enchant_broker_handlers; in enchant_broker_create_object() 59 return &intern->std; in enchant_broker_create_object() 72 enchant_dict *intern = zend_object_alloc(sizeof(enchant_dict), class_type); in enchant_dict_create_object() local 74 zend_object_std_init(&intern->std, class_type); in enchant_dict_create_object() 75 object_properties_init(&intern->std, class_type); in enchant_dict_create_object() 76 intern->std.handlers = &enchant_dict_handlers; in enchant_dict_create_object() 78 return &intern->std; in enchant_dict_create_object()
|
/PHP-8.1/ext/intl/resourcebundle/ |
H A D | resourcebundle_iterator.h | 23 zend_object_iterator intern; member
|
/PHP-8.1/ext/simplexml/ |
H A D | simplexml.c | 1942 php_sxe_object *intern; in sxe_count_elements() local 1944 if (intern->fptr_count) { in sxe_count_elements() 2021 php_sxe_object *intern; in PHP_METHOD() local 2034 if (intern == NULL || intern->node == NULL) { in PHP_METHOD() 2216 php_sxe_object *intern; in php_sxe_object_new() local 2222 intern->iter.name = NULL; in php_sxe_object_new() 2229 return intern; in php_sxe_object_new() 2240 return &intern->zo; in sxe_object_new() 2542 if (intern != NULL && intern->node != NULL) { in php_sxe_iterator_current_key() 2557 php_sxe_object *intern; in php_sxe_move_forward_iterator() local [all …]
|
H A D | php_simplexml_exports.h | 48 zend_object_iterator intern; member
|
/PHP-8.1/ext/spl/tests/ |
H A D | bug80111.phpt | 24 # intern->traverse_pointer, since it is removed from the list already 50 # Points intern->traverse_pointer to our object element
|
H A D | bug73629.phpt | 2 Bug #73629 (SplDoublyLinkedList::setIteratorMode masks intern flags)
|
/PHP-8.1/ext/zlib/ |
H A D | zlib.c | 61 zend_object_std_init(&intern->std, class_type); in inflate_context_create_object() 62 object_properties_init(&intern->std, class_type); in inflate_context_create_object() 65 return &intern->std; in inflate_context_create_object() 77 if (intern->inflateDict) { in inflate_context_free_obj() 78 efree(intern->inflateDict); in inflate_context_free_obj() 80 inflateEnd(&intern->Z); in inflate_context_free_obj() 82 zend_object_std_dtor(&intern->std); in inflate_context_free_obj() 100 zend_object_std_init(&intern->std, class_type); in deflate_context_create_object() 104 return &intern->std; in deflate_context_create_object() 116 deflateEnd(&intern->Z); in deflate_context_free_obj() [all …]
|
/PHP-8.1/ext/sysvmsg/ |
H A D | sysvmsg.c | 85 sysvmsg_queue_t *intern = zend_object_alloc(sizeof(sysvmsg_queue_t), class_type); in sysvmsg_queue_create_object() local 87 zend_object_std_init(&intern->std, class_type); in sysvmsg_queue_create_object() 88 object_properties_init(&intern->std, class_type); in sysvmsg_queue_create_object() 89 intern->std.handlers = &sysvmsg_queue_object_handlers; in sysvmsg_queue_create_object() 91 return &intern->std; in sysvmsg_queue_create_object()
|
/PHP-8.1/ext/sysvshm/ |
H A D | sysvshm.c | 46 sysvshm_shm *intern = zend_object_alloc(sizeof(sysvshm_shm), class_type); in sysvshm_create_object() local 48 zend_object_std_init(&intern->std, class_type); in sysvshm_create_object() 49 object_properties_init(&intern->std, class_type); in sysvshm_create_object() 50 intern->std.handlers = &sysvshm_object_handlers; in sysvshm_create_object() 52 return &intern->std; in sysvshm_create_object()
|
/PHP-8.1/ext/date/ |
H A D | php_date.c | 1435 zend_object_iterator intern; member 1756 return &intern->std; in date_object_new_date() 1891 return &intern->std; in date_object_new_timezone() 2050 return &intern->std; in date_object_new_interval() 2126 return &intern->std; in date_object_new_period() 2159 if (intern->time) { in date_object_free_storage_date() 2160 timelib_time_dtor(intern->time); in date_object_free_storage_date() 2188 if (intern->start) { in date_object_free_storage_period() 2192 if (intern->current) { in date_object_free_storage_period() 2196 if (intern->end) { in date_object_free_storage_period() [all …]
|
/PHP-8.1/ext/curl/ |
H A D | multi.c | 518 php_curlm *intern = zend_object_alloc(sizeof(php_curlm), class_type); in curl_multi_create_object() local 520 zend_object_std_init(&intern->std, class_type); in curl_multi_create_object() 521 object_properties_init(&intern->std, class_type); in curl_multi_create_object() 522 intern->std.handlers = &curl_multi_handlers; in curl_multi_create_object() 524 return &intern->std; in curl_multi_create_object()
|
/PHP-8.1/ext/dom/ |
H A D | php_dom.h | 91 zend_object_iterator intern; member 135 void dom_namednode_iter(dom_object *basenode, int ntype, dom_object *intern, xmlHashTablePtr ht, xm…
|
/PHP-8.1/ext/sockets/ |
H A D | sockets.c | 109 zend_object_std_init(&intern->std, class_type); in socket_create_object() 110 object_properties_init(&intern->std, class_type); in socket_create_object() 111 intern->std.handlers = &socket_object_handlers; in socket_create_object() 113 intern->bsd_socket = -1; /* invalid socket */ in socket_create_object() 114 intern->type = PF_UNSPEC; in socket_create_object() 115 intern->error = 0; in socket_create_object() 116 intern->blocking = 1; in socket_create_object() 117 ZVAL_UNDEF(&intern->zstream); in socket_create_object() 119 return &intern->std; in socket_create_object() 171 zend_object_std_init(&intern->std, class_type); in address_info_create_object() [all …]
|
/PHP-8.1/ext/gmp/ |
H A D | gmp.c | 238 gmp_object *intern = GET_GMP_OBJECT_FROM_OBJ(obj); in gmp_free_object_storage() local 240 mpz_clear(intern->num); in gmp_free_object_storage() 241 zend_object_std_dtor(&intern->std); in gmp_free_object_storage() 247 gmp_object *intern = emalloc(sizeof(gmp_object) + zend_object_properties_size(ce)); in gmp_create_object_ex() local 249 zend_object_std_init(&intern->std, ce); in gmp_create_object_ex() 250 object_properties_init(&intern->std, ce); in gmp_create_object_ex() 252 mpz_init(intern->num); in gmp_create_object_ex() 253 *gmpnum_target = intern->num; in gmp_create_object_ex() 254 intern->std.handlers = &gmp_object_handlers; in gmp_create_object_ex() 256 return &intern->std; in gmp_create_object_ex()
|
/PHP-8.1/ext/snmp/ |
H A D | snmp.c | 186 php_snmp_object *intern = php_snmp_fetch_object(object); in php_snmp_object_free_storage() local 188 if (!intern) { in php_snmp_object_free_storage() 192 netsnmp_session_free(&(intern->session)); in php_snmp_object_free_storage() 194 zend_object_std_dtor(&intern->zo); in php_snmp_object_free_storage() 200 php_snmp_object *intern; in php_snmp_object_new() local 203 intern = zend_object_alloc(sizeof(php_snmp_object), class_type); in php_snmp_object_new() 205 zend_object_std_init(&intern->zo, class_type); in php_snmp_object_new() 206 object_properties_init(&intern->zo, class_type); in php_snmp_object_new() 208 intern->zo.handlers = &php_snmp_object_handlers; in php_snmp_object_new() 210 return &intern->zo; in php_snmp_object_new()
|
/PHP-8.1/ext/xml/ |
H A D | xml.c | 346 xml_parser *intern = zend_object_alloc(sizeof(xml_parser), class_type); in xml_parser_create_object() local 347 memset(intern, 0, sizeof(xml_parser) - sizeof(zend_object)); in xml_parser_create_object() 349 zend_object_std_init(&intern->std, class_type); in xml_parser_create_object() 350 object_properties_init(&intern->std, class_type); in xml_parser_create_object() 351 intern->std.handlers = &xml_parser_object_handlers; in xml_parser_create_object() 353 return &intern->std; in xml_parser_create_object()
|
/PHP-8.1/ext/ldap/ |
H A D | ldap.c | 114 zend_object_std_init(&intern->std, class_type); in ldap_link_create_object() 115 object_properties_init(&intern->std, class_type); in ldap_link_create_object() 116 intern->std.handlers = &ldap_link_object_handlers; in ldap_link_create_object() 118 return &intern->std; in ldap_link_create_object() 160 zend_object_std_init(&intern->std, class_type); in ldap_result_create_object() 161 object_properties_init(&intern->std, class_type); in ldap_result_create_object() 162 intern->std.handlers = &ldap_result_object_handlers; in ldap_result_create_object() 164 return &intern->std; in ldap_result_create_object() 198 zend_object_std_init(&intern->std, class_type); in ldap_result_entry_create_object() 199 object_properties_init(&intern->std, class_type); in ldap_result_entry_create_object() [all …]
|
/PHP-8.1/ext/pgsql/ |
H A D | pgsql.c | 155 zend_object_std_init(&intern->std, class_type); in pgsql_link_create_object() 156 object_properties_init(&intern->std, class_type); in pgsql_link_create_object() 157 intern->std.handlers = &pgsql_link_object_handlers; in pgsql_link_create_object() 159 return &intern->std; in pgsql_link_create_object() 212 zend_object_std_init(&intern->std, class_type); in pgsql_result_create_object() 213 object_properties_init(&intern->std, class_type); in pgsql_result_create_object() 216 return &intern->std; in pgsql_result_create_object() 250 zend_object_std_init(&intern->std, class_type); in pgsql_lob_create_object() 251 object_properties_init(&intern->std, class_type); in pgsql_lob_create_object() 252 intern->std.handlers = &pgsql_lob_object_handlers; in pgsql_lob_create_object() [all …]
|
/PHP-8.1/ext/gd/ |
H A D | gd.c | 197 php_gd_image_object *intern = emalloc(block_len); in php_gd_image_object_create() local 198 memset(intern, 0, block_len); in php_gd_image_object_create() 200 zend_object_std_init(&intern->std, class_type); in php_gd_image_object_create() 201 object_properties_init(&intern->std, class_type); in php_gd_image_object_create() 202 intern->std.handlers = &php_gd_image_object_handlers; in php_gd_image_object_create() 204 return &intern->std; in php_gd_image_object_create() 207 static void php_gd_image_object_free(zend_object *intern) in php_gd_image_object_free() argument 209 php_gd_image_object *img_obj_ptr = php_gd_exgdimage_from_zobj_p(intern); in php_gd_image_object_free() 213 zend_object_std_dtor(intern); in php_gd_image_object_free()
|
/PHP-8.1/ext/openssl/ |
H A D | openssl.c | 148 zend_object_std_init(&intern->std, class_type); in php_openssl_certificate_create_object() 149 object_properties_init(&intern->std, class_type); in php_openssl_certificate_create_object() 152 return &intern->std; in php_openssl_certificate_create_object() 188 zend_object_std_init(&intern->std, class_type); in php_openssl_request_create_object() 189 object_properties_init(&intern->std, class_type); in php_openssl_request_create_object() 190 intern->std.handlers = &php_openssl_request_object_handlers; in php_openssl_request_create_object() 192 return &intern->std; in php_openssl_request_create_object() 229 zend_object_std_init(&intern->std, class_type); in php_openssl_pkey_create_object() 230 object_properties_init(&intern->std, class_type); in php_openssl_pkey_create_object() 231 intern->std.handlers = &php_openssl_pkey_object_handlers; in php_openssl_pkey_create_object() [all …]
|