Lines Matching refs:std
256 zend_object_std_init(&row->std, pdo_row_ce); in get_lazy_object()
257 ZVAL_OBJ(&stmt->lazy_object_ref, &row->std); in get_lazy_object()
258 row->std.handlers = &pdo_row_object_handlers; in get_lazy_object()
259 GC_REFCOUNT(&stmt->std)++; in get_lazy_object()
260 GC_REFCOUNT(&row->std)--; in get_lazy_object()
2260 zend_object_std_init(&stmt->std, Z_OBJCE_P(zobject)); in dbstmt_clone_obj()
2261 object_properties_init(&stmt->std, Z_OBJCE_P(zobject)); in dbstmt_clone_obj()
2265 zend_objects_clone_members(&stmt->std, &old_stmt->std); in dbstmt_clone_obj()
2267 return &stmt->std; in dbstmt_clone_obj()
2285 pdo_dbstmt_object_handlers.offset = XtOffsetOf(pdo_stmt_t, std); in pdo_stmt_init()
2351 zend_object_std_dtor(&stmt->std); in php_pdo_free_statement()
2354 void pdo_dbstmt_free_storage(zend_object *std) in pdo_dbstmt_free_storage() argument
2356 pdo_stmt_t *stmt = php_pdo_stmt_fetch_object(std); in pdo_dbstmt_free_storage()
2365 zend_object_std_init(&stmt->std, ce); in pdo_dbstmt_new()
2366 object_properties_init(&stmt->std, ce); in pdo_dbstmt_new()
2368 stmt->std.handlers = &pdo_dbstmt_object_handlers; in pdo_dbstmt_new()
2370 return &stmt->std; in pdo_dbstmt_new()
2518 ZVAL_OBJ(&zobj, &stmt->std); in row_prop_read()
2606 if (!stmt->std.properties) { in row_get_properties()
2607 rebuild_object_properties(&stmt->std); in row_get_properties()
2613 zend_hash_update(stmt->std.properties, stmt->columns[i].name, &val); in row_get_properties()
2616 return stmt->std.properties; in row_get_properties()
2691 void pdo_row_free_storage(zend_object *std) in pdo_row_free_storage() argument
2693 pdo_row_t *row = (pdo_row_t *)std; in pdo_row_free_storage()
2696 OBJ_RELEASE(&row->stmt->std); in pdo_row_free_storage()
2703 zend_object_std_init(&row->std, ce); in pdo_row_new()
2704 row->std.handlers = &pdo_row_object_handlers; in pdo_row_new()
2706 return &row->std; in pdo_row_new()