Home
last modified time | relevance | path

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

1234567

/PHP-7.2/Zend/
H A Dzend_compile.c1130 ZEND_ASSERT(ce); in do_bind_class()
1131 ce->refcount++; in do_bind_class()
1147 return ce; in do_bind_class()
1167 if (!ce) { in do_bind_inherited_class()
1185 ce->refcount++; in do_bind_inherited_class()
1191 return ce; in do_bind_inherited_class()
1558 if (ce) { in zend_try_ct_eval_class_const()
1787 ce->static_members_table = ce->default_static_members_table; in zend_initialize_class_data()
4136 if (ce) { in zend_compile_static_call()
6850 if (ce) { in zend_try_ct_eval_magic_const()
[all …]
H A Dzend_execute_API.c420 *space = ce ? "::" : ""; in get_active_class_name()
422 return ce ? ZSTR_VAL(ce->name) : ""; in get_active_class_name()
897 zend_class_entry *ce = NULL; in zend_lookup_class_ex() local
920 if (ce) { in zend_lookup_class_ex()
924 return ce; in zend_lookup_class_ex()
1006 return ce; in zend_lookup_class_ex()
1388 if (UNEXPECTED(!ce)) { in zend_fetch_class()
1392 return ce; in zend_fetch_class()
1416 return ce; in zend_fetch_class()
1422 zend_class_entry *ce; in zend_fetch_class_by_name() local
[all …]
H A Dzend_constants.c235 return (c->ce == scope); in zend_verify_const_access()
238 return zend_check_protected(c->ce, scope); in zend_verify_const_access()
289 zend_class_entry *ce = NULL; in zend_get_constant_ex() local
314 ce = scope; in zend_get_constant_ex()
323 ce = scope->parent; in zend_get_constant_ex()
326 ce = zend_get_called_scope(EG(current_execute_data)); in zend_get_constant_ex()
327 if (UNEXPECTED(!ce)) { in zend_get_constant_ex()
332 ce = zend_fetch_class(class_name, flags); in zend_get_constant_ex()
334 if (ce) { in zend_get_constant_ex()
335 c = zend_hash_find_ptr(&ce->constants_table, constant_name); in zend_get_constant_ex()
[all …]
H A Dzend_execute.h301 void zend_verify_abstract_class(zend_class_entry *ce);
339 #define CACHED_POLYMORPHIC_PTR(num, ce) \ argument
340 (EXPECTED(((void**)((char*)EX_RUN_TIME_CACHE() + (num)))[0] == (void*)(ce)) ? \
344 #define CACHE_POLYMORPHIC_PTR(num, ce, ptr) do { \ argument
346 slot[0] = (ce); \
357 #define CACHED_POLYMORPHIC_PTR_EX(slot, ce) \ argument
358 (EXPECTED((slot)[0] == (ce)) ? (slot)[1] : NULL)
360 #define CACHE_POLYMORPHIC_PTR_EX(slot, ce, ptr) do { \ argument
361 (slot)[0] = (ce); \
H A Dzend_API.h248 …efine CE_STATIC_MEMBERS(ce) (((ce)->type==ZEND_USER_CLASS)?(ce)->static_members_table:CG(static_me… argument
250 # define CE_STATIC_MEMBERS(ce) ((ce)->static_members_table) argument
309 #define zend_register_class_alias(name, ce) \ argument
310 zend_register_class_alias_ex(name, sizeof(name)-1, ce)
311 #define zend_register_ns_class_alias(ns, name, ce) \ argument
396 #define object_init_ex(arg, ce) _object_init_ex((arg), (ce) ZEND_FILE_LINE_CC) argument
397 #define object_and_properties_init(arg, ce, properties) _object_and_properties_init((arg), (ce), (p… argument
400 ZEND_API int _object_init_ex(zval *arg, zend_class_entry *ce ZEND_FILE_LINE_DC);
566 ZEND_API zend_string *zend_find_alias_name(zend_class_entry *ce, zend_string *name);
569 ZEND_API const char *zend_get_object_type(const zend_class_entry *ce);
[all …]
H A Dzend_closures.c187 zend_class_entry *ce, *called_scope; in ZEND_METHOD() local
197 ce = Z_OBJCE_P(scope_arg); in ZEND_METHOD()
199 ce = NULL; in ZEND_METHOD()
203 ce = closure->func.common.scope; in ZEND_METHOD()
212 ce = closure->func.common.scope; in ZEND_METHOD()
222 called_scope = ce; in ZEND_METHOD()
272 if (fcc.object && fcc.object->ce == zend_ce_closure in zend_create_closure_from_callable()
611 zend_class_entry ce; in zend_register_closure_ce() local
613 INIT_CLASS_ENTRY(ce, "Closure", closure_functions); in zend_register_closure_ce()
614 zend_ce_closure = zend_register_internal_class(&ce); in zend_register_closure_ce()
[all …]
H A Dzend_execute.c661 if (ce) { in zend_verify_type_error_common()
726 zf, arg_info, ce, value, in zend_verify_arg_error()
839 if (UNEXPECTED(!*ce)) { in zend_check_type()
876 zend_class_entry *ce; in zend_verify_arg_type() local
946 zf, arg_info, ce, value, in zend_verify_return_error()
962 zf, arg_info, ce, value, in zend_verify_internal_return_error()
990 zend_class_entry *ce = NULL; in zend_verify_internal_return_type() local
1013 zend_class_entry *ce = NULL; in zend_verify_return_type() local
1031 if (ce) { in zend_verify_missing_return_type()
1032 *cache_slot = (void*)ce; in zend_verify_missing_return_type()
[all …]
H A Dzend_vm_def.h3153 fbc = ce->get_static_method(ce, Z_STR_P(function_name));
3198 ce = object->ce;
4097 ce = EG(exception)->ce;
4422 if (!ce || !ce->get_iterator) {
4426 iter = ce->get_iterator(ce, args, 0);
4905 ce,
4954 clone = ce->clone;
5671 zend_object_iterator *iter = ce->get_iterator(ce, array_ptr, 0);
5794 zend_object_iterator *iter = ce->get_iterator(ce, array_ptr, 1);
6904 result = ce && instanceof_function(Z_OBJCE_P(expr), ce);
[all …]
/PHP-7.2/ext/spl/
H A Dspl_iterators.c269 ce = object->iterators[object->level].ce; in spl_recursive_it_move_forward_ex()
331 ce = object->iterators[object->level].ce; in spl_recursive_it_move_forward_ex()
363 sub_iter = ce->get_iterator(ce, &child, 0); in spl_recursive_it_move_forward_ex()
366 object->iterators[object->level].ce = ce; in spl_recursive_it_move_forward_ex()
773 zend_class_entry *ce; in SPL_METHOD() local
784 SPL_FETCH_SUB_ELEMENT(ce, object, ce); in SPL_METHOD()
802 zend_class_entry *ce; in SPL_METHOD() local
809 SPL_FETCH_SUB_ELEMENT(ce, object, ce); in SPL_METHOD()
1517 ce = ce_cast; in spl_dual_it_construct()
1603 intern->inner.ce = dit_type == DIT_IteratorIterator ? ce : Z_OBJCE_P(zobject); in spl_dual_it_construct()
[all …]
H A Dspl_directory.c458 ce = ce ? ce : source->info_class; in spl_filesystem_object_create_info()
460 zend_update_class_constants(ce); in spl_filesystem_object_create_info()
467 zend_call_method_with_1_params(return_value, ce, &ce->constructor, "__construct", NULL, &arg1); in spl_filesystem_object_create_info()
500 ce = ce ? ce : source->info_class; in spl_filesystem_object_create_type()
512 zend_call_method_with_1_params(return_value, ce, &ce->constructor, "__construct", NULL, &arg1); in spl_filesystem_object_create_type()
522 ce = ce ? ce : source->file_class; in spl_filesystem_object_create_type()
537 …zend_call_method_with_2_params(return_value, ce, &ce->constructor, "__construct", NULL, &arg1, &ar… in spl_filesystem_object_create_type()
1354 intern->file_class = ce; in SPL_METHOD()
1366 zend_class_entry *ce = spl_ce_SplFileInfo; in SPL_METHOD() local
1372 intern->info_class = ce; in SPL_METHOD()
[all …]
/PHP-7.2/ext/readline/
H A Dreadline_cli.c475 zend_class_entry *ce; in cli_completion_generator_class() local
476 char *retval = cli_completion_generator_ht(text, textlen, state, EG(class_table), (void**)&ce); in cli_completion_generator_class()
479 retval = strdup(ZSTR_VAL(ce->name)); in cli_completion_generator_class()
524 zend_class_entry *ce = NULL; in cli_completion_generator() local
531 if ((ce = zend_lookup_class(class_name)) == NULL) { in cli_completion_generator()
544 …retval = cli_completion_generator_func(lc_text, textlen, &cli_completion_state, ce ? &ce->function… in cli_completion_generator()
550 …retval = cli_completion_generator_define(text, textlen, &cli_completion_state, ce ? &ce->constants… in cli_completion_generator()
551 if (retval || ce) { in cli_completion_generator()
565 if (ce && retval) { in cli_completion_generator()
569 snprintf(tmp, len, "%s::%s", ZSTR_VAL(ce->name), retval); in cli_completion_generator()
/PHP-7.2/ext/xsl/
H A Dphp_xsl.c131 zend_class_entry ce; in PHP_MINIT_FUNCTION() local
138 …REGISTER_XSL_CLASS(ce, "XSLTProcessor", NULL, php_xsl_xsltprocessor_class_functions, xsl_xsltproce… in PHP_MINIT_FUNCTION()
206 zend_class_entry *ce; in php_xsl_create_object() local
226 ce = xsl_xsltprocessor_class_entry; in php_xsl_create_object()
229 object_init_ex(wrapper, ce); in php_xsl_create_object()
/PHP-7.2/ext/standard/
H A Dvar_unserializer.c447 ZSTR_VAL(existing_propinfo->ce->name), ZSTR_LEN(existing_propinfo->ce->name), in process_nested_data()
529 if (ce->unserialize == NULL) { in object_custom()
531 object_init_ex(rval, ce); in object_custom()
553 if (ce->serialize == NULL) { in object_common1()
554 object_init_ex(rval, ce); in object_common1()
1146 zend_class_entry *ce; in php_var_unserialize_internal() local
1192 ce = PHP_IC_ENTRY; in php_var_unserialize_internal()
1199 if (ce) { in php_var_unserialize_internal()
1217 ce = PHP_IC_ENTRY; in php_var_unserialize_internal()
1236 ce = PHP_IC_ENTRY; in php_var_unserialize_internal()
[all …]
H A Dvar_unserializer.re451 ZSTR_VAL(existing_propinfo->ce->name), ZSTR_LEN(existing_propinfo->ce->name),
533 if (ce->unserialize == NULL) {
535 object_init_ex(rval, ce);
557 if (ce->serialize == NULL) {
558 object_init_ex(rval, ce);
889 zend_class_entry *ce;
935 ce = PHP_IC_ENTRY;
942 if (ce) {
960 ce = PHP_IC_ENTRY;
979 ce = PHP_IC_ENTRY;
[all …]
/PHP-7.2/ext/curl/
H A Dcurl_file.c170 zend_class_entry ce; in curlfile_register_class() local
171 INIT_CLASS_ENTRY( ce, "CURLFile", curlfile_funcs ); in curlfile_register_class()
172 curl_CURLFile_class = zend_register_internal_class(&ce); in curlfile_register_class()
/PHP-7.2/ext/intl/breakiterator/
H A Dbreakiterator_iterators.cpp94 zend_class_entry *ce, zval *object, int by_ref) in _breakiterator_get_iterator() argument
237 U_CFUNC zend_object *IntlPartsIterator_object_create(zend_class_entry *ce) in IntlPartsIterator_object_create() argument
239 zend_object *retval = IntlIterator_ce_ptr->create_object(ce); in IntlPartsIterator_object_create()
306 zend_class_entry ce; in breakiterator_register_IntlPartsIterator_class() local
309 INIT_CLASS_ENTRY(ce, "IntlPartsIterator", IntlPartsIterator_class_functions); in breakiterator_register_IntlPartsIterator_class()
310 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.2/ext/opcache/Optimizer/
H A Dpass1_5.c265 zend_class_entry *ce = NULL; in zend_optimizer_pass1() local
273 ce = op_array->scope; in zend_optimizer_pass1()
275 if ((ce = zend_hash_find_ptr(EG(class_table), in zend_optimizer_pass1()
277 (ce->type == ZEND_INTERNAL_CLASS && in zend_optimizer_pass1()
278 ce->info.internal.module->type != MODULE_PERSISTENT) || in zend_optimizer_pass1()
279 (ce->type == ZEND_USER_CLASS && in zend_optimizer_pass1()
280 ce->info.user.filename != op_array->filename)) { in zend_optimizer_pass1()
288 ce = op_array->scope; in zend_optimizer_pass1()
296 ce = op_array->scope; in zend_optimizer_pass1()
299 if (ce) { in zend_optimizer_pass1()
[all …]
/PHP-7.2/ext/zend_test/
H A Dtest.c141 fptr->scope = (*object)->ce; in zend_test_class_method_get()
151 static zend_function *zend_test_class_static_method_get(zend_class_entry *ce, zend_string *name) /*… in zend_test_class_static_method_get() argument
157 fptr->scope = ce; in zend_test_class_static_method_get()
165 return zend_std_get_static_method(ce, name, NULL); in zend_test_class_static_method_get()
/PHP-7.2/ext/pcre/pcrelib/
H A Dpcre_study.c106 pcre_uchar *cs, *ce; in find_minlength() local
398 ce = cs = (pcre_uchar *)PRIV(find_bracket)(startcode, utf, GET2(slot, 0)); in find_minlength()
400 do ce += GET(ce, 1); while (*ce == OP_ALT); in find_minlength()
401 if (cc > cs && cc < ce) /* Simple recursion */ in find_minlength()
438 ce = cs = (pcre_uchar *)PRIV(find_bracket)(startcode, utf, GET2(cc, 1)); in find_minlength()
440 do ce += GET(ce, 1); while (*ce == OP_ALT); in find_minlength()
441 if (cc > cs && cc < ce) /* Simple recursion */ in find_minlength()
508 cs = ce = (pcre_uchar *)startcode + GET(cc, 1); in find_minlength()
509 do ce += GET(ce, 1); while (*ce == OP_ALT); in find_minlength()
510 if (cc > cs && cc < ce) /* Simple recursion */ in find_minlength()
/PHP-7.2/ext/intl/timezone/
H A Dtimezone_class.cpp372 static zend_object *TimeZone_object_create(zend_class_entry *ce) in TimeZone_object_create() argument
376 …intern = (TimeZone_object*)ecalloc(1, sizeof(TimeZone_object) + sizeof(zval) * (ce->default_proper… in TimeZone_object_create()
378 zend_object_std_init(&intern->zo, ce); in TimeZone_object_create()
379 object_properties_init(&intern->zo, ce); in TimeZone_object_create()
502 zend_class_entry ce; in timezone_register_IntlTimeZone_class() local
505 INIT_CLASS_ENTRY(ce, "IntlTimeZone", TimeZone_class_functions); in timezone_register_IntlTimeZone_class()
506 ce.create_object = TimeZone_object_create; in timezone_register_IntlTimeZone_class()
507 TimeZone_ce_ptr = zend_register_internal_class(&ce); in timezone_register_IntlTimeZone_class()
/PHP-7.2/ext/com_dotnet/
H A Dcom_handlers.c285 f.scope = obj->ce; in com_method_get()
407 f.function_name = obj->ce->name; \ in com_constructor_get()
408 f.scope = obj->ce; \ in com_constructor_get()
415 switch (obj->ce->name->val[0]) { in com_constructor_get()
436 return zend_string_copy(obj->ce->name); in com_class_name_get()
651 zend_object* php_com_object_new(zend_class_entry *ce) in php_com_object_new() argument
661 obj->ce = ce; in php_com_object_new()
663 zend_object_std_init(&obj->zo, ce); in php_com_object_new()
/PHP-7.2/ext/intl/resourcebundle/
H A Dresourcebundle_iterator.h34 zend_object_iterator *resourcebundle_get_iterator( zend_class_entry *ce, zval *object, int byref );
/PHP-7.2/ext/dom/
H A Dxml_common.h70 ZSTR_VAL(__intern->std.ce->name));\
79 php_error_docref(NULL, E_WARNING, "Couldn't fetch %s", __intern->std.ce->name);\
/PHP-7.2/ext/intl/
H A Dintl_error.c235 zend_class_entry ce; in intl_register_IntlException_class() local
238 INIT_CLASS_ENTRY_EX( ce, "IntlException", sizeof( "IntlException" ) - 1, NULL ); in intl_register_IntlException_class()
239 IntlException_ce_ptr = zend_register_internal_class_ex( &ce, in intl_register_IntlException_class()

Completed in 166 milliseconds

1234567