Home
last modified time | relevance | path

Searched refs:ce (Results 51 – 75 of 144) sorted by relevance

123456

/PHP-5.5/Zend/
H A Dzend_closures.c85 zend_class_entry *ce, **ce_p; in ZEND_METHOD() local
99 ce = Z_OBJCE_P(scope_arg); in ZEND_METHOD()
101 ce = NULL; in ZEND_METHOD()
121 ce = closure->func.common.scope; in ZEND_METHOD()
128 ce = *ce_p; in ZEND_METHOD()
133 ce = closure->func.common.scope; in ZEND_METHOD()
136 zend_create_closure(return_value, &closure->func, ce, newthis TSRMLS_CC); in ZEND_METHOD()
417 zend_class_entry ce; in zend_register_closure_ce() local
419 INIT_CLASS_ENTRY(ce, "Closure", closure_functions); in zend_register_closure_ce()
420 zend_ce_closure = zend_register_internal_class(&ce TSRMLS_CC); in zend_register_closure_ce()
H A Dzend_vm_def.h1031 zend_class_entry *ce; variable
3441 ce = Z_OBJCE_P(obj);
3442 clone = ce ? ce->clone : NULL;
3445 if (ce) {
3452 if (ce && clone) {
3561 EG(scope) = ce;
4121 if (!ce || ce->get_iterator == NULL) {
4146 if (ce && ce->get_iterator) {
4152 if (!ce || !ce->get_iterator) {
4170 if (ce && ce->get_iterator) {
[all …]
H A Dzend_execute.h64 ZEND_API int zend_lookup_class(const char *name, int name_length, zend_class_entry ***ce TSRMLS_DC);
65 …ame, int name_length, const zend_literal *key, int use_autoload, zend_class_entry ***ce TSRMLS_DC);
353 void zend_verify_abstract_class(zend_class_entry *ce TSRMLS_DC);
399 #define CACHED_POLYMORPHIC_PTR(num, ce) \ argument
400 ((EG(active_op_array)->run_time_cache[(num)] == (ce)) ? \
404 #define CACHE_POLYMORPHIC_PTR(num, ce, ptr) do { \ argument
405 EG(active_op_array)->run_time_cache[(num)] = (ce); \
H A Dzend_vm_execute.h2543 clone = ce ? ce->clone : NULL; in ZEND_CLONE_SPEC_CONST_HANDLER()
2831 if (ce && ce->get_iterator) { in ZEND_FE_RESET_SPEC_CONST_HANDLER()
2837 if (!ce || !ce->get_iterator) { in ZEND_FE_RESET_SPEC_CONST_HANDLER()
2855 if (ce && ce->get_iterator) { in ZEND_FE_RESET_SPEC_CONST_HANDLER()
7854 clone = ce ? ce->clone : NULL; in ZEND_CLONE_SPEC_TMP_HANDLER()
8166 if (ce && ce->get_iterator) { in ZEND_FE_RESET_SPEC_TMP_HANDLER()
13171 clone = ce ? ce->clone : NULL; in ZEND_CLONE_SPEC_VAR_HANDLER()
13483 if (ce && ce->get_iterator) { in ZEND_FE_RESET_SPEC_VAR_HANDLER()
24260 clone = ce ? ce->clone : NULL; in ZEND_CLONE_SPEC_UNUSED_HANDLER()
30841 clone = ce ? ce->clone : NULL; in ZEND_CLONE_SPEC_CV_HANDLER()
[all …]
H A Dzend_constants.c320 zend_class_entry *ce = NULL; in zend_get_constant_ex() local
351 ce = scope; in zend_get_constant_ex()
364 ce = scope->parent; in zend_get_constant_ex()
370 ce = EG(called_scope); in zend_get_constant_ex()
377 ce = zend_fetch_class(class_name, class_name_len, flags TSRMLS_CC); in zend_get_constant_ex()
379 if (retval && ce) { in zend_get_constant_ex()
380 …if (zend_hash_find(&ce->constants_table, constant_name, const_name_len+1, (void **) &ret_constant)… in zend_get_constant_ex()
386 } else if (!ce) { in zend_get_constant_ex()
439 zval_update_constant_ex(ret_constant, (void*)1, ce TSRMLS_CC); in zend_get_constant_ex()
H A Dzend_objects.h28 ZEND_API void zend_object_std_init(zend_object *object, zend_class_entry *ce TSRMLS_DC);
H A Dzend_execute_API.c115 static int clean_non_persistent_class(zend_class_entry **ce TSRMLS_DC) /* {{{ */ in clean_non_persistent_class()
117 return ((*ce)->type == ZEND_INTERNAL_CLASS) ? ZEND_HASH_APPLY_STOP : ZEND_HASH_APPLY_REMOVE; in clean_non_persistent_class()
121 ZEND_API int clean_non_persistent_class_full(zend_class_entry **ce TSRMLS_DC) /* {{{ */ in clean_non_persistent_class_full()
123 return ((*ce)->type == ZEND_INTERNAL_CLASS) ? ZEND_HASH_APPLY_KEEP : ZEND_HASH_APPLY_REMOVE; in clean_non_persistent_class_full()
350 zend_class_entry *ce = EG(current_execute_data)->function_state.function->common.scope; in get_active_class_name() local
353 *space = ce ? "::" : ""; in get_active_class_name()
355 return ce ? ce->name : ""; in get_active_class_name()
1135 return zend_lookup_class_ex(name, name_length, NULL, 1, ce TSRMLS_CC); in zend_lookup_class()
1573 void zend_verify_abstract_class(zend_class_entry *ce TSRMLS_DC) /* {{{ */ in zend_verify_abstract_class()
1577 …if ((ce->ce_flags & ZEND_ACC_IMPLICIT_ABSTRACT_CLASS) && !(ce->ce_flags & ZEND_ACC_EXPLICIT_ABSTRA… in zend_verify_abstract_class()
[all …]
H A Dzend_compile.h227 zend_class_entry *ce; member
530 ZEND_API void zend_do_inherit_interfaces(zend_class_entry *ce, const zend_class_entry *iface TSRMLS…
531 ZEND_API void zend_do_implement_interface(zend_class_entry *ce, zend_class_entry *iface TSRMLS_DC);
540 ZEND_API void zend_do_implement_trait(zend_class_entry *ce, zend_class_entry *trait TSRMLS_DC);
541 ZEND_API void zend_do_bind_traits(zend_class_entry *ce TSRMLS_DC);
543 ZEND_API void zend_do_inheritance(zend_class_entry *ce, zend_class_entry *parent_ce TSRMLS_DC);
665 ZEND_API void zend_cleanup_internal_class_data(zend_class_entry *ce TSRMLS_DC);
670 ZEND_API int clean_non_persistent_class_full(zend_class_entry **ce TSRMLS_DC);
675 void zend_class_add_ref(zend_class_entry **ce);
697 ZEND_API void zend_initialize_class_data(zend_class_entry *ce, zend_bool nullify_handlers TSRMLS_DC…
/PHP-5.5/ext/pcre/pcrelib/
H A Dpcre_study.c106 pcre_uchar *cs, *ce; in find_minlength() local
398 ce = cs = (pcre_uchar *)PRIV(find_bracket)(startcode, utf, GET2(slot, 0)); in find_minlength()
400 do ce += GET(ce, 1); while (*ce == OP_ALT); in find_minlength()
401 if (cc > cs && cc < ce) /* Simple recursion */ in find_minlength()
438 ce = cs = (pcre_uchar *)PRIV(find_bracket)(startcode, utf, GET2(cc, 1)); in find_minlength()
440 do ce += GET(ce, 1); while (*ce == OP_ALT); in find_minlength()
441 if (cc > cs && cc < ce) /* Simple recursion */ in find_minlength()
508 cs = ce = (pcre_uchar *)startcode + GET(cc, 1); in find_minlength()
509 do ce += GET(ce, 1); while (*ce == OP_ALT); in find_minlength()
510 if (cc > cs && cc < ce) /* Simple recursion */ in find_minlength()
/PHP-5.5/ext/intl/timezone/
H A Dtimezone_class.cpp368 static zend_object_value TimeZone_object_create(zend_class_entry *ce TSRMLS_DC) in TimeZone_object_create()
375 zend_object_std_init(&intern->zo, ce TSRMLS_CC); in TimeZone_object_create()
377 zend_hash_copy(intern->zo.properties, &(ce->default_properties), in TimeZone_object_create()
380 object_properties_init((zend_object*) intern, ce); in TimeZone_object_create()
495 zend_class_entry ce; in timezone_register_IntlTimeZone_class() local
498 INIT_CLASS_ENTRY(ce, "IntlTimeZone", TimeZone_class_functions); in timezone_register_IntlTimeZone_class()
499 ce.create_object = TimeZone_object_create; in timezone_register_IntlTimeZone_class()
500 TimeZone_ce_ptr = zend_register_internal_class(&ce TSRMLS_CC); in timezone_register_IntlTimeZone_class()
/PHP-5.5/ext/intl/resourcebundle/
H A Dresourcebundle_iterator.h34 zend_object_iterator *resourcebundle_get_iterator( zend_class_entry *ce, zval *object, int byref TS…
/PHP-5.5/ext/dom/
H A Dxml_common.h66 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Couldn't fetch %s", __intern->std.ce->name);\
75 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Couldn't fetch %s", __intern->std.ce->name);\
/PHP-5.5/ext/spl/
H A Dspl_directory.c447 ce = ce ? ce : source->info_class; in spl_filesystem_object_create_info()
449 zend_update_class_constants(ce TSRMLS_CC); in spl_filesystem_object_create_info()
457 zend_call_method_with_1_params(&return_value, ce, &ce->constructor, "__construct", NULL, arg1); in spl_filesystem_object_create_info()
490 ce = ce ? ce : source->info_class; in spl_filesystem_object_create_type()
492 zend_update_class_constants(ce TSRMLS_CC); in spl_filesystem_object_create_type()
501 zend_call_method_with_1_params(&return_value, ce, &ce->constructor, "__construct", NULL, arg1); in spl_filesystem_object_create_type()
511 ce = ce ? ce : source->file_class; in spl_filesystem_object_create_type()
513 zend_update_class_constants(ce TSRMLS_CC); in spl_filesystem_object_create_type()
525 …zend_call_method_with_2_params(&return_value, ce, &ce->constructor, "__construct", NULL, arg1, arg… in spl_filesystem_object_create_type()
1355 intern->file_class = ce; in SPL_METHOD()
[all …]
H A Dspl_heap.c105 …zend_call_method_with_2_params(&object, heap_object->std.ce, &heap_object->fptr_cmp, "compare", &r… in spl_ptr_heap_cmp_cb_helper()
357 zend_object_iterator *spl_heap_get_iterator(zend_class_entry *ce, zval *object, int by_ref TSRMLS_D…
489 new_obj_val = spl_heap_object_new_ex(old_object->ce, &intern, zobject, 1 TSRMLS_CC); in spl_heap_object_clone()
504 zend_call_method_with_0_params(&object, intern->std.ce, &intern->fptr_count, "count", &rv); in spl_heap_object_count_elements()
547 pnstr = spl_gen_private_prop_name(ce, "flags", sizeof("flags")-1, &pnlen TSRMLS_CC); in spl_heap_object_get_debug_info_helper()
551 pnstr = spl_gen_private_prop_name(ce, "isCorrupted", sizeof("isCorrupted")-1, &pnlen TSRMLS_CC); in spl_heap_object_get_debug_info_helper()
563 pnstr = spl_gen_private_prop_name(ce, "heap", sizeof("heap")-1, &pnlen TSRMLS_CC); in spl_heap_object_get_debug_info_helper()
1102 zend_object_iterator *spl_heap_get_iterator(zend_class_entry *ce, zval *object, int by_ref TSRMLS_D… in spl_heap_get_iterator() argument
1117 iterator->intern.ce = ce; in spl_heap_get_iterator()
1126 zend_object_iterator *spl_pqueue_get_iterator(zend_class_entry *ce, zval *object, int by_ref TSRMLS… in spl_pqueue_get_iterator() argument
[all …]
H A Dspl_fixedarray.c221 zend_object_iterator *spl_fixedarray_get_iterator(zend_class_entry *ce, zval *object, int by_ref TS…
335 new_obj_val = spl_fixedarray_object_new_ex(old_object->ce, &intern, zobject, 1 TSRMLS_CC); in spl_fixedarray_object_clone()
386 …zend_call_method_with_1_params(&object, intern->std.ce, &intern->fptr_offset_get, "offsetGet", &rv… in spl_fixedarray_object_read_dimension()
447 …zend_call_method_with_2_params(&object, intern->std.ce, &intern->fptr_offset_set, "offsetSet", NUL… in spl_fixedarray_object_write_dimension()
487 …zend_call_method_with_1_params(&object, intern->std.ce, &intern->fptr_offset_del, "offsetUnset", N… in spl_fixedarray_object_unset_dimension()
537 …zend_call_method_with_1_params(&object, intern->std.ce, &intern->fptr_offset_has, "offsetExists", … in spl_fixedarray_object_has_dimension()
559 zend_call_method_with_0_params(&object, intern->std.ce, &intern->fptr_count, "count", &rv); in spl_fixedarray_object_count_elements()
1069 zend_object_iterator *spl_fixedarray_get_iterator(zend_class_entry *ce, zval *object, int by_ref TS… in spl_fixedarray_get_iterator() argument
1084 iterator->intern.ce = ce; in spl_fixedarray_get_iterator()
/PHP-5.5/ext/intl/breakiterator/
H A Dbreakiterator_iterators.h39 zend_class_entry *ce, zval *object, int by_ref TSRMLS_DC);
/PHP-5.5/ext/libxml/
H A Dlibxml.c787 zend_class_entry ce; in PHP_MINIT_FUNCTION() local
837 INIT_CLASS_ENTRY(ce, "LibXMLError", NULL); in PHP_MINIT_FUNCTION()
838 libxmlerror_class_entry = zend_register_internal_class(&ce TSRMLS_CC); in PHP_MINIT_FUNCTION()
1157 int php_libxml_register_export(zend_class_entry *ce, php_libxml_export_node export_function) in php_libxml_register_export() argument
1165 …return zend_hash_add(&php_libxml_exports, ce->name, ce->name_length + 1, &export_hnd, sizeof(expor… in php_libxml_register_export()
1170 zend_class_entry *ce = NULL; in php_libxml_import_node() local
1175 ce = Z_OBJCE_P(object); in php_libxml_import_node()
1176 while (ce->parent != NULL) { in php_libxml_import_node()
1177 ce = ce->parent; in php_libxml_import_node()
1179 …if (zend_hash_find(&php_libxml_exports, ce->name, ce->name_length + 1, (void **) &export_hnd) == … in php_libxml_import_node()
/PHP-5.5/ext/intl/
H A Dintl_error.c235 zend_class_entry ce, in intl_register_IntlException_class() local
241 INIT_CLASS_ENTRY_EX( ce, "IntlException", sizeof( "IntlException" ) - 1, NULL ); in intl_register_IntlException_class()
242 IntlException_ce_ptr = zend_register_internal_class_ex( &ce, in intl_register_IntlException_class()
/PHP-5.5/ext/standard/
H A Dtype.c225 zend_class_entry *ce; in php_is_type() local
230 ce = Z_OBJCE_PP(arg); in php_is_type()
231 if (!strcmp(ce->name, INCOMPLETE_CLASS)) { in php_is_type()
H A Duser_filters.c33 zend_class_entry *ce; member
337 if (fdat->ce == NULL) { in user_filter_factory_create()
339 (zend_class_entry ***)&fdat->ce TSRMLS_CC)) { in user_filter_factory_create()
345 fdat->ce = *(zend_class_entry**)fdat->ce; in user_filter_factory_create()
356 object_init_ex(obj, fdat->ce); in user_filter_factory_create()
/PHP-5.5/ext/simplexml/
H A Dphp_simplexml_exports.h42 PHP_SXE_API zend_object_value sxe_object_new(zend_class_entry *ce TSRMLS_DC);
H A Dsimplexml.c2093 zend_class_entry *parent = ce; in php_sxe_object_new()
2109 intern->zo.ce = ce; in php_sxe_object_new()
2170 zend_class_entry *ce= sxe_class_entry; in PHP_FUNCTION() local
2183 if (!ce) { in PHP_FUNCTION()
2184 ce = sxe_class_entry; in PHP_FUNCTION()
2208 zend_class_entry *ce= sxe_class_entry; in PHP_FUNCTION() local
2221 if (!ce) { in PHP_FUNCTION()
2222 ce = sxe_class_entry; in PHP_FUNCTION()
2459 zend_class_entry *ce= sxe_class_entry; in PHP_FUNCTION() local
2480 if (!ce) { in PHP_FUNCTION()
[all …]
/PHP-5.5/ext/reflection/
H A Dphp_reflection.h45 PHPAPI void zend_reflection_class_factory(zend_class_entry *ce, zval *object TSRMLS_DC);
/PHP-5.5/ext/pdo/
H A Dpdo.c360 zend_class_entry ce; in PHP_MINIT_FUNCTION() local
373 INIT_CLASS_ENTRY(ce, "PDOException", NULL); in PHP_MINIT_FUNCTION()
375 …pdo_exception_ce = zend_register_internal_class_ex(&ce, php_pdo_get_exception_base(0 TSRMLS_CC), N… in PHP_MINIT_FUNCTION()
/PHP-5.5/ext/com_dotnet/
H A Dcom_persist.c720 zend_object_std_init(&clone->std, object->std.ce TSRMLS_CC); in helper_clone()
736 static zend_object_value helper_new(zend_class_entry *ce TSRMLS_DC) in helper_new()
754 zend_class_entry ce; in php_com_persist_minit() local
759 INIT_CLASS_ENTRY(ce, "COMPersistHelper", com_persist_helper_methods); in php_com_persist_minit()
760 ce.create_object = helper_new; in php_com_persist_minit()
761 helper_ce = zend_register_internal_class(&ce TSRMLS_CC); in php_com_persist_minit()

Completed in 242 milliseconds

123456