/PHP-7.3/ext/spl/ |
H A D | spl_functions.c | 80 …if (!allow || (allow > 0 && pce->ce_flags & ce_flags) || (allow < 0 && !(pce->ce_flags & ce_flags)… in spl_add_class_name() 83 if ((tmp = zend_hash_find(Z_ARRVAL_P(list), pce->name)) == NULL) { in spl_add_class_name() 85 ZVAL_STR_COPY(&t, pce->name); in spl_add_class_name() 86 zend_hash_add(Z_ARRVAL_P(list), pce->name, &t); in spl_add_class_name() 108 for (num_traits = 0; num_traits < pce->num_traits; num_traits++) { in spl_add_traits() 118 if (!pce) { in spl_add_classes() 121 spl_add_class_name(list, pce, allow, ce_flags); in spl_add_classes() 123 spl_add_interfaces(list, pce, allow, ce_flags); in spl_add_classes() 124 while (pce->parent) { in spl_add_classes() 125 pce = pce->parent; in spl_add_classes() [all …]
|
H A D | spl_engine.h | 26 PHPAPI void spl_instantiate(zend_class_entry *pce, zval *object); 31 static inline int spl_instantiate_arg_ex1(zend_class_entry *pce, zval *retval, zval *arg1) in spl_instantiate_arg_ex1() argument 33 zend_function *func = pce->constructor; in spl_instantiate_arg_ex1() 34 spl_instantiate(pce, retval); in spl_instantiate_arg_ex1() 42 static inline int spl_instantiate_arg_ex2(zend_class_entry *pce, zval *retval, zval *arg1, zval *ar… in spl_instantiate_arg_ex2() argument 44 zend_function *func = pce->constructor; in spl_instantiate_arg_ex2() 45 spl_instantiate(pce, retval); in spl_instantiate_arg_ex2() 53 static inline void spl_instantiate_arg_n(zend_class_entry *pce, zval *retval, int argc, zval *argv) in spl_instantiate_arg_n() argument 55 zend_function *func = pce->constructor; in spl_instantiate_arg_n() 60 spl_instantiate(pce, retval); in spl_instantiate_arg_n() [all …]
|
H A D | spl_engine.c | 35 PHPAPI void spl_instantiate(zend_class_entry *pce, zval *object) in spl_instantiate() argument 37 object_init_ex(object, pce); in spl_instantiate()
|
H A D | spl_functions.h | 61 void spl_add_class_name(zval * list, zend_class_entry * pce, int allow, int ce_flags); 62 void spl_add_interfaces(zval * list, zend_class_entry * pce, int allow, int ce_flags); 63 void spl_add_traits(zval * list, zend_class_entry * pce, int allow, int ce_flags); 64 int spl_add_classes(zend_class_entry *pce, zval *list, int sub, int allow, int ce_flags);
|
H A D | spl_iterators.h | 157 pcre_cache_entry *pce; member
|
H A D | spl_iterators.c | 1559 intern->u.regex.pce = pcre_get_compiled_regex_cache(regex); in spl_dual_it_construct() 1562 if (intern->u.regex.pce == NULL) { in spl_dual_it_construct() 1566 php_pcre_pce_incref(intern->u.regex.pce); in spl_dual_it_construct() 2054 re = php_pcre_pce_re(intern->u.regex.pce); in SPL_METHOD() 2068 php_pcre_match_impl(intern->u.regex.pce, ZSTR_VAL(subject), ZSTR_LEN(subject), &zcount, in SPL_METHOD() 2076 …php_pcre_split_impl(intern->u.regex.pce, subject, &intern->current.data, -1, intern->u.regex.preg_… in SPL_METHOD() 2088 …result = php_pcre_replace_impl(intern->u.regex.pce, subject, ZSTR_VAL(subject), ZSTR_LEN(subject),… in SPL_METHOD() 2324 if (object->u.regex.pce) { in spl_dual_it_free_storage() 2325 php_pcre_pce_decref(object->u.regex.pce); in spl_dual_it_free_storage()
|
/PHP-7.3/ext/pcre/ |
H A D | php_pcre.c | 149 if (!pce) return; in php_free_pcre_cache() 151 pefree(pce, 1); in php_free_pcre_cache() 890 *capture_count = pce ? pce->capture_count : 0; in pcre_get_compiled_regex() 893 return pce ? pce->re : NULL; in pcre_get_compiled_regex() 907 *compile_options = pce ? pce->compile_options : 0; in pcre_get_compiled_regex_ex() 910 *capture_count = pce ? pce->capture_count : 0; in pcre_get_compiled_regex_ex() 913 return pce ? pce->re : NULL; in pcre_get_compiled_regex_ex() 1003 pce->refcount++; in php_do_pcre_match() 1006 pce->refcount--; in php_do_pcre_match() 1556 pce->refcount++; in php_pcre_replace() [all …]
|
H A D | php_pcre.h | 49 PHPAPI void php_pcre_match_impl( pcre_cache_entry *pce, char *subject, size_t subject_len, zval *… 52 PHPAPI zend_string *php_pcre_replace_impl(pcre_cache_entry *pce, zend_string *subject_str, char *su… 55 PHPAPI void php_pcre_split_impl( pcre_cache_entry *pce, zend_string *subject_str, zval *return_va… 58 PHPAPI void php_pcre_grep_impl( pcre_cache_entry *pce, zval *input, zval *return_value,
|
/PHP-7.3/ext/simplexml/ |
H A D | sxe.c | 188 zend_class_entry *pce; in PHP_MINIT_FUNCTION() local 191 …if ((pce = zend_hash_str_find_ptr(CG(class_table), "simplexmlelement", sizeof("SimpleXMLElement") … in PHP_MINIT_FUNCTION() 197 ce_SimpleXMLElement = pce; in PHP_MINIT_FUNCTION()
|
/PHP-7.3/sapi/phpdbg/ |
H A D | phpdbg_info.c | 408 zend_class_entry *pce; in PHPDBG_INFO() local 410 pce = ce->parent; in PHPDBG_INFO() 413 phpdbg_print_class_name(pce); in PHPDBG_INFO() 414 } while ((pce = pce->parent)); in PHPDBG_INFO()
|
/PHP-7.3/sapi/cli/ |
H A D | php_cli.c | 1085 zend_class_entry *pce = NULL; in do_cli() local 1094 pce = reflection_method_ptr; in do_cli() 1096 pce = reflection_function_ptr; in do_cli() 1100 pce = reflection_class_ptr; in do_cli() 1103 pce = reflection_extension_ptr; in do_cli() 1106 pce = reflection_zend_extension_ptr; in do_cli() 1111 object_init_ex(&ref, pce); in do_cli() 1115 zend_call_method_with_1_params(&ref, pce, &pce->constructor, "__construct", NULL, &arg); in do_cli()
|
/PHP-7.3/ext/pdo/ |
H A D | pdo_dbh.c | 492 zend_class_entry *dbstmt_ce, *pce; in PHP_METHOD() local 508 || (pce = zend_lookup_class(Z_STR_P(item))) == NULL in PHP_METHOD() 517 dbstmt_ce = pce; in PHP_METHOD() 764 zend_class_entry *pce; in pdo_dbh_attribute_set() local 777 || (pce = zend_lookup_class(Z_STR_P(item))) == NULL in pdo_dbh_attribute_set() 786 if (!instanceof_function(pce, pdo_dbstmt_ce)) { in pdo_dbh_attribute_set() 792 …if (pce->constructor && !(pce->constructor->common.fn_flags & (ZEND_ACC_PRIVATE|ZEND_ACC_PROTECTED… in pdo_dbh_attribute_set() 798 dbh->def_stmt_ce = pce; in pdo_dbh_attribute_set()
|
/PHP-7.3/ext/wddx/ |
H A D | wddx.c | 880 zend_class_entry *pce; in php_wddx_pop_element() local 955 if ((pce = zend_hash_find_ptr(EG(class_table), Z_STR(ent1->data))) == NULL) { in php_wddx_pop_element() 957 pce = PHP_IC_ENTRY; in php_wddx_pop_element() 960 if (pce != PHP_IC_ENTRY && (pce->serialize || pce->unserialize)) { in php_wddx_pop_element() 966 if (object_init_ex(&obj, pce) != SUCCESS || EG(exception)) { in php_wddx_pop_element()
|
/PHP-7.3/ext/fileinfo/libmagic/ |
H A D | funcs.c | 475 pcre_cache_entry *pce; in file_replace() local 482 if ((pce = pcre_get_compiled_regex_cache_ex(Z_STR(patt), 0)) == NULL) { in file_replace() 490 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 | 425 pcre_cache_entry *pce; in check_fmt() local 433 if ((pce = pcre_get_compiled_regex_cache_ex(pattern, 0)) == NULL) { in check_fmt() 436 pcre2_code *re = php_pcre_pce_re(pce); in check_fmt() 2007 pcre_cache_entry *pce; in magiccheck() local 2018 if ((pce = pcre_get_compiled_regex_cache(Z_STR(pattern))) == NULL) { in magiccheck() 2034 …php_pcre_match_impl(pce, haystack, ms->search.s_len, &retval, &subpats, 0, 1, PREG_OFFSET_CAPTURE,… in magiccheck()
|
H A D | apprentice.c | 2572 pcre_cache_entry *pce; in getvalue() local 2576 if ((pce = pcre_get_compiled_regex_cache(Z_STR(pattern))) == NULL) { in getvalue()
|
/PHP-7.3/Zend/ |
H A D | zend_API.c | 333 zend_class_entry *ce_base = *pce; in zend_parse_arg_class() 336 *pce = NULL; in zend_parse_arg_class() 342 if ((!*pce || !instanceof_function(*pce, ce_base))) { in zend_parse_arg_class() 349 *pce = NULL; in zend_parse_arg_class() 353 if (!*pce) { in zend_parse_arg_class() 733 *pce = NULL; in zend_parse_arg_impl() 738 *pce = NULL; in zend_parse_arg_impl() 740 *pce = lookup; in zend_parse_arg_impl() 743 if ((!*pce || !instanceof_function(*pce, ce_base))) { in zend_parse_arg_impl() 746 *pce = NULL; in zend_parse_arg_impl() [all …]
|
/PHP-7.3/ext/date/ |
H A D | php_date.h | 232 PHPAPI zval *php_date_instantiate(zend_class_entry *pce, zval *object);
|
/PHP-7.3/ext/readline/ |
H A D | readline_cli.c | 488 zend_class_entry **pce; in cli_completion_generator_define() local 489 char *retval = cli_completion_generator_ht(text, textlen, state, ht, (void**)&pce); in cli_completion_generator_define()
|
/PHP-7.3/ext/opcache/ |
H A D | zend_accelerator_util_funcs.c | 340 static void zend_class_copy_ctor(zend_class_entry **pce) in zend_class_copy_ctor() argument 342 zend_class_entry *ce = *pce; in zend_class_copy_ctor() 346 *pce = ce = ARENA_REALLOC(old_ce); in zend_class_copy_ctor()
|
/PHP-7.3/ext/fileinfo/ |
H A D | libmagic.patch | 871 + pcre_cache_entry *pce; 875 + if ((pce = pcre_get_compiled_regex_cache(Z_STR(pattern))) == NULL) { 3080 + pcre_cache_entry *pce; 3087 + if ((pce = pcre_get_compiled_regex_cache_ex(Z_STR(patt), 0)) == NULL) { 3111 + res = php_pcre_replace_impl(pce, NULL, ms->o.buf, strlen(ms->o.buf), repl, -1, &rep_cnt); 3961 + pcre_cache_entry *pce; 3972 + if ((pce = pcre_get_compiled_regex_cache_ex(pattern, 0)) == NULL) { 3977 + pcre2_code *re = php_pcre_pce_re(pce); 4145 + pcre_cache_entry *pce; 4165 + if ((pce = pcre_get_compiled_regex_cache(Z_STR(pattern))) == NULL) { [all …]
|
/PHP-7.3/ext/tidy/ |
H A D | tidy.c | 756 static zval * tidy_instanciate(zend_class_entry *pce, zval *object) in tidy_instanciate() argument 758 object_init_ex(object, pce); in tidy_instanciate()
|
/PHP-7.3/ext/soap/ |
H A D | php_encoding.c | 1405 …atic zval *to_zval_object_ex(zval *ret, encodeTypePtr type, xmlNodePtr data, zend_class_entry *pce) in to_zval_object_ex() argument 1413 if (pce) { in to_zval_object_ex() 1414 ce = pce; in to_zval_object_ex()
|
/PHP-7.3/ext/imap/ |
H A D | php_imap.c | 1342 pcre_cache_entry *pce; /* Compiled regex */ in PHP_FUNCTION() local 1347 if ((pce = pcre_get_compiled_regex_cache(regex))== NULL) { in PHP_FUNCTION() 1353 …php_pcre_match_impl(pce, ZSTR_VAL(internal_date), ZSTR_LEN(internal_date), return_value, subpats, … in PHP_FUNCTION()
|
/PHP-7.3/ext/opcache/Optimizer/ |
H A D | zend_inference.c | 2260 …2_t zend_fetch_arg_info(const zend_script *script, zend_arg_info *arg_info, zend_class_entry **pce) in zend_fetch_arg_info() argument 2264 *pce = NULL; in zend_fetch_arg_info() 2269 *pce = get_class_entry(script, lcname); in zend_fetch_arg_info()
|