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

12

/PHP_5_4/ext/pcre/
H A Dphp_pcre.c91 pcre_cache_entry *pce = (pcre_cache_entry *) data; local
92 if (!pce) return;
93 pefree(pce->re, 1);
94 if (pce->extra) pefree(pce->extra, 1);
96 if ((void*)pce->tables) pefree((void*)pce->tables, 1);
97 pefree(pce->locale, 1);
184 static char **make_subpats_table(int num_subpats, pcre_cache_entry *pce TSRMLS_DC)
186 pcre_extra *extra = pce
249 pcre_cache_entry *pce; local
477 pcre_cache_entry * pce = pcre_get_compiled_regex_cache(regex, strlen(regex) TSRMLS_CC); local
494 pcre_cache_entry * pce = pcre_get_compiled_regex_cache(regex, strlen(regex) TSRMLS_CC); local
538 pcre_cache_entry *pce; /* Compiled regular expression */ local
559 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
990 pcre_cache_entry *pce; /* Compiled regular expression */ local
1003 php_pcre_replace_impl(pcre_cache_entry *pce, char *subject, int subject_len, zval *replace_val, int is_callable_replace, int *result_len, int limit, int *replace_count TSRMLS_DC) argument
1462 pcre_cache_entry *pce; /* Compiled regular expression */ local
1481 php_pcre_split_impl(pcre_cache_entry *pce, char *subject, int subject_len, zval *return_value, long limit_val, long flags TSRMLS_DC) argument
1743 pcre_cache_entry *pce; /* Compiled regular expression */ local
1760 php_pcre_grep_impl(pcre_cache_entry *pce, zval *input, zval *return_value, long flags TSRMLS_DC) argument
[all...]
H A Dphp_pcre.h57 PHPAPI void php_pcre_match_impl( pcre_cache_entry *pce, char *subject, int subject_len, zval *return_value,
60 PHPAPI char *php_pcre_replace_impl(pcre_cache_entry *pce, char *subject, int subject_len, zval *return_value,
63 PHPAPI void php_pcre_split_impl( pcre_cache_entry *pce, char *subject, int subject_len, zval *return_value,
66 PHPAPI void php_pcre_grep_impl( pcre_cache_entry *pce, zval *input, zval *return_value,
/PHP_5_4/ext/pdo/
H A Dpdo.c79 zend_class_entry **pce; local
81 if (zend_hash_find(CG(class_table), "runtimeexception", sizeof("RuntimeException"), (void **) &pce) == SUCCESS) {
82 spl_ce_RuntimeException = *pce;
83 return *pce;
H A Dphp_pdo.h69 zend_class_entry **pce; \
70 if (zend_hash_find(CG(class_table), "pdo", sizeof("pdo"), (void **) &pce) != FAILURE) \
71 zend_declare_class_constant_long(*pce, const_name, sizeof(const_name)-1, (long)value TSRMLS_CC); \
H A Dpdo_dbh.c518 zend_class_entry *dbstmt_ce, **pce; local
531 || zend_lookup_class(Z_STRVAL_PP(item), Z_STRLEN_PP(item), &pce TSRMLS_CC) == FAILURE
540 dbstmt_ce = *pce;
787 zend_class_entry **pce; local
800 || zend_lookup_class(Z_STRVAL_PP(item), Z_STRLEN_PP(item), &pce TSRMLS_CC) == FAILURE
809 if (!instanceof_function(*pce, pdo_dbstmt_ce TSRMLS_CC)) {
815 if ((*pce)->constructor && !((*pce)->constructor->common.fn_flags & (ZEND_ACC_PRIVATE|ZEND_ACC_PROTECTED))) {
821 dbh->def_stmt_ce = *pce;
/PHP_5_4/ext/reflection/
H A Dphp_reflection.c336 static zval * reflection_instantiate(zend_class_entry *pce, zval *object TSRMLS_DC) /* {{{ */ argument
342 object_init_ex(object, pce);
1002 static int _extension_class_string(zend_class_entry **pce TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */
1009 if (((*pce)->type == ZEND_INTERNAL_CLASS) && (*pce)->info.internal.module && !strcasecmp((*pce)->info.internal.module->name, module->name)) {
1011 _class_string(str, *pce, NULL, indent TSRMLS_CC);
2181 zend_class_entry **pce; local
2196 if (zend_lookup_class(Z_STRVAL_PP(classref), Z_STRLEN_PP(classref), &pce TSRMLS_CC) == FAILURE) {
2201 ce = *pce;
2383 zend_class_entry **pce, *ce; local
2668 zend_class_entry **pce; local
3831 zend_class_entry *ce, **pce; local
4500 zend_class_entry *ce, **pce, *class_ce; local
4545 zend_class_entry *ce, *interface_ce, **pce; local
4753 zend_class_entry **pce; local
[all...]
/PHP_5_4/ext/simplexml/
H A Dsxe.c190 zend_class_entry **pce; local
193 if (zend_hash_find(CG(class_table), "simplexmlelement", sizeof("SimpleXMLElement"), (void **) &pce) == FAILURE) {
199 ce_SimpleXMLElement = *pce;
/PHP_5_4/ext/spl/
H A Dspl_engine.c35 PHPAPI void spl_instantiate(zend_class_entry *pce, zval **object, int alloc TSRMLS_DC) argument
40 object_init_ex(*object, pce);
H A Dspl_engine.h28 PHPAPI void spl_instantiate(zend_class_entry *pce, zval **object, int alloc TSRMLS_DC);
33 static inline int spl_instantiate_arg_ex1(zend_class_entry *pce, zval **retval, int alloc, zval *arg1 TSRMLS_DC) argument
35 spl_instantiate(pce, retval, alloc TSRMLS_CC);
37 zend_call_method(retval, pce, &pce->constructor, pce->constructor->common.function_name, strlen(pce->constructor->common.function_name), NULL, 1, arg1, NULL TSRMLS_CC);
43 static inline int spl_instantiate_arg_ex2(zend_class_entry *pce, zval **retval, int alloc, zval *arg1, zval *arg2 TSRMLS_DC) argument
45 spl_instantiate(pce, retval, alloc TSRMLS_CC);
47 zend_call_method(retval, pce,
[all...]
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))) {
83 size_t len = pce->name_length;
86 if (zend_hash_find(Z_ARRVAL_P(list), pce->name, len+1, (void*)&tmp) == FAILURE) {
88 ZVAL_STRINGL(tmp, pce->name, pce->name_length, 1);
89 zend_hash_add(Z_ARRVAL_P(list), pce->name, len+1, &tmp, sizeof(zval *), NULL);
96 void spl_add_interfaces(zval *list, zend_class_entry * pce, int allow, int ce_flags TSRMLS_DC) argument
100 for (num_interfaces = 0; num_interfaces < pce
107 spl_add_traits(zval *list, zend_class_entry * pce, int allow, int ce_flags TSRMLS_DC) argument
119 spl_add_classes(zend_class_entry *pce, zval *list, int sub, int allow, int ce_flags TSRMLS_DC) argument
[all...]
H A Dspl_functions.h63 void spl_add_class_name(zval * list, zend_class_entry * pce, int allow, int ce_flags TSRMLS_DC);
64 void spl_add_interfaces(zval * list, zend_class_entry * pce, int allow, int ce_flags TSRMLS_DC);
65 void spl_add_traits(zval * list, zend_class_entry * pce, int allow, int ce_flags TSRMLS_DC);
66 int spl_add_classes(zend_class_entry *pce, zval *list, int sub, int allow, int ce_flags TSRMLS_DC);
H A Dspl_iterators.h164 pcre_cache_entry *pce; member in struct:_spl_dual_it_object::__anon227::__anon231
/PHP_5_4/sapi/cli/
H A Dphp_cli.c1090 zend_class_entry *pce = NULL; local
1099 pce = reflection_method_ptr;
1101 pce = reflection_function_ptr;
1105 pce = reflection_class_ptr;
1108 pce = reflection_extension_ptr;
1111 pce = reflection_zend_extension_ptr;
1118 object_init_ex(ref, pce);
1123 EX(function_state).function = pce->constructor;
1124 zend_call_method_with_1_params(&ref, pce, &pce
[all...]
/PHP_5_4/Zend/
H A Dzend_API.c573 zend_class_entry **lookup, **pce = va_arg(*va, zend_class_entry **); local
574 zend_class_entry *ce_base = *pce;
577 *pce = NULL;
582 *pce = NULL;
584 *pce = *lookup;
587 if ((!*pce || !instanceof_function(*pce, ce_base TSRMLS_CC))) {
590 *pce = NULL;
594 if (!*pce) {
1749 zend_class_entry **pce; local
2466 zend_class_entry **pce; local
2614 zend_class_entry **pce; local
[all...]
H A Dzend_execute.c564 ZEND_API char * zend_verify_arg_class_kind(const zend_arg_info *cur_arg_info, ulong fetch_type, const char **class_name, zend_class_entry **pce TSRMLS_DC)
566 *pce = zend_fetch_class(cur_arg_info->class_name, cur_arg_info->class_name_len, (fetch_type | ZEND_FETCH_CLASS_AUTO | ZEND_FETCH_CLASS_NO_AUTOLOAD) TSRMLS_CC);
568 *class_name = (*pce) ? (*pce)->name: cur_arg_info->class_name;
569 if (*pce && (*pce)->ce_flags & ZEND_ACC_INTERFACE) {
H A Dzend_opcode.c196 ZEND_API int zend_cleanup_user_class_data(zend_class_entry **pce TSRMLS_DC)
198 if ((*pce)->type == ZEND_USER_CLASS) {
199 cleanup_user_class_data(*pce TSRMLS_CC);
206 ZEND_API int zend_cleanup_class_data(zend_class_entry **pce TSRMLS_DC)
208 if ((*pce)->type == ZEND_USER_CLASS) {
209 cleanup_user_class_data(*pce TSRMLS_CC);
211 cleanup_internal_class_data(*pce TSRMLS_CC);
265 ZEND_API void destroy_zend_class(zend_class_entry **pce) argument
267 zend_class_entry *ce = *pce;
H A Dzend_builtin_functions.c823 zend_class_entry **pce; local
825 if (zend_lookup_class(Z_STRVAL_P(arg), Z_STRLEN_P(arg), &pce TSRMLS_CC) == SUCCESS) {
826 ce = *pce;
962 zend_class_entry **pce; local
968 if (zend_lookup_class(class_name, class_name_len, &pce TSRMLS_CC) == FAILURE) {
972 zend_update_class_constants(*pce TSRMLS_CC);
973 add_class_vars(*pce, 0, return_value TSRMLS_CC);
974 add_class_vars(*pce, 1, return_value TSRMLS_CC);
1042 zend_class_entry *ce = NULL, **pce; local
1057 if (zend_lookup_class(Z_STRVAL_P(klass), Z_STRLEN_P(klass), &pce TSRMLS_C
1118 zend_class_entry * ce, **pce; local
1174 zend_class_entry *ce, **pce; local
[all...]
H A Dzend_execute_API.c1555 zend_class_entry **pce;
1590 if (zend_lookup_class_ex(class_name, class_name_len, NULL, use_autoload, &pce TSRMLS_CC) == FAILURE) {
1604 return *pce;
1610 zend_class_entry **pce;
1613 if (zend_lookup_class_ex(class_name, class_name_len, key, use_autoload, &pce TSRMLS_CC) == FAILURE) {
1627 return *pce;
/PHP_5_4/ext/date/
H A Dphp_date.h182 PHPAPI zval *php_date_instantiate(zend_class_entry *pce, zval *object TSRMLS_DC);
/PHP_5_4/ext/fileinfo/libmagic/
H A Dfuncs.c446 pcre_cache_entry *pce; local
456 if ((pce = pcre_get_compiled_regex_cache(Z_STRVAL_P(patt), Z_STRLEN_P(patt) TSRMLS_CC)) == NULL) {
465 res = php_pcre_replace_impl(pce, ms->o.buf, strlen(ms->o.buf), repl,
H A Dsoftmagic.c345 pcre *pce; local
354 if ((pce = pcre_get_compiled_regex("~%[-0-9.]*s~", &re_extra, &re_options TSRMLS_CC)) == NULL) {
357 return !pcre_exec(pce, re_extra, m->desc, strlen(m->desc), 0, re_options, NULL, 0);
2043 pcre_cache_entry *pce; local
2058 if ((pce = pcre_get_compiled_regex_cache(Z_STRVAL_P(pattern), Z_STRLEN_P(pattern) TSRMLS_CC)) == NULL) {
2063 /* pce now contains the compiled regex */
2075 php_pcre_match_impl(pce, haystack, ms->search.s_len, retval, subpats, 1, 1, PREG_OFFSET_CAPTURE, 0 TSRMLS_CC);
/PHP_5_4/ext/dom/
H A Ddocument.c2397 zend_class_entry **pce; local
2398 if (zend_lookup_class(baseclass, baseclass_len, &pce TSRMLS_CC) == FAILURE) {
2402 basece = *pce;
2411 zend_class_entry **pce; local
2412 if (zend_lookup_class(extendedclass, extendedclass_len, &pce TSRMLS_CC) == FAILURE) {
2415 ce = *pce;
/PHP_5_4/ext/readline/
H A Dreadline_cli.c477 zend_class_entry **pce; local
478 char *retval = cli_completion_generator_ht(text, textlen, state, EG(class_table), (void**)&pce TSRMLS_CC);
481 retval = strdup((*pce)->name);
489 zend_class_entry **pce; local
490 char *retval = cli_completion_generator_ht(text, textlen, state, ht, (void**)&pce TSRMLS_CC);
526 zend_class_entry **pce = NULL; local
533 if (zend_lookup_class(class_name, class_name_len, &pce TSRMLS_CC)==FAILURE) {
546 retval = cli_completion_generator_func(lc_text, textlen, &cli_completion_state, pce ? &(*pce)->function_table : EG(function_table) TSRMLS_CC);
552 retval = cli_completion_generator_define(text, textlen, &cli_completion_state, pce
[all...]
/PHP_5_4/ext/wddx/
H A Dwddx.c919 zend_class_entry **pce; local
983 Z_STRLEN_P(ent1->data)+1, (void **) &pce)==FAILURE) {
985 pce = &PHP_IC_ENTRY;
990 object_init_ex(obj, *pce);
/PHP_5_4/ext/standard/
H A Dvar_unserializer.c624 zend_class_entry **pce; local
671 if (zend_lookup_class(class_name, len2, &pce TSRMLS_CC) == SUCCESS) {
677 ce = *pce;
728 if (zend_lookup_class(class_name, len2, &pce TSRMLS_CC) == SUCCESS) {
729 ce = *pce;

Completed in 53 milliseconds

12