/PHP-8.0/ext/spl/ |
H A D | spl_functions.c | 78 …if (!allow || (allow > 0 && (pce->ce_flags & ce_flags)) || (allow < 0 && !(pce->ce_flags & ce_flag… in spl_add_class_name() 83 ZVAL_STR_COPY(&t, pce->name); in spl_add_class_name() 84 zend_hash_add(Z_ARRVAL_P(list), pce->name, &t); in spl_add_class_name() 95 if (pce->num_interfaces) { in spl_add_interfaces() 96 ZEND_ASSERT(pce->ce_flags & ZEND_ACC_LINKED); in spl_add_interfaces() 123 if (!pce) { in spl_add_classes() 126 spl_add_class_name(list, pce, allow, ce_flags); in spl_add_classes() 128 spl_add_interfaces(list, pce, allow, ce_flags); in spl_add_classes() 129 while (pce->parent) { in spl_add_classes() 130 pce = pce->parent; in spl_add_classes() [all …]
|
H A D | spl_engine.h | 26 static inline void spl_instantiate_arg_ex1(zend_class_entry *pce, zval *retval, zval *arg1) in spl_instantiate_arg_ex1() argument 28 object_init_ex(retval, pce); in spl_instantiate_arg_ex1() 29 zend_call_known_instance_method_with_1_params(pce->constructor, Z_OBJ_P(retval), NULL, arg1); in spl_instantiate_arg_ex1() 33 zend_class_entry *pce, zval *retval, zval *arg1, zval *arg2) in spl_instantiate_arg_ex2() argument 35 object_init_ex(retval, pce); in spl_instantiate_arg_ex2() 37 pce->constructor, Z_OBJ_P(retval), NULL, arg1, arg2); in spl_instantiate_arg_ex2() 41 zend_class_entry *pce, zval *retval, uint32_t argc, zval *argv) in spl_instantiate_arg_n() argument 43 object_init_ex(retval, pce); in spl_instantiate_arg_n() 44 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 | 59 void spl_add_class_name(zval * list, zend_class_entry * pce, int allow, int ce_flags); 60 void spl_add_interfaces(zval * list, zend_class_entry * pce, int allow, int ce_flags); 61 void spl_add_traits(zval * list, zend_class_entry * pce, int allow, int ce_flags); 62 int spl_add_classes(zend_class_entry *pce, zval *list, int sub, int allow, int ce_flags);
|
H A D | spl_iterators.h | 151 pcre_cache_entry *pce; member
|
H A D | spl_iterators.c | 1400 intern->u.regex.pce = pcre_get_compiled_regex_cache(regex); in spl_dual_it_construct() 1403 if (intern->u.regex.pce == NULL) { in spl_dual_it_construct() 1409 php_pcre_pce_incref(intern->u.regex.pce); in spl_dual_it_construct() 1848 re = php_pcre_pce_re(intern->u.regex.pce); in PHP_METHOD() 1862 php_pcre_match_impl(intern->u.regex.pce, subject, &zcount, in PHP_METHOD() 1870 …php_pcre_split_impl(intern->u.regex.pce, subject, &intern->current.data, -1, intern->u.regex.preg_… in PHP_METHOD() 1882 …result = php_pcre_replace_impl(intern->u.regex.pce, subject, ZSTR_VAL(subject), ZSTR_LEN(subject),… in PHP_METHOD() 2108 if (object->u.regex.pce) { in spl_dual_it_free_storage() 2109 php_pcre_pce_decref(object->u.regex.pce); in spl_dual_it_free_storage()
|
/PHP-8.0/ext/pcre/ |
H A D | php_pcre.c | 161 if (!pce) return; in php_free_pcre_cache() 163 free(pce); in php_free_pcre_cache() 170 if (!pce) return; in php_efree_pcre_cache() 172 efree(pce); in php_efree_pcre_cache() 922 *capture_count = pce ? pce->capture_count : 0; in pcre_get_compiled_regex() 925 return pce ? pce->re : NULL; in pcre_get_compiled_regex() 935 *preg_options = pce ? pce->preg_options : 0; in pcre_get_compiled_regex_ex() 938 *compile_options = pce ? pce->compile_options : 0; in pcre_get_compiled_regex_ex() 941 *capture_count = pce ? pce->capture_count : 0; in pcre_get_compiled_regex_ex() 944 return pce ? pce->re : NULL; in pcre_get_compiled_regex_ex() [all …]
|
H A D | php_pcre.h | 53 PHPAPI void php_pcre_match_impl(pcre_cache_entry *pce, zend_string *subject_str, zval *return_valu… 56 PHPAPI zend_string *php_pcre_replace_impl(pcre_cache_entry *pce, zend_string *subject_str, const ch… 59 PHPAPI void php_pcre_split_impl( pcre_cache_entry *pce, zend_string *subject_str, zval *return_va… 62 PHPAPI void php_pcre_grep_impl( pcre_cache_entry *pce, zval *input, zval *return_value,
|
/PHP-8.0/sapi/phpdbg/ |
H A D | phpdbg_info.c | 406 zend_class_entry *pce; in PHPDBG_INFO() local 408 pce = ce->parent; in PHPDBG_INFO() 411 phpdbg_print_class_name(pce); in PHPDBG_INFO() 412 } while ((pce = pce->parent)); in PHPDBG_INFO()
|
/PHP-8.0/sapi/cli/ |
H A D | php_cli.c | 1028 zend_class_entry *pce = NULL; in do_cli() local 1037 pce = reflection_method_ptr; in do_cli() 1039 pce = reflection_function_ptr; in do_cli() 1043 pce = reflection_class_ptr; in do_cli() 1046 pce = reflection_extension_ptr; in do_cli() 1049 pce = reflection_zend_extension_ptr; in do_cli() 1054 object_init_ex(&ref, pce); in do_cli() 1059 pce->constructor, Z_OBJ(ref), NULL, &arg); in do_cli()
|
/PHP-8.0/ext/pdo/ |
H A D | pdo_dbh.c | 496 zend_class_entry *dbstmt_ce, *pce; in PHP_METHOD() local 526 if (Z_TYPE_P(item) != IS_STRING || (pce = zend_lookup_class(Z_STR_P(item))) == NULL) { in PHP_METHOD() 530 dbstmt_ce = pce; in PHP_METHOD() 757 zend_class_entry *pce; in pdo_dbh_attribute_set() local 778 if (Z_TYPE_P(item) != IS_STRING || (pce = zend_lookup_class(Z_STR_P(item))) == NULL) { in pdo_dbh_attribute_set() 782 if (!instanceof_function(pce, pdo_dbstmt_ce)) { in pdo_dbh_attribute_set() 786 …if (pce->constructor && !(pce->constructor->common.fn_flags & (ZEND_ACC_PRIVATE|ZEND_ACC_PROTECTED… in pdo_dbh_attribute_set() 790 dbh->def_stmt_ce = pce; in pdo_dbh_attribute_set()
|
/PHP-8.0/ext/date/ |
H A D | php_date.h | 137 PHPAPI zval *php_date_instantiate(zend_class_entry *pce, zval *object);
|
H A D | php_date.c | 2204 PHPAPI zval *php_date_instantiate(zend_class_entry *pce, zval *object) /* {{{ */ in php_date_instantiate() argument 2206 object_init_ex(object, pce); in php_date_instantiate()
|
/PHP-8.0/ext/fileinfo/libmagic/ |
H A D | funcs.c | 609 pcre_cache_entry *pce; in file_replace() local 616 if ((pce = pcre_get_compiled_regex_cache_ex(pattern, 0)) == NULL) { in file_replace() 624 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 | 479 pcre_cache_entry *pce; in check_fmt() local 487 if ((pce = pcre_get_compiled_regex_cache_ex(pattern, 0)) == NULL) { in check_fmt() 490 pcre2_code *re = php_pcre_pce_re(pce); in check_fmt() 2214 pcre_cache_entry *pce; in magiccheck() local 2225 if ((pce = pcre_get_compiled_regex_cache(pattern)) == NULL) { in magiccheck() 2241 php_pcre_match_impl(pce, haystack, &retval, &subpats, 0, 1, PREG_OFFSET_CAPTURE, 0); in magiccheck()
|
H A D | apprentice.c | 2652 pcre_cache_entry *pce; in getvalue() local 2656 if ((pce = pcre_get_compiled_regex_cache(pattern)) == NULL) { in getvalue()
|
/PHP-8.0/Zend/ |
H A D | zend_API.c | 405 *pce = NULL; in zend_parse_arg_class() 409 *pce = NULL; in zend_parse_arg_class() 415 if ((!*pce || !instanceof_function(*pce, ce_base))) { in zend_parse_arg_class() 417 *pce = NULL; in zend_parse_arg_class() 421 if (!*pce) { in zend_parse_arg_class() 815 *pce = NULL; in zend_parse_arg_impl() 819 *pce = NULL; in zend_parse_arg_impl() 824 *pce = NULL; in zend_parse_arg_impl() 829 if ((!*pce || !instanceof_function(*pce, ce_base))) { in zend_parse_arg_impl() 832 *pce = NULL; in zend_parse_arg_impl() [all …]
|
/PHP-8.0/ext/readline/ |
H A D | readline_cli.c | 494 zend_class_entry **pce; in cli_completion_generator_define() local 495 char *retval = cli_completion_generator_ht(text, textlen, state, ht, (void**)&pce); in cli_completion_generator_define()
|
/PHP-8.0/ext/opcache/ |
H A D | zend_accelerator_util_funcs.c | 276 static void zend_class_copy_ctor(zend_class_entry **pce) in zend_class_copy_ctor() argument 278 zend_class_entry *ce = *pce; in zend_class_copy_ctor() 281 *pce = ce = ARENA_REALLOC(ce); in zend_class_copy_ctor()
|
/PHP-8.0/ext/opcache/Optimizer/ |
H A D | zend_inference.h | 269 const zend_script *script, zend_arg_info *arg_info, zend_class_entry **pce);
|
H A D | zend_inference.c | 2056 …end_fetch_arg_info_type(const zend_script *script, zend_arg_info *arg_info, zend_class_entry **pce) in zend_fetch_arg_info_type() argument 2060 *pce = NULL; in zend_fetch_arg_info_type() 2071 *pce = get_class_entry(script, lcname); in zend_fetch_arg_info_type() 2167 …d_fetch_prop_type(const zend_script *script, zend_property_info *prop_info, zend_class_entry **pce) in zend_fetch_prop_type() argument 2169 if (pce) { in zend_fetch_prop_type() 2170 *pce = NULL; in zend_fetch_prop_type() 2176 if (pce) { in zend_fetch_prop_type() 2178 *pce = ZEND_TYPE_CE(prop_info->type); in zend_fetch_prop_type() 2181 *pce = get_class_entry(script, lcname); in zend_fetch_prop_type()
|
/PHP-8.0/ext/fileinfo/ |
H A D | libmagic.patch | 580 + pcre_cache_entry *pce; 584 + if ((pce = pcre_get_compiled_regex_cache(pattern)) == NULL) { 2549 + pcre_cache_entry *pce; 2556 + if ((pce = pcre_get_compiled_regex_cache_ex(pattern, 0)) == NULL) { 3394 + pcre_cache_entry *pce; 3405 + if ((pce = pcre_get_compiled_regex_cache_ex(pattern, 0)) == NULL) { 3410 + pcre2_code *re = php_pcre_pce_re(pce); 3572 + pcre_cache_entry *pce; 3592 + if ((pce = pcre_get_compiled_regex_cache(pattern)) == NULL) { 3611 + /* pce now contains the compiled regex */ [all …]
|
/PHP-8.0/ext/tidy/ |
H A D | tidy.c | 522 static zval * tidy_instanciate(zend_class_entry *pce, zval *object) in tidy_instanciate() argument 524 object_init_ex(object, pce); in tidy_instanciate()
|
/PHP-8.0/ext/imap/ |
H A D | php_imap.c | 927 pcre_cache_entry *pce; /* Compiled regex */ in PHP_FUNCTION() local 932 if ((pce = pcre_get_compiled_regex_cache(regex))== NULL) { in PHP_FUNCTION() 938 php_pcre_match_impl(pce, internal_date, return_value, subpats, global, in PHP_FUNCTION()
|
/PHP-8.0/ext/soap/ |
H A D | php_encoding.c | 1374 …atic zval *to_zval_object_ex(zval *ret, encodeTypePtr type, xmlNodePtr data, zend_class_entry *pce) in to_zval_object_ex() argument 1382 if (pce) { in to_zval_object_ex() 1383 ce = pce; in to_zval_object_ex()
|
/PHP-8.0/ext/reflection/ |
H A D | php_reflection.c | 296 static zval *reflection_instantiate(zend_class_entry *pce, zval *object) /* {{{ */ in reflection_instantiate() argument 298 object_init_ex(object, pce); in reflection_instantiate()
|