Home
last modified time | relevance | path

Searched refs:class_type (Results 26 – 50 of 58) sorted by relevance

123

/php-src/ext/zlib/
H A Dzlib.c58 static zend_object *inflate_context_create_object(zend_class_entry *class_type) { in inflate_context_create_object() argument
59 php_zlib_context *intern = zend_object_alloc(sizeof(php_zlib_context), class_type); in inflate_context_create_object()
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()
96 static zend_object *deflate_context_create_object(zend_class_entry *class_type) { in deflate_context_create_object() argument
97 php_zlib_context *intern = zend_object_alloc(sizeof(php_zlib_context), class_type); in deflate_context_create_object()
99 zend_object_std_init(&intern->std, class_type); in deflate_context_create_object()
100 object_properties_init(&intern->std, class_type); in deflate_context_create_object()
/php-src/ext/dom/
H A Dxml_common.h115 return document != NULL && document->class_type == PHP_LIBXML_CLASS_MODERN; in php_dom_follow_spec_doc_ref()
H A Ddomimplementation.c309 intern->document->class_type = PHP_LIBXML_CLASS_MODERN; in PHP_METHOD()
410 intern->document->class_type = PHP_LIBXML_CLASS_MODERN; in PHP_METHOD()
H A Dhtml_document.c759 intern->document->class_type = PHP_LIBXML_CLASS_MODERN; in PHP_METHOD()
919 intern->document->class_type = PHP_LIBXML_CLASS_MODERN; in PHP_METHOD()
1139 intern->document->class_type = PHP_LIBXML_CLASS_MODERN; in PHP_METHOD()
H A Ddocument.c1455 php_libxml_class_type class_type = PHP_LIBXML_CLASS_LEGACY; in php_dom_finish_loading_document() local
1461 class_type = doc_ptr->class_type; in php_dom_finish_loading_document()
1476 intern->document->class_type = class_type; in php_dom_finish_loading_document()
/php-src/ext/spl/
H A Dspl_array.c144 static zend_object *spl_array_object_new_ex(zend_class_entry *class_type, zend_object *orig, int cl… in spl_array_object_new_ex() argument
147 zend_class_entry *parent = class_type; in spl_array_object_new_ex()
152 zend_object_std_init(&intern->std, class_type); in spl_array_object_new_ex()
153 object_properties_init(&intern->std, class_type); in spl_array_object_new_ex()
195 …intern->fptr_offset_get = zend_hash_str_find_ptr(&class_type->function_table, "offsetget", sizeof(… in spl_array_object_new_ex()
199 …intern->fptr_offset_set = zend_hash_str_find_ptr(&class_type->function_table, "offsetset", sizeof(… in spl_array_object_new_ex()
203 …intern->fptr_offset_has = zend_hash_str_find_ptr(&class_type->function_table, "offsetexists", size… in spl_array_object_new_ex()
207 …intern->fptr_offset_del = zend_hash_str_find_ptr(&class_type->function_table, "offsetunset", size… in spl_array_object_new_ex()
212 intern->fptr_count = zend_hash_find_ptr(&class_type->function_table, ZSTR_KNOWN(ZEND_STR_COUNT)); in spl_array_object_new_ex()
224 static zend_object *spl_array_object_new(zend_class_entry *class_type) in spl_array_object_new() argument
[all …]
H A Dspl_iterators.c999 intern = zend_object_alloc(sizeof(spl_recursive_it_object), class_type); in spl_RecursiveIteratorIterator_new_ex()
1012 zend_object_std_init(&intern->std, class_type); in spl_RecursiveIteratorIterator_new_ex()
1013 object_properties_init(&intern->std, class_type); in spl_RecursiveIteratorIterator_new_ex()
1020 static zend_object *spl_RecursiveIteratorIterator_new(zend_class_entry *class_type) in spl_RecursiveIteratorIterator_new() argument
1022 return spl_RecursiveIteratorIterator_new_ex(class_type, 0); in spl_RecursiveIteratorIterator_new()
1027 static zend_object *spl_RecursiveTreeIterator_new(zend_class_entry *class_type) in spl_RecursiveTreeIterator_new() argument
1029 return spl_RecursiveIteratorIterator_new_ex(class_type, 1); in spl_RecursiveTreeIterator_new()
2173 static zend_object *spl_dual_it_new(zend_class_entry *class_type) in spl_dual_it_new() argument
2177 intern = zend_object_alloc(sizeof(spl_dual_it_object), class_type); in spl_dual_it_new()
2180 zend_object_std_init(&intern->std, class_type); in spl_dual_it_new()
[all …]
H A Dspl_directory.c188 static zend_object *spl_filesystem_object_new_ex(zend_class_entry *class_type) in spl_filesystem_object_new_ex() argument
192 intern = emalloc(sizeof(spl_filesystem_object) + zend_object_properties_size(class_type)); in spl_filesystem_object_new_ex()
200 zend_object_std_init(&intern->std, class_type); in spl_filesystem_object_new_ex()
201 object_properties_init(&intern->std, class_type); in spl_filesystem_object_new_ex()
209 static zend_object *spl_filesystem_object_new(zend_class_entry *class_type) in spl_filesystem_object_new() argument
211 return spl_filesystem_object_new_ex(class_type); in spl_filesystem_object_new()
/php-src/Zend/
H A Dzend_object_handlers.c1549 ZEND_API void zend_class_init_statics(zend_class_entry *class_type) /* {{{ */ in zend_class_init_statics() argument
1554 if (class_type->default_static_members_count && !CE_STATIC_MEMBERS(class_type)) { in zend_class_init_statics()
1555 if (class_type->parent) { in zend_class_init_statics()
1556 zend_class_init_statics(class_type->parent); in zend_class_init_statics()
1559 …ZEND_MAP_PTR_SET(class_type->static_members_table, emalloc(sizeof(zval) * class_type->default_stat… in zend_class_init_statics()
1560 for (i = 0; i < class_type->default_static_members_count; i++) { in zend_class_init_statics()
1561 p = &class_type->default_static_members_table[i]; in zend_class_init_statics()
1563 zval *q = &CE_STATIC_MEMBERS(class_type->parent)[i]; in zend_class_init_statics()
1565 ZVAL_INDIRECT(&CE_STATIC_MEMBERS(class_type)[i], q); in zend_class_init_statics()
1567 ZVAL_COPY_OR_DUP(&CE_STATIC_MEMBERS(class_type)[i], p); in zend_class_init_statics()
H A Dzend.h195 zend_object* (*create_object)(zend_class_entry *class_type);
196 …int (*interface_gets_implemented)(zend_class_entry *iface, zend_class_entry *class_type); /* a cla…
H A Dzend_generators.c33 static zend_object *zend_generator_create(zend_class_entry *class_type);
405 static zend_object *zend_generator_create(zend_class_entry *class_type) /* {{{ */ in zend_generator_create() argument
421 zend_object_std_init(&generator->std, class_type); in zend_generator_create()
H A Dzend_closures.c538 static zend_object *zend_closure_new(zend_class_entry *class_type) /* {{{ */ in zend_closure_new() argument
545 zend_object_std_init(&closure->std, class_type); in zend_closure_new()
/php-src/ext/xmlwriter/
H A Dphp_xmlwriter.c78 static zend_object *xmlwriter_object_new(zend_class_entry *class_type) in xmlwriter_object_new() argument
82 intern = zend_object_alloc(sizeof(ze_xmlwriter_object), class_type); in xmlwriter_object_new()
83 zend_object_std_init(&intern->std, class_type); in xmlwriter_object_new()
84 object_properties_init(&intern->std, class_type); in xmlwriter_object_new()
/php-src/ext/sqlite3/
H A Dsqlite3.c2328 static zend_object *php_sqlite3_object_new(zend_class_entry *class_type) /* {{{ */ in php_sqlite3_object_new() argument
2333 intern = zend_object_alloc(sizeof(php_sqlite3_db_object), class_type); in php_sqlite3_object_new()
2338 zend_object_std_init(&intern->zo, class_type); in php_sqlite3_object_new()
2339 object_properties_init(&intern->zo, class_type); in php_sqlite3_object_new()
2345 static zend_object *php_sqlite3_stmt_object_new(zend_class_entry *class_type) /* {{{ */ in php_sqlite3_stmt_object_new() argument
2350 intern = zend_object_alloc(sizeof(php_sqlite3_stmt), class_type); in php_sqlite3_stmt_object_new()
2352 zend_object_std_init(&intern->zo, class_type); in php_sqlite3_stmt_object_new()
2353 object_properties_init(&intern->zo, class_type); in php_sqlite3_stmt_object_new()
2364 intern = zend_object_alloc(sizeof(php_sqlite3_result), class_type); in php_sqlite3_result_object_new()
2366 zend_object_std_init(&intern->zo, class_type); in php_sqlite3_result_object_new()
[all …]
/php-src/ext/libxml/
H A Dphp_libxml.h92 php_libxml_class_type class_type; member
/php-src/ext/xmlreader/
H A Dphp_xmlreader.c331 zend_object *xmlreader_objects_new(zend_class_entry *class_type) in xmlreader_objects_new() argument
335 intern = zend_object_alloc(sizeof(xmlreader_object), class_type); in xmlreader_objects_new()
336 zend_object_std_init(&intern->std, class_type); in xmlreader_objects_new()
337 object_properties_init(&intern->std, class_type); in xmlreader_objects_new()
/php-src/ext/xml/
H A Dxml.c129 static zend_object *xml_parser_create_object(zend_class_entry *class_type);
309 static zend_object *xml_parser_create_object(zend_class_entry *class_type) { in xml_parser_create_object() argument
310 xml_parser *intern = zend_object_alloc(sizeof(xml_parser), class_type); in xml_parser_create_object()
313 zend_object_std_init(&intern->std, class_type); in xml_parser_create_object()
314 object_properties_init(&intern->std, class_type); in xml_parser_create_object()
/php-src/ext/sockets/
H A Dsockets.c106 static zend_object *socket_create_object(zend_class_entry *class_type) { in socket_create_object() argument
107 php_socket *intern = zend_object_alloc(sizeof(php_socket), class_type); in socket_create_object()
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()
167 static zend_object *address_info_create_object(zend_class_entry *class_type) { in address_info_create_object() argument
168 php_addrinfo *intern = zend_object_alloc(sizeof(php_addrinfo), class_type); in address_info_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()
/php-src/ext/date/
H A Dphp_date.c339 static zend_object *date_object_new_date(zend_class_entry *class_type);
340 static zend_object *date_object_new_timezone(zend_class_entry *class_type);
342 static zend_object *date_object_new_period(zend_class_entry *class_type);
1855 zend_object_std_init(&intern->std, class_type); in date_object_new_date()
1856 object_properties_init(&intern->std, class_type); in date_object_new_date()
1995 zend_object_std_init(&intern->std, class_type); in date_object_new_timezone()
1996 object_properties_init(&intern->std, class_type); in date_object_new_timezone()
2159 zend_object_std_init(&intern->std, class_type); in date_object_new_interval()
2160 object_properties_init(&intern->std, class_type); in date_object_new_interval()
2250 zend_object_std_init(&intern->std, class_type); in date_object_new_period()
[all …]
/php-src/ext/ldap/
H A Dldap.c113 static zend_object *ldap_link_create_object(zend_class_entry *class_type) { in ldap_link_create_object() argument
114 ldap_linkdata *intern = zend_object_alloc(sizeof(ldap_linkdata), class_type); in ldap_link_create_object()
116 zend_object_std_init(&intern->std, class_type); in ldap_link_create_object()
117 object_properties_init(&intern->std, class_type); in ldap_link_create_object()
158 static zend_object *ldap_result_create_object(zend_class_entry *class_type) { in ldap_result_create_object() argument
159 ldap_resultdata *intern = zend_object_alloc(sizeof(ldap_resultdata), class_type); in ldap_result_create_object()
161 zend_object_std_init(&intern->std, class_type); in ldap_result_create_object()
162 object_properties_init(&intern->std, class_type); in ldap_result_create_object()
195 static zend_object *ldap_result_entry_create_object(zend_class_entry *class_type) { in ldap_result_entry_create_object() argument
198 zend_object_std_init(&intern->std, class_type); in ldap_result_entry_create_object()
[all …]
/php-src/ext/zend_test/
H A Dtest.c742 static zend_object *zend_test_class_new(zend_class_entry *class_type) in zend_test_class_new() argument
744 zend_object *obj = zend_objects_new(class_type); in zend_test_class_new()
745 object_properties_init(obj, class_type); in zend_test_class_new()
/php-src/ext/pgsql/
H A Dpgsql.c159 static zend_object *pgsql_link_create_object(zend_class_entry *class_type) { in pgsql_link_create_object() argument
160 pgsql_link_handle *intern = zend_object_alloc(sizeof(pgsql_link_handle), class_type); in pgsql_link_create_object()
162 zend_object_std_init(&intern->std, class_type); in pgsql_link_create_object()
163 object_properties_init(&intern->std, class_type); in pgsql_link_create_object()
215 static zend_object *pgsql_result_create_object(zend_class_entry *class_type) { in pgsql_result_create_object() argument
218 zend_object_std_init(&intern->std, class_type); in pgsql_result_create_object()
219 object_properties_init(&intern->std, class_type); in pgsql_result_create_object()
252 static zend_object *pgsql_lob_create_object(zend_class_entry *class_type) { in pgsql_lob_create_object() argument
253 pgLofp *intern = zend_object_alloc(sizeof(pgLofp), class_type); in pgsql_lob_create_object()
255 zend_object_std_init(&intern->std, class_type); in pgsql_lob_create_object()
[all …]
/php-src/ext/odbc/
H A Dphp_odbc.c173 static zend_object *odbc_connection_create_object(zend_class_entry *class_type) in odbc_connection_create_object() argument
175 odbc_link *intern = zend_object_alloc(sizeof(odbc_link), class_type); in odbc_connection_create_object()
177 zend_object_std_init(&intern->std, class_type); in odbc_connection_create_object()
178 object_properties_init(&intern->std, class_type); in odbc_connection_create_object()
205 static zend_object *odbc_result_create_object(zend_class_entry *class_type) in odbc_result_create_object() argument
207 odbc_result *intern = zend_object_alloc(sizeof(odbc_result), class_type); in odbc_result_create_object()
209 zend_object_std_init(&intern->std, class_type); in odbc_result_create_object()
210 object_properties_init(&intern->std, class_type); in odbc_result_create_object()
/php-src/ext/snmp/
H A Dsnmp.c178 static zend_object *php_snmp_object_new(zend_class_entry *class_type) /* {{{ */ in php_snmp_object_new() argument
183 intern = zend_object_alloc(sizeof(php_snmp_object), class_type); in php_snmp_object_new()
185 zend_object_std_init(&intern->zo, class_type); in php_snmp_object_new()
186 object_properties_init(&intern->zo, class_type); in php_snmp_object_new()
/php-src/ext/curl/
H A Dinterface.c234 static zend_object *curl_create_object(zend_class_entry *class_type);
423 static zend_object *curl_create_object(zend_class_entry *class_type) { in curl_create_object() argument
424 php_curl *intern = zend_object_alloc(sizeof(php_curl), class_type); in curl_create_object()
426 zend_object_std_init(&intern->std, class_type); in curl_create_object()
427 object_properties_init(&intern->std, class_type); in curl_create_object()

Completed in 167 milliseconds

123