Home
last modified time | relevance | path

Searched refs:class_type (Results 1 – 25 of 58) sorted by last modified time

123

/php-src/ext/reflection/
H A Dphp_reflection.c281 static zend_object *reflection_objects_new(zend_class_entry *class_type) /* {{{ */ in reflection_objects_new() argument
283 reflection_object *intern = zend_object_alloc(sizeof(reflection_object), class_type); in reflection_objects_new()
285 zend_object_std_init(&intern->zo, class_type); in reflection_objects_new()
286 object_properties_init(&intern->zo, class_type); in reflection_objects_new()
/php-src/ext/spl/
H A Dspl_observer.c252 #define SPL_OBJECT_STORAGE_CLASS_HAS_OVERRIDE(class_type, zstr_method) \ argument
253 (class_type->arrayaccess_funcs_ptr && class_type->arrayaccess_funcs_ptr->zstr_method)
258 zend_class_entry *parent = class_type; in spl_object_storage_new_ex()
264 zend_object_std_init(&intern->std, class_type); in spl_object_storage_new_ex()
265 object_properties_init(&intern->std, class_type); in spl_object_storage_new_ex()
273 if (class_type != spl_ce_SplObjectStorage) { in spl_object_storage_new_ex()
279 SPL_OBJECT_STORAGE_CLASS_HAS_OVERRIDE(class_type, zf_offsetget) || in spl_object_storage_new_ex()
280 SPL_OBJECT_STORAGE_CLASS_HAS_OVERRIDE(class_type, zf_offsetexists)) { in spl_object_storage_new_ex()
285 SPL_OBJECT_STORAGE_CLASS_HAS_OVERRIDE(class_type, zf_offsetset)) { in spl_object_storage_new_ex()
290 SPL_OBJECT_STORAGE_CLASS_HAS_OVERRIDE(class_type, zf_offsetunset)) { in spl_object_storage_new_ex()
[all …]
H A Dspl_fixedarray.c274 static zend_object *spl_fixedarray_object_new_ex(zend_class_entry *class_type, zend_object *orig, b… in spl_fixedarray_object_new_ex() argument
277 zend_class_entry *parent = class_type; in spl_fixedarray_object_new_ex()
282 zend_object_std_init(&intern->std, class_type); in spl_fixedarray_object_new_ex()
283 object_properties_init(&intern->std, class_type); in spl_fixedarray_object_new_ex()
303 …zend_function *fptr_count = zend_hash_find_ptr(&class_type->function_table, ZSTR_KNOWN(ZEND_STR_CO… in spl_fixedarray_object_new_ex()
313 static zend_object *spl_fixedarray_new(zend_class_entry *class_type) in spl_fixedarray_new() argument
315 return spl_fixedarray_object_new_ex(class_type, NULL, 0); in spl_fixedarray_new()
/php-src/ext/libxml/
H A Dlibxml.c322 if (!obj->document || obj->document->class_type < PHP_LIBXML_CLASS_MODERN) { in php_libxml_node_free_list()
1346 object->document->class_type = PHP_LIBXML_CLASS_UNSET; in php_libxml_increment_doc_ref()
H A Dphp_libxml.h92 php_libxml_class_type class_type; member
/php-src/ext/simplexml/
H A Dsimplexml.c1555 bool include_xmlns_attributes = sxe->document->class_type == PHP_LIBXML_CLASS_MODERN; in PHP_METHOD()
/php-src/ext/dom/
H A Dphp_dom.h128 zend_object *dom_objects_new(zend_class_entry *class_type);
129 zend_object *dom_nnodemap_objects_new(zend_class_entry *class_type);
131 zend_object *dom_xpath_objects_new(zend_class_entry *class_type);
H A Dphp_dom.c248 dest_doc->class_type = source_doc->class_type; in dom_copy_document_ref()
530 nodeobj->document->class_type = new_class; in dom_import_simplexml_common()
1394 zend_class_entry *base_class = class_type; in dom_objects_set_class_ex()
1401 zend_object_std_init(&intern->std, class_type); in dom_objects_set_class_ex()
1402 object_properties_init(&intern->std, class_type); in dom_objects_set_class_ex()
1408 dom_objects_set_class_ex(class_type, intern); in dom_objects_set_class()
1415 dom_object *intern = dom_objects_set_class(class_type); in dom_objects_new()
1423 dom_objects_set_class_ex(class_type, &intern->dom); in dom_objects_namespace_node_new()
1450 zend_object_std_init(&intern->dom.std, class_type); in dom_xpath_objects_new()
1451 object_properties_init(&intern->dom.std, class_type); in dom_xpath_objects_new()
[all …]
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/ffi/
H A Dffi.c256 static zend_object *zend_ffi_cdata_new(zend_class_entry *class_type) /* {{{ */ in zend_ffi_cdata_new() argument
262 zend_ffi_object_init(&cdata->std, class_type); in zend_ffi_cdata_new()
2191 static zend_object *zend_ffi_ctype_new(zend_class_entry *class_type) /* {{{ */ in zend_ffi_ctype_new() argument
2197 zend_ffi_object_init(&ctype->std, class_type); in zend_ffi_ctype_new()
2281 static zend_object *zend_ffi_new(zend_class_entry *class_type) /* {{{ */ in zend_ffi_new() argument
2287 zend_ffi_object_init(&ffi->std, class_type); in zend_ffi_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/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/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()
H A Dmulti.c505 static zend_object *curl_multi_create_object(zend_class_entry *class_type) { in curl_multi_create_object() argument
506 php_curlm *intern = zend_object_alloc(sizeof(php_curlm), class_type); in curl_multi_create_object()
508 zend_object_std_init(&intern->std, class_type); in curl_multi_create_object()
509 object_properties_init(&intern->std, class_type); in curl_multi_create_object()
/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/Zend/
H A Dzend_API.h447 ZEND_API zend_result zend_update_class_constants(zend_class_entry *class_type);
448 ZEND_API HashTable *zend_separate_class_constants_table(zend_class_entry *class_type);
541 ZEND_API void object_properties_init(zend_object *object, zend_class_entry *class_type);
H A Dzend_API.c1434 if (c->ce == class_type) { in zend_separate_class_constants_table()
1520 ce_flags = class_type->ce_flags; in zend_update_class_constants()
1539 if (class_type->parent) { in zend_update_class_constants()
1561 if (c->ce != class_type) { in zend_update_class_constants()
1579 zend_class_init_statics(class_type); in zend_update_class_constants()
1630 …if (class_type->type == ZEND_USER_CLASS && class_type->ce_flags & ZEND_ACC_ENUM && class_type->enu… in zend_update_class_constants()
1643 class_type->ce_flags = ce_flags; in zend_update_class_constants()
1652 if (class_type->default_properties_count) { in _object_properties_init()
1821 if (class_type->create_object == NULL) { in _object_and_properties_init()
1831 ZVAL_OBJ(arg, class_type->create_object(class_type)); in _object_and_properties_init()
[all …]
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/openssl/
H A Dopenssl.c159 static zend_object *php_openssl_certificate_create_object(zend_class_entry *class_type) { in php_openssl_certificate_create_object() argument
162 zend_object_std_init(&intern->std, class_type); in php_openssl_certificate_create_object()
163 object_properties_init(&intern->std, class_type); in php_openssl_certificate_create_object()
198 static zend_object *php_openssl_request_create_object(zend_class_entry *class_type) { in php_openssl_request_create_object() argument
199 …openssl_request_object *intern = zend_object_alloc(sizeof(php_openssl_request_object), class_type); in php_openssl_request_create_object()
201 zend_object_std_init(&intern->std, class_type); in php_openssl_request_create_object()
202 object_properties_init(&intern->std, class_type); in php_openssl_request_create_object()
238 static zend_object *php_openssl_pkey_create_object(zend_class_entry *class_type) { in php_openssl_pkey_create_object() argument
239 php_openssl_pkey_object *intern = zend_object_alloc(sizeof(php_openssl_pkey_object), class_type); in php_openssl_pkey_create_object()
241 zend_object_std_init(&intern->std, class_type); in php_openssl_pkey_create_object()
[all …]
/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/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/tidy/
H A Dtidy.c403 static zend_object *tidy_object_new(zend_class_entry *class_type, zend_object_handlers *handlers, t… in tidy_object_new() argument
407 intern = zend_object_alloc(sizeof(PHPTidyObj), class_type); in tidy_object_new()
408 zend_object_std_init(&intern->std, class_type); in tidy_object_new()
409 object_properties_init(&intern->std, class_type); in tidy_object_new()
444 static zend_object *tidy_object_new_node(zend_class_entry *class_type) in tidy_object_new_node() argument
446 return tidy_object_new(class_type, &tidy_object_handlers_node, is_node); in tidy_object_new_node()
449 static zend_object *tidy_object_new_doc(zend_class_entry *class_type) in tidy_object_new_doc() argument
451 return tidy_object_new(class_type, &tidy_object_handlers_doc, is_doc); in tidy_object_new_doc()
/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/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/mysqli/
H A Dmysqli.c367 PHP_MYSQLI_EXPORT(zend_object *) mysqli_objects_new(zend_class_entry *class_type) in mysqli_objects_new() argument
373 intern = zend_object_alloc(sizeof(mysqli_object), class_type); in mysqli_objects_new()
375 mysqli_base_class = class_type; in mysqli_objects_new()
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()
386 if (instanceof_function(class_type, mysqli_link_class_entry)) { in mysqli_objects_new()
388 } else if (instanceof_function(class_type, mysqli_driver_class_entry)) { /* driver object */ in mysqli_objects_new()
390 } else if (instanceof_function(class_type, mysqli_stmt_class_entry)) { /* stmt object */ in mysqli_objects_new()
392 } else if (instanceof_function(class_type, mysqli_result_class_entry)) { /* result object */ in mysqli_objects_new()
394 } else if (instanceof_function(class_type, mysqli_warning_class_entry)) { /* warning object */ in mysqli_objects_new()

Completed in 234 milliseconds

123