Home
last modified time | relevance | path

Searched refs:intern (Results 26 – 50 of 73) sorted by relevance

123

/PHP-8.0/ext/reflection/
H A Dphp_reflection.c232 if (intern->ptr) { in reflection_free_objects_storage()
270 intern->ptr = NULL; in reflection_free_objects_storage()
292 return &intern->zo; in reflection_objects_new()
1247 intern->ptr = ce; in zend_reflection_class_factory()
1249 intern->ce = ce; in zend_reflection_class_factory()
1379 intern->ce = ce; in reflection_method_factory()
1402 intern->ce = ce; in reflection_property_factory()
2029 Z_ISUNDEF(intern->obj) ? NULL : &intern->obj, in ZEND_METHOD()
2423 intern->ce = ce; in ZEND_METHOD()
3114 intern->ce = ce; in ZEND_METHOD()
[all …]
/PHP-8.0/ext/intl/formatter/
H A Dformatter_class.c47 NumberFormatter_object* intern; in NumberFormatter_object_create() local
49 intern = zend_object_alloc(sizeof(NumberFormatter_object), ce); in NumberFormatter_object_create()
50 formatter_data_init( &intern->nf_data ); in NumberFormatter_object_create()
51 zend_object_std_init( &intern->zo, ce ); in NumberFormatter_object_create()
52 object_properties_init(&intern->zo, ce); in NumberFormatter_object_create()
54 intern->zo.handlers = &NumberFormatter_handlers; in NumberFormatter_object_create()
56 return &intern->zo; in NumberFormatter_object_create()
/PHP-8.0/ext/intl/spoofchecker/
H A Dspoofchecker_class.c43 Spoofchecker_object* intern; in Spoofchecker_object_create() local
45 intern = zend_object_alloc(sizeof(Spoofchecker_object), ce); in Spoofchecker_object_create()
46 intl_error_init(SPOOFCHECKER_ERROR_P(intern)); in Spoofchecker_object_create()
47 zend_object_std_init(&intern->zo, ce); in Spoofchecker_object_create()
48 object_properties_init(&intern->zo, ce); in Spoofchecker_object_create()
50 intern->zo.handlers = &Spoofchecker_handlers; in Spoofchecker_object_create()
52 return &intern->zo; in Spoofchecker_object_create()
/PHP-8.0/ext/dom/
H A Ddom_iterators.c129 zval_ptr_dtor(&iterator->intern.data); in php_dom_iterator_dtor()
158 zval *object = &iterator->intern.data; in php_dom_iterator_current_key()
165 if (intern != NULL && intern->ptr != NULL) { in php_dom_iterator_current_key()
179 dom_object *intern; in php_dom_iterator_move_forward() local
189 object = &iterator->intern.data; in php_dom_iterator_move_forward()
193 intern = Z_DOMOBJ_P(&iterator->curobj); in php_dom_iterator_move_forward()
195 if (intern != NULL && intern->ptr != NULL) { in php_dom_iterator_move_forward()
259 dom_object *intern; in php_dom_get_iterator() local
272 zend_iterator_init(&iterator->intern); in php_dom_get_iterator()
279 intern = Z_DOMOBJ_P(object); in php_dom_get_iterator()
[all …]
H A Dnamednodemap.c83 dom_object *intern; in PHP_METHOD() local
96 intern = Z_DOMOBJ_P(id); in PHP_METHOD()
98 objmap = (dom_nnodemap_object *)intern->ptr; in PHP_METHOD()
138 dom_object *intern; in PHP_METHOD() local
154 intern = Z_DOMOBJ_P(id); in PHP_METHOD()
156 objmap = (dom_nnodemap_object *)intern->ptr; in PHP_METHOD()
199 dom_object *intern; in PHP_METHOD() local
212 intern = Z_DOMOBJ_P(id); in PHP_METHOD()
214 objmap = (dom_nnodemap_object *)intern->ptr; in PHP_METHOD()
250 dom_object *intern; in PHP_METHOD() local
[all …]
H A Dphp_dom.c445 if (intern->node) { in php_dom_export_node()
963 if (intern->node_list) { in dom_xpath_objects_free_storage()
990 intern->ptr = NULL; in dom_objects_free_storage()
1025 return intern; in dom_objects_set_class()
1034 return &intern->std; in dom_objects_new()
1053 return &intern->dom.std; in dom_xpath_objects_new()
1060 dom_object *intern; in dom_nnodemap_object_dtor() local
1077 intern->ptr = NULL; in dom_nnodemap_object_dtor()
1094 dom_object *intern; in dom_nnodemap_objects_new() local
1109 return &intern->std; in dom_nnodemap_objects_new()
[all …]
H A Dnode.c268 dom_object *intern; in dom_node_child_nodes_read() local
475 dom_object *intern; in dom_node_attributes_read() local
1254 dom_object *intern; in PHP_METHOD() local
1283 dom_object *intern; in PHP_METHOD() local
1329 intern = NULL; in PHP_METHOD()
1343 dom_object *intern; in PHP_METHOD() local
1384 dom_object *intern; in PHP_METHOD() local
1437 dom_object *intern; in PHP_METHOD() local
1488 dom_object *intern; in PHP_METHOD() local
1521 dom_object *intern; in PHP_METHOD() local
[all …]
H A Dattr.c40 dom_object *intern; in PHP_METHOD() local
48 intern = Z_DOMOBJ_P(ZEND_THIS); in PHP_METHOD()
63 oldnode = dom_object_get_node(intern); in PHP_METHOD()
67 php_libxml_increment_node_ptr((php_libxml_node_object *)intern, (xmlNodePtr)nodep, (void *)intern); in PHP_METHOD()
211 dom_object *intern; in PHP_METHOD() local
219 DOM_GET_OBJ(attrp, id, xmlAttrPtr, intern); in PHP_METHOD()
H A Dprocessinginstruction.c37 dom_object *intern; in PHP_METHOD() local
59 intern = Z_DOMOBJ_P(ZEND_THIS); in PHP_METHOD()
60 oldnode = dom_object_get_node(intern); in PHP_METHOD()
64 php_libxml_increment_node_ptr((php_libxml_node_object *)intern, nodep, (void *)intern); in PHP_METHOD()
H A Ddocumenttype.c56 dom_object *intern; in dom_documenttype_entities_read() local
67 intern = Z_DOMOBJ_P(retval); in dom_documenttype_entities_read()
68 dom_namednode_iter(obj, XML_ENTITY_NODE, intern, entityht, NULL, NULL); in dom_documenttype_entities_read()
84 dom_object *intern; in dom_documenttype_notations_read() local
95 intern = Z_DOMOBJ_P(retval); in dom_documenttype_notations_read()
96 dom_namednode_iter(obj, XML_NOTATION_NODE, intern, notationht, NULL, NULL); in dom_documenttype_notations_read()
H A Dnodelist.c89 dom_object *intern; in PHP_METHOD() local
96 intern = Z_DOMOBJ_P(id); in PHP_METHOD()
97 if(dom_nodelist_length_read(intern, return_value) == FAILURE) { in PHP_METHOD()
113 dom_object *intern; in PHP_METHOD() local
126 intern = Z_DOMOBJ_P(id); in PHP_METHOD()
128 objmap = (dom_nnodemap_object *)intern->ptr; in PHP_METHOD()
/PHP-8.0/ext/spl/
H A Dspl_directory.h44 PHPAPI char* spl_filesystem_object_get_path(spl_filesystem_object *intern, size_t *len);
53 zend_object_iterator intern; member
116 zend_iterator_init(&it->intern); in spl_filesystem_object_to_iterator()
135 #define SPL_FILE_DIR_CURRENT(intern,mode) ((intern->flags&SPL_FILE_DIR_CURRENT_MODE_MASK)==mode) argument
141 #define SPL_FILE_DIR_KEY(intern,mode) ((intern->flags&SPL_FILE_DIR_KEY_MODE_MASK)==mode) argument
/PHP-8.0/ext/mysqli/
H A Dphp_mysqli_structs.h215 mysqli_object *intern = Z_MYSQLI_P(__id); \
216 if (!(my_res = (MYSQLI_RESOURCE *)intern->ptr)) {\
217 zend_throw_error(NULL, "%s object is already closed", ZSTR_VAL(intern->zo.ce->name));\
222 zend_throw_error(NULL, "%s object is not fully initialized", ZSTR_VAL(intern->zo.ce->name)); \
231 zend_throw_error(NULL, "%s object is already closed", ZSTR_VAL(intern->zo.ce->name));\
236 zend_throw_error(NULL, "%s object is not fully initialized", ZSTR_VAL(intern->zo.ce->name)); \
258 mysqli_object *intern = Z_MYSQLI_P(__id); \
259 ((MYSQLI_RESOURCE *)intern->ptr)->status = __value; \
264 mysqli_object *intern = Z_MYSQLI_P(__id); \
265 efree(intern->ptr); \
[all …]
/PHP-8.0/ext/intl/transliterator/
H A Dtransliterator_class.c112 Transliterator_object* intern; in Transliterator_object_create() local
114 intern = zend_object_alloc(sizeof(Transliterator_object), ce); in Transliterator_object_create()
116 zend_object_std_init( &intern->zo, ce ); in Transliterator_object_create()
117 object_properties_init( &intern->zo, ce ); in Transliterator_object_create()
118 transliterator_object_init( intern ); in Transliterator_object_create()
120 intern->zo.handlers = &Transliterator_handlers; in Transliterator_object_create()
122 return &intern->zo; in Transliterator_object_create()
/PHP-8.0/ext/curl/
H A Dshare.c143 php_curlsh *intern = zend_object_alloc(sizeof(php_curlsh), class_type); in curl_share_create_object() local
145 zend_object_std_init(&intern->std, class_type); in curl_share_create_object()
146 object_properties_init(&intern->std, class_type); in curl_share_create_object()
147 intern->std.handlers = &curl_share_handlers; in curl_share_create_object()
149 return &intern->std; in curl_share_create_object()
/PHP-8.0/ext/intl/common/
H A Dcommon_enum.cpp192 IntlIterator_object *intern; in IntlIterator_object_create() local
194intern = (IntlIterator_object*)ecalloc(1, sizeof(IntlIterator_object) + sizeof(zval) * (ce->defaul… in IntlIterator_object_create()
196 zend_object_std_init(&intern->zo, ce); in IntlIterator_object_create()
197 object_properties_init(&intern->zo, ce); in IntlIterator_object_create()
198 intl_error_init(INTLITERATOR_ERROR_P(intern)); in IntlIterator_object_create()
200 intern->iterator = NULL; in IntlIterator_object_create()
202 intern->zo.handlers = &IntlIterator_handlers; in IntlIterator_object_create()
204 return &intern->zo; in IntlIterator_object_create()
/PHP-8.0/ext/intl/breakiterator/
H A Dbreakiterator_class.cpp204 BreakIterator_object* intern; in BreakIterator_object_create() local
206 intern = (BreakIterator_object*) zend_object_alloc(sizeof(BreakIterator_object), ce); in BreakIterator_object_create()
208 zend_object_std_init(&intern->zo, ce); in BreakIterator_object_create()
209 object_properties_init(&intern->zo, ce); in BreakIterator_object_create()
210 breakiterator_object_init(intern); in BreakIterator_object_create()
212 intern->zo.handlers = &BreakIterator_handlers; in BreakIterator_object_create()
214 return &intern->zo; in BreakIterator_object_create()
/PHP-8.0/ext/sqlite3/
H A Dsqlite3.c2169 if (!intern) { in php_sqlite3_object_free_storage()
2181 if (intern->initialised && intern->db) { in php_sqlite3_object_free_storage()
2202 if (intern->initialised && intern->db){ in php_sqlite3_object_free_storage()
2212 if (intern->initialised && intern->db) { in php_sqlite3_object_free_storage()
2225 if (!intern) { in php_sqlite3_stmt_object_free_storage()
2236 zend_llist_del_element(&(intern->db_obj->free_list), intern->stmt, in php_sqlite3_stmt_object_free_storage()
2252 if (!intern) { in php_sqlite3_result_object_free_storage()
2257 if (intern->stmt_obj && intern->stmt_obj->initialised) { in php_sqlite3_result_object_free_storage()
2283 return &intern->zo; in php_sqlite3_object_new()
2299 return &intern->zo; in php_sqlite3_stmt_object_new()
[all …]
/PHP-8.0/ext/fileinfo/
H A Dfileinfo.c83 finfo_object *intern = php_finfo_fetch_object(object); in finfo_objects_free() local
85 if (intern->ptr) { in finfo_objects_free()
86 magic_close(intern->ptr->magic); in finfo_objects_free()
87 efree(intern->ptr); in finfo_objects_free()
90 zend_object_std_dtor(&intern->zo); in finfo_objects_free()
97 finfo_object *intern; in finfo_objects_new() local
99 intern = zend_object_alloc(sizeof(finfo_object), class_type); in finfo_objects_new()
101 zend_object_std_init(&intern->zo, class_type); in finfo_objects_new()
102 object_properties_init(&intern->zo, class_type); in finfo_objects_new()
103 intern->zo.handlers = &finfo_object_handlers; in finfo_objects_new()
[all …]
/PHP-8.0/ext/intl/resourcebundle/
H A Dresourcebundle_iterator.c71 zval *object = &iterator->intern.data; in resourcebundle_iterator_dtor()
158 zend_iterator_init(&iterator->intern); in resourcebundle_get_iterator()
160 ZVAL_OBJ(&iterator->intern.data, Z_OBJ_P(object)); in resourcebundle_get_iterator()
161 iterator->intern.funcs = &resourcebundle_iterator_funcs; in resourcebundle_get_iterator()
/PHP-8.0/ext/intl/calendar/
H A Dcalendar_class.cpp251 Calendar_object* intern; in Calendar_object_create() local
253intern = (Calendar_object*)ecalloc(1, sizeof(Calendar_object) + sizeof(zval) * (ce->default_proper… in Calendar_object_create()
255 zend_object_std_init(&intern->zo, ce); in Calendar_object_create()
256 object_properties_init(&intern->zo, ce); in Calendar_object_create()
257 calendar_object_init(intern); in Calendar_object_create()
260 intern->zo.handlers = &Calendar_handlers; in Calendar_object_create()
262 return &intern->zo; in Calendar_object_create()
/PHP-8.0/ext/tidy/
H A Dtidy.c457 if (intern->ptdoc) { in tidy_object_free_storage()
458 intern->ptdoc->ref_count--; in tidy_object_free_storage()
462 efree(intern->ptdoc->errbuf); in tidy_object_free_storage()
464 efree(intern->ptdoc); in tidy_object_free_storage()
471 PHPTidyObj *intern; in tidy_object_new() local
484 intern->ptdoc->ref_count = 1; in tidy_object_new()
489 if (tidySetErrorBuffer(intern->ptdoc->doc, intern->ptdoc->errbuf) != 0) { in tidy_object_new()
491 efree(intern->ptdoc->errbuf); in tidy_object_new()
493 efree(intern->ptdoc); in tidy_object_new()
494 efree(intern); in tidy_object_new()
[all …]
/PHP-8.0/ext/xmlwriter/
H A Dphp_xmlwriter.c55 if (intern->ptr) { in xmlwriter_object_dtor()
56 xmlFreeTextWriter(intern->ptr); in xmlwriter_object_dtor()
57 intern->ptr = NULL; in xmlwriter_object_dtor()
59 if (intern->output) { in xmlwriter_object_dtor()
60 xmlBufferFree(intern->output); in xmlwriter_object_dtor()
61 intern->output = NULL; in xmlwriter_object_dtor()
72 zend_object_std_dtor(&intern->std); in xmlwriter_object_free_storage()
80 ze_xmlwriter_object *intern; in xmlwriter_object_new() local
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()
[all …]
/PHP-8.0/ext/intl/timezone/
H A Dtimezone_class.cpp379 TimeZone_object* intern; in TimeZone_object_create() local
381intern = (TimeZone_object*)ecalloc(1, sizeof(TimeZone_object) + sizeof(zval) * (ce->default_proper… in TimeZone_object_create()
383 zend_object_std_init(&intern->zo, ce); in TimeZone_object_create()
384 object_properties_init(&intern->zo, ce); in TimeZone_object_create()
385 TimeZone_object_init(intern); in TimeZone_object_create()
387 intern->zo.handlers = &TimeZone_handlers; in TimeZone_object_create()
389 return &intern->zo; in TimeZone_object_create()
/PHP-8.0/ext/shmop/
H A Dshmop.c84 php_shmop *intern = zend_object_alloc(sizeof(php_shmop), class_type); in shmop_create_object() local
86 zend_object_std_init(&intern->std, class_type); in shmop_create_object()
87 object_properties_init(&intern->std, class_type); in shmop_create_object()
88 intern->std.handlers = &shmop_object_handlers; in shmop_create_object()
90 return &intern->std; in shmop_create_object()

Completed in 81 milliseconds

123