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

12

/PHP_5_5/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
1466 pcre_cache_entry *pce; /* Compiled regular expression */ local
1485 php_pcre_split_impl(pcre_cache_entry *pce, char *subject, int subject_len, zval *return_value, long limit_val, long flags TSRMLS_DC) argument
1747 pcre_cache_entry *pce; /* Compiled regular expression */ local
1764 php_pcre_grep_impl(pcre_cache_entry *pce, zval *input, zval *return_value, long flags TSRMLS_DC) argument
[all...]
/PHP_5_5/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 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_5/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_5/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_iterators.h161 pcre_cache_entry *pce; member in struct:_spl_dual_it_object::__anon228::__anon232
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_5/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_5_5/ext/tidy/
H A Dtidy.c732 static zval * tidy_instanciate(zend_class_entry *pce, zval *object TSRMLS_DC) argument
739 object_init_ex(object, pce);
/PHP_5_5/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_5/Zend/
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) {
1812 zend_class_entry **pce; local
2529 zend_class_entry **pce; local
2677 zend_class_entry **pce; local
[all...]
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_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_vm_def.h4856 zend_class_entry **pce, **pce_orig; variable
4859 if (zend_hash_quick_find(EG(class_table), Z_STRVAL_P(opline->op2.zv), Z_STRLEN_P(opline->op2.zv)+1, Z_HASH_P(opline->op2.zv), (void**)&pce) == FAILURE ||
4861 *pce != *pce_orig)) {
/PHP_5_5/ext/imap/
H A Dphp_imap.c1321 pcre_cache_entry *pce; /* Compiled regex */ local
1333 if ((pce = pcre_get_compiled_regex_cache(regex, regex_len TSRMLS_CC))== NULL) {
1337 php_pcre_match_impl(pce, internal_date, internal_date_len, return_value, subpats, global,
/PHP_5_5/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_5/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_5/ext/opcache/
H A Dzend_accelerator_module.c297 zend_class_entry **pce, **pce_orig; local
299 if (zend_hash_find(EG(class_table), Z_STRVAL(EX(opline)->op2.u.constant), Z_STRLEN(EX(opline)->op2.u.constant) + 1, (void **)&pce) == FAILURE ||
301 *pce != *pce_orig)) {
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);
630 static void zend_class_copy_ctor(zend_class_entry **pce) argument
632 zend_class_entry *ce = *pce;
638 *pce = ce = emalloc(sizeof(zend_class_entry));
916 zend_class_entry **pce; local
920 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) {
921 do_bind_inherited_class(&op_array->opcodes[opline_num], EG(class_table), *pce, 1 TSRMLS_CC);
/PHP_5_5/ext/dom/
H A Ddocument.c2405 zend_class_entry **pce; local
2406 if (zend_lookup_class(baseclass, baseclass_len, &pce TSRMLS_CC) == FAILURE) {
2410 basece = *pce;
2419 zend_class_entry **pce; local
2420 if (zend_lookup_class(extendedclass, extendedclass_len, &pce TSRMLS_CC) == FAILURE) {
2423 ce = *pce;
/PHP_5_5/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_5/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 if (!zend_binary_strcasecmp((*pce)->name, (*pce)->name_length, hash_key->arKey, hash_key->nKeyLength-1)) {
1013 _class_string(str, *pce, NULL, indent TSRMLS_CC);
2184 zend_class_entry **pce; local
2386 zend_class_entry **pce, *ce; local
2671 zend_class_entry **pce; local
3842 zend_class_entry *ce, **pce; local
4525 zend_class_entry *ce, **pce, *class_ce; local
4570 zend_class_entry *ce, *interface_ce, **pce; local
4778 zend_class_entry **pce; local
[all...]
/PHP_5_5/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 65 milliseconds

12