Home
last modified time | relevance | path

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

/php-src/ext/spl/
H A Dspl_functions.c26 …if (!allow || (allow > 0 && (pce->ce_flags & ce_flags)) || (allow < 0 && !(pce->ce_flags & ce_flag… in spl_add_class_name()
31 ZVAL_STR_COPY(&t, pce->name); in spl_add_class_name()
32 zend_hash_add(Z_ARRVAL_P(list), pce->name, &t); in spl_add_class_name()
41 if (pce->num_interfaces) { in spl_add_interfaces()
42 ZEND_ASSERT(pce->ce_flags & ZEND_ACC_LINKED); in spl_add_interfaces()
68 ZEND_ASSERT(pce); in spl_add_classes()
69 spl_add_class_name(list, pce, allow, ce_flags); in spl_add_classes()
71 spl_add_interfaces(list, pce, allow, ce_flags); in spl_add_classes()
72 while (pce->parent) { in spl_add_classes()
73 pce = pce->parent; in spl_add_classes()
[all …]
H A Dspl_functions.h27 void spl_add_class_name(zval * list, zend_class_entry * pce, int allow, int ce_flags);
28 void spl_add_interfaces(zval * list, zend_class_entry * pce, int allow, int ce_flags);
29 void spl_add_traits(zval * list, zend_class_entry * pce, int allow, int ce_flags);
30 void spl_add_classes(zend_class_entry *pce, zval *list, bool sub, int allow, int ce_flags);
H A Dspl_iterators.c129 pcre_cache_entry *pce; member
1371 intern->u.regex.pce = pcre_get_compiled_regex_cache(regex); in spl_dual_it_construct()
1374 if (intern->u.regex.pce == NULL) { in spl_dual_it_construct()
1380 php_pcre_pce_incref(intern->u.regex.pce); in spl_dual_it_construct()
1796 re = php_pcre_pce_re(intern->u.regex.pce); in PHP_METHOD()
1810 php_pcre_match_impl(intern->u.regex.pce, subject, &zcount, in PHP_METHOD()
1818 …php_pcre_split_impl(intern->u.regex.pce, subject, &intern->current.data, -1, intern->u.regex.preg_… in PHP_METHOD()
1830 …result = php_pcre_replace_impl(intern->u.regex.pce, subject, ZSTR_VAL(subject), ZSTR_LEN(subject),… in PHP_METHOD()
2038 if (object->u.regex.pce) { in spl_dual_it_free_storage()
2039 php_pcre_pce_decref(object->u.regex.pce); in spl_dual_it_free_storage()
H A Dspl_array.c1830 static void spl_instantiate_child_arg(zend_class_entry *pce, zval *retval, zval *arg1, zval *arg2) … in spl_instantiate_child_arg() argument
1832 object_init_ex(retval, pce); in spl_instantiate_child_arg()
1842 zend_call_known_instance_method_with_2_params(pce->constructor, Z_OBJ_P(retval), NULL, arg1, arg2); in spl_instantiate_child_arg()
/php-src/ext/pcre/
H A Dphp_pcre.c169 if (!pce) return; in php_free_pcre_cache()
171 free_subpats_table(pce->subpats_table, pce->capture_count + 1); in php_free_pcre_cache()
174 free(pce); in php_free_pcre_cache()
899 *capture_count = pce ? pce->capture_count : 0; in pcre_get_compiled_regex()
902 return pce ? pce->re : NULL; in pcre_get_compiled_regex()
1132 pce->refcount++; in php_do_pcre_match()
1135 pce->refcount--; in php_do_pcre_match()
1492 pce->refcount++;
1495 pce->refcount--;
1601 pce->refcount++; in php_pcre_replace()
[all …]
H A Dphp_pcre.h52 PHPAPI void php_pcre_match_impl(pcre_cache_entry *pce, zend_string *subject_str, zval *return_valu…
55 PHPAPI zend_string *php_pcre_replace_impl(pcre_cache_entry *pce, zend_string *subject_str, const ch…
58 PHPAPI void php_pcre_split_impl( pcre_cache_entry *pce, zend_string *subject_str, zval *return_va…
61 PHPAPI void php_pcre_grep_impl( pcre_cache_entry *pce, zval *input, zval *return_value,
/php-src/Zend/
H A Dzend_property_hooks.c52 for (zend_class_entry *pce = ce; pce; pce = pce->parent) { in zho_build_properties_ex() local
57 for (zend_class_entry *pce = ce; pce; pce = pce->parent) { in zho_build_properties_ex() local
58 parents[i++] = pce; in zho_build_properties_ex()
64 zend_class_entry *pce = parents[i]; in zho_build_properties_ex() local
67 ZEND_HASH_MAP_FOREACH_PTR(&pce->properties_info, prop_info) { in zho_build_properties_ex()
H A Dzend_API.c472 *pce = NULL; in zend_parse_arg_class()
476 *pce = NULL; in zend_parse_arg_class()
482 if ((!*pce || !instanceof_function(*pce, ce_base))) { in zend_parse_arg_class()
484 *pce = NULL; in zend_parse_arg_class()
488 if (!*pce) { in zend_parse_arg_class()
1004 *pce = NULL; in zend_parse_arg_impl()
1008 *pce = NULL; in zend_parse_arg_impl()
1013 *pce = NULL; in zend_parse_arg_impl()
1018 if ((!*pce || !instanceof_function(*pce, ce_base))) { in zend_parse_arg_impl()
1021 *pce = NULL; in zend_parse_arg_impl()
[all …]
H A Dzend_inheritance.c3284 zend_op_array *op_array, zend_class_entry *ce, const zend_class_entry *pce) { in zend_lazy_method_load() argument
3286 ZEND_ASSERT(op_array->scope == pce); in zend_lazy_method_load()
3298 static zend_class_entry *zend_lazy_class_load(zend_class_entry *pce) in zend_lazy_class_load() argument
3304 memcpy(ce, pce, sizeof(zend_class_entry)); in zend_lazy_class_load()
3336 zend_op_array *new_op_array = Z_PTR(p->val) = zend_lazy_method_load(op_array, ce, pce); in zend_lazy_class_load()
3378 ZEND_ASSERT(prop_info->ce == pce); in zend_lazy_class_load()
3392 … zend_op_array *hook = zend_lazy_method_load((zend_op_array *) new_prop_info->hooks[i], ce, pce); in zend_lazy_class_load()
3414 ZEND_ASSERT(c->ce == pce); in zend_lazy_class_load()
H A Dzend_API.h2172 ZEND_API bool ZEND_FASTCALL zend_parse_arg_class(zval *arg, zend_class_entry **pce, uint32_t num, b…
/php-src/sapi/cli/
H A Dphp_cli.c1022 zend_class_entry *pce = NULL; in do_cli() local
1031 pce = reflection_method_ptr; in do_cli()
1033 pce = reflection_function_ptr; in do_cli()
1037 pce = reflection_class_ptr; in do_cli()
1040 pce = reflection_extension_ptr; in do_cli()
1043 pce = reflection_zend_extension_ptr; in do_cli()
1048 object_init_ex(&ref, pce); in do_cli()
1054 pce->constructor, Z_OBJ(ref), NULL, &arg); in do_cli()
/php-src/sapi/phpdbg/
H A Dphpdbg_info.c408 zend_class_entry *pce = ce->parent; in PHPDBG_INFO() local
411 phpdbg_print_class_name(pce); in PHPDBG_INFO()
412 } while ((pce = pce->parent)); in PHPDBG_INFO()
/php-src/ext/pdo/
H A Dpdo_dbh.c585 zend_class_entry *dbstmt_ce, *pce; in PHP_METHOD() local
615 if (Z_TYPE_P(item) != IS_STRING || (pce = zend_lookup_class(Z_STR_P(item))) == NULL) { in PHP_METHOD()
619 dbstmt_ce = pce; in PHP_METHOD()
892 zend_class_entry *pce; in pdo_dbh_attribute_set() local
913 if (Z_TYPE_P(item) != IS_STRING || (pce = zend_lookup_class(Z_STR_P(item))) == NULL) { in pdo_dbh_attribute_set()
917 if (!instanceof_function(pce, pdo_dbstmt_ce)) { in pdo_dbh_attribute_set()
921 …if (pce->constructor && !(pce->constructor->common.fn_flags & (ZEND_ACC_PRIVATE|ZEND_ACC_PROTECTED… in pdo_dbh_attribute_set()
925 dbh->def_stmt_ce = pce; in pdo_dbh_attribute_set()
/php-src/ext/date/
H A Dphp_date.h161 PHPAPI zval *php_date_instantiate(zend_class_entry *pce, zval *object);
H A Dphp_date.c2319 PHPAPI zval *php_date_instantiate(zend_class_entry *pce, zval *object) /* {{{ */ in php_date_instantiate() argument
2321 object_init_ex(object, pce); in php_date_instantiate()
/php-src/ext/fileinfo/libmagic/
H A Dfuncs.c659 pcre_cache_entry *pce; in file_replace() local
666 if ((pce = pcre_get_compiled_regex_cache_ex(pattern, 0)) == NULL) { in file_replace()
674 res = php_pcre_replace_impl(pce, NULL, ms->o.buf, strlen(ms->o.buf), repl, -1, &rep_cnt); in file_replace()
H A Dsoftmagic.c492 pcre_cache_entry *pce; in check_fmt() local
500 if ((pce = pcre_get_compiled_regex_cache_ex(pattern, 0)) == NULL) { in check_fmt()
503 pcre2_code *re = php_pcre_pce_re(pce); in check_fmt()
2277 pcre_cache_entry *pce; in magiccheck() local
2288 if ((pce = pcre_get_compiled_regex_cache(pattern)) == NULL) { in magiccheck()
2304 php_pcre_match_impl(pce, haystack, &retval, &subpats, 0, PREG_OFFSET_CAPTURE, 0); in magiccheck()
H A Dapprentice.c2813 pcre_cache_entry *pce; in getvalue() local
2817 if ((pce = pcre_get_compiled_regex_cache(pattern)) == NULL) { in getvalue()
/php-src/ext/readline/
H A Dreadline_cli.c498 zend_class_entry **pce; in cli_completion_generator_define() local
499 char *retval = cli_completion_generator_ht(text, textlen, state, ht, (void**)&pce); in cli_completion_generator_define()
/php-src/Zend/Optimizer/
H A Dzend_inference.h229 const zend_script *script, const zend_arg_info *arg_info, zend_class_entry **pce);
H A Dzend_inference.c2367 static uint32_t zend_convert_type(const zend_script *script, zend_type type, zend_class_entry **pce) in zend_convert_type() argument
2369 if (pce) { in zend_convert_type()
2370 *pce = NULL; in zend_convert_type()
2380 if (pce) { in zend_convert_type()
2386 *pce = zend_optimizer_get_class_entry(script, NULL, lcname); in zend_convert_type()
2397 …tch_arg_info_type(const zend_script *script, const zend_arg_info *arg_info, zend_class_entry **pce) in zend_fetch_arg_info_type() argument
2399 return zend_convert_type(script, arg_info->type, pce); in zend_fetch_arg_info_type()
2488 …h_prop_type(const zend_script *script, const zend_property_info *prop_info, zend_class_entry **pce) in zend_fetch_prop_type() argument
2491 if (pce) { in zend_fetch_prop_type()
2492 *pce = NULL; in zend_fetch_prop_type()
[all …]
/php-src/ext/fileinfo/
H A Dlibmagic.patch520 + pcre_cache_entry *pce;
524 + if ((pce = pcre_get_compiled_regex_cache(pattern)) == NULL) {
2048 + pcre_cache_entry *pce;
2055 + if ((pce = pcre_get_compiled_regex_cache_ex(pattern, 0)) == NULL) {
3038 + pcre_cache_entry *pce;
3050 + if ((pce = pcre_get_compiled_regex_cache_ex(pattern, 0)) == NULL) {
3053 + pcre2_code *re = php_pcre_pce_re(pce);
3244 + pcre_cache_entry *pce;
3292 + if ((pce = pcre_get_compiled_regex_cache(pattern)) == NULL) {
3296 + /* pce now contains the compiled regex */
[all …]
/php-src/ext/tidy/
H A Dtidy.c472 static zval *tidy_instantiate(zend_class_entry *pce, zval *object) in tidy_instantiate() argument
474 object_init_ex(object, pce); in tidy_instantiate()
/php-src/ext/soap/
H A Dphp_encoding.c1414 …atic zval *to_zval_object_ex(zval *ret, encodeTypePtr type, xmlNodePtr data, zend_class_entry *pce) in to_zval_object_ex() argument
1422 if (pce) { in to_zval_object_ex()
1423 ce = pce; in to_zval_object_ex()

Completed in 187 milliseconds