/PHP-7.1/ext/spl/ |
H A D | spl_functions.c | 82 …if (!allow || (allow > 0 && pce->ce_flags & ce_flags) || (allow < 0 && !(pce->ce_flags & ce_flags)… in spl_add_class_name() 85 if ((tmp = zend_hash_find(Z_ARRVAL_P(list), pce->name)) == NULL) { in spl_add_class_name() 87 ZVAL_STR_COPY(&t, pce->name); in spl_add_class_name() 88 zend_hash_add(Z_ARRVAL_P(list), pce->name, &t); in spl_add_class_name() 110 for (num_traits = 0; num_traits < pce->num_traits; num_traits++) { in spl_add_traits() 120 if (!pce) { in spl_add_classes() 123 spl_add_class_name(list, pce, allow, ce_flags); in spl_add_classes() 125 spl_add_interfaces(list, pce, allow, ce_flags); in spl_add_classes() 126 while (pce->parent) { in spl_add_classes() 127 pce = pce->parent; in spl_add_classes() [all …]
|
H A D | spl_engine.h | 28 PHPAPI void spl_instantiate(zend_class_entry *pce, zval *object); 33 static inline int spl_instantiate_arg_ex1(zend_class_entry *pce, zval *retval, zval *arg1) in spl_instantiate_arg_ex1() argument 35 zend_function *func = pce->constructor; in spl_instantiate_arg_ex1() 36 spl_instantiate(pce, retval); in spl_instantiate_arg_ex1() 44 static inline int spl_instantiate_arg_ex2(zend_class_entry *pce, zval *retval, zval *arg1, zval *ar… in spl_instantiate_arg_ex2() argument 46 zend_function *func = pce->constructor; in spl_instantiate_arg_ex2() 47 spl_instantiate(pce, retval); in spl_instantiate_arg_ex2() 55 static inline void spl_instantiate_arg_n(zend_class_entry *pce, zval *retval, int argc, zval *argv) in spl_instantiate_arg_n() argument 57 zend_function *func = pce->constructor; in spl_instantiate_arg_n() 62 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 | 63 void spl_add_class_name(zval * list, zend_class_entry * pce, int allow, int ce_flags); 64 void spl_add_interfaces(zval * list, zend_class_entry * pce, int allow, int ce_flags); 65 void spl_add_traits(zval * list, zend_class_entry * pce, int allow, int ce_flags); 66 int spl_add_classes(zend_class_entry *pce, zval *list, int sub, int allow, int ce_flags);
|
H A D | spl_iterators.h | 159 pcre_cache_entry *pce; member
|
H A D | spl_iterators.c | 1564 intern->u.regex.pce = pcre_get_compiled_regex_cache(regex); in spl_dual_it_construct() 1567 if (intern->u.regex.pce == NULL) { in spl_dual_it_construct() 1571 intern->u.regex.pce->refcount++; in spl_dual_it_construct() 2063 if (intern->u.regex.pce->extra) { in SPL_METHOD() 2064 intern->u.regex.pce->extra->flags &= ~PCRE_EXTRA_MARK; in SPL_METHOD() 2067 …count = pcre_exec(intern->u.regex.pce->re, intern->u.regex.pce->extra, ZSTR_VAL(subject), ZSTR_LEN… in SPL_METHOD() 2075 php_pcre_match_impl(intern->u.regex.pce, ZSTR_VAL(subject), ZSTR_LEN(subject), &zcount, in SPL_METHOD() 2083 …php_pcre_split_impl(intern->u.regex.pce, ZSTR_VAL(subject), ZSTR_LEN(subject), &intern->current.da… in SPL_METHOD() 2095 …result = php_pcre_replace_impl(intern->u.regex.pce, subject, ZSTR_VAL(subject), ZSTR_LEN(subject),… in SPL_METHOD() 2331 if (object->u.regex.pce) { in spl_dual_it_free_storage() [all …]
|
/PHP-7.1/ext/pcre/ |
H A D | php_pcre.c | 128 if ((void*)pce->tables) pefree((void*)pce->tables, 1); in php_free_pcre_cache() 355 if (pce) { in pcre_get_compiled_regex_cache() 361 return pce; in pcre_get_compiled_regex_cache() 629 return pce; in pcre_get_compiled_regex_cache() 640 *extra = pce ? pce->extra : NULL; in pcre_get_compiled_regex() 643 *preg_options = pce ? pce->preg_options : 0; in pcre_get_compiled_regex() 646 return pce ? pce->re : NULL; in pcre_get_compiled_regex() 657 *extra = pce ? pce->extra : NULL; in pcre_get_compiled_regex_ex() 660 *preg_options = pce ? pce->preg_options : 0; in pcre_get_compiled_regex_ex() 663 *compile_options = pce ? pce->compile_options : 0; in pcre_get_compiled_regex_ex() [all …]
|
H A D | php_pcre.h | 62 PHPAPI void php_pcre_match_impl( pcre_cache_entry *pce, char *subject, int subject_len, zval *ret… 65 PHPAPI zend_string *php_pcre_replace_impl(pcre_cache_entry *pce, zend_string *subject_str, char *su… 68 PHPAPI void php_pcre_split_impl( pcre_cache_entry *pce, char *subject, int subject_len, zval *ret… 71 PHPAPI void php_pcre_grep_impl( pcre_cache_entry *pce, zval *input, zval *return_value,
|
/PHP-7.1/ext/simplexml/ |
H A D | sxe.c | 198 zend_class_entry *pce; in PHP_MINIT_FUNCTION() local 201 …if ((pce = zend_hash_str_find_ptr(CG(class_table), "simplexmlelement", sizeof("SimpleXMLElement") … in PHP_MINIT_FUNCTION() 207 ce_SimpleXMLElement = pce; in PHP_MINIT_FUNCTION()
|
/PHP-7.1/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.1/sapi/cli/ |
H A D | php_cli.c | 1078 zend_class_entry *pce = NULL; in do_cli() local 1087 pce = reflection_method_ptr; in do_cli() 1089 pce = reflection_function_ptr; in do_cli() 1093 pce = reflection_class_ptr; in do_cli() 1096 pce = reflection_extension_ptr; in do_cli() 1099 pce = reflection_zend_extension_ptr; in do_cli() 1104 object_init_ex(&ref, pce); in do_cli() 1108 zend_call_method_with_1_params(&ref, pce, &pce->constructor, "__construct", NULL, &arg); in do_cli()
|
/PHP-7.1/ext/pdo/ |
H A D | pdo_dbh.c | 473 zend_class_entry *dbstmt_ce, *pce; in PHP_METHOD() local 488 || (pce = zend_lookup_class(Z_STR_P(item))) == NULL in PHP_METHOD() 497 dbstmt_ce = pce; in PHP_METHOD() 744 zend_class_entry *pce; in pdo_dbh_attribute_set() local 757 || (pce = zend_lookup_class(Z_STR_P(item))) == NULL in pdo_dbh_attribute_set() 766 if (!instanceof_function(pce, pdo_dbstmt_ce)) { in pdo_dbh_attribute_set() 772 …if (pce->constructor && !(pce->constructor->common.fn_flags & (ZEND_ACC_PRIVATE|ZEND_ACC_PROTECTED… in pdo_dbh_attribute_set() 778 dbh->def_stmt_ce = pce; in pdo_dbh_attribute_set()
|
/PHP-7.1/ext/fileinfo/libmagic/ |
H A D | funcs.c | 434 pcre_cache_entry *pce; in file_replace() local 443 if ((pce = pcre_get_compiled_regex_cache(Z_STR(patt))) == NULL) { in file_replace() 451 res = php_pcre_replace_impl(pce, NULL, ms->o.buf, strlen(ms->o.buf), &repl, 0, -1, &rep_cnt); in file_replace()
|
H A D | softmagic.c | 382 pcre *pce; in check_fmt() local 392 if ((pce = pcre_get_compiled_regex(pattern, &re_extra, &re_options)) == NULL) { in check_fmt() 395 rv = !pcre_exec(pce, re_extra, m->desc, strlen(m->desc), 0, re_options, NULL, 0); in check_fmt() 2004 pcre_cache_entry *pce; in magiccheck() local 2015 if ((pce = pcre_get_compiled_regex_cache(Z_STR(pattern))) == NULL) { in magiccheck() 2031 …php_pcre_match_impl(pce, haystack, ms->search.s_len, &retval, &subpats, 0, 1, PREG_OFFSET_CAPTURE,… in magiccheck()
|
/PHP-7.1/ext/wddx/ |
H A D | wddx.c | 884 zend_class_entry *pce; in php_wddx_pop_element() local 959 if ((pce = zend_hash_find_ptr(EG(class_table), Z_STR(ent1->data))) == NULL) { in php_wddx_pop_element() 961 pce = PHP_IC_ENTRY; in php_wddx_pop_element() 964 if (pce != PHP_IC_ENTRY && (pce->serialize || pce->unserialize)) { in php_wddx_pop_element() 970 if (object_init_ex(&obj, pce) != SUCCESS || EG(exception)) { in php_wddx_pop_element()
|
/PHP-7.1/Zend/ |
H A D | zend_API.c | 268 zend_class_entry *ce_base = *pce; in zend_parse_arg_class() 271 *pce = NULL; in zend_parse_arg_class() 277 if ((!*pce || !instanceof_function(*pce, ce_base))) { in zend_parse_arg_class() 284 *pce = NULL; in zend_parse_arg_class() 288 if (!*pce) { in zend_parse_arg_class() 667 *pce = NULL; in zend_parse_arg_impl() 672 *pce = NULL; in zend_parse_arg_impl() 674 *pce = lookup; in zend_parse_arg_impl() 677 if ((!*pce || !instanceof_function(*pce, ce_base))) { in zend_parse_arg_impl() 680 *pce = NULL; in zend_parse_arg_impl() [all …]
|
H A D | zend_API.h | 1051 ZEND_API int ZEND_FASTCALL zend_parse_arg_class(zval *arg, zend_class_entry **pce, int num, int che…
|
/PHP-7.1/ext/date/ |
H A D | php_date.h | 228 PHPAPI zval *php_date_instantiate(zend_class_entry *pce, zval *object);
|
/PHP-7.1/ext/readline/ |
H A D | readline_cli.c | 487 zend_class_entry **pce; in cli_completion_generator_define() local 488 char *retval = cli_completion_generator_ht(text, textlen, state, ht, (void**)&pce); in cli_completion_generator_define()
|
/PHP-7.1/ext/opcache/ |
H A D | zend_accelerator_util_funcs.c | 341 static void zend_class_copy_ctor(zend_class_entry **pce) in zend_class_copy_ctor() argument 343 zend_class_entry *ce = *pce; in zend_class_copy_ctor() 347 *pce = ce = ARENA_REALLOC(old_ce); in zend_class_copy_ctor()
|
/PHP-7.1/ext/fileinfo/ |
H A D | libmagic.patch | 632 + pcre_cache_entry *pce; 636 + if ((pce = pcre_get_compiled_regex_cache(Z_STR(pattern))) == NULL) { 2263 + pcre_cache_entry *pce; 2272 + if ((pce = pcre_get_compiled_regex_cache(Z_STR(patt))) == NULL) { 2294 + res = php_pcre_replace_impl(pce, NULL, ms->o.buf, strlen(ms->o.buf), &repl, 0, -1, &rep_cnt); 3321 + pcre *pce; 3334 + if ((pce = pcre_get_compiled_regex(pattern, &re_extra, &re_options)) == NULL) { 3339 + rv = !pcre_exec(pce, re_extra, m->desc, strlen(m->desc), 0, re_options, NULL, 0); 3554 + pcre_cache_entry *pce; 3574 + if ((pce = pcre_get_compiled_regex_cache(Z_STR(pattern))) == NULL) { [all …]
|
/PHP-7.1/ext/tidy/ |
H A D | tidy.c | 737 static zval * tidy_instanciate(zend_class_entry *pce, zval *object) in tidy_instanciate() argument 739 object_init_ex(object, pce); in tidy_instanciate()
|
/PHP-7.1/ext/opcache/Optimizer/ |
H A D | zend_inference.c | 2130 …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 2134 *pce = NULL; in zend_fetch_arg_info() 2139 *pce = get_class_entry(script, lcname); in zend_fetch_arg_info()
|
/PHP-7.1/ext/imap/ |
H A D | php_imap.c | 1343 pcre_cache_entry *pce; /* Compiled regex */ in PHP_FUNCTION() local 1348 if ((pce = pcre_get_compiled_regex_cache(regex))== NULL) { in PHP_FUNCTION() 1354 …php_pcre_match_impl(pce, ZSTR_VAL(internal_date), ZSTR_LEN(internal_date), return_value, subpats, … in PHP_FUNCTION()
|
/PHP-7.1/ext/soap/ |
H A D | php_encoding.c | 1419 …atic zval *to_zval_object_ex(zval *ret, encodeTypePtr type, xmlNodePtr data, zend_class_entry *pce) in to_zval_object_ex() argument 1427 if (pce) { in to_zval_object_ex() 1428 ce = pce; in to_zval_object_ex()
|