Searched defs:pce (Results 1 - 22 of 22) sorted by relevance

/PHP_TRUNK/ext/spl/
H A Dspl_engine.c35 PHPAPI void spl_instantiate(zend_class_entry *pce, zval *object) argument
37 object_init_ex(object, pce);
H A Dspl_iterators.h159 pcre_cache_entry *pce; member in struct:_spl_dual_it_object::__anon234::__anon238
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) argument
35 zend_function *func = pce->constructor;
36 spl_instantiate(pce, retval);
38 zend_call_method(retval, pce, &func, ZSTR_VAL(func->common.function_name), ZSTR_LEN(func->common.function_name), NULL, 1, arg1, NULL);
44 static inline int spl_instantiate_arg_ex2(zend_class_entry *pce, zval *retval, zval *arg1, zval *arg2) argument
46 zend_function *func = pce->constructor;
47 spl_instantiate(pce, retval);
49 zend_call_method(retval, pce, &func, ZSTR_VAL(func->common.function_name), ZSTR_LEN(func->common.function_name), NULL, 2, arg1, arg2);
55 static inline void spl_instantiate_arg_n(zend_class_entry *pce, zva argument
[all...]
H A Dspl_functions.c80 void spl_add_class_name(zval *list, zend_class_entry *pce, int allow, int ce_flags) argument
82 if (!allow || (allow > 0 && pce->ce_flags & ce_flags) || (allow < 0 && !(pce->ce_flags & ce_flags))) {
85 if ((tmp = zend_hash_find(Z_ARRVAL_P(list), pce->name)) == NULL) {
87 ZVAL_STR_COPY(&t, pce->name);
88 zend_hash_add(Z_ARRVAL_P(list), pce->name, &t);
95 void spl_add_interfaces(zval *list, zend_class_entry * pce, int allow, int ce_flags) argument
99 for (num_interfaces = 0; num_interfaces < pce->num_interfaces; num_interfaces++) {
100 spl_add_class_name(list, pce->interfaces[num_interfaces], allow, ce_flags);
106 void spl_add_traits(zval *list, zend_class_entry * pce, in argument
118 spl_add_classes(zend_class_entry *pce, zval *list, int sub, int allow, int ce_flags) argument
[all...]
/PHP_TRUNK/ext/pdo/
H A Dpdo.c85 zend_class_entry *pce; local
87 if ((pce = zend_hash_str_find_ptr(CG(class_table), "runtimeexception", sizeof("RuntimeException") - 1))) {
88 spl_ce_RuntimeException = pce;
89 return pce;
H A Dpdo_dbh.c476 zend_class_entry *dbstmt_ce, *pce; local
491 || (pce = zend_lookup_class(Z_STR_P(item))) == NULL
500 dbstmt_ce = pce;
748 zend_class_entry *pce; local
761 || (pce = zend_lookup_class(Z_STR_P(item))) == NULL
770 if (!instanceof_function(pce, pdo_dbstmt_ce)) {
776 if (pce->constructor && !(pce->constructor->common.fn_flags & (ZEND_ACC_PRIVATE|ZEND_ACC_PROTECTED))) {
782 dbh->def_stmt_ce = pce;
/PHP_TRUNK/sapi/cli/
H A Dphp_cli.c1053 zend_class_entry *pce = NULL; local
1062 pce = reflection_method_ptr;
1064 pce = reflection_function_ptr;
1068 pce = reflection_class_ptr;
1071 pce = reflection_extension_ptr;
1074 pce = reflection_zend_extension_ptr;
1079 object_init_ex(&ref, pce);
1083 zend_call_method_with_1_params(&ref, pce, &pce->constructor, "__construct", NULL, &arg);
/PHP_TRUNK/ext/simplexml/
H A Dsxe.c198 zend_class_entry *pce; local
201 if ((pce = zend_hash_str_find_ptr(CG(class_table), "simplexmlelement", sizeof("SimpleXMLElement") - 1)) == NULL) {
207 ce_SimpleXMLElement = pce;
/PHP_TRUNK/ext/date/
H A Dphp_date.c2466 PHPAPI zval *php_date_instantiate(zend_class_entry *pce, zval *object) /* {{{ */ argument
2468 object_init_ex(object, pce);
/PHP_TRUNK/ext/fileinfo/libmagic/
H A Dfuncs.c433 pcre_cache_entry *pce; local
442 if ((pce = pcre_get_compiled_regex_cache(Z_STR(patt))) == NULL) {
450 res = php_pcre_replace_impl(pce, NULL, ms->o.buf, strlen(ms->o.buf), &repl, 0, -1, &rep_cnt);
H A Dsoftmagic.c382 pcre *pce; local
392 if ((pce = pcre_get_compiled_regex(pattern, &re_extra, &re_options)) == NULL) {
395 rv = !pcre_exec(pce, re_extra, m->desc, strlen(m->desc), 0, re_options, NULL, 0);
2004 pcre_cache_entry *pce; local
2015 if ((pce = pcre_get_compiled_regex_cache(Z_STR(pattern))) == NULL) {
2019 /* pce now contains the compiled regex */
2031 php_pcre_match_impl(pce, haystack, ms->search.s_len, &retval, &subpats, 1, 1, PREG_OFFSET_CAPTURE, 0);
/PHP_TRUNK/ext/opcache/
H A Dzend_accelerator_util_funcs.c391 static void zend_class_copy_ctor(zend_class_entry **pce) argument
393 zend_class_entry *ce = *pce;
397 *pce = ce = ARENA_REALLOC(old_ce);
/PHP_TRUNK/ext/pcre/
H A Dphp_pcre.c92 pcre_cache_entry *pce = (pcre_cache_entry *) Z_PTR_P(data); local
93 if (!pce) return;
94 pcre_free(pce->re);
95 if (pce->extra) {
96 pcre_free_study(pce->extra);
99 if ((void*)pce->tables) pefree((void*)pce->tables, 1);
100 if (pce->locale) {
101 zend_string_release(pce->locale);
104 pefree(pce,
190 pcre_cache_entry *pce = (pcre_cache_entry *) Z_PTR_P(data); local
203 make_subpats_table(int num_subpats, pcre_cache_entry *pce) argument
238 calculate_unit_length(pcre_cache_entry *pce, char *start) argument
273 pcre_cache_entry *pce; local
523 pcre_cache_entry * pce = pcre_get_compiled_regex_cache(regex); local
540 pcre_cache_entry * pce = pcre_get_compiled_regex_cache(regex); local
582 pcre_cache_entry *pce; /* Compiled regular expression */ local
616 php_pcre_match_impl(pcre_cache_entry *pce, char *subject, int subject_len, zval *return_value, zval *subpats, int global, int use_flags, zend_long flags, zend_long start_offset) argument
1044 pcre_cache_entry *pce; /* Compiled regular expression */ local
1061 php_pcre_replace_impl(pcre_cache_entry *pce, zend_string *subject_str, char *subject, int subject_len, zval *replace_val, int is_callable_replace, int limit, int *replace_count) argument
1671 pcre_cache_entry *pce; /* Compiled regular expression */ local
1702 php_pcre_split_impl(pcre_cache_entry *pce, char *subject, int subject_len, zval *return_value, zend_long limit_val, zend_long flags) argument
1981 pcre_cache_entry *pce; /* Compiled regular expression */ local
2009 php_pcre_grep_impl(pcre_cache_entry *pce, zval *input, zval *return_value, zend_long flags) argument
[all...]
/PHP_TRUNK/ext/readline/
H A Dreadline_cli.c482 zend_class_entry **pce; local
483 char *retval = cli_completion_generator_ht(text, textlen, state, ht, (void**)&pce);
/PHP_TRUNK/ext/reflection/
H A Dphp_reflection.c361 static zval *reflection_instantiate(zend_class_entry *pce, zval *object) /* {{{ */ argument
363 object_init_ex(object, pce);
/PHP_TRUNK/ext/soap/
H A Dphp_encoding.c1408 static zval *to_zval_object_ex(zval *ret, encodeTypePtr type, xmlNodePtr data, zend_class_entry *pce) argument
1416 if (pce) {
1417 ce = pce;
/PHP_TRUNK/ext/tidy/
H A Dtidy.c727 static zval * tidy_instanciate(zend_class_entry *pce, zval *object) argument
729 object_init_ex(object, pce);
/PHP_TRUNK/ext/wddx/
H A Dwddx.c864 zend_class_entry *pce; local
920 if ((pce = zend_hash_find_ptr(EG(class_table), Z_STR(ent1->data))) == NULL) {
922 pce = PHP_IC_ENTRY;
926 object_init_ex(&obj, pce);
/PHP_TRUNK/Zend/
H A Dzend_API.c255 ZEND_API int ZEND_FASTCALL zend_parse_arg_class(zval *arg, zend_class_entry **pce, int num, int check_null) /* {{{ */ argument
257 zend_class_entry *ce_base = *pce;
260 *pce = NULL;
264 *pce = zend_lookup_class(Z_STR_P(arg));
266 if ((!*pce || !instanceof_function(*pce, ce_base))) {
273 *pce = NULL;
277 if (!*pce) {
659 zend_class_entry *lookup, **pce = va_arg(*va, zend_class_entry **); local
660 zend_class_entry *ce_base = *pce;
[all...]
H A Dzend_execute.c571 ZEND_API char * zend_verify_internal_arg_class_kind(const zend_internal_arg_info *cur_arg_info, char **class_name, zend_class_entry **pce) argument
577 *pce = zend_fetch_class(key, (ZEND_FETCH_CLASS_AUTO | ZEND_FETCH_CLASS_NO_AUTOLOAD));
580 *class_name = (*pce) ? ZSTR_VAL((*pce)->name) : (char*)cur_arg_info->class_name;
581 if (*pce && (*pce)->ce_flags & ZEND_ACC_INTERFACE) {
/PHP_TRUNK/ext/imap/
H A Dphp_imap.c1316 pcre_cache_entry *pce; /* Compiled regex */ local
1330 if ((pce = pcre_get_compiled_regex_cache(regex))== NULL) {
1336 php_pcre_match_impl(pce, ZSTR_VAL(internal_date), ZSTR_LEN(internal_date), return_value, subpats, global,
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_info.c389 zend_class_entry *pce; local
391 pce = ce->parent;
394 phpdbg_print_class_name(pce);
395 } while ((pce = pce->parent));

Completed in 109 milliseconds