Home
last modified time | relevance | path

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

12

/PHP-8.1/ext/spl/
H A Dspl_functions.c29 …if (!allow || (allow > 0 && (pce->ce_flags & ce_flags)) || (allow < 0 && !(pce->ce_flags & ce_flag… in spl_add_class_name()
34 ZVAL_STR_COPY(&t, pce->name); in spl_add_class_name()
35 zend_hash_add(Z_ARRVAL_P(list), pce->name, &t); in spl_add_class_name()
46 if (pce->num_interfaces) { in spl_add_interfaces()
47 ZEND_ASSERT(pce->ce_flags & ZEND_ACC_LINKED); in spl_add_interfaces()
74 if (!pce) { in spl_add_classes()
77 spl_add_class_name(list, pce, allow, ce_flags); in spl_add_classes()
79 spl_add_interfaces(list, pce, allow, ce_flags); in spl_add_classes()
80 while (pce->parent) { in spl_add_classes()
81 pce = pce->parent; in spl_add_classes()
[all …]
H A Dspl_engine.h24 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 Dspl_functions.h32 void spl_add_class_name(zval * list, zend_class_entry * pce, int allow, int ce_flags);
33 void spl_add_interfaces(zval * list, zend_class_entry * pce, int allow, int ce_flags);
34 void spl_add_traits(zval * list, zend_class_entry * pce, int allow, int ce_flags);
35 int spl_add_classes(zend_class_entry *pce, zval *list, int sub, int allow, int ce_flags);
H A Dspl_iterators.h143 pcre_cache_entry *pce; member
H A Dspl_iterators.c1390 intern->u.regex.pce = pcre_get_compiled_regex_cache(regex); in spl_dual_it_construct()
1393 if (intern->u.regex.pce == NULL) { in spl_dual_it_construct()
1399 php_pcre_pce_incref(intern->u.regex.pce); in spl_dual_it_construct()
1835 re = php_pcre_pce_re(intern->u.regex.pce); in PHP_METHOD()
1849 php_pcre_match_impl(intern->u.regex.pce, subject, &zcount, in PHP_METHOD()
1857 …php_pcre_split_impl(intern->u.regex.pce, subject, &intern->current.data, -1, intern->u.regex.preg_… in PHP_METHOD()
1870 …result = php_pcre_replace_impl(intern->u.regex.pce, subject, ZSTR_VAL(subject), ZSTR_LEN(subject),… in PHP_METHOD()
2085 if (object->u.regex.pce) { in spl_dual_it_free_storage()
2086 php_pcre_pce_decref(object->u.regex.pce); in spl_dual_it_free_storage()
H A Dspl_array.c1625 static void spl_instantiate_child_arg(zend_class_entry *pce, zval *retval, zval *arg1, zval *arg2) … in spl_instantiate_child_arg() argument
1627 object_init_ex(retval, pce); in spl_instantiate_child_arg()
1637 zend_call_known_instance_method_with_2_params(pce->constructor, Z_OBJ_P(retval), NULL, arg1, arg2); in spl_instantiate_child_arg()
/PHP-8.1/ext/pcre/
H A Dphp_pcre.c161 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 Dphp_pcre.h53 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.1/sapi/phpdbg/
H A Dphpdbg_info.c406 zend_class_entry *pce; in PHPDBG_INFO() local
407 pce = ce->parent; in PHPDBG_INFO()
410 phpdbg_print_class_name(pce); in PHPDBG_INFO()
411 } while ((pce = pce->parent)); in PHPDBG_INFO()
/PHP-8.1/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()
1080 pce->constructor, Z_OBJ(ref), NULL, &arg); in do_cli()
/PHP-8.1/ext/pdo/
H A Dpdo_dbh.c499 zend_class_entry *dbstmt_ce, *pce; in PHP_METHOD() local
529 if (Z_TYPE_P(item) != IS_STRING || (pce = zend_lookup_class(Z_STR_P(item))) == NULL) { in PHP_METHOD()
533 dbstmt_ce = pce; in PHP_METHOD()
802 zend_class_entry *pce; in pdo_dbh_attribute_set() local
823 if (Z_TYPE_P(item) != IS_STRING || (pce = zend_lookup_class(Z_STR_P(item))) == NULL) { in pdo_dbh_attribute_set()
827 if (!instanceof_function(pce, pdo_dbstmt_ce)) { in pdo_dbh_attribute_set()
831 …if (pce->constructor && !(pce->constructor->common.fn_flags & (ZEND_ACC_PRIVATE|ZEND_ACC_PROTECTED… in pdo_dbh_attribute_set()
835 dbh->def_stmt_ce = pce; in pdo_dbh_attribute_set()
/PHP-8.1/ext/date/
H A Dphp_date.h141 PHPAPI zval *php_date_instantiate(zend_class_entry *pce, zval *object);
H A Dphp_date.c2205 PHPAPI zval *php_date_instantiate(zend_class_entry *pce, zval *object) /* {{{ */ in php_date_instantiate() argument
2207 object_init_ex(object, pce); in php_date_instantiate()
/PHP-8.1/ext/fileinfo/libmagic/
H A Dfuncs.c650 pcre_cache_entry *pce; in file_replace() local
657 if ((pce = pcre_get_compiled_regex_cache_ex(pattern, 0)) == NULL) { in file_replace()
665 res = php_pcre_replace_impl(pce, NULL, ms->o.buf, strlen(ms->o.buf), repl, -1, &rep_cnt); in file_replace()
H A Dsoftmagic.c481 pcre_cache_entry *pce; in check_fmt() local
489 if ((pce = pcre_get_compiled_regex_cache_ex(pattern, 0)) == NULL) { in check_fmt()
492 pcre2_code *re = php_pcre_pce_re(pce); in check_fmt()
2236 pcre_cache_entry *pce; in magiccheck() local
2247 if ((pce = pcre_get_compiled_regex_cache(pattern)) == NULL) { in magiccheck()
2263 php_pcre_match_impl(pce, haystack, &retval, &subpats, 0, 1, PREG_OFFSET_CAPTURE, 0); in magiccheck()
H A Dapprentice.c2662 pcre_cache_entry *pce; in getvalue() local
2666 if ((pce = pcre_get_compiled_regex_cache(pattern)) == NULL) { in getvalue()
/PHP-8.1/Zend/
H A Dzend_API.c417 *pce = NULL; in zend_parse_arg_class()
421 *pce = NULL; in zend_parse_arg_class()
427 if ((!*pce || !instanceof_function(*pce, ce_base))) { in zend_parse_arg_class()
429 *pce = NULL; in zend_parse_arg_class()
433 if (!*pce) { in zend_parse_arg_class()
895 *pce = NULL; in zend_parse_arg_impl()
899 *pce = NULL; in zend_parse_arg_impl()
904 *pce = NULL; in zend_parse_arg_impl()
909 if ((!*pce || !instanceof_function(*pce, ce_base))) { in zend_parse_arg_impl()
912 *pce = NULL; in zend_parse_arg_impl()
[all …]
H A Dzend_inheritance.c2542 static zend_class_entry *zend_lazy_class_load(zend_class_entry *pce) in zend_lazy_class_load() argument
2548 memcpy(ce, pce, sizeof(zend_class_entry)); in zend_lazy_class_load()
2585 ZEND_ASSERT(op_array->scope == pce); in zend_lazy_class_load()
2646 ZEND_ASSERT(prop_info->ce == pce); in zend_lazy_class_load()
2674 ZEND_ASSERT(c->ce == pce); in zend_lazy_class_load()
/PHP-8.1/ext/readline/
H A Dreadline_cli.c504 zend_class_entry **pce; in cli_completion_generator_define() local
505 char *retval = cli_completion_generator_ht(text, textlen, state, ht, (void**)&pce); in cli_completion_generator_define()
/PHP-8.1/ext/fileinfo/
H A Dlibmagic.patch578 + pcre_cache_entry *pce;
582 + if ((pce = pcre_get_compiled_regex_cache(pattern)) == NULL) {
2258 + pcre_cache_entry *pce;
2265 + if ((pce = pcre_get_compiled_regex_cache_ex(pattern, 0)) == NULL) {
3222 + pcre_cache_entry *pce;
3233 + if ((pce = pcre_get_compiled_regex_cache_ex(pattern, 0)) == NULL) {
3238 + pcre2_code *re = php_pcre_pce_re(pce);
3376 + pcre_cache_entry *pce;
3396 + if ((pce = pcre_get_compiled_regex_cache(pattern)) == NULL) {
3410 + /* pce now contains the compiled regex */
[all …]
/PHP-8.1/Zend/Optimizer/
H A Dzend_inference.h258 const zend_script *script, zend_arg_info *arg_info, zend_class_entry **pce);
H A Dzend_inference.c2352 static uint32_t zend_convert_type(const zend_script *script, zend_type type, zend_class_entry **pce) in zend_convert_type() argument
2354 if (pce) { in zend_convert_type()
2355 *pce = NULL; in zend_convert_type()
2365 if (pce) { in zend_convert_type()
2370 *pce = zend_optimizer_get_class_entry(script, lcname); in zend_convert_type()
2381 …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
2383 return zend_convert_type(script, arg_info->type, pce); in zend_fetch_arg_info_type()
2472 …d_fetch_prop_type(const zend_script *script, zend_property_info *prop_info, zend_class_entry **pce) in zend_fetch_prop_type() argument
2475 if (pce) { in zend_fetch_prop_type()
2476 *pce = NULL; in zend_fetch_prop_type()
[all …]
/PHP-8.1/ext/tidy/
H A Dtidy.c505 static zval * tidy_instanciate(zend_class_entry *pce, zval *object) in tidy_instanciate() argument
507 object_init_ex(object, pce); in tidy_instanciate()
/PHP-8.1/ext/imap/
H A Dphp_imap.c968 pcre_cache_entry *pce; /* Compiled regex */ in PHP_FUNCTION() local
973 if ((pce = pcre_get_compiled_regex_cache(regex))== NULL) { in PHP_FUNCTION()
979 php_pcre_match_impl(pce, internal_date, return_value, subpats, global, in PHP_FUNCTION()
/PHP-8.1/ext/soap/
H A Dphp_encoding.c1370 …atic zval *to_zval_object_ex(zval *ret, encodeTypePtr type, xmlNodePtr data, zend_class_entry *pce) in to_zval_object_ex() argument
1378 if (pce) { in to_zval_object_ex()
1379 ce = pce; in to_zval_object_ex()

Completed in 151 milliseconds

12