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

12

/PHP_5_3/ext/fileinfo/libmagic/
H A Dfuncs.c438 pcre_cache_entry *pce; local
449 if ((pce = pcre_get_compiled_regex_cache(Z_STRVAL_P(patt), Z_STRLEN_P(patt) TSRMLS_CC)) == NULL) {
451 if ((pce = pcre_get_compiled_regex_cache(IS_STRING, Z_STRVAL_P(patt), Z_STRLEN_P(patt) TSRMLS_CC)) == NULL) {
461 res = php_pcre_replace_impl(pce, ms->o.buf, strlen(ms->o.buf), repl,
H A Dsoftmagic.c325 pcre *pce; local
334 if ((pce = pcre_get_compiled_regex("~%[-0-9.]*s~", &re_extra, &re_options TSRMLS_CC)) == NULL) {
337 return !pcre_exec(pce, re_extra, m->desc, strlen(m->desc), 0, re_options, NULL, 0);
1839 pcre_cache_entry *pce; local
1855 if ((pce = pcre_get_compiled_regex_cache(Z_STRVAL_P(pattern), Z_STRLEN_P(pattern) TSRMLS_CC)) == NULL) {
1857 if ((pce = pcre_get_compiled_regex_cache(IS_STRING, Z_STRVAL_P(pattern), Z_STRLEN_P(pattern) TSRMLS_CC)) == NULL) {
1863 /* pce now contains the compiled regex */
1876 php_pcre_match_impl(pce, haystack, ms->search.s_len, retval, subpats, 1, 1, PREG_OFFSET_CAPTURE, 0 TSRMLS_CC);
1878 php_pcre_match_impl(pce, IS_STRING, haystack, ms->search.s_len, retval, subpats, 1, 1, PREG_OFFSET_CAPTURE, 0 TSRMLS_CC);
/PHP_5_3/ext/dom/
H A Ddocument.c2370 zend_class_entry **pce; local
2371 if (zend_lookup_class(baseclass, baseclass_len, &pce TSRMLS_CC) == FAILURE) {
2375 basece = *pce;
2384 zend_class_entry **pce; local
2385 if (zend_lookup_class(extendedclass, extendedclass_len, &pce TSRMLS_CC) == FAILURE) {
2388 ce = *pce;
/PHP_5_3/ext/imap/
H A Dphp_imap.c1330 pcre_cache_entry *pce; /* Compiled regex */ local
1342 if ((pce = pcre_get_compiled_regex_cache(regex, regex_len TSRMLS_CC))== NULL) {
1346 php_pcre_match_impl(pce, internal_date, internal_date_len, return_value, subpats, global,
/PHP_5_3/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.c513 zend_class_entry *dbstmt_ce, **pce; local
526 || zend_lookup_class(Z_STRVAL_PP(item), Z_STRLEN_PP(item), &pce TSRMLS_CC) == FAILURE
535 dbstmt_ce = *pce;
778 zend_class_entry **pce; local
791 || zend_lookup_class(Z_STRVAL_PP(item), Z_STRLEN_PP(item), &pce TSRMLS_CC) == FAILURE
800 if (!instanceof_function(*pce, pdo_dbstmt_ce TSRMLS_CC)) {
806 if ((*pce)->constructor && !((*pce)->constructor->common.fn_flags & (ZEND_ACC_PRIVATE|ZEND_ACC_PROTECTED))) {
812 dbh->def_stmt_ce = *pce;
/PHP_5_3/ext/reflection/
H A Dphp_reflection.c323 static zval * reflection_instantiate(zend_class_entry *pce, zval *object TSRMLS_DC) argument
329 object_init_ex(object, pce);
976 static int _extension_class_string(zend_class_entry **pce TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key)
983 if ((*pce)->module && !strcasecmp((*pce)->module->name, module->name)) {
985 _class_string(str, *pce, NULL, indent TSRMLS_CC);
2032 zend_class_entry **pce; local
2047 if (zend_lookup_class(Z_STRVAL_PP(classref), Z_STRLEN_PP(classref), &pce TSRMLS_CC) == FAILURE) {
2052 ce = *pce;
2234 zend_class_entry **pce, *c local
2441 zend_class_entry **pce; local
3580 zend_class_entry *ce, **pce; local
4114 zend_class_entry *ce, **pce, *class_ce; local
4159 zend_class_entry *ce, *interface_ce, **pce; local
4366 zend_class_entry **pce; local
[all...]
/PHP_5_3/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_3/ext/soap/
H A Dphp_encoding.c1487 static zval *to_zval_object_ex(encodeTypePtr type, xmlNodePtr data, zend_class_entry *pce) argument
1497 if (pce) {
1498 ce = pce;
/PHP_5_3/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_classes(zend_class_entry *pce, zval *list, int sub, int allow, int ce_flags TSRMLS_DC) argument
[all...]
H A Dspl_iterators.h155 pcre_cache_entry *pce; member in struct:_spl_dual_it_object::__anon195::__anon199
/PHP_5_3/ext/sqlite/
H A Dsqlite.c1225 static zval * sqlite_instanciate(zend_class_entry *pce, zval *object TSRMLS_DC) argument
1231 object_init_ex(object, pce);
/PHP_5_3/ext/standard/
H A Dvar_unserializer.c553 zend_class_entry **pce; local
599 if (zend_lookup_class(class_name, len2, &pce TSRMLS_CC) == SUCCESS) {
600 ce = *pce;
630 if (zend_lookup_class(class_name, len2, &pce TSRMLS_CC) == SUCCESS) {
631 ce = *pce;
/PHP_5_3/ext/sybase_ct/
H A Dphp_sybase_ct.c1872 zend_class_entry **pce = NULL; local
1875 if (zend_lookup_class(Z_STRVAL_P(object), Z_STRLEN_P(object), &pce TSRMLS_CC) == FAILURE) {
1879 ce = *pce;
/PHP_5_3/ext/tidy/
H A Dtidy.c748 static zval * tidy_instanciate(zend_class_entry *pce, zval *object TSRMLS_DC) argument
755 object_init_ex(object, pce);
/PHP_5_3/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_3/sapi/cli/
H A Dphp_cli.c1288 zend_class_entry *pce = NULL; local
1297 pce = reflection_method_ptr;
1299 pce = reflection_function_ptr;
1303 pce = reflection_class_ptr;
1306 pce = reflection_extension_ptr;
1313 object_init_ex(ref, pce);
1318 EX(function_state).function = pce->constructor;
1319 zend_call_method_with_1_params(&ref, pce, &pce->constructor, "__construct", NULL, arg);
H A Dphp_cli_readline.c332 zend_class_entry **pce; local
333 char *retval = cli_completion_generator_ht(text, textlen, state, EG(class_table), (void**)&pce TSRMLS_CC);
336 retval = strdup((*pce)->name);
344 zend_class_entry **pce; local
345 char *retval = cli_completion_generator_ht(text, textlen, state, ht, (void**)&pce TSRMLS_CC);
379 zend_class_entry **pce = NULL; local
386 if (zend_lookup_class(class_name, class_name_len, &pce TSRMLS_CC)==FAILURE) {
399 retval = cli_completion_generator_func(lc_text, textlen, &cli_completion_state, pce ? &(*pce)->function_table : EG(function_table) TSRMLS_CC);
405 retval = cli_completion_generator_define(text, textlen, &cli_completion_state, pce
[all...]
/PHP_5_3/Zend/
H A Dzend_API.c548 zend_class_entry **lookup, **pce = va_arg(*va, zend_class_entry **); local
549 zend_class_entry *ce_base = *pce;
552 *pce = NULL;
557 *pce = NULL;
559 *pce = *lookup;
562 if ((!*pce || !instanceof_function(*pce, ce_base TSRMLS_CC))) {
565 *pce = NULL;
569 if (!*pce) {
2224 zend_class_entry **pce; local
2363 zend_class_entry **pce; local
[all...]
H A Dzend_opcode.c155 ZEND_API int zend_cleanup_class_data(zend_class_entry **pce TSRMLS_DC)
157 if ((*pce)->type == ZEND_USER_CLASS) {
161 zend_hash_apply(&(*pce)->function_table, (apply_func_t) zend_cleanup_function_data_full TSRMLS_CC);
162 if ((*pce)->static_members) {
163 zend_hash_clean((*pce)->static_members);
164 (*pce)->static_members = NULL;
166 } else if (CE_STATIC_MEMBERS(*pce)) {
167 zend_hash_destroy(CE_STATIC_MEMBERS(*pce));
168 FREE_HASHTABLE(CE_STATIC_MEMBERS(*pce));
170 CG(static_members)[(zend_intptr_t)((*pce)
178 destroy_zend_class(zend_class_entry **pce) argument
[all...]
H A Dzend_builtin_functions.c796 zend_class_entry **pce; local
798 if (zend_lookup_class(Z_STRVAL_P(arg), Z_STRLEN_P(arg), &pce TSRMLS_CC) == SUCCESS) {
799 ce = *pce;
930 zend_class_entry **pce; local
936 if (zend_lookup_class(class_name, class_name_len, &pce TSRMLS_CC) == FAILURE) {
940 zend_update_class_constants(*pce TSRMLS_CC);
941 add_class_vars(*pce, &(*pce)->default_properties, return_value TSRMLS_CC);
942 add_class_vars(*pce, CE_STATIC_MEMBERS(*pce), return_valu
1002 zend_class_entry *ce = NULL, **pce; local
1066 zend_class_entry * ce, **pce; local
1122 zend_class_entry *ce, **pce; local
[all...]
H A Dzend_vm_def.h4225 zend_class_entry **pce, **pce_orig; variable
4227 if (zend_hash_find(EG(class_table), Z_STRVAL(opline->op2.u.constant), Z_STRLEN(opline->op2.u.constant)+1, (void**)&pce) == FAILURE ||
4229 *pce != *pce_orig)) {
/PHP_5_3/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
451 pcre_cache_entry * pce = pcre_get_compiled_regex_cache(regex, strlen(regex) TSRMLS_CC); local
468 pcre_cache_entry * pce = pcre_get_compiled_regex_cache(regex, strlen(regex) TSRMLS_CC); local
512 pcre_cache_entry *pce; /* Compiled regular expression */ local
533 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
964 pcre_cache_entry *pce; /* Compiled regular expression */ local
977 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
1436 pcre_cache_entry *pce; /* Compiled regular expression */ local
1455 php_pcre_split_impl(pcre_cache_entry *pce, char *subject, int subject_len, zval *return_value, long limit_val, long flags TSRMLS_DC) argument
1717 pcre_cache_entry *pce; /* Compiled regular expression */ local
1734 php_pcre_grep_impl(pcre_cache_entry *pce, zval *input, zval *return_value, long flags TSRMLS_DC) argument
[all...]

Completed in 79 milliseconds

12