Lines Matching refs:ce

744 	zend_class_entry * ce = stmt->fetch.cls.ce;  in do_fetch_class_prepare()  local
750 if (!ce) { in do_fetch_class_prepare()
751 stmt->fetch.cls.ce = ZEND_STANDARD_CLASS_DEF_PTR; in do_fetch_class_prepare()
752 ce = ZEND_STANDARD_CLASS_DEF_PTR; in do_fetch_class_prepare()
755 if (ce->constructor) { in do_fetch_class_prepare()
756 fci->function_table = &ce->function_table; in do_fetch_class_prepare()
778 fcc->function_handler = ce->constructor; in do_fetch_class_prepare()
780 fcc->called_scope = ce; in do_fetch_class_prepare()
857 zend_class_entry *ce = NULL, *old_ce = NULL; in do_fetch() local
945 old_ce = stmt->fetch.cls.ce; in do_fetch()
955 stmt->fetch.cls.ce = ZEND_STANDARD_CLASS_DEF_PTR; in do_fetch()
957 stmt->fetch.cls.ce = *cep; in do_fetch()
964 ce = stmt->fetch.cls.ce; in do_fetch()
965 if (!ce) { in do_fetch()
970 object_init_ex(return_value, ce); in do_fetch()
977 if (ce->constructor && (flags & PDO_FETCH_PROPS_LATE)) { in do_fetch()
1128 zend_update_property(ce, return_value, in do_fetch()
1145 if (!ce->unserialize) { in do_fetch()
1149 …} else if (ce->unserialize(&return_value, ce, Z_TYPE_P(val) == IS_STRING ? Z_STRVAL_P(val) : "", Z… in do_fetch()
1177 if (ce->constructor && !(flags & (PDO_FETCH_PROPS_LATE | PDO_FETCH_SERIALIZE))) { in do_fetch()
1191 stmt->fetch.cls.ce = old_ce; in do_fetch()
1355 old_ce = stmt->fetch.cls.ce; in PHP_METHOD()
1363 stmt->fetch.cls.ce = zend_standard_class_def; in PHP_METHOD()
1380 …stmt->fetch.cls.ce = zend_fetch_class(class_name, class_name_len, ZEND_FETCH_CLASS_AUTO TSRMLS_CC); in PHP_METHOD()
1382 if (!stmt->fetch.cls.ce) { in PHP_METHOD()
1397 stmt->fetch.cls.ce = old_ce; in PHP_METHOD()
1448 old_ce = stmt->fetch.cls.ce; in PHP_METHOD()
1459 stmt->fetch.cls.ce = zend_standard_class_def; in PHP_METHOD()
1478 …stmt->fetch.cls.ce = zend_fetch_class(Z_STRVAL_P(arg2), Z_STRLEN_P(arg2), ZEND_FETCH_CLASS_AUTO TS… in PHP_METHOD()
1479 if (!stmt->fetch.cls.ce) { in PHP_METHOD()
1573 stmt->fetch.cls.ce = old_ce; in PHP_METHOD()
1969 stmt->fetch.cls.ce = NULL; in pdo_stmt_setup_fetch_mode()
1984 stmt->fetch.cls.ce = *cep; in pdo_stmt_setup_fetch_mode()
2334 stmt->ce = Z_OBJCE_P(zobject); in dbstmt_clone_obj()
2338 …zend_hash_copy(stmt->properties, &stmt->ce->default_properties, (copy_ctor_func_t) zval_add_ref, (… in dbstmt_clone_obj()
2358 zend_class_entry ce; in pdo_stmt_init() local
2360 INIT_CLASS_ENTRY(ce, "PDOStatement", pdo_dbstmt_functions); in pdo_stmt_init()
2361 pdo_dbstmt_ce = zend_register_internal_class(&ce TSRMLS_CC); in pdo_stmt_init()
2374 INIT_CLASS_ENTRY(ce, "PDORow", pdo_row_functions); in pdo_stmt_init()
2375 pdo_row_ce = zend_register_internal_class(&ce TSRMLS_CC); in pdo_stmt_init()
2457 zend_object_value pdo_dbstmt_new(zend_class_entry *ce TSRMLS_DC) in pdo_dbstmt_new()
2465 stmt->ce = ce; in pdo_dbstmt_new()
2469 …zend_hash_copy(stmt->properties, &ce->default_properties, (copy_ctor_func_t) zval_property_ctor, (… in pdo_dbstmt_new()
2569 zend_object_iterator *pdo_stmt_iter_get(zend_class_entry *ce, zval *object, int by_ref TSRMLS_DC) in pdo_stmt_iter_get() argument
2793 zend_object_value pdo_row_new(zend_class_entry *ce TSRMLS_DC) in pdo_row_new()