Home
last modified time | relevance | path

Searched refs:pce (Results 1 – 25 of 27) sorted by relevance

12

/PHP-7.4/ext/spl/
H A Dspl_functions.c80 …if (!allow || (allow > 0 && pce->ce_flags & ce_flags) || (allow < 0 && !(pce->ce_flags & ce_flags)… 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()
97 if (pce->num_interfaces) { in spl_add_interfaces()
98 ZEND_ASSERT(pce->ce_flags & ZEND_ACC_LINKED); in spl_add_interfaces()
125 if (!pce) { in spl_add_classes()
128 spl_add_class_name(list, pce, allow, ce_flags); in spl_add_classes()
130 spl_add_interfaces(list, pce, allow, ce_flags); in spl_add_classes()
131 while (pce->parent) { in spl_add_classes()
132 pce = pce->parent; in spl_add_classes()
[all …]
H A Dspl_engine.h26 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 Dspl_engine.c35 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 Dspl_functions.h61 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 Dspl_iterators.h152 pcre_cache_entry *pce; member
H A Dspl_iterators.c1539 intern->u.regex.pce = pcre_get_compiled_regex_cache(regex); in spl_dual_it_construct()
1542 if (intern->u.regex.pce == NULL) { in spl_dual_it_construct()
1546 php_pcre_pce_incref(intern->u.regex.pce); in spl_dual_it_construct()
2037 re = php_pcre_pce_re(intern->u.regex.pce); in SPL_METHOD()
2051 php_pcre_match_impl(intern->u.regex.pce, subject, &zcount, in SPL_METHOD()
2059 …php_pcre_split_impl(intern->u.regex.pce, subject, &intern->current.data, -1, intern->u.regex.preg_… in SPL_METHOD()
2071 …result = php_pcre_replace_impl(intern->u.regex.pce, subject, ZSTR_VAL(subject), ZSTR_LEN(subject),… in SPL_METHOD()
2305 if (object->u.regex.pce) { in spl_dual_it_free_storage()
2306 php_pcre_pce_decref(object->u.regex.pce); in spl_dual_it_free_storage()
/PHP-7.4/ext/pcre/
H A Dphp_pcre.c146 if (!pce) return; in php_free_pcre_cache()
148 free(pce); in php_free_pcre_cache()
155 if (!pce) return; in php_efree_pcre_cache()
157 efree(pce); in php_efree_pcre_cache()
909 *capture_count = pce ? pce->capture_count : 0; in pcre_get_compiled_regex()
912 return pce ? pce->re : NULL; in pcre_get_compiled_regex()
923 *preg_options = pce ? pce->preg_options : 0; in pcre_get_compiled_regex_ex()
926 *compile_options = pce ? pce->compile_options : 0; in pcre_get_compiled_regex_ex()
929 *capture_count = pce ? pce->capture_count : 0; in pcre_get_compiled_regex_ex()
932 return pce ? pce->re : NULL; in pcre_get_compiled_regex_ex()
[all …]
H A Dphp_pcre.h45 PHPAPI void php_pcre_match_impl(pcre_cache_entry *pce, zend_string *subject_str, zval *return_valu…
48 PHPAPI zend_string *php_pcre_replace_impl(pcre_cache_entry *pce, zend_string *subject_str, char *su…
51 PHPAPI void php_pcre_split_impl( pcre_cache_entry *pce, zend_string *subject_str, zval *return_va…
54 PHPAPI void php_pcre_grep_impl( pcre_cache_entry *pce, zval *input, zval *return_value,
/PHP-7.4/ext/simplexml/
H A Dsxe.c188 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.4/sapi/phpdbg/
H A Dphpdbg_info.c408 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.4/sapi/cli/
H A Dphp_cli.c1049 zend_class_entry *pce = NULL; in do_cli() local
1058 pce = reflection_method_ptr; in do_cli()
1060 pce = reflection_function_ptr; in do_cli()
1064 pce = reflection_class_ptr; in do_cli()
1067 pce = reflection_extension_ptr; in do_cli()
1070 pce = reflection_zend_extension_ptr; in do_cli()
1075 object_init_ex(&ref, pce); in do_cli()
1079 zend_call_method_with_1_params(&ref, pce, &pce->constructor, "__construct", NULL, &arg); in do_cli()
/PHP-7.4/ext/pdo/
H A Dpdo_dbh.c493 zend_class_entry *dbstmt_ce, *pce; in PHP_METHOD() local
509 || (pce = zend_lookup_class(Z_STR_P(item))) == NULL in PHP_METHOD()
518 dbstmt_ce = pce; in PHP_METHOD()
765 zend_class_entry *pce; in pdo_dbh_attribute_set() local
778 || (pce = zend_lookup_class(Z_STR_P(item))) == NULL in pdo_dbh_attribute_set()
787 if (!instanceof_function(pce, pdo_dbstmt_ce)) { in pdo_dbh_attribute_set()
793 …if (pce->constructor && !(pce->constructor->common.fn_flags & (ZEND_ACC_PRIVATE|ZEND_ACC_PROTECTED… in pdo_dbh_attribute_set()
799 dbh->def_stmt_ce = pce; in pdo_dbh_attribute_set()
/PHP-7.4/ext/fileinfo/libmagic/
H A Dfuncs.c525 pcre_cache_entry *pce; in file_replace() local
532 if ((pce = pcre_get_compiled_regex_cache_ex(Z_STR(patt), 0)) == NULL) { in file_replace()
540 res = php_pcre_replace_impl(pce, NULL, ms->o.buf, strlen(ms->o.buf), repl, -1, &rep_cnt); in file_replace()
H A Dsoftmagic.c472 pcre_cache_entry *pce; in check_fmt() local
480 if ((pce = pcre_get_compiled_regex_cache_ex(pattern, 0)) == NULL) { in check_fmt()
483 pcre2_code *re = php_pcre_pce_re(pce); in check_fmt()
2142 pcre_cache_entry *pce; in magiccheck() local
2153 if ((pce = pcre_get_compiled_regex_cache(Z_STR(pattern))) == NULL) { in magiccheck()
2169 php_pcre_match_impl(pce, haystack, &retval, &subpats, 0, 1, PREG_OFFSET_CAPTURE, 0); in magiccheck()
H A Dapprentice.c2595 pcre_cache_entry *pce; in getvalue() local
2599 if ((pce = pcre_get_compiled_regex_cache(Z_STR(pattern))) == NULL) { in getvalue()
/PHP-7.4/Zend/
H A Dzend_API.c359 *pce = NULL; in zend_parse_arg_class()
363 *pce = NULL; in zend_parse_arg_class()
369 if ((!*pce || !instanceof_function(*pce, ce_base))) { in zend_parse_arg_class()
376 *pce = NULL; in zend_parse_arg_class()
380 if (!*pce) { in zend_parse_arg_class()
769 *pce = NULL; in zend_parse_arg_impl()
773 *pce = NULL; in zend_parse_arg_impl()
778 *pce = NULL; in zend_parse_arg_impl()
783 if ((!*pce || !instanceof_function(*pce, ce_base))) { in zend_parse_arg_impl()
786 *pce = NULL; in zend_parse_arg_impl()
[all …]
/PHP-7.4/ext/date/
H A Dphp_date.h226 PHPAPI zval *php_date_instantiate(zend_class_entry *pce, zval *object);
H A Dphp_date.c2661 PHPAPI zval *php_date_instantiate(zend_class_entry *pce, zval *object) /* {{{ */ in php_date_instantiate() argument
2663 object_init_ex(object, pce); in php_date_instantiate()
/PHP-7.4/ext/readline/
H A Dreadline_cli.c492 zend_class_entry **pce; in cli_completion_generator_define() local
493 char *retval = cli_completion_generator_ht(text, textlen, state, ht, (void**)&pce); in cli_completion_generator_define()
/PHP-7.4/ext/opcache/
H A Dzend_accelerator_util_funcs.c255 static void zend_class_copy_ctor(zend_class_entry **pce) in zend_class_copy_ctor() argument
257 zend_class_entry *ce = *pce; in zend_class_copy_ctor()
260 *pce = ce = ARENA_REALLOC(ce); in zend_class_copy_ctor()
/PHP-7.4/ext/fileinfo/
H A Dlibmagic.patch640 + pcre_cache_entry *pce;
644 + if ((pce = pcre_get_compiled_regex_cache(Z_STR(pattern))) == NULL) {
2480 + pcre_cache_entry *pce;
2487 + if ((pce = pcre_get_compiled_regex_cache_ex(Z_STR(patt), 0)) == NULL) {
3310 + pcre_cache_entry *pce;
3321 + if ((pce = pcre_get_compiled_regex_cache_ex(pattern, 0)) == NULL) {
3326 + pcre2_code *re = php_pcre_pce_re(pce);
3504 + pcre_cache_entry *pce;
3524 + if ((pce = pcre_get_compiled_regex_cache(Z_STR(pattern))) == NULL) {
3543 + /* pce now contains the compiled regex */
[all …]
/PHP-7.4/ext/opcache/Optimizer/
H A Dzend_inference.c2286 …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
2290 *pce = NULL; in zend_fetch_arg_info()
2295 *pce = get_class_entry(script, lcname); in zend_fetch_arg_info()
2394 …d_fetch_prop_type(const zend_script *script, zend_property_info *prop_info, zend_class_entry **pce) in zend_fetch_prop_type() argument
2407 if (pce) { in zend_fetch_prop_type()
2409 *pce = ZEND_TYPE_CE(prop_info->type); in zend_fetch_prop_type()
2412 *pce = get_class_entry(script, lcname); in zend_fetch_prop_type()
2415 *pce = NULL; in zend_fetch_prop_type()
2420 if (pce) { in zend_fetch_prop_type()
2421 *pce = NULL; in zend_fetch_prop_type()
/PHP-7.4/ext/tidy/
H A Dtidy.c765 static zval * tidy_instanciate(zend_class_entry *pce, zval *object) in tidy_instanciate() argument
767 object_init_ex(object, pce); in tidy_instanciate()
/PHP-7.4/ext/soap/
H A Dphp_encoding.c1376 …atic zval *to_zval_object_ex(zval *ret, encodeTypePtr type, xmlNodePtr data, zend_class_entry *pce) in to_zval_object_ex() argument
1384 if (pce) { in to_zval_object_ex()
1385 ce = pce; in to_zval_object_ex()
/PHP-7.4/ext/imap/
H A Dphp_imap.c1354 pcre_cache_entry *pce; /* Compiled regex */ in PHP_FUNCTION() local
1359 if ((pce = pcre_get_compiled_regex_cache(regex))== NULL) { in PHP_FUNCTION()
1365 php_pcre_match_impl(pce, internal_date, return_value, subpats, global, in PHP_FUNCTION()

Completed in 149 milliseconds

12