Home
last modified time | relevance | path

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

12

/PHP-7.2/ext/spl/
H A Dspl_functions.c82 …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 Dspl_engine.h28 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 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.h63 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 Dspl_iterators.h159 pcre_cache_entry *pce; member
H A Dspl_iterators.c1563 intern->u.regex.pce = pcre_get_compiled_regex_cache(regex); in spl_dual_it_construct()
1566 if (intern->u.regex.pce == NULL) { in spl_dual_it_construct()
1570 intern->u.regex.pce->refcount++; in spl_dual_it_construct()
2062 if (intern->u.regex.pce->extra) { in SPL_METHOD()
2063 intern->u.regex.pce->extra->flags &= ~PCRE_EXTRA_MARK; in SPL_METHOD()
2066 …count = pcre_exec(intern->u.regex.pce->re, intern->u.regex.pce->extra, ZSTR_VAL(subject), ZSTR_LEN… in SPL_METHOD()
2074 php_pcre_match_impl(intern->u.regex.pce, ZSTR_VAL(subject), ZSTR_LEN(subject), &zcount, in SPL_METHOD()
2082 …php_pcre_split_impl(intern->u.regex.pce, subject, &intern->current.data, -1, intern->u.regex.preg_… in SPL_METHOD()
2094 …result = php_pcre_replace_impl(intern->u.regex.pce, subject, ZSTR_VAL(subject), ZSTR_LEN(subject),… in SPL_METHOD()
2330 if (object->u.regex.pce) { in spl_dual_it_free_storage()
[all …]
/PHP-7.2/ext/pcre/
H A Dphp_pcre.c129 if ((void*)pce->tables) pefree((void*)pce->tables, 1); in php_free_pcre_cache()
361 if (pce) { in pcre_get_compiled_regex_cache_ex()
367 return pce; in pcre_get_compiled_regex_cache_ex()
635 return pce; in pcre_get_compiled_regex_cache_ex()
654 *extra = pce ? pce->extra : NULL; in pcre_get_compiled_regex()
657 *preg_options = pce ? pce->preg_options : 0; in pcre_get_compiled_regex()
660 return pce ? pce->re : NULL; in pcre_get_compiled_regex()
671 *extra = pce ? pce->extra : NULL; in pcre_get_compiled_regex_ex()
674 *preg_options = pce ? pce->preg_options : 0; in pcre_get_compiled_regex_ex()
677 *compile_options = pce ? pce->compile_options : 0; in pcre_get_compiled_regex_ex()
[all …]
H A Dphp_pcre.h62 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, zend_string *subject_str, zval *return_va…
71 PHPAPI void php_pcre_grep_impl( pcre_cache_entry *pce, zval *input, zval *return_value,
/PHP-7.2/ext/simplexml/
H A Dsxe.c198 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.2/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.2/sapi/cli/
H A Dphp_cli.c1096 zend_class_entry *pce = NULL; in do_cli() local
1105 pce = reflection_method_ptr; in do_cli()
1107 pce = reflection_function_ptr; in do_cli()
1111 pce = reflection_class_ptr; in do_cli()
1114 pce = reflection_extension_ptr; in do_cli()
1117 pce = reflection_zend_extension_ptr; in do_cli()
1122 object_init_ex(&ref, pce); in do_cli()
1126 zend_call_method_with_1_params(&ref, pce, &pce->constructor, "__construct", NULL, &arg); in do_cli()
/PHP-7.2/ext/pdo/
H A Dpdo_dbh.c476 zend_class_entry *dbstmt_ce, *pce; in PHP_METHOD() local
492 || (pce = zend_lookup_class(Z_STR_P(item))) == NULL in PHP_METHOD()
501 dbstmt_ce = pce; in PHP_METHOD()
748 zend_class_entry *pce; in pdo_dbh_attribute_set() local
761 || (pce = zend_lookup_class(Z_STR_P(item))) == NULL in pdo_dbh_attribute_set()
770 if (!instanceof_function(pce, pdo_dbstmt_ce)) { in pdo_dbh_attribute_set()
776 …if (pce->constructor && !(pce->constructor->common.fn_flags & (ZEND_ACC_PRIVATE|ZEND_ACC_PROTECTED… in pdo_dbh_attribute_set()
782 dbh->def_stmt_ce = pce; in pdo_dbh_attribute_set()
/PHP-7.2/ext/wddx/
H A Dwddx.c884 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.2/ext/fileinfo/libmagic/
H A Dfuncs.c469 pcre_cache_entry *pce; in file_replace() local
478 if ((pce = pcre_get_compiled_regex_cache(Z_STR(patt))) == NULL) { in file_replace()
486 res = php_pcre_replace_impl(pce, NULL, ms->o.buf, strlen(ms->o.buf), repl, -1, &rep_cnt); in file_replace()
H A Dsoftmagic.c415 pcre *pce; in check_fmt() local
425 if ((pce = pcre_get_compiled_regex(pattern, &re_extra, &re_options)) == NULL) { in check_fmt()
428 rv = !pcre_exec(pce, re_extra, m->desc, strlen(m->desc), 0, re_options, NULL, 0); in check_fmt()
1883 pcre_cache_entry *pce; in magiccheck() local
1894 if ((pce = pcre_get_compiled_regex_cache(Z_STR(pattern))) == NULL) { in magiccheck()
1910 …php_pcre_match_impl(pce, haystack, ms->search.s_len, &retval, &subpats, 0, 1, PREG_OFFSET_CAPTURE,… in magiccheck()
H A Dapprentice.c2529 pcre_cache_entry *pce; in getvalue() local
2533 if ((pce = pcre_get_compiled_regex_cache(Z_STR(pattern))) == NULL) { in getvalue()
/PHP-7.2/
H A DUPGRADING.INTERNALS74 …- PHPAPI zend_string *php_pcre_replace_impl(pcre_cache_entry *pce, zend_string *subject_str, char …
/PHP-7.2/ext/date/
H A Dphp_date.h231 PHPAPI zval *php_date_instantiate(zend_class_entry *pce, zval *object);
/PHP-7.2/Zend/
H A Dzend_API.c298 zend_class_entry *ce_base = *pce; in zend_parse_arg_class()
301 *pce = NULL; in zend_parse_arg_class()
307 if ((!*pce || !instanceof_function(*pce, ce_base))) { in zend_parse_arg_class()
314 *pce = NULL; in zend_parse_arg_class()
318 if (!*pce) { in zend_parse_arg_class()
697 *pce = NULL; in zend_parse_arg_impl()
702 *pce = NULL; in zend_parse_arg_impl()
704 *pce = lookup; in zend_parse_arg_impl()
707 if ((!*pce || !instanceof_function(*pce, ce_base))) { in zend_parse_arg_impl()
710 *pce = NULL; in zend_parse_arg_impl()
[all …]
/PHP-7.2/ext/readline/
H A Dreadline_cli.c487 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.2/ext/opcache/
H A Dzend_accelerator_util_funcs.c341 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.2/ext/fileinfo/
H A Dlibmagic.patch619 + pcre_cache_entry *pce;
623 + if ((pce = pcre_get_compiled_regex_cache(Z_STR(pattern))) == NULL) {
2205 + pcre_cache_entry *pce;
2214 + if ((pce = pcre_get_compiled_regex_cache(Z_STR(patt))) == NULL) {
2238 + res = php_pcre_replace_impl(pce, NULL, ms->o.buf, strlen(ms->o.buf), repl, -1, &rep_cnt);
3258 + pcre *pce;
3271 + if ((pce = pcre_get_compiled_regex(pattern, &re_extra, &re_options)) == NULL) {
3276 + rv = !pcre_exec(pce, re_extra, m->desc, strlen(m->desc), 0, re_options, NULL, 0);
3413 + pcre_cache_entry *pce;
3433 + if ((pce = pcre_get_compiled_regex_cache(Z_STR(pattern))) == NULL) {
[all …]
/PHP-7.2/ext/tidy/
H A Dtidy.c737 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.2/ext/opcache/Optimizer/
H A Dzend_inference.c2234 …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
2238 *pce = NULL; in zend_fetch_arg_info()
2243 *pce = get_class_entry(script, lcname); in zend_fetch_arg_info()
/PHP-7.2/ext/imap/
H A Dphp_imap.c1343 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()

Completed in 126 milliseconds

12