/PHP-7.3/Zend/ |
H A D | zend_iterators.c | 76 zend_object_std_init(&iter->std, &zend_iterator_class_entry); in zend_iterator_init() 77 iter->std.handlers = &iterator_object_handlers; in zend_iterator_init() 82 if (GC_DELREF(&iter->std) > 0) { in zend_iterator_dtor() 86 zend_objects_store_del(&iter->std); in zend_iterator_dtor()
|
H A D | zend_iterators.h | 56 zend_object std; member
|
/PHP-7.3/ext/date/ |
H A D | php_date.h | 139 zend_object std; member 143 return (php_date_obj*)((char*)(obj) - XtOffsetOf(php_date_obj, std)); in php_date_obj_from_obj() 157 zend_object std; member 161 return (php_timezone_obj*)((char*)(obj) - XtOffsetOf(php_timezone_obj, std)); in php_timezone_obj_from_obj() 170 zend_object std; member 174 return (php_interval_obj*)((char*)(obj) - XtOffsetOf(php_interval_obj, std)); in php_interval_obj_from_obj() 188 zend_object std; member 192 return (php_period_obj*)((char*)(obj) - XtOffsetOf(php_period_obj, std)); in php_period_obj_from_obj()
|
/PHP-7.3/ext/dom/ |
H A D | xml_common.h | 31 zend_object std; member 35 return (dom_object*)((char*)(obj) - XtOffsetOf(dom_object, std)); in php_dom_obj_from_obj() 68 ZSTR_VAL(__intern->std.ce->name));\ 77 php_error_docref(NULL, E_WARNING, "Couldn't fetch %s", __intern->std.ce->name);\
|
H A D | php_dom.c | 506 clone->std.handlers = dom_get_obj_handlers(); in dom_objects_store_clone_obj() 527 zend_objects_clone_members(&clone->std, &intern->std); in dom_objects_store_clone_obj() 529 return &clone->std; in dom_objects_store_clone_obj() 1008 zend_object_std_dtor(&intern->dom.std); in dom_xpath_objects_free_storage() 1038 zend_object_std_dtor(&intern->std); in dom_objects_free_storage() 1092 return &intern->std; in dom_objects_new() 1110 return &intern->dom.std; in dom_xpath_objects_new() 1145 zend_object_std_dtor(&intern->std); in dom_nnodemap_objects_free_storage() 1166 return &intern->std; in dom_nnodemap_objects_new() 1196 GC_ADDREF(&intern->std); in php_dom_create_object() [all …]
|
/PHP-7.3/ext/xmlwriter/ |
H A D | php_xmlwriter.h | 47 zend_object std; member 51 return (ze_xmlwriter_object *)((char*)(obj) - XtOffsetOf(ze_xmlwriter_object, std)); in php_xmlwriter_fetch_object()
|
/PHP-7.3/ext/gmp/ |
H A D | php_gmp_int.h | 21 zend_object std; member 25 return (gmp_object *)( ((char *)zobj) - XtOffsetOf(gmp_object, std) ); in php_gmp_object_from_zend_object()
|
/PHP-7.3/ext/xsl/ |
H A D | php_xsl.c | 71 zend_object_std_dtor(&intern->std); in ZEND_GET_MODULE() 112 zend_object_std_init(&intern->std, class_type); in xsl_objects_new() 113 object_properties_init(&intern->std, class_type); in xsl_objects_new() 117 intern->std.handlers = &xsl_object_handlers; in xsl_objects_new() 118 return &intern->std; in xsl_objects_new() 130 xsl_object_handlers.offset = XtOffsetOf(xsl_object, std); in PHP_MINIT_FUNCTION()
|
H A D | php_xsl.h | 70 zend_object std; member 74 return (xsl_object *)((char*)(obj) - XtOffsetOf(xsl_object, std)); in php_xsl_fetch_object()
|
/PHP-7.3/ext/pdo_mysql/tests/ |
H A D | bug70389.phpt | 18 $std = new StdClass(); 19 $std->flags = $flags;
|
/PHP-7.3/ext/xmlreader/ |
H A D | php_xmlreader.h | 49 zend_object std; member 53 return (xmlreader_object *)((char*)(obj) - XtOffsetOf(xmlreader_object, std)); in php_xmlreader_fetch_object()
|
/PHP-7.3/ext/pdo/ |
H A D | php_pdo_int.h | 42 void pdo_dbstmt_free_storage(zend_object *std); 51 void pdo_row_free_storage(zend_object *std);
|
H A D | php_pdo_driver.h | 522 zend_object std; member 526 …return (pdo_dbh_t *)(((pdo_dbh_object_t *)((char*)(obj) - XtOffsetOf(pdo_dbh_object_t, std)))->inn… in php_pdo_dbh_fetch_inner() 530 return (pdo_dbh_object_t *)((char*)(obj) - XtOffsetOf(pdo_dbh_object_t, std)); in php_pdo_dbh_fetch_object() 650 zend_object std; member 654 return (pdo_stmt_t *)((char*)(obj) - XtOffsetOf(pdo_stmt_t, std)); in php_pdo_stmt_fetch_object() 660 zend_object std; member
|
H A D | pdo_stmt.c | 251 GC_ADDREF(&stmt->std); in get_lazy_object() 252 GC_DELREF(&row->std); in get_lazy_object() 2355 zend_object_std_dtor(&stmt->std); in php_pdo_free_statement() 2374 return &stmt->std; in pdo_dbstmt_new() 2523 ZVAL_OBJ(&zobj, &stmt->std); in row_prop_read() 2611 if (!stmt->std.properties) { in row_get_properties() 2621 return stmt->std.properties; in row_get_properties() 2697 pdo_row_t *row = (pdo_row_t *)std; in pdo_row_free_storage() 2700 OBJ_RELEASE(&row->stmt->std); in pdo_row_free_storage() 2707 zend_object_std_init(&row->std, ce); in pdo_row_new() [all …]
|
/PHP-7.3/ext/tidy/ |
H A D | tidy.c | 208 zend_object std; member 689 zend_object_std_dtor(&intern->std); in tidy_object_free_storage() 741 intern->std.handlers = handlers; in tidy_object_new() 743 return &intern->std; in tidy_object_new() 844 if (!obj->std.properties) { in tidy_doc_update_properties() 845 rebuild_object_properties(&obj->std); in tidy_doc_update_properties() 854 if (!obj->std.properties) { in tidy_doc_update_properties() 855 rebuild_object_properties(&obj->std); in tidy_doc_update_properties() 874 if (!obj->std.properties) { in tidy_add_default_properties() 875 rebuild_object_properties(&obj->std); in tidy_add_default_properties() [all …]
|
/PHP-7.3/ext/spl/ |
H A D | spl_array.c | 73 zend_object std; member 86 if (!intern->std.properties) { in spl_array_get_hash_table_ptr() 89 return &intern->std.properties; in spl_array_get_hash_table_ptr() 159 zend_object_std_dtor(&intern->std); in spl_array_object_free_storage() 263 return &intern->std; in spl_array_object_new_ex() 815 if (!intern->std.properties) { in spl_array_get_properties() 818 return intern->std.properties; in spl_array_get_properties() 831 if (!intern->std.properties) { in spl_array_get_debug_info() 837 return intern->std.properties; in spl_array_get_debug_info() 946 !(ht1 == intern1->std.properties && ht2 == intern2->std.properties)) { in spl_array_compare_objects() [all …]
|
H A D | spl_heap.c | 74 zend_object std; member 84 return (spl_heap_object*)((char*)(obj) - XtOffsetOf(spl_heap_object, std)); in spl_heap_from_obj() 352 zend_object_std_dtor(&intern->std); in spl_heap_object_free_storage() 366 zend_object_std_init(&intern->std, class_type); in spl_heap_object_new_ex() 367 object_properties_init(&intern->std, class_type); in spl_heap_object_new_ex() 387 intern->std.handlers = &spl_handler_SplHeap; in spl_heap_object_new_ex() 393 intern->std.handlers = &spl_handler_SplPriorityQueue; in spl_heap_object_new_ex() 430 return &intern->std; in spl_heap_object_new_ex() 485 if (!intern->std.properties) { in spl_heap_object_get_debug_info_helper() 486 rebuild_object_properties(&intern->std); in spl_heap_object_get_debug_info_helper() [all …]
|
H A D | spl_fixedarray.c | 59 zend_object std; member 75 return (spl_fixedarray_object*)((char*)(obj) - XtOffsetOf(spl_fixedarray_object, std)); in spl_fixed_array_from_obj() 199 zend_object_std_dtor(&intern->std); in spl_fixedarray_object_free_storage() 213 zend_object_std_init(&intern->std, class_type); in spl_fixedarray_object_new_ex() 214 object_properties_init(&intern->std, class_type); in spl_fixedarray_object_new_ex() 228 intern->std.handlers = &spl_handler_SplFixedArray; in spl_fixedarray_object_new_ex() 287 return &intern->std; in spl_fixedarray_object_new_ex() 359 …zend_call_method_with_1_params(object, intern->std.ce, &intern->fptr_offset_get, "offsetGet", rv, … in spl_fixedarray_object_read_dimension() 452 …zend_call_method_with_1_params(object, intern->std.ce, &intern->fptr_offset_del, "offsetUnset", NU… in spl_fixedarray_object_unset_dimension() 522 zend_call_method_with_0_params(object, intern->std.ce, &intern->fptr_count, "count", &rv); in spl_fixedarray_object_count_elements() [all …]
|
H A D | spl_directory.h | 102 zend_object std; member 106 return (spl_filesystem_object*)((char*)(obj) - XtOffsetOf(spl_filesystem_object, std)); in spl_filesystem_from_obj()
|
H A D | spl_dllist.c | 96 zend_object std; member 108 return (spl_dllist_object*)((char*)(obj) - XtOffsetOf(spl_dllist_object, std)); in spl_dllist_from_obj() 352 zend_object_std_dtor(&intern->std); in spl_dllist_object_free_storage() 378 zend_object_std_init(&intern->std, class_type); in spl_dllist_object_new_ex() 379 object_properties_init(&intern->std, class_type); in spl_dllist_object_new_ex() 409 intern->std.handlers = &spl_handler_SplDoublyLinkedList; in spl_dllist_object_new_ex() 412 intern->std.handlers = &spl_handler_SplDoublyLinkedList; in spl_dllist_object_new_ex() 416 intern->std.handlers = &spl_handler_SplDoublyLinkedList; in spl_dllist_object_new_ex() 450 return &intern->std; in spl_dllist_object_new_ex() 505 if (!intern->std.properties) { in spl_dllist_object_get_debug_info() [all …]
|
H A D | spl_iterators.h | 165 zend_object std; member 169 return (spl_dual_it_object*)((char*)(obj) - XtOffsetOf(spl_dual_it_object, std)); in spl_dual_it_from_obj()
|
/PHP-7.3/ext/reflection/tests/ |
H A D | parameters_002.phpt | 6 function test($nix, Array $ar, &$ref, stdClass $std, 13 function method($nix, Array $ar, &$ref, stdClass $std, 107 getName: string(3) "std" 173 getName: string(3) "std"
|
/PHP-7.3/ext/com_dotnet/ |
H A D | com_persist.c | 289 zend_object std; member 700 zend_object_std_dtor(&object->std); in helper_free_storage() 711 zend_object_std_init(&clone->std, object->std.ce); in helper_clone() 735 zend_object_std_init(&helper->std, helper_ce); in helper_new() 736 helper->std.handlers = &helper_handlers; in helper_new() 738 return &helper->std; in helper_new()
|
/PHP-7.3/ext/spl/tests/ |
H A D | dllist_002.phpt | 12 // std iterator
|
H A D | heap_002.phpt | 2 SPL: SplMinHeap: std operations
|