/PHP-7.4/ext/intl/resourcebundle/ |
H A D | resourcebundle_iterator.h | 34 zend_object_iterator *resourcebundle_get_iterator( zend_class_entry *ce, zval *object, int byref );
|
/PHP-7.4/ext/intl/spoofchecker/ |
H A D | spoofchecker_class.c | 44 zend_object *Spoofchecker_object_create(zend_class_entry *ce) in Spoofchecker_object_create() argument 48 intern = zend_object_alloc(sizeof(Spoofchecker_object), ce); in Spoofchecker_object_create() 50 zend_object_std_init(&intern->zo, ce); in Spoofchecker_object_create() 51 object_properties_init(&intern->zo, ce); in Spoofchecker_object_create() 140 zend_class_entry ce; in spoofchecker_register_Spoofchecker_class() local 143 INIT_CLASS_ENTRY(ce, "Spoofchecker", Spoofchecker_class_functions); in spoofchecker_register_Spoofchecker_class() 144 ce.create_object = Spoofchecker_object_create; in spoofchecker_register_Spoofchecker_class() 145 Spoofchecker_ce_ptr = zend_register_internal_class(&ce); in spoofchecker_register_Spoofchecker_class()
|
/PHP-7.4/ext/intl/timezone/ |
H A D | timezone_class.cpp | 375 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()
|
/PHP-7.4/ext/intl/transliterator/ |
H A D | transliterator_class.c | 112 static zend_object *Transliterator_object_create( zend_class_entry *ce ) in Transliterator_object_create() argument 116 intern = zend_object_alloc(sizeof(Transliterator_object), ce); in Transliterator_object_create() 118 zend_object_std_init( &intern->zo, ce ); in Transliterator_object_create() 119 object_properties_init( &intern->zo, ce ); in Transliterator_object_create() 334 zend_class_entry ce; in transliterator_register_Transliterator_class() local 337 INIT_CLASS_ENTRY( ce, "Transliterator", Transliterator_class_functions ); in transliterator_register_Transliterator_class() 338 ce.create_object = Transliterator_object_create; in transliterator_register_Transliterator_class() 339 Transliterator_ce_ptr = zend_register_internal_class( &ce ); in transliterator_register_Transliterator_class()
|
/PHP-7.4/ext/intl/uchar/ |
H A D | uchar.c | 737 zend_class_entry tmp, *ce; in php_uchar_minit() local 740 ce = zend_register_internal_class(&tmp); in php_uchar_minit() 743 zend_declare_class_constant_long(ce, name, strlen(name), val); in php_uchar_minit() 745 …zend_declare_class_constant_string(ce, "UNICODE_VERSION", sizeof("UNICODE_VERISON")-1, U_UNICODE_V… in php_uchar_minit() 748 …zend_declare_class_constant_double(ce, "NO_NUMERIC_VALUE", sizeof("NO_NUMERIC_VALUE")-1, U_NO_NUME… in php_uchar_minit()
|
/PHP-7.4/ext/json/ |
H A D | json.c | 94 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()
|
H A D | json_encoder.c | 473 zend_class_entry *ce = Z_OBJCE_P(val); in php_json_encode_serializable_object() local 492 zend_throw_exception_ex(NULL, 0, "Failed calling %s::jsonSerialize()", ZSTR_VAL(ce->name)); in php_json_encode_serializable_object()
|
/PHP-7.4/ext/libxml/ |
H A D | libxml.c | 848 zend_class_entry ce; in PHP_MINIT_FUNCTION() local 897 INIT_CLASS_ENTRY(ce, "LibXMLError", NULL); in PHP_MINIT_FUNCTION() 898 libxmlerror_class_entry = zend_register_internal_class(&ce); in PHP_MINIT_FUNCTION() 1218 zval *php_libxml_register_export(zend_class_entry *ce, php_libxml_export_node export_function) in php_libxml_register_export() argument 1226 return zend_hash_add_mem(&php_libxml_exports, ce->name, &export_hnd, sizeof(export_hnd)); in php_libxml_register_export() 1231 zend_class_entry *ce = NULL; in php_libxml_import_node() local 1236 ce = Z_OBJCE_P(object); in php_libxml_import_node() 1237 while (ce->parent != NULL) { in php_libxml_import_node() 1238 ce = ce->parent; in php_libxml_import_node() 1240 if ((export_hnd = zend_hash_find_ptr(&php_libxml_exports, ce->name))) { in php_libxml_import_node()
|
H A D | php_libxml.h | 99 PHP_LIBXML_API zval *php_libxml_register_export(zend_class_entry *ce, php_libxml_export_node export…
|
/PHP-7.4/ext/mysqli/ |
H A D | mysqli.c | 572 zend_class_entry *ce,cex; in PHP_MINIT_FUNCTION() local 613 ce = mysqli_driver_class_entry; in PHP_MINIT_FUNCTION() 622 ce->ce_flags |= ZEND_ACC_FINAL; in PHP_MINIT_FUNCTION() 626 ce = mysqli_link_class_entry; in PHP_MINIT_FUNCTION() 651 ce->ce_flags |= ZEND_ACC_FINAL; in PHP_MINIT_FUNCTION() 660 ce = mysqli_result_class_entry; in PHP_MINIT_FUNCTION() 673 ce = mysqli_stmt_class_entry; in PHP_MINIT_FUNCTION() 1228 zend_class_entry *ce = NULL; in php_mysqli_fetch_into_hash() local 1241 if (!ce) { in php_mysqli_fetch_into_hash() 1280 if (!ce->default_properties_count && !ce->__set) { in php_mysqli_fetch_into_hash() [all …]
|
H A D | mysqli_nonapi.c | 742 php_error_docref(NULL, E_WARNING, "[%d] Couldn't fetch %s", i, ZSTR_VAL(intern->zo.ce->name)); 747 …php_error_docref(NULL, E_WARNING, "Invalid object %d or resource %s", i, ZSTR_VAL(intern->zo.ce->n… 778 php_error_docref(NULL, E_WARNING, "[%d] Couldn't fetch %s", i, ZSTR_VAL(intern->zo.ce->name));
|
H A D | mysqli_prop.c | 45 php_error_docref(NULL, E_WARNING, "Couldn't fetch %s", ZSTR_VAL(obj->zo.ce->name)); \ 58 php_error_docref(NULL, E_WARNING, "Couldn't fetch %s", ZSTR_VAL(obj->zo.ce->name)); \ 71 php_error_docref(NULL, E_WARNING, "Couldn't fetch %s", ZSTR_VAL(obj->zo.ce->name)); \
|
H A D | mysqli_result_iterator.c | 45 zend_object_iterator *php_mysqli_result_get_iterator(zend_class_entry *ce, zval *object, int by_ref) in php_mysqli_result_get_iterator() argument
|
H A D | mysqli_warning.c | 208 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) {
|
H A D | php_mysqli_structs.h | 199 extern zend_object_iterator *php_mysqli_result_get_iterator(zend_class_entry *ce, zval *object, int… 214 zend_class_entry ce; \ 215 INIT_CLASS_ENTRY(ce, name,class_functions); \ 216 ce.create_object = mysqli_objects_new; \ 217 mysqli_entry = zend_register_internal_class(&ce); \ 242 php_error_docref(NULL, E_WARNING, "Couldn't fetch %s", ZSTR_VAL(intern->zo.ce->name));\ 247 …php_error_docref(NULL, E_WARNING, "invalid object or resource %s\n", ZSTR_VAL(intern->zo.ce->name)… 256 php_error_docref(NULL, E_WARNING, "Couldn't fetch %s", ZSTR_VAL(intern->zo.ce->name));\ 261 …php_error_docref(NULL, E_WARNING, "invalid object or resource %s\n", ZSTR_VAL(intern->zo.ce->name)… 271 …php_error_docref(NULL, E_WARNING, "invalid object or resource %s\n", ZSTR_VAL(intern->zo.ce->name)… [all …]
|
/PHP-7.4/ext/opcache/Optimizer/ |
H A D | dfa_pass.c | 343 if (!use_info->ce || !def_info->ce || !safe_instanceof(use_info->ce, def_info->ce)) { in can_elide_return_type_check()
|
H A D | escape_analysis.c | 154 if (ce) { in get_class_entry() 155 return ce; in get_class_entry() 158 ce = zend_hash_find_ptr(CG(class_table), lcname); in get_class_entry() 159 if (ce && ce->type == ZEND_INTERNAL_CLASS) { in get_class_entry() 160 return ce; in get_class_entry() 184 if (ce && !ce->create_object && !ce->constructor && in is_allocation_def() 185 !ce->destructor && !ce->__get && !ce->__set && in is_allocation_def() 186 !(ce->ce_flags & forbidden_flags) && in is_allocation_def() 249 if (ce && !ce->create_object && !ce->constructor && in is_local_def() 250 !ce->destructor && !ce->__get && !ce->__set && in is_local_def() [all …]
|
H A D | pass1_5.c | 190 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 …]
|
H A D | sccp.c | 1204 if (!var_info->ce || (var_info->ce->ce_flags & ZEND_ACC_HAS_TYPE_HINTS)) { in sccp_visit_instr()
|
H A D | zend_call_graph.c | 55 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 D | zend_dump.c | 170 static void zend_dump_type_info(uint32_t info, zend_class_entry *ce, int is_instanceof, uint32_t du… in zend_dump_type_info() argument 196 if (ce) { in zend_dump_type_info() 198 fprintf(stderr, " (instanceof %s)", ce->name->val); in zend_dump_type_info() 200 fprintf(stderr, " (%s)", ce->name->val); in zend_dump_type_info() 304 if (ce) { in zend_dump_type_info() 306 fprintf(stderr, " (instanceof %s)", ce->name->val); in zend_dump_type_info() 308 fprintf(stderr, " (%s)", ce->name->val); in zend_dump_type_info() 333 ssa->var_info[ssa_var_num].ce, in zend_dump_ssa_var_info() 334 ssa->var_info[ssa_var_num].ce ? in zend_dump_ssa_var_info() 367 zend_dump_type_info(constraint->type_mask, constraint->ce, 1, dump_flags); in zend_dump_type_constraint() [all …]
|
H A D | zend_inference.c | 2256 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 D | zend_optimizer.c | 786 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 D | zend_ssa.c | 151 phi->constraint.type.ce = NULL; in pi_type_mask() 509 zend_class_entry *ce = script ? zend_hash_find_ptr(&script->class_table, lcname) : NULL; in place_essa_pis() local 510 if (!ce) { in place_essa_pis() 511 ce = zend_hash_find_ptr(CG(class_table), lcname); in place_essa_pis() 512 if (!ce || ce->type != ZEND_INTERNAL_CLASS) { in place_essa_pis() 519 pi->constraint.type.ce = ce; in place_essa_pis()
|
H A D | zend_ssa.h | 53 zend_class_entry *ce; /* Class entry for instanceof constraints */ member 126 zend_class_entry *ce; member
|