Home
last modified time | relevance | path

Searched refs:ce (Results 51 – 75 of 172) sorted by relevance

1234567

/PHP-7.4/ext/spl/
H A Dphp_spl.c66 zend_class_entry *ce; in spl_find_ce_by_name() local
76 if (ce == NULL) { in spl_find_ce_by_name()
81 return ce; in spl_find_ce_by_name()
106 ce = Z_OBJCE_P(obj); in PHP_FUNCTION()
124 zend_class_entry *ce; in PHP_FUNCTION() local
139 ce = Z_OBJCE_P(obj); in PHP_FUNCTION()
153 zend_class_entry *ce; in PHP_FUNCTION() local
168 ce = Z_OBJCE_P(obj); in PHP_FUNCTION()
373 zend_class_entry *ce; member
439 if (alfi->ce && in PHP_FUNCTION()
[all …]
H A Dspl_iterators.c267 ce = object->iterators[object->level].ce; in spl_recursive_it_move_forward_ex()
329 ce = object->iterators[object->level].ce; in spl_recursive_it_move_forward_ex()
361 sub_iter = ce->get_iterator(ce, &child, 0); in spl_recursive_it_move_forward_ex()
364 object->iterators[object->level].ce = ce; in spl_recursive_it_move_forward_ex()
770 zend_class_entry *ce; in SPL_METHOD() local
781 SPL_FETCH_SUB_ELEMENT(ce, object, ce); in SPL_METHOD()
799 zend_class_entry *ce; in SPL_METHOD() local
806 SPL_FETCH_SUB_ELEMENT(ce, object, ce); in SPL_METHOD()
1494 ce = ce_cast; in spl_dual_it_construct()
1575 intern->inner.ce = dit_type == DIT_IteratorIterator ? ce : Z_OBJCE_P(zobject); in spl_dual_it_construct()
[all …]
/PHP-7.4/ext/opcache/Optimizer/
H A Dzend_optimizer.c786 zend_class_entry *ce; in get_class_entry_from_op1() local
788 return ce; in get_class_entry_from_op1()
791 return ce; in get_class_entry_from_op1()
795 return ce; in get_class_entry_from_op1()
851 if (ce) { in zend_optimizer_get_called_func()
886 if (ce && ce->type == ZEND_USER_CLASS) { in zend_optimizer_get_called_func()
887 return ce->constructor; in zend_optimizer_get_called_func()
1335 zend_class_entry *ce; in zend_optimize_script() local
1357 if (ce->refcount > 1 && !zend_string_equals_ci(key, ce->name)) { in zend_optimize_script()
1473 if (ce->refcount > 1 && !zend_string_equals_ci(key, ce->name)) { in zend_optimize_script()
[all …]
H A Dzend_inference.c2256 if (ce) { in get_class_entry()
2261 if (ce && ce->type == ZEND_INTERNAL_CLASS) { in get_class_entry()
2344 ce = ssa->var_info[ssa->ops[i].op1_use].ce; in zend_fetch_prop_info()
3717 ce = ce->parent; in get_class_entry_rank()
3783 if ((tmp & MAY_BE_OBJECT) && constraint->ce && ce != constraint->ce) { in zend_infer_types_ex()
3785 ce = constraint->ce; in zend_infer_types_ex()
3788 ce = constraint->ce; in zend_infer_types_ex()
3815 ce = info->ce; in zend_infer_types_ex()
3820 ce = join_class_entries(ce, info->ce, &is_instanceof); in zend_infer_types_ex()
4649 zend_class_entry *ce = var_info->ce; in zend_may_throw() local
[all …]
H A Dzend_call_graph.c55 zend_class_entry *ce; in zend_foreach_op_array() local
69 ZEND_HASH_FOREACH_STR_KEY_PTR(&script->class_table, key, ce) { in zend_foreach_op_array()
70 if (ce->refcount > 1 && !zend_string_equals_ci(key, ce->name)) { in zend_foreach_op_array()
73 ZEND_HASH_FOREACH_PTR(&ce->function_table, op_array) { in zend_foreach_op_array()
74 if (op_array->scope == ce in zend_foreach_op_array()
H A Dpass1_5.c190 zend_class_entry *ce = NULL; in zend_optimizer_pass1() local
198 ce = op_array->scope; in zend_optimizer_pass1()
200 if ((ce = zend_hash_find_ptr(EG(class_table), in zend_optimizer_pass1()
202 (ce->type == ZEND_INTERNAL_CLASS && in zend_optimizer_pass1()
203 ce->info.internal.module->type != MODULE_PERSISTENT) || in zend_optimizer_pass1()
204 (ce->type == ZEND_USER_CLASS && in zend_optimizer_pass1()
205 ce->info.user.filename != op_array->filename)) { in zend_optimizer_pass1()
213 ce = op_array->scope; in zend_optimizer_pass1()
221 ce = op_array->scope; in zend_optimizer_pass1()
224 if (ce) { in zend_optimizer_pass1()
[all …]
/PHP-7.4/sapi/phpdbg/
H A Dphpdbg_utils.c180 zend_class_entry *ce; in phpdbg_get_function() local
185 ce = zend_lookup_class(lcname); in phpdbg_get_function()
189 if (ce) { in phpdbg_get_function()
190 func = zend_hash_find_ptr(&ce->function_table, lfname); in phpdbg_get_function()
403 *ce = zend_hash_str_find_ptr(EG(class_table), lc_name, lc_length); in phpdbg_safe_class_lookup()
411 *ce = zend_lookup_class(str_name); in phpdbg_safe_class_lookup()
415 return *ce ? SUCCESS : FAILURE; in phpdbg_safe_class_lookup()
760 zend_class_entry *ce; in phpdbg_check_caught_ex() local
762 if (!(ce = CACHED_PTR(cur->extended_value & ~ZEND_LAST_CATCH))) { in phpdbg_check_caught_ex()
764 CACHE_PTR(cur->extended_value & ~ZEND_LAST_CATCH, ce); in phpdbg_check_caught_ex()
[all …]
/PHP-7.4/ext/pdo/
H A Dpdo_stmt.c725 zend_class_entry *ce = stmt->fetch.cls.ce; in do_fetch_class_prepare() local
731 if (!ce) { in do_fetch_class_prepare()
736 if (ce->constructor) { in do_fetch_class_prepare()
746 fcc->called_scope = ce; in do_fetch_class_prepare()
933 ce = stmt->fetch.cls.ce; in do_fetch()
934 if (!ce) { in do_fetch()
1098 if (!ce->unserialize) { in do_fetch()
1300 old_ce = stmt->fetch.cls.ce; in PHP_METHOD()
1316 if (!stmt->fetch.cls.ce) { in PHP_METHOD()
1332 stmt->fetch.cls.ce = old_ce; in PHP_METHOD()
[all …]
/PHP-7.4/ext/xsl/
H A Dphp_xsl.c127 zend_class_entry ce; in PHP_MINIT_FUNCTION() local
134 …REGISTER_XSL_CLASS(ce, "XSLTProcessor", NULL, php_xsl_xsltprocessor_class_functions, xsl_xsltproce… in PHP_MINIT_FUNCTION()
202 zend_class_entry *ce; in php_xsl_create_object() local
222 ce = xsl_xsltprocessor_class_entry; in php_xsl_create_object()
225 object_init_ex(wrapper, ce); in php_xsl_create_object()
/PHP-7.4/ext/curl/
H A Dcurl_file.c157 zend_class_entry ce; in curlfile_register_class() local
158 INIT_CLASS_ENTRY( ce, "CURLFile", curlfile_funcs ); in curlfile_register_class()
159 curl_CURLFile_class = zend_register_internal_class(&ce); in curlfile_register_class()
/PHP-7.4/Zend/
H A Dzend_execute_API.c453 *space = ce ? "::" : ""; in get_active_class_name()
455 return ce ? ZSTR_VAL(ce->name) : ""; in get_active_class_name()
896 zend_class_entry *ce = NULL; in zend_lookup_class_ex() local
930 return ce; in zend_lookup_class_ex()
934 return ce; in zend_lookup_class_ex()
1018 return ce; in zend_lookup_class_ex()
1395 if (UNEXPECTED(!ce)) { in zend_fetch_class()
1399 return ce; in zend_fetch_class()
1423 return ce; in zend_fetch_class()
1429 zend_class_entry *ce; in zend_fetch_class_by_name() local
[all …]
H A Dzend_execute.c727 if (ce) { in zend_verify_type_error_common()
922 zend_class_entry *ce; in zend_resolve_class_type() local
931 ce = self_ce; in zend_resolve_class_type()
1071 zend_class_entry *ce; in zend_verify_arg_type() local
1081 ce = NULL; in zend_verify_arg_type()
1093 zend_class_entry *ce; in zend_verify_recv_arg_type() local
1098 ce = NULL; in zend_verify_recv_arg_type()
1110 zend_class_entry *ce; in zend_verify_variadic_arg_type() local
1116 ce = NULL; in zend_verify_variadic_arg_type()
1261 if (ce) { in zend_verify_missing_return_type()
[all …]
H A Dzend_constants.c238 return (c->ce == scope); in zend_verify_const_access()
241 return zend_check_protected(c->ce, scope); in zend_verify_const_access()
326 zend_class_entry *ce = NULL; in zend_get_constant_ex() local
351 ce = scope; in zend_get_constant_ex()
360 ce = scope->parent; in zend_get_constant_ex()
363 ce = zend_get_called_scope(EG(current_execute_data)); in zend_get_constant_ex()
364 if (UNEXPECTED(!ce)) { in zend_get_constant_ex()
369 ce = zend_fetch_class(class_name, flags); in zend_get_constant_ex()
371 if (ce) { in zend_get_constant_ex()
372 c = zend_hash_find_ptr(&ce->constants_table, constant_name); in zend_get_constant_ex()
[all …]
H A Dzend_weakrefs.c55 static zend_object* zend_weakref_new(zend_class_entry *ce) { in zend_weakref_new() argument
191 zend_class_entry ce; in zend_register_weakref_ce() local
193 INIT_CLASS_ENTRY(ce, "WeakReference", zend_weakref_methods); in zend_register_weakref_ce()
194 zend_ce_weakref = zend_register_internal_class(&ce); in zend_register_weakref_ce()
H A Dzend_execute.h350 #define CACHED_POLYMORPHIC_PTR(num, ce) \ argument
351 (EXPECTED(((void**)((char*)EX(run_time_cache) + (num)))[0] == (void*)(ce)) ? \
355 #define CACHE_POLYMORPHIC_PTR(num, ce, ptr) do { \ argument
357 slot[0] = (ce); \
368 #define CACHED_POLYMORPHIC_PTR_EX(slot, ce) \ argument
369 (EXPECTED((slot)[0] == (ce)) ? (slot)[1] : NULL)
371 #define CACHE_POLYMORPHIC_PTR_EX(slot, ce, ptr) do { \ argument
372 (slot)[0] = (ce); \
400 #define ZEND_CLASS_HAS_TYPE_HINTS(ce) ((ce->ce_flags & ZEND_ACC_HAS_TYPE_HINTS) == ZEND_ACC_HAS_TYP… argument
H A Dzend_closures.c175 fci_cache.called_scope = newobj->ce; in ZEND_METHOD()
206 zend_class_entry *ce, *called_scope; in ZEND_METHOD() local
216 ce = Z_OBJCE_P(scope_arg); in ZEND_METHOD()
218 ce = NULL; in ZEND_METHOD()
223 ce = closure->func.common.scope; in ZEND_METHOD()
232 ce = closure->func.common.scope; in ZEND_METHOD()
242 called_scope = ce; in ZEND_METHOD()
294 if (fcc.object && fcc.object->ce == zend_ce_closure in zend_create_closure_from_callable()
652 zend_class_entry ce; in zend_register_closure_ce() local
654 INIT_CLASS_ENTRY(ce, "Closure", closure_functions); in zend_register_closure_ce()
[all …]
/PHP-7.4/ext/intl/breakiterator/
H A Dbreakiterator_iterators.cpp94 zend_class_entry *ce, zval *object, int by_ref) in _breakiterator_get_iterator() argument
234 U_CFUNC zend_object *IntlPartsIterator_object_create(zend_class_entry *ce) in IntlPartsIterator_object_create() argument
236 zend_object *retval = IntlIterator_ce_ptr->create_object(ce); in IntlPartsIterator_object_create()
302 zend_class_entry ce; in breakiterator_register_IntlPartsIterator_class() local
305 INIT_CLASS_ENTRY(ce, "IntlPartsIterator", IntlPartsIterator_class_functions); in breakiterator_register_IntlPartsIterator_class()
306 IntlPartsIterator_ce_ptr = zend_register_internal_class_ex(&ce, in breakiterator_register_IntlPartsIterator_class()
H A Dbreakiterator_iterators.h39 zend_class_entry *ce, zval *object, int by_ref);
/PHP-7.4/ext/pcre/pcre2lib/
H A Dpcre2_study.c139 PCRE2_UCHAR op, *cs, *ce; in find_minlength() local
498 do ce += GET(ce, 1); while (*ce == OP_ALT); in find_minlength()
502 (PCRE2_UCHAR *)PRIV(find_bracket)(ce, utf, recno) == NULL) in find_minlength()
504 if (cc > cs && cc < ce) /* Simple recursion */ in find_minlength()
557 ce = cs = (PCRE2_UCHAR *)PRIV(find_bracket)(startcode, utf, recno); in find_minlength()
559 do ce += GET(ce, 1); while (*ce == OP_ALT); in find_minlength()
562 (PCRE2_UCHAR *)PRIV(find_bracket)(ce, utf, recno) == NULL) in find_minlength()
564 if (cc > cs && cc < ce) /* Simple recursion */ in find_minlength()
643 cs = ce = (PCRE2_UCHAR *)startcode + GET(cc, 1); in find_minlength()
651 do ce += GET(ce, 1); while (*ce == OP_ALT); in find_minlength()
[all …]
/PHP-7.4/ext/json/
H A Djson.c94 zend_class_entry ce; in PHP_MINIT_FUNCTION() local
96 INIT_CLASS_ENTRY(ce, "JsonSerializable", json_serializable_interface); in PHP_MINIT_FUNCTION()
97 php_json_serializable_ce = zend_register_internal_interface(&ce); in PHP_MINIT_FUNCTION()
99 INIT_CLASS_ENTRY(ce, "JsonException", NULL); in PHP_MINIT_FUNCTION()
100 php_json_exception_ce = zend_register_internal_class_ex(&ce, zend_ce_exception); in PHP_MINIT_FUNCTION()
/PHP-7.4/ext/intl/resourcebundle/
H A Dresourcebundle_iterator.h34 zend_object_iterator *resourcebundle_get_iterator( zend_class_entry *ce, zval *object, int byref );
/PHP-7.4/ext/mysqli/
H A Dmysqli_warning.c208 php_error_docref(NULL, E_WARNING, "Couldn't fetch %s", ZSTR_VAL(obj->zo.ce->name)); in mysqli_warning_message()
229 php_error_docref(NULL, E_WARNING, "Couldn't fetch %s", ZSTR_VAL(obj->zo.ce->name)); in mysqli_warning_sqlstate()
250 php_error_docref(NULL, E_WARNING, "Couldn't fetch %s", ZSTR_VAL(obj->zo.ce->name)); in mysqli_warning_errno()
280 if (obj->zo.ce == mysqli_link_class_entry) {
293 } else if (obj->zo.ce == mysqli_stmt_class_entry) {
/PHP-7.4/ext/dom/
H A Dxml_common.h68 ZSTR_VAL(__intern->std.ce->name));\
77 php_error_docref(NULL, E_WARNING, "Couldn't fetch %s", __intern->std.ce->name);\
/PHP-7.4/ext/standard/
H A Dvar_unserializer.re546 ZSTR_VAL(existing_propinfo->ce->name), ZSTR_LEN(existing_propinfo->ce->name),
666 if (ce->unserialize == NULL) {
668 object_init_ex(rval, ce);
1029 zend_class_entry *ce;
1075 ce = PHP_IC_ENTRY;
1081 ce = zend_lookup_class(class_name);
1082 if (ce) {
1100 ce = PHP_IC_ENTRY;
1119 ce = PHP_IC_ENTRY;
1138 ce = PHP_IC_ENTRY;
[all …]
/PHP-7.4/ext/intl/timezone/
H A Dtimezone_class.cpp375 static zend_object *TimeZone_object_create(zend_class_entry *ce) in TimeZone_object_create() argument
379 …intern = (TimeZone_object*)ecalloc(1, sizeof(TimeZone_object) + sizeof(zval) * (ce->default_proper… in TimeZone_object_create()
381 zend_object_std_init(&intern->zo, ce); in TimeZone_object_create()
382 object_properties_init(&intern->zo, ce); in TimeZone_object_create()
499 zend_class_entry ce; in timezone_register_IntlTimeZone_class() local
502 INIT_CLASS_ENTRY(ce, "IntlTimeZone", TimeZone_class_functions); in timezone_register_IntlTimeZone_class()
503 ce.create_object = TimeZone_object_create; in timezone_register_IntlTimeZone_class()
504 TimeZone_ce_ptr = zend_register_internal_class(&ce); in timezone_register_IntlTimeZone_class()

Completed in 158 milliseconds

1234567