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

12

/PHP_5_6/ext/pcre/
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,
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
1019 pcre_cache_entry *pce; /* Compiled regular expression */ local
1032 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
1501 pcre_cache_entry *pce; /* Compiled regular expression */ local
1520 php_pcre_split_impl(pcre_cache_entry *pce, char *subject, int subject_len, zval *return_value, long limit_val, long flags TSRMLS_DC) argument
1785 pcre_cache_entry *pce; /* Compiled regular expression */ local
1802 php_pcre_grep_impl(pcre_cache_entry *pce, zval *input, zval *return_value, long flags TSRMLS_DC) argument
[all...]
/PHP_5_6/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.c506 zend_class_entry *dbstmt_ce, **pce; local
519 || zend_lookup_class(Z_STRVAL_PP(item), Z_STRLEN_PP(item), &pce TSRMLS_CC) == FAILURE
528 dbstmt_ce = *pce;
775 zend_class_entry **pce; local
788 || zend_lookup_class(Z_STRVAL_PP(item), Z_STRLEN_PP(item), &pce TSRMLS_CC) == FAILURE
797 if (!instanceof_function(*pce, pdo_dbstmt_ce TSRMLS_CC)) {
803 if ((*pce)->constructor && !((*pce)->constructor->common.fn_flags & (ZEND_ACC_PRIVATE|ZEND_ACC_PROTECTED))) {
809 dbh->def_stmt_ce = *pce;
/PHP_5_6/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_6/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_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.h161 pcre_cache_entry *pce; member in struct:_spl_dual_it_object::__anon229::__anon233
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,
53 spl_instantiate_arg_n(zend_class_entry *pce, zval **retval, int argc, zval ***argv TSRMLS_DC) argument
[all...]
/PHP_5_6/sapi/cli/
H A Dphp_cli.c1095 zend_class_entry *pce = NULL; local
1104 pce = reflection_method_ptr;
1106 pce = reflection_function_ptr;
1110 pce = reflection_class_ptr;
1113 pce = reflection_extension_ptr;
1116 pce = reflection_zend_extension_ptr;
1123 object_init_ex(ref, pce);
1128 EX(function_state).function = pce->constructor;
1129 zend_call_method_with_1_params(&ref, pce, &pce
[all...]
/PHP_5_6/ext/date/
H A Dphp_date.h200 PHPAPI zval *php_date_instantiate(zend_class_entry *pce, zval *object TSRMLS_DC);
/PHP_5_6/ext/opcache/
H A Dzend_persist_calc.c262 static uint zend_persist_class_entry_calc(zend_class_entry **pce TSRMLS_DC)
264 zend_class_entry *ce = *pce;
H A Dzend_persist.c487 static void zend_persist_class_entry(zend_class_entry **pce TSRMLS_DC)
489 zend_class_entry *ce = *pce;
492 *pce = zend_accel_store(ce, sizeof(zend_class_entry));
627 static int zend_update_parent_ce(zend_class_entry **pce TSRMLS_DC)
629 zend_class_entry *ce = *pce;
H A Dzend_accelerator_util_funcs.c66 static void zend_accel_destroy_zend_class(zend_class_entry **pce) argument
68 zend_class_entry *ce = *pce;
71 destroy_zend_class(pce);
692 static void zend_class_copy_ctor(zend_class_entry **pce) argument
694 zend_class_entry *ce = *pce;
700 *pce = ce = emalloc(sizeof(zend_class_entry));
978 zend_class_entry **pce; local
982 if (zend_lookup_class(Z_STRVAL(op_array->opcodes[opline_num - 1].op2.u.constant), Z_STRLEN(op_array->opcodes[opline_num - 1].op2.u.constant), &pce TSRMLS_CC) == SUCCESS) {
983 do_bind_inherited_class(&op_array->opcodes[opline_num], EG(class_table), *pce, 1 TSRMLS_CC);
/PHP_5_6/Zend/
H A Dzend_builtin_functions.c826 zend_class_entry **pce; local
828 if (zend_lookup_class(Z_STRVAL_P(arg), Z_STRLEN_P(arg), &pce TSRMLS_CC) == SUCCESS) {
829 ce = *pce;
965 zend_class_entry **pce; local
971 if (zend_lookup_class(class_name, class_name_len, &pce TSRMLS_CC) == FAILURE) {
975 zend_update_class_constants(*pce TSRMLS_CC);
976 add_class_vars(*pce, 0, return_value TSRMLS_CC);
977 add_class_vars(*pce, 1, return_value TSRMLS_CC);
1052 zend_class_entry *ce = NULL, **pce; local
1067 if (zend_lookup_class(Z_STRVAL_P(klass), Z_STRLEN_P(klass), &pce TSRMLS_C
1128 zend_class_entry * ce, **pce; local
1184 zend_class_entry *ce, **pce; local
[all...]
H A Dzend_opcode.c200 ZEND_API int zend_cleanup_user_class_data(zend_class_entry **pce TSRMLS_DC)
202 if ((*pce)->type == ZEND_USER_CLASS) {
203 cleanup_user_class_data(*pce TSRMLS_CC);
210 ZEND_API int zend_cleanup_class_data(zend_class_entry **pce TSRMLS_DC)
212 if ((*pce)->type == ZEND_USER_CLASS) {
213 cleanup_user_class_data(*pce TSRMLS_CC);
215 cleanup_internal_class_data(*pce TSRMLS_CC);
269 ZEND_API void destroy_zend_class(zend_class_entry **pce) argument
271 zend_class_entry *ce = *pce;
H A Dzend_API.c589 zend_class_entry **lookup, **pce = va_arg(*va, zend_class_entry **); local
590 zend_class_entry *ce_base = *pce;
593 *pce = NULL;
598 *pce = NULL;
600 *pce = *lookup;
603 if ((!*pce || !instanceof_function(*pce, ce_base TSRMLS_CC))) {
606 *pce = NULL;
610 if (!*pce) {
1811 zend_class_entry **pce; local
2543 zend_class_entry **pce; local
2688 zend_class_entry **pce; local
[all...]
/PHP_5_6/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_6/ext/fileinfo/libmagic/
H A Dfuncs.c444 pcre_cache_entry *pce; local
456 if ((pce = pcre_get_compiled_regex_cache(Z_STRVAL_P(patt), Z_STRLEN_P(patt) TSRMLS_CC)) == NULL) {
466 res = php_pcre_replace_impl(pce, ms->o.buf, strlen(ms->o.buf), repl,
/PHP_5_6/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);
1010 static int _extension_class_string(zend_class_entry **pce TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */
1017 if (((*pce)->type == ZEND_INTERNAL_CLASS) && (*pce)->info.internal.module && !strcasecmp((*pce)->info.internal.module->name, module->name)) {
1019 if (!zend_binary_strcasecmp((*pce)->name, (*pce)->name_length, hash_key->arKey, hash_key->nKeyLength-1)) {
1021 _class_string(str, *pce, NULL, indent TSRMLS_CC);
2192 zend_class_entry **pce; local
2394 zend_class_entry **pce, *ce; local
2698 zend_class_entry **pce; local
3877 zend_class_entry *ce, **pce; local
4560 zend_class_entry *ce, **pce, *class_ce; local
4605 zend_class_entry *ce, *interface_ce, **pce; local
4813 zend_class_entry **pce; local
[all...]
/PHP_5_6/ext/opcache/Optimizer/
H A Dpass1_5.c269 zend_class_entry **pce = NULL; variable
277 pce = &op_array->scope;
283 (void **)&pce) == FAILURE ||
284 ((*pce)->type == ZEND_INTERNAL_CLASS &&
285 (*pce)->info.internal.module->type != MODULE_PERSISTENT) ||
286 ((*pce)->type == ZEND_USER_CLASS &&
287 ZEND_CE_FILENAME(*pce) != op_array->filename)) {
298 pce = &op_array->scope;
301 if (pce) {
305 if (zend_hash_find(&(*pce)
[all...]
/PHP_5_6/ext/standard/
H A Dvar_unserializer.c619 zend_class_entry **pce; local
666 if (zend_lookup_class(class_name, len2, &pce TSRMLS_CC) == SUCCESS) {
672 ce = *pce;
723 if (zend_lookup_class(class_name, len2, &pce TSRMLS_CC) == SUCCESS) {
724 ce = *pce;
/PHP_5_6/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));

Completed in 38 milliseconds

12