/php-src/ext/com_dotnet/ |
H A D | com_saproxy.c | 62 php_com_saproxy *intern = emalloc(sizeof(*intern)); in php_com_saproxy_create_object() local 63 memset(intern, 0, sizeof(*intern)); in php_com_saproxy_create_object() 64 zend_object_std_init(&intern->std, class_type); in php_com_saproxy_create_object() 65 return &intern->std; in php_com_saproxy_create_object()
|
/php-src/ext/sysvmsg/ |
H A D | sysvmsg.c | 77 sysvmsg_queue_t *intern = zend_object_alloc(sizeof(sysvmsg_queue_t), class_type); in sysvmsg_queue_create_object() local 79 zend_object_std_init(&intern->std, class_type); in sysvmsg_queue_create_object() 80 object_properties_init(&intern->std, class_type); in sysvmsg_queue_create_object() 82 return &intern->std; in sysvmsg_queue_create_object()
|
/php-src/ext/sysvshm/ |
H A D | sysvshm.c | 45 sysvshm_shm *intern = zend_object_alloc(sizeof(sysvshm_shm), class_type); in sysvshm_create_object() local 47 zend_object_std_init(&intern->std, class_type); in sysvshm_create_object() 48 object_properties_init(&intern->std, class_type); in sysvshm_create_object() 50 return &intern->std; in sysvshm_create_object()
|
/php-src/ext/xsl/ |
H A D | php_xsl.h | 74 void xsl_free_sheet(xsl_object *intern);
|
/php-src/ext/mysqli/ |
H A D | mysqli_nonapi.c | 654 mysqli_object *intern = Z_MYSQLI_P(elem); local 655 if (!(my_res = (MYSQLI_RESOURCE *)intern->ptr)) { 656 zend_throw_error(NULL, "%s object is already closed", ZSTR_VAL(intern->zo.ce->name)); 661 zend_throw_error(NULL, "%s object is not fully initialized", ZSTR_VAL(intern->zo.ce->name)); 688 mysqli_object *intern = Z_MYSQLI_P(elem); local 689 if (!(my_res = (MYSQLI_RESOURCE *)intern->ptr)) { 690 zend_throw_error(NULL, "%s object is already closed", ZSTR_VAL(intern->zo.ce->name)); 722 mysqli_object *intern = Z_MYSQLI_P(elem); local 723 mysql = (MY_MYSQL *)((MYSQLI_RESOURCE *)intern->ptr)->ptr;
|
/php-src/ext/date/ |
H A D | php_date.c | 1512 zend_object_iterator intern; member 1825 return &intern->std; in date_object_new_date() 1965 return &intern->std; in date_object_new_timezone() 2129 return &intern->std; in date_object_new_interval() 2220 return &intern->std; in date_object_new_period() 2254 if (intern->time) { in date_object_free_storage_date() 2275 if (intern->date_string) { in date_object_free_storage_interval() 2277 intern->date_string = NULL; in date_object_free_storage_interval() 2287 if (intern->start) { in date_object_free_storage_period() 2291 if (intern->current) { in date_object_free_storage_period() [all …]
|
/php-src/ext/curl/ |
H A D | multi.c | 538 php_curlm *intern = zend_object_alloc(sizeof(php_curlm), class_type); in curl_multi_create_object() local 540 zend_object_std_init(&intern->std, class_type); in curl_multi_create_object() 541 object_properties_init(&intern->std, class_type); in curl_multi_create_object() 543 return &intern->std; in curl_multi_create_object()
|
H A D | interface.c | 422 php_curl *intern = zend_object_alloc(sizeof(php_curl), class_type); in curl_create_object() local 424 zend_object_std_init(&intern->std, class_type); in curl_create_object() 425 object_properties_init(&intern->std, class_type); in curl_create_object() 427 return &intern->std; in curl_create_object()
|
/php-src/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() 112 intern->bsd_socket = -1; /* invalid socket */ in socket_create_object() 113 intern->type = PF_UNSPEC; in socket_create_object() 114 intern->error = 0; in socket_create_object() 115 intern->blocking = 1; in socket_create_object() 116 ZVAL_UNDEF(&intern->zstream); in socket_create_object() 118 return &intern->std; in socket_create_object() 170 zend_object_std_init(&intern->std, class_type); in address_info_create_object() 171 object_properties_init(&intern->std, class_type); in address_info_create_object() [all …]
|
/php-src/ext/snmp/ |
H A D | snmp.c | 171 php_snmp_object *intern = php_snmp_fetch_object(object); in php_snmp_object_free_storage() local 173 if (!intern) { in php_snmp_object_free_storage() 177 netsnmp_session_free(&(intern->session)); in php_snmp_object_free_storage() 179 zend_object_std_dtor(&intern->zo); in php_snmp_object_free_storage() 185 php_snmp_object *intern; in php_snmp_object_new() local 188 intern = zend_object_alloc(sizeof(php_snmp_object), class_type); in php_snmp_object_new() 190 zend_object_std_init(&intern->zo, class_type); in php_snmp_object_new() 191 object_properties_init(&intern->zo, class_type); in php_snmp_object_new() 193 return &intern->zo; in php_snmp_object_new()
|
/php-src/ext/gmp/ |
H A D | gmp.c | 244 gmp_object *intern = GET_GMP_OBJECT_FROM_OBJ(obj); in gmp_free_object_storage() local 246 mpz_clear(intern->num); in gmp_free_object_storage() 247 zend_object_std_dtor(&intern->std); in gmp_free_object_storage() 253 gmp_object *intern = emalloc(sizeof(gmp_object) + zend_object_properties_size(ce)); in gmp_create_object_ex() local 255 zend_object_std_init(&intern->std, ce); in gmp_create_object_ex() 256 object_properties_init(&intern->std, ce); in gmp_create_object_ex() 258 mpz_init(intern->num); in gmp_create_object_ex() 259 *gmpnum_target = intern->num; in gmp_create_object_ex() 261 return &intern->std; in gmp_create_object_ex()
|
/php-src/ext/dba/ |
H A D | dba.c | 312 dba_connection *intern = zend_object_alloc(sizeof(dba_connection), class_type); in dba_connection_create_object() local 314 zend_object_std_init(&intern->std, class_type); in dba_connection_create_object() 315 object_properties_init(&intern->std, class_type); in dba_connection_create_object() 317 return &intern->std; in dba_connection_create_object()
|
/php-src/ext/ldap/ |
H A D | ldap.c | 113 ldap_linkdata *intern = zend_object_alloc(sizeof(ldap_linkdata), class_type); in ldap_link_create_object() local 115 zend_object_std_init(&intern->std, class_type); in ldap_link_create_object() 116 object_properties_init(&intern->std, class_type); in ldap_link_create_object() 118 return &intern->std; in ldap_link_create_object() 158 ldap_resultdata *intern = zend_object_alloc(sizeof(ldap_resultdata), class_type); in ldap_result_create_object() local 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() 163 return &intern->std; in ldap_result_create_object() 197 zend_object_std_init(&intern->std, class_type); in ldap_result_entry_create_object() 198 object_properties_init(&intern->std, class_type); in ldap_result_entry_create_object() [all …]
|
/php-src/ext/xml/ |
H A D | xml.c | 313 xml_parser *intern = zend_object_alloc(sizeof(xml_parser), class_type); in xml_parser_create_object() local 314 memset(intern, 0, sizeof(xml_parser) - sizeof(zend_object)); in xml_parser_create_object() 316 zend_object_std_init(&intern->std, class_type); in xml_parser_create_object() 317 object_properties_init(&intern->std, class_type); in xml_parser_create_object() 319 return &intern->std; in xml_parser_create_object()
|
/php-src/ext/pgsql/ |
H A D | pgsql.c | 163 pgsql_link_handle *intern = zend_object_alloc(sizeof(pgsql_link_handle), class_type); in pgsql_link_create_object() local 165 zend_object_std_init(&intern->std, class_type); in pgsql_link_create_object() 166 object_properties_init(&intern->std, class_type); in pgsql_link_create_object() 168 return &intern->std; in pgsql_link_create_object() 221 zend_object_std_init(&intern->std, class_type); in pgsql_result_create_object() 222 object_properties_init(&intern->std, class_type); in pgsql_result_create_object() 224 return &intern->std; in pgsql_result_create_object() 256 pgLofp *intern = zend_object_alloc(sizeof(pgLofp), class_type); in pgsql_lob_create_object() local 258 zend_object_std_init(&intern->std, class_type); in pgsql_lob_create_object() 259 object_properties_init(&intern->std, class_type); in pgsql_lob_create_object() [all …]
|
/php-src/ext/odbc/ |
H A D | php_odbc.c | 171 odbc_link *intern = zend_object_alloc(sizeof(odbc_link), class_type); in odbc_connection_create_object() local 173 zend_object_std_init(&intern->std, class_type); in odbc_connection_create_object() 174 object_properties_init(&intern->std, class_type); in odbc_connection_create_object() 176 return &intern->std; in odbc_connection_create_object() 214 odbc_result *intern = zend_object_alloc(sizeof(odbc_result), class_type); in odbc_result_create_object() local 216 zend_object_std_init(&intern->std, class_type); in odbc_result_create_object() 217 object_properties_init(&intern->std, class_type); in odbc_result_create_object() 219 return &intern->std; in odbc_result_create_object()
|
/php-src/ext/gd/ |
H A D | gd.c | 171 php_gd_image_object *intern = emalloc(block_len); in php_gd_image_object_create() local 172 memset(intern, 0, block_len); in php_gd_image_object_create() 174 zend_object_std_init(&intern->std, class_type); in php_gd_image_object_create() 175 object_properties_init(&intern->std, class_type); in php_gd_image_object_create() 177 return &intern->std; in php_gd_image_object_create() 180 static void php_gd_image_object_free(zend_object *intern) in php_gd_image_object_free() argument 182 php_gd_image_object *img_obj_ptr = php_gd_exgdimage_from_zobj_p(intern); in php_gd_image_object_free() 186 zend_object_std_dtor(intern); in php_gd_image_object_free()
|
/php-src/ext/openssl/ |
H A D | openssl.c | 168 zend_object_std_init(&intern->std, class_type); in php_openssl_certificate_create_object() 169 object_properties_init(&intern->std, class_type); in php_openssl_certificate_create_object() 171 return &intern->std; in php_openssl_certificate_create_object() 205 …php_openssl_request_object *intern = zend_object_alloc(sizeof(php_openssl_request_object), class_t… in php_openssl_request_create_object() local 207 zend_object_std_init(&intern->std, class_type); in php_openssl_request_create_object() 208 object_properties_init(&intern->std, class_type); in php_openssl_request_create_object() 210 return &intern->std; in php_openssl_request_create_object() 245 php_openssl_pkey_object *intern = zend_object_alloc(sizeof(php_openssl_pkey_object), class_type); in php_openssl_pkey_create_object() local 247 zend_object_std_init(&intern->std, class_type); in php_openssl_pkey_create_object() 248 object_properties_init(&intern->std, class_type); in php_openssl_pkey_create_object() [all …]
|
/php-src/ext/phar/ |
H A D | phar_object.c | 1464 …spl_filesystem_object *intern = (spl_filesystem_object*)((char*)Z_OBJ_P(value) - Z_OBJ_P(value)->h… in phar_build() local 1471 switch (intern->type) { in phar_build() 1473 zend_string *test_str = spl_filesystem_object_get_path(intern); in phar_build() 1474 …fname_len = spprintf(&fname, 0, "%s%c%s", ZSTR_VAL(test_str), DEFAULT_SLASH, intern->u.dir.entry.d… in phar_build() 1498 fname = expand_filepath(ZSTR_VAL(intern->file_name), NULL); in phar_build()
|
/php-src/Zend/ |
H A D | zend_API.c | 3673 zend_object *intern; in display_disabled_class() local 3675 intern = zend_objects_new(class_type); in display_disabled_class() 3679 zval *p = intern->properties_table; in display_disabled_class() 3688 return intern; in display_disabled_class()
|