/PHP-8.3/ext/spl/ |
H A D | spl_functions.c | 27 …if (!allow || (allow > 0 && (pce->ce_flags & ce_flags)) || (allow < 0 && !(pce->ce_flags & ce_flag… in spl_add_class_name() 32 ZVAL_STR_COPY(&t, pce->name); in spl_add_class_name() 33 zend_hash_add(Z_ARRVAL_P(list), pce->name, &t); in spl_add_class_name() 42 if (pce->num_interfaces) { in spl_add_interfaces() 43 ZEND_ASSERT(pce->ce_flags & ZEND_ACC_LINKED); in spl_add_interfaces() 69 ZEND_ASSERT(pce); in spl_add_classes() 70 spl_add_class_name(list, pce, allow, ce_flags); in spl_add_classes() 72 spl_add_interfaces(list, pce, allow, ce_flags); in spl_add_classes() 73 while (pce->parent) { in spl_add_classes() 74 pce = pce->parent; in spl_add_classes() [all …]
|
H A D | spl_engine.h | 24 static inline void spl_instantiate_arg_ex1(zend_class_entry *pce, zval *retval, zval *arg1) in spl_instantiate_arg_ex1() argument 26 object_init_ex(retval, pce); in spl_instantiate_arg_ex1() 27 zend_call_known_instance_method_with_1_params(pce->constructor, Z_OBJ_P(retval), NULL, arg1); in spl_instantiate_arg_ex1() 31 zend_class_entry *pce, zval *retval, zval *arg1, zval *arg2) in spl_instantiate_arg_ex2() argument 33 object_init_ex(retval, pce); in spl_instantiate_arg_ex2() 35 pce->constructor, Z_OBJ_P(retval), NULL, arg1, arg2); in spl_instantiate_arg_ex2() 39 zend_class_entry *pce, zval *retval, uint32_t argc, zval *argv) in spl_instantiate_arg_n() argument 41 object_init_ex(retval, pce); in spl_instantiate_arg_n() 42 zend_call_known_instance_method(pce->constructor, Z_OBJ_P(retval), NULL, argc, argv); in spl_instantiate_arg_n()
|
H A D | spl_functions.h | 29 void spl_add_class_name(zval * list, zend_class_entry * pce, int allow, int ce_flags); 30 void spl_add_interfaces(zval * list, zend_class_entry * pce, int allow, int ce_flags); 31 void spl_add_traits(zval * list, zend_class_entry * pce, int allow, int ce_flags); 32 void spl_add_classes(zend_class_entry *pce, zval *list, bool sub, int allow, int ce_flags);
|
H A D | spl_iterators.c | 135 pcre_cache_entry *pce; member 1424 intern->u.regex.pce = pcre_get_compiled_regex_cache(regex); in spl_dual_it_construct() 1427 if (intern->u.regex.pce == NULL) { in spl_dual_it_construct() 1433 php_pcre_pce_incref(intern->u.regex.pce); in spl_dual_it_construct() 1870 re = php_pcre_pce_re(intern->u.regex.pce); in PHP_METHOD() 1884 php_pcre_match_impl(intern->u.regex.pce, subject, &zcount, in PHP_METHOD() 1892 …php_pcre_split_impl(intern->u.regex.pce, subject, &intern->current.data, -1, intern->u.regex.preg_… in PHP_METHOD() 1904 …result = php_pcre_replace_impl(intern->u.regex.pce, subject, ZSTR_VAL(subject), ZSTR_LEN(subject),… in PHP_METHOD() 2125 if (object->u.regex.pce) { in spl_dual_it_free_storage() 2126 php_pcre_pce_decref(object->u.regex.pce); in spl_dual_it_free_storage()
|
H A D | spl_array.c | 1546 static void spl_instantiate_child_arg(zend_class_entry *pce, zval *retval, zval *arg1, zval *arg2) … in spl_instantiate_child_arg() argument 1548 object_init_ex(retval, pce); in spl_instantiate_child_arg() 1558 zend_call_known_instance_method_with_2_params(pce->constructor, Z_OBJ_P(retval), NULL, arg1, arg2); in spl_instantiate_child_arg()
|
/PHP-8.3/ext/pcre/ |
H A D | php_pcre.c | 170 if (!pce) return; in php_free_pcre_cache() 172 free(pce); in php_free_pcre_cache() 179 if (!pce) return; in php_efree_pcre_cache() 181 efree(pce); in php_efree_pcre_cache() 906 *capture_count = pce ? pce->capture_count : 0; in pcre_get_compiled_regex() 909 return pce ? pce->re : NULL; in pcre_get_compiled_regex() 1119 pce->refcount++; in php_do_pcre_match() 1122 pce->refcount--; in php_do_pcre_match() 1570 pce->refcount++; in php_pcre_replace() 1573 pce->refcount--; in php_pcre_replace() [all …]
|
H A D | php_pcre.h | 52 PHPAPI void php_pcre_match_impl(pcre_cache_entry *pce, zend_string *subject_str, zval *return_valu… 55 PHPAPI zend_string *php_pcre_replace_impl(pcre_cache_entry *pce, zend_string *subject_str, const ch… 58 PHPAPI void php_pcre_split_impl( pcre_cache_entry *pce, zend_string *subject_str, zval *return_va… 61 PHPAPI void php_pcre_grep_impl( pcre_cache_entry *pce, zval *input, zval *return_value,
|
/PHP-8.3/sapi/cli/ |
H A D | php_cli.c | 1050 zend_class_entry *pce = NULL; in do_cli() local 1059 pce = reflection_method_ptr; in do_cli() 1061 pce = reflection_function_ptr; in do_cli() 1065 pce = reflection_class_ptr; in do_cli() 1068 pce = reflection_extension_ptr; in do_cli() 1071 pce = reflection_zend_extension_ptr; in do_cli() 1076 object_init_ex(&ref, pce); in do_cli() 1082 pce->constructor, Z_OBJ(ref), NULL, &arg); in do_cli()
|
/PHP-8.3/sapi/phpdbg/ |
H A D | phpdbg_info.c | 408 zend_class_entry *pce = ce->parent; in PHPDBG_INFO() local 411 phpdbg_print_class_name(pce); in PHPDBG_INFO() 412 } while ((pce = pce->parent)); in PHPDBG_INFO()
|
/PHP-8.3/ext/pdo/ |
H A D | pdo_dbh.c | 502 zend_class_entry *dbstmt_ce, *pce; in PHP_METHOD() local 532 if (Z_TYPE_P(item) != IS_STRING || (pce = zend_lookup_class(Z_STR_P(item))) == NULL) { in PHP_METHOD() 536 dbstmt_ce = pce; in PHP_METHOD() 805 zend_class_entry *pce; in pdo_dbh_attribute_set() local 826 if (Z_TYPE_P(item) != IS_STRING || (pce = zend_lookup_class(Z_STR_P(item))) == NULL) { in pdo_dbh_attribute_set() 830 if (!instanceof_function(pce, pdo_dbstmt_ce)) { in pdo_dbh_attribute_set() 834 …if (pce->constructor && !(pce->constructor->common.fn_flags & (ZEND_ACC_PRIVATE|ZEND_ACC_PROTECTED… in pdo_dbh_attribute_set() 838 dbh->def_stmt_ce = pce; in pdo_dbh_attribute_set()
|
/PHP-8.3/ext/date/ |
H A D | php_date.h | 143 PHPAPI zval *php_date_instantiate(zend_class_entry *pce, zval *object);
|
H A D | php_date.c | 2347 PHPAPI zval *php_date_instantiate(zend_class_entry *pce, zval *object) /* {{{ */ in php_date_instantiate() argument 2349 object_init_ex(object, pce); in php_date_instantiate()
|
/PHP-8.3/ext/fileinfo/libmagic/ |
H A D | funcs.c | 648 pcre_cache_entry *pce; in file_replace() local 655 if ((pce = pcre_get_compiled_regex_cache_ex(pattern, 0)) == NULL) { in file_replace() 663 res = php_pcre_replace_impl(pce, NULL, ms->o.buf, strlen(ms->o.buf), repl, -1, &rep_cnt); in file_replace()
|
H A D | softmagic.c | 489 pcre_cache_entry *pce; in check_fmt() local 497 if ((pce = pcre_get_compiled_regex_cache_ex(pattern, 0)) == NULL) { in check_fmt() 500 pcre2_code *re = php_pcre_pce_re(pce); in check_fmt() 2242 pcre_cache_entry *pce; in magiccheck() local 2253 if ((pce = pcre_get_compiled_regex_cache(pattern)) == NULL) { in magiccheck() 2269 php_pcre_match_impl(pce, haystack, &retval, &subpats, 0, 1, PREG_OFFSET_CAPTURE, 0); in magiccheck()
|
H A D | apprentice.c | 2803 pcre_cache_entry *pce; in getvalue() local 2807 if ((pce = pcre_get_compiled_regex_cache(pattern)) == NULL) { in getvalue()
|
/PHP-8.3/Zend/ |
H A D | zend_API.c | 446 *pce = NULL; in zend_parse_arg_class() 450 *pce = NULL; in zend_parse_arg_class() 456 if ((!*pce || !instanceof_function(*pce, ce_base))) { in zend_parse_arg_class() 458 *pce = NULL; in zend_parse_arg_class() 462 if (!*pce) { in zend_parse_arg_class() 954 *pce = NULL; in zend_parse_arg_impl() 958 *pce = NULL; in zend_parse_arg_impl() 963 *pce = NULL; in zend_parse_arg_impl() 968 if ((!*pce || !instanceof_function(*pce, ce_base))) { in zend_parse_arg_impl() 971 *pce = NULL; in zend_parse_arg_impl() [all …]
|
H A D | zend_inheritance.c | 2883 static zend_class_entry *zend_lazy_class_load(zend_class_entry *pce) in zend_lazy_class_load() argument 2889 memcpy(ce, pce, sizeof(zend_class_entry)); in zend_lazy_class_load() 2924 ZEND_ASSERT(op_array->scope == pce); in zend_lazy_class_load() 2974 ZEND_ASSERT(prop_info->ce == pce); in zend_lazy_class_load() 2995 ZEND_ASSERT(c->ce == pce); in zend_lazy_class_load()
|
/PHP-8.3/ext/readline/ |
H A D | readline_cli.c | 505 zend_class_entry **pce; in cli_completion_generator_define() local 506 char *retval = cli_completion_generator_ht(text, textlen, state, ht, (void**)&pce); in cli_completion_generator_define()
|
/PHP-8.3/Zend/Optimizer/ |
H A D | zend_inference.h | 229 const zend_script *script, const zend_arg_info *arg_info, zend_class_entry **pce);
|
H A D | zend_inference.c | 2372 static uint32_t zend_convert_type(const zend_script *script, zend_type type, zend_class_entry **pce) in zend_convert_type() argument 2374 if (pce) { in zend_convert_type() 2375 *pce = NULL; in zend_convert_type() 2385 if (pce) { in zend_convert_type() 2391 *pce = zend_optimizer_get_class_entry(script, NULL, lcname); in zend_convert_type() 2402 …tch_arg_info_type(const zend_script *script, const zend_arg_info *arg_info, zend_class_entry **pce) in zend_fetch_arg_info_type() argument 2404 return zend_convert_type(script, arg_info->type, pce); in zend_fetch_arg_info_type() 2493 …h_prop_type(const zend_script *script, const zend_property_info *prop_info, zend_class_entry **pce) in zend_fetch_prop_type() argument 2496 if (pce) { in zend_fetch_prop_type() 2497 *pce = NULL; in zend_fetch_prop_type() [all …]
|
/PHP-8.3/ext/fileinfo/ |
H A D | libmagic.patch | 514 + pcre_cache_entry *pce; 518 + if ((pce = pcre_get_compiled_regex_cache(pattern)) == NULL) { 2037 + pcre_cache_entry *pce; 2044 + if ((pce = pcre_get_compiled_regex_cache_ex(pattern, 0)) == NULL) { 2950 + pcre_cache_entry *pce; 2962 + if ((pce = pcre_get_compiled_regex_cache_ex(pattern, 0)) == NULL) { 2965 + pcre2_code *re = php_pcre_pce_re(pce); 3130 + pcre_cache_entry *pce; 3178 + if ((pce = pcre_get_compiled_regex_cache(pattern)) == NULL) { 3182 + /* pce now contains the compiled regex */ [all …]
|
/PHP-8.3/ext/tidy/ |
H A D | tidy.c | 459 static zval *tidy_instantiate(zend_class_entry *pce, zval *object) in tidy_instantiate() argument 461 object_init_ex(object, pce); in tidy_instantiate()
|
/PHP-8.3/ext/imap/ |
H A D | php_imap.c | 797 pcre_cache_entry *pce; /* Compiled regex */ in PHP_FUNCTION() local 802 if ((pce = pcre_get_compiled_regex_cache(regex))== NULL) { in PHP_FUNCTION() 808 php_pcre_match_impl(pce, internal_date, return_value, subpats, global, in PHP_FUNCTION()
|
/PHP-8.3/ext/soap/ |
H A D | php_encoding.c | 1406 …atic zval *to_zval_object_ex(zval *ret, encodeTypePtr type, xmlNodePtr data, zend_class_entry *pce) in to_zval_object_ex() argument 1414 if (pce) { in to_zval_object_ex() 1415 ce = pce; in to_zval_object_ex()
|
/PHP-8.3/ext/reflection/ |
H A D | php_reflection.c | 290 static zval *reflection_instantiate(zend_class_entry *pce, zval *object) /* {{{ */ in reflection_instantiate() argument 292 object_init_ex(object, pce); in reflection_instantiate()
|