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

/PHP_TRUNK/ext/fileinfo/libmagic/
H A Dfuncs.c444 pcre_cache_entry *pce; local
454 if ((pce = pcre_get_compiled_regex_cache(Z_STR(patt) TSRMLS_CC)) == NULL) {
462 res = php_pcre_replace_impl(pce, ms->o.buf, strlen(ms->o.buf), &repl, 0, -1, &rep_cnt TSRMLS_CC);
H A Dsoftmagic.c359 pcre *pce; local
370 if ((pce = pcre_get_compiled_regex(pattern, &re_extra, &re_options TSRMLS_CC)) == NULL) {
373 rv = !pcre_exec(pce, re_extra, m->desc, strlen(m->desc), 0, re_options, NULL, 0);
2081 pcre_cache_entry *pce; local
2093 if ((pce = pcre_get_compiled_regex_cache(Z_STR(pattern) TSRMLS_CC)) == NULL) {
2097 /* pce now contains the compiled regex */
2109 php_pcre_match_impl(pce, haystack, ms->search.s_len, &retval, &subpats, 1, 1, PREG_OFFSET_CAPTURE, 0 TSRMLS_CC);
/PHP_TRUNK/ext/opcache/
H A Dzend_accelerator_util_funcs.c602 static void zend_class_copy_ctor(zend_class_entry **pce) argument
604 zend_class_entry *ce = *pce;
610 *pce = ce = zend_arena_alloc(&CG(arena), sizeof(zend_class_entry));
/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) TSRMLS_CC)) == NULL
507 dbstmt_ce = pce;
753 zend_class_entry *pce; local
766 || (pce = zend_lookup_class(Z_STR_P(item) TSRMLS_CC)) == NULL
775 if (!instanceof_function(pce, pdo_dbstmt_ce TSRMLS_CC)) {
781 if (pce->constructor && !(pce->constructor->common.fn_flags & (ZEND_ACC_PRIVATE|ZEND_ACC_PROTECTED))) {
787 dbh->def_stmt_ce = pce;
/PHP_TRUNK/ext/reflection/
H A Dphp_reflection.c342 static zval *reflection_instantiate(zend_class_entry *pce, zval *object TSRMLS_DC) /* {{{ */ argument
344 object_init_ex(object, 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 TSRMLS_DC) argument
37 object_init_ex(object, pce);
H A Dspl_engine.h28 PHPAPI void spl_instantiate(zend_class_entry *pce, zval *object TSRMLS_DC);
33 static inline int spl_instantiate_arg_ex1(zend_class_entry *pce, zval *retval, zval *arg1 TSRMLS_DC) argument
35 zend_function *func = pce->constructor;
36 spl_instantiate(pce, retval TSRMLS_CC);
38 zend_call_method(retval, pce, &func, func->common.function_name->val, func->common.function_name->len, NULL, 1, arg1, NULL TSRMLS_CC);
44 static inline int spl_instantiate_arg_ex2(zend_class_entry *pce, zval *retval, zval *arg1, zval *arg2 TSRMLS_DC) argument
46 zend_function *func = pce->constructor;
47 spl_instantiate(pce, retval TSRMLS_CC);
49 zend_call_method(retval, pce, &func, func->common.function_name->val, func->common.function_name->len, NULL, 2, arg1, arg2 TSRMLS_CC);
H A Dspl_functions.c80 void spl_add_class_name(zval *list, zend_class_entry *pce, int allow, int ce_flags TSRMLS_DC) 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 TSRMLS_DC) 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 TSRMLS_CC);
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 TSRMLS_DC) argument
[all...]
H A Dspl_iterators.h159 pcre_cache_entry *pce; member in struct:_spl_dual_it_object::__anon224::__anon228
/PHP_TRUNK/ext/sybase_ct/
H A Dphp_sybase_ct.c1867 zend_class_entry **pce = NULL; local
1870 if (zend_lookup_class(Z_STRVAL_P(object), Z_STRLEN_P(object), &pce TSRMLS_CC) == FAILURE) {
1874 ce = *pce;
/PHP_TRUNK/ext/tidy/
H A Dtidy.c725 static zval * tidy_instanciate(zend_class_entry *pce, zval *object TSRMLS_DC) argument
727 object_init_ex(object, pce);
/PHP_TRUNK/sapi/cli/
H A Dphp_cli.c1073 zend_class_entry *pce = NULL; local
1082 pce = reflection_method_ptr;
1084 pce = reflection_function_ptr;
1088 pce = reflection_class_ptr;
1091 pce = reflection_extension_ptr;
1094 pce = reflection_zend_extension_ptr;
1099 object_init_ex(&ref, pce);
1103 zend_call_method_with_1_params(&ref, pce, &pce->constructor, "__construct", NULL, &arg);
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_info.c311 zend_class_entry *pce = (*ce)->parent; local
314 phpdbg_print_class_name(&pce TSRMLS_CC);
316 } while ((pce = pce->parent));
/PHP_TRUNK/Zend/
H A Dzend_API.c356 ZEND_API int _z_param_class(zval *arg, zend_class_entry **pce, int num, int check_null TSRMLS_DC) /* {{{ */ argument
358 zend_class_entry *ce_base = *pce;
361 *pce = NULL;
365 *pce = zend_lookup_class(Z_STR_P(arg) TSRMLS_CC);
367 if ((!*pce || !instanceof_function(*pce, ce_base TSRMLS_CC))) {
374 *pce = NULL;
378 if (!*pce) {
717 zend_class_entry *lookup, **pce = va_arg(*va, zend_class_entry **); local
718 zend_class_entry *ce_base = *pce;
[all...]
/PHP_TRUNK/ext/date/
H A Dphp_date.c2490 PHPAPI zval *php_date_instantiate(zend_class_entry *pce, zval *object TSRMLS_DC) /* {{{ */ argument
2492 object_init_ex(object, pce);
/PHP_TRUNK/ext/imap/
H A Dphp_imap.c1319 pcre_cache_entry *pce; /* Compiled regex */ local
1333 if ((pce = pcre_get_compiled_regex_cache(regex TSRMLS_CC))== NULL) {
1339 php_pcre_match_impl(pce, internal_date, internal_date_len, return_value, subpats, global,
/PHP_TRUNK/ext/pcre/
H A Dphp_pcre.c91 pcre_cache_entry *pce = (pcre_cache_entry *) Z_PTR_P(data); local
92 if (!pce) return;
93 pefree(pce->re, 1);
94 if (pce->extra) {
95 pcre_free_study(pce->extra);
98 if ((void*)pce->tables) pefree((void*)pce->tables, 1);
99 pefree(pce->locale, 1);
101 pefree(pce, 1);
190 static char **make_subpats_table(int num_subpats, pcre_cache_entry *pce TSRMLS_D
244 pcre_cache_entry *pce; local
488 pcre_cache_entry * pce = pcre_get_compiled_regex_cache(regex TSRMLS_CC); local
505 pcre_cache_entry * pce = pcre_get_compiled_regex_cache(regex TSRMLS_CC); local
545 pcre_cache_entry *pce; /* Compiled regular expression */ local
577 php_pcre_match_impl(pcre_cache_entry *pce, char *subject, int subject_len, zval *return_value, zval *subpats, int global, int use_flags, long flags, long start_offset TSRMLS_DC) argument
1084 pcre_cache_entry *pce; /* Compiled regular expression */ local
1097 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 TSRMLS_DC) argument
1559 pcre_cache_entry *pce; /* Compiled regular expression */ local
1588 php_pcre_split_impl(pcre_cache_entry *pce, char *subject, int subject_len, zval *return_value, long limit_val, long flags TSRMLS_DC) argument
1866 pcre_cache_entry *pce; /* Compiled regular expression */ local
1892 php_pcre_grep_impl(pcre_cache_entry *pce, zval *input, zval *return_value, long flags TSRMLS_DC) argument
[all...]
/PHP_TRUNK/ext/readline/
H A Dreadline_cli.c490 zend_class_entry **pce; local
491 char *retval = cli_completion_generator_ht(text, textlen, state, ht, (void**)&pce TSRMLS_CC);
/PHP_TRUNK/ext/wddx/
H A Dwddx.c871 zend_class_entry *pce; local
928 if ((pce = zend_hash_find_ptr(EG(class_table), Z_STR(ent1->data))) == NULL) {
930 pce = PHP_IC_ENTRY;
934 object_init_ex(&obj, pce);

Completed in 83 milliseconds