Home
last modified time | relevance | path

Searched refs:intern (Results 1 – 25 of 78) sorted by relevance

1234

/PHP-8.2/ext/spl/
H A Dspl_directory.c145 if (intern->oth_handler && intern->oth_handler->dtor) { in spl_filesystem_object_free_storage()
146 intern->oth_handler->dtor(intern); in spl_filesystem_object_free_storage()
286 if (!intern->u.dir.dirp || !php_stream_readdir(intern->u.dir.dirp, &intern->u.dir.entry)) { in spl_filesystem_dir_read()
354 if (!ZSTR_LEN(intern->file_name) || !intern->u.file.stream) { in spl_filesystem_file_open()
375intern->file_name = zend_string_init(ZSTR_VAL(intern->file_name), ZSTR_LEN(intern->file_name)-1, 0… in spl_filesystem_file_open()
377 intern->file_name = zend_string_copy(intern->file_name); in spl_filesystem_file_open()
449 if (intern->oth_handler && intern->oth_handler->clone) { in spl_filesystem_object_clone()
450 intern->oth_handler->clone(source, intern); in spl_filesystem_object_clone()
512 return intern; in spl_filesystem_object_create_info()
1319 if (intern->type == SPL_FS_DIR && !intern->file_name && intern->u.dir.entry.d_name[0]) { in PHP_METHOD()
[all …]
H A Dspl_observer.c91 &intern->std, intern->std.ce, &intern->fptr_get_hash, "getHash", &rv, &param); in spl_object_storage_get_hash()
252 intern->index = 0; in spl_object_storage_addall()
265 intern->pos = 0; in spl_object_storage_new_ex()
522 intern->index = 0; in PHP_METHOD()
764 zend_hash_move_forward_ex(&intern->storage, &intern->pos); in PHP_METHOD()
765 intern->index++; in PHP_METHOD()
1106 zend_hash_move_forward_ex(&intern->storage, &intern->pos); in PHP_METHOD()
1170 zend_hash_move_forward_ex(&intern->storage, &intern->pos); in PHP_METHOD()
1191 zend_hash_move_forward_ex(&intern->storage, &intern->pos); in PHP_METHOD()
1232 zend_hash_move_forward_ex(&intern->storage, &intern->pos); in PHP_METHOD()
[all …]
H A Dspl_iterators.c656 sub_iter = intern->iterators[intern->level].iterator; in spl_recursive_it_it_construct()
1472 intern->inner.iterator = intern->inner.ce->get_iterator(intern->inner.ce, zobject, 0); in spl_dual_it_construct()
1563 intern->inner.iterator->funcs->get_current_key(intern->inner.iterator, &intern->current.key); in spl_dual_it_fetch()
1569 ZVAL_LONG(&intern->current.key, intern->current.pos); in spl_dual_it_fetch()
1891 …&intern->current.data, intern->u.regex.mode == REGIT_MODE_ALL_MATCHES, intern->u.regex.use_flags, in PHP_METHOD()
2224 …if (intern->u.limit.count != -1 && intern->current.pos >= intern->u.limit.offset + intern->u.limit… in spl_limit_it_valid()
2240 if (pos >= intern->u.limit.offset + intern->u.limit.count && intern->u.limit.count != -1) { in spl_limit_it_seek()
2286 spl_limit_it_seek(intern, intern->u.limit.offset); in PHP_METHOD()
2301 …RETURN_BOOL((intern->u.limit.count == -1 || intern->current.pos < intern->u.limit.offset + intern-… in PHP_METHOD()
2316 …if (intern->u.limit.count == -1 || intern->current.pos < intern->u.limit.offset + intern->u.limit.… in PHP_METHOD()
[all …]
H A Dspl_array.c106 intern = Z_SPLARRAY_P(&intern->array); in spl_array_is_object()
108 return (intern->ar_flags & SPL_ARRAY_IS_SELF) || Z_TYPE(intern->array) == IS_OBJECT; in spl_array_is_object()
149 spl_array_object *intern; in spl_array_object_new_ex() local
158 intern->ar_flags = 0; in spl_array_object_new_ex()
159 intern->is_child = false; in spl_array_object_new_ex()
160 intern->bucket = NULL; in spl_array_object_new_ex()
225 return &intern->std; in spl_array_object_new_ex()
408 (intern->fptr_offset_get || (type == BP_VAR_IS && intern->fptr_offset_has))) { in spl_array_read_dimension_ex()
1069 ZVAL_COPY(&intern->bucket->val, &intern->array); in spl_array_set_array()
1391 intern->nApplyCount++; in spl_array_method()
[all …]
H A Dspl_dllist.c313 spl_dllist_object *intern; in spl_dllist_object_new_ex() local
322 intern->flags = 0; in spl_dllist_object_new_ex()
332 intern->traverse_pointer = intern->llist->head; in spl_dllist_object_new_ex()
336 intern->traverse_pointer = intern->llist->head; in spl_dllist_object_new_ex()
343 intern->traverse_pointer = intern->llist->head; in spl_dllist_object_new_ex()
390 return &intern->std; in spl_dllist_object_new_ex()
414 if (intern->fptr_count) { in spl_dllist_object_count_elements()
768 llist = intern->llist; in PHP_METHOD()
945 …spl_dllist_it_helper_move_forward(&intern->traverse_pointer, &intern->traverse_position, intern->l… in PHP_METHOD()
958 …spl_dllist_it_helper_move_forward(&intern->traverse_pointer, &intern->traverse_position, intern->l… in PHP_METHOD()
[all …]
H A Dspl_fixedarray.c64 zend_object_iterator intern; member
230 *n = (int)intern->array.size; in spl_fixedarray_object_get_gc()
267 if (j > intern->array.size) { in spl_fixedarray_object_get_properties()
324 return &intern->std; in spl_fixedarray_object_new_ex()
666 intern->array.size = 0; in PHP_METHOD()
669 ZVAL_COPY(&intern->array.elements[intern->array.size], elem); in PHP_METHOD()
670 intern->array.size++; in PHP_METHOD()
678 if (intern->array.size) { in PHP_METHOD()
679 intern->array.elements = erealloc(intern->array.elements, sizeof(zval) * intern->array.size); in PHP_METHOD()
784 intern->array = array; in PHP_METHOD()
[all …]
H A Dspl_heap.c438 return &intern->std; in spl_heap_object_new_ex()
475 return &intern->std; in spl_heap_object_new_ex()
632 spl_heap_object *intern; in PHP_METHOD() local
654 spl_heap_object *intern; in PHP_METHOD() local
677 spl_heap_object *intern; in PHP_METHOD() local
696 if (!intern->fptr_cmp) { in PHP_METHOD()
719 spl_heap_object *intern; in PHP_METHOD() local
744 spl_heap_object *intern; in PHP_METHOD() local
773 spl_heap_object *intern; in PHP_METHOD() local
786 intern->flags = value; in PHP_METHOD()
[all …]
/PHP-8.2/ext/xsl/
H A Dphp_xsl.c61 zend_object_std_dtor(&intern->std); in ZEND_GET_MODULE()
64 FREE_HASHTABLE(intern->parameter); in ZEND_GET_MODULE()
69 if (intern->node_list) { in ZEND_GET_MODULE()
74 if (intern->doc) { in ZEND_GET_MODULE()
76 efree(intern->doc); in ZEND_GET_MODULE()
79 if (intern->ptr) { in ZEND_GET_MODULE()
86 intern->ptr = NULL; in ZEND_GET_MODULE()
88 if (intern->profiling) { in ZEND_GET_MODULE()
89 efree(intern->profiling); in ZEND_GET_MODULE()
97 xsl_object *intern; in xsl_objects_new() local
[all …]
H A Dxsltprocessor.c105 xsl_object *intern; in xsl_ext_function_php() local
315 xsl_object *intern; in PHP_METHOD() local
522 efree(intern->doc); in php_xsl_apply_stylesheet()
523 intern->doc = NULL; in php_xsl_apply_stylesheet()
547 xsl_object *intern; in PHP_METHOD() local
604 xsl_object *intern; in PHP_METHOD() local
635 xsl_object *intern; in PHP_METHOD() local
670 xsl_object *intern; in PHP_METHOD() local
728 xsl_object *intern; in PHP_METHOD() local
749 xsl_object *intern; in PHP_METHOD() local
[all …]
/PHP-8.2/ext/xmlreader/
H A Dphp_xmlreader.c342 if (intern->ptr) { in xmlreader_free_resources()
401 if (intern->ptr) { in php_xmlreader_string_arg()
427 if (intern->ptr) { in php_xmlreader_no_arg()
455 if (intern->ptr) { in php_xmlreader_no_arg_string()
490 if (intern->ptr) { in php_xmlreader_set_relaxng_schema()
567 if (intern->ptr) { in PHP_METHOD()
602 if (intern->ptr) { in PHP_METHOD()
626 if (!intern || !intern->ptr) { in PHP_METHOD()
678 if (intern->ptr) { in PHP_METHOD()
946 if (intern && intern->ptr) { in PHP_METHOD()
[all …]
/PHP-8.2/ext/dom/
H A Ddocumentfragment.c37 dom_object *intern; in PHP_METHOD() local
50 intern = Z_DOMOBJ_P(ZEND_THIS); in PHP_METHOD()
51 oldnode = dom_object_get_node(intern); in PHP_METHOD()
55 php_libxml_increment_node_ptr((php_libxml_node_object *)intern, nodep, (void *)intern); in PHP_METHOD()
97 dom_object *intern; in PHP_METHOD() local
108 DOM_GET_OBJ(nodep, id, xmlNodePtr, intern); in PHP_METHOD()
141 dom_object *intern; in PHP_METHOD() local
149 DOM_GET_OBJ(context, id, xmlNodePtr, intern); in PHP_METHOD()
151 dom_parent_node_append(intern, args, argc); in PHP_METHOD()
162 dom_object *intern; in PHP_METHOD() local
[all …]
H A Dxpath.c44 dom_xpath_object *intern; in dom_xpath_ext_function_php() local
53 if (intern == NULL) { in dom_xpath_ext_function_php()
218 dom_xpath_object *intern; in PHP_METHOD() local
233 intern = Z_XPATHOBJ_P(ZEND_THIS); in PHP_METHOD()
234 if (intern != NULL) { in PHP_METHOD()
248 intern->dom.ptr = ctx; in PHP_METHOD()
249 ctx->userData = (void *)intern; in PHP_METHOD()
303 dom_xpath_object *intern; in PHP_METHOD() local
311 intern = Z_XPATHOBJ_P(id); in PHP_METHOD()
342 dom_xpath_object *intern; in php_xpath_eval() local
[all …]
H A Dcdatasection.c37 dom_object *intern; in PHP_METHOD() local
52 intern = Z_DOMOBJ_P(ZEND_THIS); in PHP_METHOD()
53 oldnode = dom_object_get_node(intern); in PHP_METHOD()
55 php_libxml_node_decrement_resource((php_libxml_node_object *)intern); in PHP_METHOD()
57 php_libxml_increment_node_ptr((php_libxml_node_object *)intern, nodep, (void *)intern); in PHP_METHOD()
H A Dcomment.c37 dom_object *intern; in PHP_METHOD() local
52 intern = Z_DOMOBJ_P(ZEND_THIS); in PHP_METHOD()
53 oldnode = dom_object_get_node(intern); in PHP_METHOD()
55 php_libxml_node_decrement_resource((php_libxml_node_object *)intern); in PHP_METHOD()
57 php_libxml_increment_node_ptr((php_libxml_node_object *)intern, (xmlNodePtr)nodep, (void *)intern); in PHP_METHOD()
H A Delement.c37 dom_object *intern; in PHP_METHOD() local
206 dom_object *intern; in PHP_METHOD() local
250 dom_object *intern; in PHP_METHOD() local
314 dom_object *intern; in PHP_METHOD() local
364 dom_object *intern; in PHP_METHOD() local
527 dom_object *intern; in PHP_METHOD() local
611 dom_object *intern; in PHP_METHOD() local
813 dom_object *intern; in PHP_METHOD() local
862 dom_object *intern; in PHP_METHOD() local
1005 dom_object *intern; in PHP_METHOD() local
[all …]
H A Dcharacterdata.c122 dom_object *intern; in PHP_METHOD() local
129 DOM_GET_OBJ(node, id, xmlNodePtr, intern); in PHP_METHOD()
167 dom_object *intern; in PHP_METHOD() local
194 dom_object *intern; in PHP_METHOD() local
241 dom_object *intern; in PHP_METHOD() local
298 dom_object *intern; in PHP_METHOD() local
353 dom_object *intern; in PHP_METHOD() local
361 dom_child_node_remove(intern); in PHP_METHOD()
369 dom_object *intern; in PHP_METHOD() local
386 dom_object *intern; in PHP_METHOD() local
[all …]
H A Ddocument.c523 dom_object *intern; in PHP_METHOD() local
558 dom_object *intern; in PHP_METHOD() local
588 dom_object *intern; in PHP_METHOD() local
618 dom_object *intern; in PHP_METHOD() local
648 dom_object *intern; in PHP_METHOD() local
678 dom_object *intern; in PHP_METHOD() local
715 dom_object *intern; in PHP_METHOD() local
749 dom_object *intern; in PHP_METHOD() local
879 dom_object *intern; in PHP_METHOD() local
942 dom_object *intern; in PHP_METHOD() local
[all …]
H A Dtext.c38 dom_object *intern; in PHP_METHOD() local
53 intern = Z_DOMOBJ_P(ZEND_THIS); in PHP_METHOD()
54 oldnode = dom_object_get_node(intern); in PHP_METHOD()
56 php_libxml_node_decrement_resource((php_libxml_node_object *)intern); in PHP_METHOD()
58 php_libxml_increment_node_ptr((php_libxml_node_object *)intern, nodep, (void *)intern); in PHP_METHOD()
115 dom_object *intern; in PHP_METHOD() local
121 DOM_GET_OBJ(node, id, xmlNodePtr, intern); in PHP_METHOD()
168 php_dom_create_object(nnode, return_value, intern); in PHP_METHOD()
179 dom_object *intern; in PHP_METHOD() local
185 DOM_GET_OBJ(node, id, xmlNodePtr, intern); in PHP_METHOD()
/PHP-8.2/ext/intl/dateformat/
H A Ddateformat_class.c49 IntlDateFormatter_object* intern; in IntlDateFormatter_object_create() local
51 intern = zend_object_alloc(sizeof(IntlDateFormatter_object), ce); in IntlDateFormatter_object_create()
52 dateformat_data_init( &intern->datef_data ); in IntlDateFormatter_object_create()
53 zend_object_std_init( &intern->zo, ce ); in IntlDateFormatter_object_create()
54 object_properties_init(&intern->zo, ce); in IntlDateFormatter_object_create()
55 intern->date_type = 0; in IntlDateFormatter_object_create()
56 intern->time_type = 0; in IntlDateFormatter_object_create()
57 intern->calendar = -1; in IntlDateFormatter_object_create()
58 intern->requested_locale = NULL; in IntlDateFormatter_object_create()
60 intern->zo.handlers = &IntlDateFormatter_handlers; in IntlDateFormatter_object_create()
[all …]
/PHP-8.2/Zend/
H A Dzend_interfaces.c530 return intern; in zend_internal_iterator_fetch()
557 if (!intern) { in ZEND_METHOD()
565 zval *data = intern->iter->funcs->get_current_data(intern->iter); in ZEND_METHOD()
575 if (!intern) { in ZEND_METHOD()
584 intern->iter->funcs->get_current_key(intern->iter, return_value); in ZEND_METHOD()
594 if (!intern) { in ZEND_METHOD()
604 intern->iter->funcs->move_forward(intern->iter); in ZEND_METHOD()
611 if (!intern) { in ZEND_METHOD()
619 RETURN_BOOL(intern->iter->funcs->valid(intern->iter) == SUCCESS); in ZEND_METHOD()
626 if (!intern) { in ZEND_METHOD()
[all …]
/PHP-8.2/ext/zip/
H A Dphp_zip.c454 intern = obj->za; \
455 if (!intern) { \
1034 if (!intern) { in php_zip_object_free_storage()
1037 if (intern->za) { in php_zip_object_free_storage()
1061 intern->za = NULL; in php_zip_object_free_storage()
1081 return &intern->zo; in php_zip_object_new()
1432 struct zip *intern; local
1508 struct zip *intern; local
1535 struct zip *intern; local
1589 struct zip *intern; local
[all …]
/PHP-8.2/ext/mysqli/
H A Dmysqli_result_iterator.c35 zend_object_iterator intern; member
53 zend_iterator_init(&iterator->intern); in php_mysqli_result_get_iterator()
56 ZVAL_OBJ(&iterator->intern.data, Z_OBJ_P(object)); in php_mysqli_result_get_iterator()
57 iterator->intern.funcs = &php_mysqli_result_iterator_funcs; in php_mysqli_result_get_iterator()
61 return &iterator->intern; in php_mysqli_result_get_iterator()
71 zval_ptr_dtor(&iterator->intern.data); in php_mysqli_result_iterator_dtor()
99 mysqli_object *intern = iterator->result; in php_mysqli_result_iterator_move_forward() local
102 MYSQLI_FETCH_RESOURCE_BY_OBJ(result, MYSQL_RES *, intern, "mysqli_result", MYSQLI_STATUS_VALID); in php_mysqli_result_iterator_move_forward()
116 mysqli_object *intern = iterator->result; in php_mysqli_result_iterator_rewind() local
119 MYSQLI_FETCH_RESOURCE_BY_OBJ(result, MYSQL_RES *, intern, "mysqli_result", MYSQLI_STATUS_VALID); in php_mysqli_result_iterator_rewind()
/PHP-8.2/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.2/ext/intl/msgformat/
H A Dmsgformat_class.c45 MessageFormatter_object* intern; in MessageFormatter_object_create() local
47 intern = zend_object_alloc(sizeof(MessageFormatter_object), ce); in MessageFormatter_object_create()
48 msgformat_data_init( &intern->mf_data ); in MessageFormatter_object_create()
49 zend_object_std_init( &intern->zo, ce ); in MessageFormatter_object_create()
50 object_properties_init(&intern->zo, ce); in MessageFormatter_object_create()
52 intern->zo.handlers = &MessageFormatter_handlers; in MessageFormatter_object_create()
54 return &intern->zo; in MessageFormatter_object_create()
/PHP-8.2/ext/intl/collator/
H A Dcollator_class.c48 Collator_object *intern = zend_object_alloc(sizeof(Collator_object), ce); in Collator_object_create() local
49 intl_error_init(COLLATOR_ERROR_P(intern)); in Collator_object_create()
50 zend_object_std_init(&intern->zo, ce ); in Collator_object_create()
51 object_properties_init(&intern->zo, ce); in Collator_object_create()
53 intern->zo.handlers = &Collator_handlers; in Collator_object_create()
55 return &intern->zo; in Collator_object_create()

Completed in 320 milliseconds

1234