Searched refs:pce (Results 1 - 25 of 30) sorted by relevance

12

/PHP_TRUNK/Zend/
H A Dzend_execute.c532 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
538 *pce = zend_fetch_class(key, (ZEND_FETCH_CLASS_AUTO | ZEND_FETCH_CLASS_NO_AUTOLOAD));
541 *class_name = (*pce) ? (*pce)->name->val : (char*)cur_arg_info->class_name;
542 if (*pce && (*pce)->ce_flags & ZEND_ACC_INTERFACE) {
549 ZEND_API char * zend_verify_arg_class_kind(const zend_arg_info *cur_arg_info, char **class_name, zend_class_entry **pce) argument
551 *pce = zend_fetch_class(cur_arg_info->class_name, (ZEND_FETCH_CLASS_AUTO | ZEND_FETCH_CLASS_NO_AUTOLOAD));
553 *class_name = (*pce) ? (*pce)
[all...]
H A Dzend_execute.h50 ZEND_API char * zend_verify_internal_arg_class_kind(const zend_internal_arg_info *cur_arg_info, char **class_name, zend_class_entry **pce);
51 ZEND_API char * zend_verify_arg_class_kind(const zend_arg_info *cur_arg_info, char **class_name, zend_class_entry **pce);
H A Dzend_API.c328 ZEND_API int _z_param_class(zval *arg, zend_class_entry **pce, int num, int check_null) /* {{{ */ argument
330 zend_class_entry *ce_base = *pce;
333 *pce = NULL;
337 *pce = zend_lookup_class(Z_STR_P(arg));
339 if ((!*pce || !instanceof_function(*pce, ce_base))) {
346 *pce = NULL;
350 if (!*pce) {
693 zend_class_entry *lookup, **pce = va_arg(*va, zend_class_entry **); local
694 zend_class_entry *ce_base = *pce;
[all...]
/PHP_TRUNK/ext/date/
H A Dphp_date.h227 PHPAPI zval *php_date_instantiate(zend_class_entry *pce, zval *object);
/PHP_TRUNK/ext/fileinfo/libmagic/
H A Dfuncs.c443 pcre_cache_entry *pce; local
452 if ((pce = pcre_get_compiled_regex_cache(Z_STR(patt))) == NULL) {
460 res = php_pcre_replace_impl(pce, ms->o.buf, strlen(ms->o.buf), &repl, 0, -1, &rep_cnt);
H A Dsoftmagic.c359 pcre *pce; local
369 if ((pce = pcre_get_compiled_regex(pattern, &re_extra, &re_options)) == NULL) {
372 rv = !pcre_exec(pce, re_extra, m->desc, strlen(m->desc), 0, re_options, NULL, 0);
2080 pcre_cache_entry *pce; local
2091 if ((pce = pcre_get_compiled_regex_cache(Z_STR(pattern))) == NULL) {
2095 /* pce now contains the compiled regex */
2107 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.c543 static void zend_class_copy_ctor(zend_class_entry **pce) argument
545 zend_class_entry *ce = *pce;
550 *pce = ce = ARENA_REALLOC(old_ce);
/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.c483 zend_class_entry *dbstmt_ce, *pce; local
498 || (pce = zend_lookup_class(Z_STR_P(item))) == NULL
507 dbstmt_ce = pce;
753 zend_class_entry *pce; local
766 || (pce = zend_lookup_class(Z_STR_P(item))) == NULL
775 if (!instanceof_function(pce, pdo_dbstmt_ce)) {
781 if (pce->constructor && !(pce->constructor->common.fn_flags & (ZEND_ACC_PRIVATE|ZEND_ACC_PROTECTED))) {
787 dbh->def_stmt_ce = pce;
H A Dphp_pdo.h65 zend_class_entry **pce; \
66 if (zend_hash_find(CG(class_table), "pdo", sizeof("pdo"), (void **) &pce) != FAILURE) \
67 zend_declare_class_constant_long(*pce, const_name, sizeof(const_name)-1, (zend_long)value); \
/PHP_TRUNK/ext/readline/
H A Dreadline_cli.c483 zend_class_entry **pce; local
484 char *retval = cli_completion_generator_ht(text, textlen, state, ht, (void**)&pce);
/PHP_TRUNK/ext/simplexml/
H A Dsxe.c190 zend_class_entry *pce; local
193 if ((pce = zend_hash_str_find_ptr(CG(class_table), "simplexmlelement", sizeof("SimpleXMLElement") - 1)) == NULL) {
199 ce_SimpleXMLElement = pce;
/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_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, func->common.function_name->val, func->common.function_name->len, 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, func->common.function_name->val, func->common.function_name->len, 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...]
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.c1561 intern->u.regex.pce = pcre_get_compiled_regex_cache(regex);
1562 if (intern->u.regex.pce == NULL) {
1567 intern->u.regex.pce->refcount++;
2068 count = pcre_exec(intern->u.regex.pce->re, intern->u.regex.pce->extra, subject, subject_len, 0, 0, NULL, 0);
2080 php_pcre_match_impl(intern->u.regex.pce, subject, subject_len, &zcount,
2092 php_pcre_split_impl(intern->u.regex.pce, subject, subject_len, &intern->current.data, -1, intern->u.regex.preg_flags);
2105 result = php_pcre_replace_impl(intern->u.regex.pce, subject, subject_len, replacement, 0, -1, &count);
2349 if (object->u.regex.pce) {
2350 object->u.regex.pce
[all...]
H A Dspl_iterators.h159 pcre_cache_entry *pce; member in struct:_spl_dual_it_object::__anon222::__anon226
/PHP_TRUNK/ext/sybase_ct/
H A Dphp_sybase_ct.c1865 zend_class_entry **pce = NULL; local
1868 if (zend_lookup_class(Z_STRVAL_P(object), Z_STRLEN_P(object), &pce) == FAILURE) {
1872 ce = *pce;
/PHP_TRUNK/ext/wddx/
H A Dwddx.c867 zend_class_entry *pce; local
923 if ((pce = zend_hash_find_ptr(EG(class_table), Z_STR(ent1->data))) == NULL) {
925 pce = PHP_IC_ENTRY;
929 object_init_ex(&obj, pce);
/PHP_TRUNK/sapi/cli/
H A Dphp_cli.c1077 zend_class_entry *pce = NULL; local
1086 pce = reflection_method_ptr;
1088 pce = reflection_function_ptr;
1092 pce = reflection_class_ptr;
1095 pce = reflection_extension_ptr;
1098 pce = reflection_zend_extension_ptr;
1103 object_init_ex(&ref, pce);
1107 zend_call_method_with_1_params(&ref, pce, &pce->constructor, "__construct", NULL, &arg);
/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));
/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 pefree(pce->re, 1);
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,
193 make_subpats_table(int num_subpats, pcre_cache_entry *pce) argument
244 pcre_cache_entry *pce; local
476 pcre_cache_entry * pce = pcre_get_compiled_regex_cache(regex); local
493 pcre_cache_entry * pce = pcre_get_compiled_regex_cache(regex); local
535 pcre_cache_entry *pce; /* Compiled regular expression */ local
567 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
1074 pcre_cache_entry *pce; /* Compiled regular expression */ local
1087 php_pcre_replace_impl(pcre_cache_entry *pce, char *subject, int subject_len, zval *replace_val, int is_callable_replace, int limit, int *replace_count) argument
1549 pcre_cache_entry *pce; /* Compiled regular expression */ local
1578 php_pcre_split_impl(pcre_cache_entry *pce, char *subject, int subject_len, zval *return_value, zend_long limit_val, zend_long flags) argument
1857 pcre_cache_entry *pce; /* Compiled regular expression */ local
1883 php_pcre_grep_impl(pcre_cache_entry *pce, zval *input, zval *return_value, zend_long flags) argument
[all...]
H A Dphp_pcre.h59 PHPAPI void php_pcre_match_impl( pcre_cache_entry *pce, char *subject, int subject_len, zval *return_value,
62 PHPAPI zend_string *php_pcre_replace_impl(pcre_cache_entry *pce, char *subject, int subject_len, zval *return_value,
65 PHPAPI void php_pcre_split_impl( pcre_cache_entry *pce, char *subject, int subject_len, zval *return_value,
68 PHPAPI void php_pcre_grep_impl( pcre_cache_entry *pce, zval *input, zval *return_value,
/PHP_TRUNK/ext/tidy/
H A Dtidy.c729 static zval * tidy_instanciate(zend_class_entry *pce, zval *object) argument
731 object_init_ex(object, pce);

Completed in 42 milliseconds

12