Home
last modified time | relevance | path

Searched refs:ce (Results 126 – 150 of 298) sorted by relevance

12345678910>>...12

/php-src/Zend/
H A Dzend_execute.c964 if (!ce) { in zend_ce_from_type()
967 return ce; in zend_ce_from_type()
980 if (!ce || !instanceof_function(value_ce, ce)) { in zend_check_intersection_for_property_or_class_constant_class_type()
1005 if (ce && instanceof_function(value_ce, ce)) { in zend_check_and_resolve_property_or_class_constant_class_type()
1020 return ce && instanceof_function(value_ce, ce); in zend_check_and_resolve_property_or_class_constant_class_type()
1118 if (!ce) { in zend_fetch_ce_from_cache_slot()
1135 return ce; in zend_fetch_ce_from_cache_slot()
1151 if (!ce || !instanceof_function(arg_ce, ce)) { in zend_check_intersection_type_from_cache_slot()
1196 if (ce && instanceof_function(Z_OBJCE_P(arg), ce)) { in zend_check_type_slow()
2838 zend_class_entry *ce = obj->ce; in zend_fetch_dimension_address() local
[all …]
H A Dzend_execute.h458 #define CACHED_POLYMORPHIC_PTR(num, ce) \ argument
459 (EXPECTED(((void**)((char*)EX(run_time_cache) + (num)))[0] == (void*)(ce)) ? \
463 #define CACHE_POLYMORPHIC_PTR(num, ce, ptr) do { \ argument
465 slot[0] = (ce); \
476 #define CACHED_POLYMORPHIC_PTR_EX(slot, ce) \ argument
477 (EXPECTED((slot)[0] == (ce)) ? (slot)[1] : NULL)
479 #define CACHE_POLYMORPHIC_PTR_EX(slot, ce, ptr) do { \ argument
480 (slot)[0] = (ce); \
508 #define ZEND_CLASS_HAS_TYPE_HINTS(ce) ((bool)(ce->ce_flags & ZEND_ACC_HAS_TYPE_HINTS)) argument
509 #define ZEND_CLASS_HAS_READONLY_PROPS(ce) ((bool)(ce->ce_flags & ZEND_ACC_HAS_READONLY_PROPS)) argument
H A Dzend_property_hooks.h37 ZEND_API zend_object_iterator *zend_hooked_object_get_iterator(zend_class_entry *ce, zval *object, …
H A Dzend_extensions.c329 zend_class_entry *ce; in zend_init_internal_run_time_cache() local
330 ZEND_HASH_MAP_FOREACH_PTR(CG(class_table), ce) { in zend_init_internal_run_time_cache()
331 functions += zend_hash_num_elements(&ce->function_table); in zend_init_internal_run_time_cache()
347 ZEND_HASH_MAP_FOREACH_PTR(CG(class_table), ce) { in zend_init_internal_run_time_cache()
348 ZEND_HASH_MAP_FOREACH_PTR(&ce->function_table, zif) { in zend_init_internal_run_time_cache()
H A Dzend_vm_def.h3758 fbc = ce->get_static_method(ce, Z_STR_P(function_name));
4759 ce = EG(exception)->ce;
5282 if (!ce || !ce->get_iterator) {
5286 iter = ce->get_iterator(ce, args, 0);
5969 ce = zobj->ce;
6287 if (!ce || !ce->get_iterator) {
6290 iter = ce->get_iterator(ce, op1, 0);
7908 if (!ce) {
7932 if (!ce) {
8001 result = ce && instanceof_function(Z_OBJCE_P(expr), ce);
[all …]
H A Dzend_vm_execute.h2385 if (!ce || !ce->get_iterator) { in ZEND_SEND_UNPACK_SPEC_HANDLER()
2389 iter = ce->get_iterator(ce, args, 0); in ZEND_SEND_UNPACK_SPEC_HANDLER()
2766 if (!ce || !ce->get_iterator) { in ZEND_ADD_ARRAY_UNPACK_SPEC_HANDLER()
2769 iter = ce->get_iterator(ce, op1, 0); in ZEND_ADD_ARRAY_UNPACK_SPEC_HANDLER()
3124 if (!ce) { in ZEND_DECLARE_ANON_CLASS_SPEC_HANDLER()
5006 ce = EG(exception)->ce; in ZEND_CATCH_SPEC_CONST_HANDLER()
5120 ce = zobj->ce; in ZEND_CLONE_SPEC_CONST_HANDLER()
7951 if (!ce) { in ZEND_DECLARE_CLASS_DELAYED_SPEC_CONST_CONST_HANDLER()
15245 ce = zobj->ce; in ZEND_CLONE_SPEC_TMPVAR_HANDLER()
33408 ce = zobj->ce; in ZEND_CLONE_SPEC_UNUSED_HANDLER()
[all …]
/php-src/ext/dom/
H A Dphp_dom.c277 if (ce == NULL) { in dom_set_doc_classmap()
283 if (ce) { in dom_set_doc_classmap()
297 if (ce) { in dom_get_doc_classmap()
298 return ce; in dom_get_doc_classmap()
1623 zend_class_entry *ce; in php_dom_create_iterator() local
1638 object_init_ex(return_value, ce); in php_dom_create_iterator()
1676 zend_class_entry *ce; in php_dom_create_object() local
1701 ce = dom_get_attr_ce(modern); in php_dom_create_object()
1706 ce = dom_get_text_ce(modern); in php_dom_create_object()
1727 ce = dom_get_entity_ce(modern); in php_dom_create_object()
[all …]
/php-src/ext/intl/resourcebundle/
H A Dresourcebundle_iterator.h32 zend_object_iterator *resourcebundle_get_iterator( zend_class_entry *ce, zval *object, int byref );
H A Dresourcebundle_class.c57 static zend_object *ResourceBundle_object_create( zend_class_entry *ce ) in ResourceBundle_object_create() argument
61 rb = zend_object_alloc(sizeof(ResourceBundle_object), ce); in ResourceBundle_object_create()
63 zend_object_std_init( &rb->zend, ce ); in ResourceBundle_object_create()
64 object_properties_init( &rb->zend, ce); in ResourceBundle_object_create()
256 zend_illegal_container_offset(object->ce->name, offset, type); in resourcebundle_array_get()
/php-src/ext/mysqli/
H A Dmysqli_warning.c147 zend_throw_error(NULL, "%s object is already closed", ZSTR_VAL(obj->zo.ce->name)); in mysqli_warning_message()
167 zend_throw_error(NULL, "%s object is already closed", ZSTR_VAL(obj->zo.ce->name)); in mysqli_warning_sqlstate()
187 zend_throw_error(NULL, "%s object is already closed", ZSTR_VAL(obj->zo.ce->name)); in mysqli_warning_errno()
/php-src/ext/intl/normalizer/
H A Dnormalizer_arginfo.h38 zend_class_entry ce, *class_entry; in register_class_Normalizer() local
40 INIT_CLASS_ENTRY(ce, "Normalizer", class_Normalizer_methods); in register_class_Normalizer()
41 class_entry = zend_register_internal_class_with_flags(&ce, NULL, 0); in register_class_Normalizer()
/php-src/ext/pdo_sqlite/
H A Dpdo_sqlite_arginfo.h58 zend_class_entry ce, *class_entry; in register_class_Pdo_Sqlite() local
60 INIT_NS_CLASS_ENTRY(ce, "Pdo", "Sqlite", class_Pdo_Sqlite_methods); in register_class_Pdo_Sqlite()
61 …class_entry = zend_register_internal_class_with_flags(&ce, class_entry_PDO, ZEND_ACC_NO_DYNAMIC_PR… in register_class_Pdo_Sqlite()
/php-src/ext/spl/
H A Dspl_fixedarray_arginfo.h94 zend_class_entry ce, *class_entry; in register_class_SplFixedArray() local
96 INIT_CLASS_ENTRY(ce, "SplFixedArray", class_SplFixedArray_methods); in register_class_SplFixedArray()
97 class_entry = zend_register_internal_class_with_flags(&ce, NULL, 0); in register_class_SplFixedArray()
H A Dspl_directory.c476 ZEND_ASSERT(ce != NULL); in spl_filesystem_object_create_info()
483 …zend_call_method_with_1_params(Z_OBJ_P(return_value), ce, &ce->constructor, "__construct", NULL, &… in spl_filesystem_object_create_info()
512 ce = ce ? ce : source->info_class; in spl_filesystem_object_create_type()
523 …zend_call_method_with_1_params(Z_OBJ_P(return_value), ce, &ce->constructor, "__construct", NULL, &… in spl_filesystem_object_create_type()
532 ce = ce ? ce : source->file_class; in spl_filesystem_object_create_type()
553 …zend_call_method_with_2_params(Z_OBJ_P(return_value), ce, &ce->constructor, "__construct", NULL, &… in spl_filesystem_object_create_type()
1320 intern->file_class = ce; in PHP_METHOD()
1334 intern->info_class = ce; in PHP_METHOD()
1356 zend_class_entry *ce = NULL; in PHP_METHOD() local
1363 if (ce == NULL) { in PHP_METHOD()
[all …]
H A Dspl_heap.c489 zend_object *new_object = spl_heap_object_new_ex(old_object->ce, old_object, 1); in spl_heap_object_clone()
503 zend_call_method_with_0_params(object, intern->std.ce, &intern->fptr_count, "count", &rv); in spl_heap_object_count_elements()
519 static HashTable* spl_heap_object_get_debug_info(const zend_class_entry *ce, zend_object *obj) { /*… in spl_heap_object_get_debug_info() argument
530 spl_set_private_debug_info_property(ce, "flags", strlen("flags"), debug_info, &tmp); in spl_heap_object_get_debug_info()
533 spl_set_private_debug_info_property(ce, "isCorrupted", strlen("isCorrupted"), debug_info, &tmp); in spl_heap_object_get_debug_info()
538 if (ce == spl_ce_SplPriorityQueue) { in spl_heap_object_get_debug_info()
550 spl_set_private_debug_info_property(ce, "heap", strlen("heap"), debug_info, &heap_array); in spl_heap_object_get_debug_info()
1101 static zend_object_iterator *spl_heap_get_iterator(zend_class_entry *ce, zval *object, int by_ref) … in spl_heap_get_iterator() argument
1113 iterator->ce = ce; in spl_heap_get_iterator()
1120 static zend_object_iterator *spl_pqueue_get_iterator(zend_class_entry *ce, zval *object, int by_ref… in spl_pqueue_get_iterator() argument
[all …]
H A Dspl_functions.h32 void spl_set_private_debug_info_property(const zend_class_entry *ce, const char *property, size_t p…
H A Dspl_array.c237 new_object = spl_array_object_new_ex(old_object->ce, old_object, 1); in spl_array_object_clone()
502 zend_illegal_container_offset(object->ce->name, offset, BP_VAR_W); in spl_array_write_dimension_ex()
543 zend_illegal_container_offset(object->ce->name, offset, BP_VAR_UNSET); in spl_array_unset_dimension_ex()
613 zend_illegal_container_offset(object->ce->name, offset, BP_VAR_IS); in spl_array_has_dimension_ex()
970 ZSTR_VAL(Z_OBJCE_P(array)->name), ZSTR_VAL(intern->std.ce->name)); in spl_array_set_array()
976 ZSTR_VAL(intern->std.ce->name)); in spl_array_set_array()
1484 if (!ce) { in PHP_METHOD()
1491 if (!instanceof_function(ce, zend_ce_iterator)) { in PHP_METHOD()
1498 intern->ce_get_iterator = ce; in PHP_METHOD()
1570 zend_class_entry *ce = Z_OBJCE(object->array); in spl_array_it_get_current_data() local
[all …]
/php-src/ext/intl/breakiterator/
H A Dbreakiterator_iterators.h37 zend_class_entry *ce, zval *object, int by_ref);
/php-src/ext/intl/timezone/
H A Dtimezone_class.cpp230 zend_object *ret_val = TimeZone_ce_ptr->create_object(object->ce); in TimeZone_clone_obj()
356 static zend_object *TimeZone_object_create(zend_class_entry *ce) in TimeZone_object_create() argument
360 …intern = (TimeZone_object*)ecalloc(1, sizeof(TimeZone_object) + sizeof(zval) * (ce->default_proper… in TimeZone_object_create()
362 zend_object_std_init(&intern->zo, ce); in TimeZone_object_create()
363 object_properties_init(&intern->zo, ce); in TimeZone_object_create()
/php-src/ext/random/
H A Dengine_mt19937.c354 …_exception_ex(NULL, 0, "Invalid serialization data for %s object", ZSTR_VAL(engine->std.ce->name)); in PHP_METHOD()
361 …_exception_ex(NULL, 0, "Invalid serialization data for %s object", ZSTR_VAL(engine->std.ce->name)); in PHP_METHOD()
366 …_exception_ex(NULL, 0, "Invalid serialization data for %s object", ZSTR_VAL(engine->std.ce->name)); in PHP_METHOD()
373 …_exception_ex(NULL, 0, "Invalid serialization data for %s object", ZSTR_VAL(engine->std.ce->name)); in PHP_METHOD()
377 …_exception_ex(NULL, 0, "Invalid serialization data for %s object", ZSTR_VAL(engine->std.ce->name)); in PHP_METHOD()
/php-src/ext/sqlite3/
H A Dsqlite3_arginfo.h290 zend_class_entry ce, *class_entry; in register_class_SQLite3Exception() local
292 INIT_CLASS_ENTRY(ce, "SQLite3Exception", NULL); in register_class_SQLite3Exception()
300 zend_class_entry ce, *class_entry; in register_class_SQLite3() local
302 INIT_CLASS_ENTRY(ce, "SQLite3", class_SQLite3_methods); in register_class_SQLite3()
303 class_entry = zend_register_internal_class_with_flags(&ce, NULL, ZEND_ACC_NOT_SERIALIZABLE); in register_class_SQLite3()
534 zend_class_entry ce, *class_entry; in register_class_SQLite3Stmt() local
536 INIT_CLASS_ENTRY(ce, "SQLite3Stmt", class_SQLite3Stmt_methods); in register_class_SQLite3Stmt()
537 class_entry = zend_register_internal_class_with_flags(&ce, NULL, ZEND_ACC_NOT_SERIALIZABLE); in register_class_SQLite3Stmt()
544 zend_class_entry ce, *class_entry; in register_class_SQLite3Result() local
546 INIT_CLASS_ENTRY(ce, "SQLite3Result", class_SQLite3Result_methods); in register_class_SQLite3Result()
[all …]
/php-src/ext/libxml/
H A Dlibxml_arginfo.h105 zend_class_entry ce, *class_entry; in register_class_LibXMLError() local
107 INIT_CLASS_ENTRY(ce, "LibXMLError", NULL); in register_class_LibXMLError()
108 class_entry = zend_register_internal_class_with_flags(&ce, NULL, 0); in register_class_LibXMLError()
/php-src/ext/simplexml/
H A Dsimplexml.c2142 zend_class_entry *parent = ce; in php_sxe_find_fptr_count()
2177 zend_object_std_init(&intern->zo, ce); in php_sxe_object_new()
2178 object_properties_init(&intern->zo, ce); in php_sxe_object_new()
2186 sxe_object_new(zend_class_entry *ce) in sxe_object_new() argument
2190 intern = php_sxe_object_new(ce, php_sxe_find_fptr_count(ce)); in sxe_object_new()
2225 if (!ce) { in PHP_FUNCTION()
2226 ce = ce_SimpleXMLElement; in PHP_FUNCTION()
2279 if (!ce) { in PHP_FUNCTION()
2280 ce = ce_SimpleXMLElement; in PHP_FUNCTION()
2594 if (!ce) { in PHP_FUNCTION()
[all …]
/php-src/ext/xsl/
H A Dphp_xsl_arginfo.h117 zend_class_entry ce, *class_entry; in register_class_XSLTProcessor() local
119 INIT_CLASS_ENTRY(ce, "XSLTProcessor", class_XSLTProcessor_methods); in register_class_XSLTProcessor()
120 class_entry = zend_register_internal_class_with_flags(&ce, NULL, 0); in register_class_XSLTProcessor()
/php-src/ext/pdo_pgsql/
H A Dpdo_pgsql_arginfo.h86 zend_class_entry ce, *class_entry; in register_class_Pdo_Pgsql() local
88 INIT_NS_CLASS_ENTRY(ce, "Pdo", "Pgsql", class_Pdo_Pgsql_methods); in register_class_Pdo_Pgsql()
89 …class_entry = zend_register_internal_class_with_flags(&ce, class_entry_PDO, ZEND_ACC_NO_DYNAMIC_PR… in register_class_Pdo_Pgsql()

Completed in 251 milliseconds

12345678910>>...12