/PHP-8.0/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 423 mysqli_object *intern; in mysqli_objects_new() local 436 zend_object_std_init(&intern->zo, class_type); in mysqli_objects_new() 437 object_properties_init(&intern->zo, class_type); in mysqli_objects_new() 454 intern->zo.handlers = handlers; in mysqli_objects_new() 456 return &intern->zo; in mysqli_objects_new() 467 mysqli_object *intern = Z_MYSQLI_P(zv); in mysqli_convert_zv_to_mysqlnd() local [all …]
|
H A D | mysqli_nonapi.c | 740 mysqli_object *intern = Z_MYSQLI_P(elem); local 741 if (!(my_res = (MYSQLI_RESOURCE *)intern->ptr)) { 742 zend_throw_error(NULL, "%s object is already closed", ZSTR_VAL(intern->zo.ce->name)); 747 zend_throw_error(NULL, "%s object is not fully initialized", ZSTR_VAL(intern->zo.ce->name)); 775 mysqli_object *intern = Z_MYSQLI_P(elem); local 776 if (!(my_res = (MYSQLI_RESOURCE *)intern->ptr)) { 777 zend_throw_error(NULL, "%s object is already closed", ZSTR_VAL(intern->zo.ce->name)); 811 mysqli_object *intern = Z_MYSQLI_P(elem); local 812 mysql = (MY_MYSQL *)((MYSQLI_RESOURCE *)intern->ptr)->ptr;
|
/PHP-8.0/ext/intl/resourcebundle/ |
H A D | resourcebundle_iterator.h | 23 zend_object_iterator intern; member
|
/PHP-8.0/ext/enchant/ |
H A D | enchant.c | 54 enchant_broker *intern = zend_object_alloc(sizeof(enchant_broker), class_type); in enchant_broker_create_object() local 56 zend_object_std_init(&intern->std, class_type); in enchant_broker_create_object() 57 object_properties_init(&intern->std, class_type); in enchant_broker_create_object() 58 intern->std.handlers = &enchant_broker_handlers; in enchant_broker_create_object() 60 return &intern->std; in enchant_broker_create_object() 73 enchant_dict *intern = zend_object_alloc(sizeof(enchant_dict), class_type); in enchant_dict_create_object() local 75 zend_object_std_init(&intern->std, class_type); in enchant_dict_create_object() 76 object_properties_init(&intern->std, class_type); in enchant_dict_create_object() 77 intern->std.handlers = &enchant_dict_handlers; in enchant_dict_create_object() 79 return &intern->std; in enchant_dict_create_object()
|
/PHP-8.0/ext/sysvsem/ |
H A D | sysvsem.c | 100 sysvsem_sem *intern = zend_object_alloc(sizeof(sysvsem_sem), class_type); in sysvsem_create_object() local 102 zend_object_std_init(&intern->std, class_type); in sysvsem_create_object() 103 object_properties_init(&intern->std, class_type); in sysvsem_create_object() 104 intern->std.handlers = &sysvsem_object_handlers; in sysvsem_create_object() 106 return &intern->std; in sysvsem_create_object()
|
/PHP-8.0/ext/simplexml/ |
H A D | simplexml.c | 87 php_sxe_object *intern; in php_sxe_get_first_node() local 94 GET_NODE(intern, retnode) in php_sxe_get_first_node() 1945 php_sxe_object *intern; in sxe_count_elements() local 2025 php_sxe_object *intern; in SXE_METHOD() local 2037 if (intern != NULL && intern->node != NULL) { in SXE_METHOD() 2230 php_sxe_object *intern; in php_sxe_object_new() local 2243 return intern; in php_sxe_object_new() 2254 return &intern->zo; in sxe_object_new() 2549 if (intern != NULL && intern->node != NULL) { in php_sxe_iterator_current_key() 2564 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.0/ext/zlib/ |
H A D | zlib.c | 62 zend_object_std_init(&intern->std, class_type); in inflate_context_create_object() 63 object_properties_init(&intern->std, class_type); in inflate_context_create_object() 66 return &intern->std; in inflate_context_create_object() 78 if (intern->inflateDict) { in inflate_context_free_obj() 79 efree(intern->inflateDict); in inflate_context_free_obj() 81 inflateEnd(&intern->Z); in inflate_context_free_obj() 83 zend_object_std_dtor(&intern->std); in inflate_context_free_obj() 101 zend_object_std_init(&intern->std, class_type); in deflate_context_create_object() 105 return &intern->std; in deflate_context_create_object() 117 deflateEnd(&intern->Z); in deflate_context_free_obj() [all …]
|
/PHP-8.0/ext/spl/tests/ |
H A D | bug73629.phpt | 2 Bug #73629 (SplDoublyLinkedList::setIteratorMode masks intern flags)
|
/PHP-8.0/ext/sysvshm/ |
H A D | sysvshm.c | 47 sysvshm_shm *intern = zend_object_alloc(sizeof(sysvshm_shm), class_type); in sysvshm_create_object() local 49 zend_object_std_init(&intern->std, class_type); in sysvshm_create_object() 50 object_properties_init(&intern->std, class_type); in sysvshm_create_object() 51 intern->std.handlers = &sysvshm_object_handlers; in sysvshm_create_object() 53 return &intern->std; in sysvshm_create_object()
|
/PHP-8.0/ext/sysvmsg/ |
H A D | sysvmsg.c | 86 sysvmsg_queue_t *intern = zend_object_alloc(sizeof(sysvmsg_queue_t), class_type); in sysvmsg_queue_create_object() local 88 zend_object_std_init(&intern->std, class_type); in sysvmsg_queue_create_object() 89 object_properties_init(&intern->std, class_type); in sysvmsg_queue_create_object() 90 intern->std.handlers = &sysvmsg_queue_object_handlers; in sysvmsg_queue_create_object() 92 return &intern->std; in sysvmsg_queue_create_object()
|
/PHP-8.0/ext/date/ |
H A D | php_date.c | 1435 zend_object_iterator intern; member 1767 return &intern->std; in date_object_new_date() 1902 return &intern->std; in date_object_new_timezone() 2049 return &intern->std; in date_object_new_interval() 2125 return &intern->std; in date_object_new_period() 2158 if (intern->time) { in date_object_free_storage_date() 2159 timelib_time_dtor(intern->time); in date_object_free_storage_date() 2187 if (intern->start) { in date_object_free_storage_period() 2191 if (intern->current) { in date_object_free_storage_period() 2195 if (intern->end) { in date_object_free_storage_period() [all …]
|
/PHP-8.0/ext/dom/ |
H A D | php_dom.h | 91 zend_object_iterator intern; member 122 void dom_namednode_iter(dom_object *basenode, int ntype, dom_object *intern, xmlHashTablePtr ht, xm…
|
/PHP-8.0/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()
|
H A D | interface.c | 1216 php_curl *intern = zend_object_alloc(sizeof(php_curl), class_type); in curl_create_object() local 1218 zend_object_std_init(&intern->std, class_type); in curl_create_object() 1219 object_properties_init(&intern->std, class_type); in curl_create_object() 1220 intern->std.handlers = &curl_object_handlers; in curl_create_object() 1222 return &intern->std; in curl_create_object()
|
/PHP-8.0/ext/sockets/ |
H A D | sockets.c | 110 zend_object_std_init(&intern->std, class_type); in socket_create_object() 111 object_properties_init(&intern->std, class_type); in socket_create_object() 112 intern->std.handlers = &socket_object_handlers; in socket_create_object() 114 intern->bsd_socket = -1; /* invalid socket */ in socket_create_object() 115 intern->type = PF_UNSPEC; in socket_create_object() 116 intern->error = 0; in socket_create_object() 117 intern->blocking = 1; in socket_create_object() 118 ZVAL_UNDEF(&intern->zstream); in socket_create_object() 120 return &intern->std; in socket_create_object() 172 zend_object_std_init(&intern->std, class_type); in address_info_create_object() [all …]
|
/PHP-8.0/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.0/ext/snmp/ |
H A D | snmp.c | 187 php_snmp_object *intern = php_snmp_fetch_object(object); in php_snmp_object_free_storage() local 189 if (!intern) { in php_snmp_object_free_storage() 193 netsnmp_session_free(&(intern->session)); in php_snmp_object_free_storage() 195 zend_object_std_dtor(&intern->zo); in php_snmp_object_free_storage() 201 php_snmp_object *intern; in php_snmp_object_new() local 204 intern = zend_object_alloc(sizeof(php_snmp_object), class_type); in php_snmp_object_new() 206 zend_object_std_init(&intern->zo, class_type); in php_snmp_object_new() 207 object_properties_init(&intern->zo, class_type); in php_snmp_object_new() 209 intern->zo.handlers = &php_snmp_object_handlers; in php_snmp_object_new() 211 return &intern->zo; in php_snmp_object_new()
|
/PHP-8.0/ext/xml/ |
H A D | xml.c | 352 xml_parser *intern = zend_object_alloc(sizeof(xml_parser), class_type); in xml_parser_create_object() local 353 memset(intern, 0, sizeof(xml_parser) - sizeof(zend_object)); in xml_parser_create_object() 355 zend_object_std_init(&intern->std, class_type); in xml_parser_create_object() 356 object_properties_init(&intern->std, class_type); in xml_parser_create_object() 357 intern->std.handlers = &xml_parser_object_handlers; in xml_parser_create_object() 359 return &intern->std; in xml_parser_create_object()
|
/PHP-8.0/ext/gd/ |
H A D | gd.c | 199 php_gd_image_object *intern = emalloc(block_len); in php_gd_image_object_create() local 200 memset(intern, 0, block_len); in php_gd_image_object_create() 202 zend_object_std_init(&intern->std, class_type); in php_gd_image_object_create() 203 object_properties_init(&intern->std, class_type); in php_gd_image_object_create() 204 intern->std.handlers = &php_gd_image_object_handlers; in php_gd_image_object_create() 206 return &intern->std; in php_gd_image_object_create() 209 static void php_gd_image_object_free(zend_object *intern) in php_gd_image_object_free() argument 211 php_gd_image_object *img_obj_ptr = php_gd_exgdimage_from_zobj_p(intern); in php_gd_image_object_free() 215 zend_object_std_dtor(intern); in php_gd_image_object_free()
|
/PHP-8.0/ext/openssl/ |
H A D | openssl.c | 144 zend_object_std_init(&intern->std, class_type); in php_openssl_certificate_create_object() 145 object_properties_init(&intern->std, class_type); in php_openssl_certificate_create_object() 148 return &intern->std; in php_openssl_certificate_create_object() 184 zend_object_std_init(&intern->std, class_type); in php_openssl_request_create_object() 185 object_properties_init(&intern->std, class_type); in php_openssl_request_create_object() 186 intern->std.handlers = &php_openssl_request_object_handlers; in php_openssl_request_create_object() 188 return &intern->std; in php_openssl_request_create_object() 224 zend_object_std_init(&intern->std, class_type); in php_openssl_pkey_create_object() 225 object_properties_init(&intern->std, class_type); in php_openssl_pkey_create_object() 226 intern->std.handlers = &php_openssl_pkey_object_handlers; in php_openssl_pkey_create_object() [all …]
|
/PHP-8.0/ext/phar/ |
H A D | phar_object.c | 1448 …spl_filesystem_object *intern = (spl_filesystem_object*)((char*)Z_OBJ_P(value) - Z_OBJ_P(value)->h… in phar_build() local 1455 switch (intern->type) { in phar_build() 1457 test = spl_filesystem_object_get_path(intern, NULL); in phar_build() 1458 fname_len = spprintf(&fname, 0, "%s%c%s", test, DEFAULT_SLASH, intern->u.dir.entry.d_name); in phar_build() 1482 fname = expand_filepath(intern->file_name, NULL); in phar_build()
|
/PHP-8.0/Zend/ |
H A D | zend_API.c | 2955 zend_object *intern; in display_disabled_class() local 2957 intern = zend_objects_new(class_type); in display_disabled_class() 2961 zval *p = intern->properties_table; in display_disabled_class() 2970 return intern; in display_disabled_class()
|