Lines Matching refs:mutable_data
1414 zend_class_mutable_data *mutable_data; in zend_allocate_mutable_data() local
1416 ZEND_ASSERT(ZEND_MAP_PTR(class_type->mutable_data) != NULL); in zend_allocate_mutable_data()
1417 ZEND_ASSERT(ZEND_MAP_PTR_GET_IMM(class_type->mutable_data) == NULL); in zend_allocate_mutable_data()
1419 mutable_data = zend_arena_alloc(&CG(arena), sizeof(zend_class_mutable_data)); in zend_allocate_mutable_data()
1420 memset(mutable_data, 0, sizeof(zend_class_mutable_data)); in zend_allocate_mutable_data()
1421 mutable_data->ce_flags = class_type->ce_flags; in zend_allocate_mutable_data()
1422 ZEND_MAP_PTR_SET_IMM(class_type->mutable_data, mutable_data); in zend_allocate_mutable_data()
1424 return mutable_data; in zend_allocate_mutable_data()
1430 zend_class_mutable_data *mutable_data; in zend_separate_class_constants_table() local
1456 ZEND_ASSERT(ZEND_MAP_PTR(class_type->mutable_data) != NULL); in zend_separate_class_constants_table()
1458 mutable_data = ZEND_MAP_PTR_GET_IMM(class_type->mutable_data); in zend_separate_class_constants_table()
1459 if (!mutable_data) { in zend_separate_class_constants_table()
1460 mutable_data = zend_allocate_mutable_data(class_type); in zend_separate_class_constants_table()
1463 mutable_data->constants_table = constants_table; in zend_separate_class_constants_table()
1519 zend_class_mutable_data *mutable_data = NULL; in zend_update_class_constants() local
1532 bool uses_mutable_data = ZEND_MAP_PTR(class_type->mutable_data) != NULL; in zend_update_class_constants()
1534 mutable_data = ZEND_MAP_PTR_GET_IMM(class_type->mutable_data); in zend_update_class_constants()
1535 if (mutable_data) { in zend_update_class_constants()
1536 ce_flags = mutable_data->ce_flags; in zend_update_class_constants()
1541 mutable_data = zend_allocate_mutable_data(class_type); in zend_update_class_constants()
1555 constants_table = mutable_data->constants_table; in zend_update_class_constants()
1594 default_properties_table = mutable_data->default_properties_table; in zend_update_class_constants()
1605 mutable_data->default_properties_table = default_properties_table; in zend_update_class_constants()
1647 mutable_data->ce_flags = ce_flags; in zend_update_class_constants()
4895 if (ce->type == ZEND_INTERNAL_CLASS && !ZEND_MAP_PTR(ce->mutable_data)) { in zend_declare_typed_class_constant()
4896 ZEND_MAP_PTR_NEW(ce->mutable_data); in zend_declare_typed_class_constant()