Lines Matching refs:constants_table
1431 HashTable *constants_table; in zend_separate_class_constants_table() local
1435 constants_table = zend_arena_alloc(&CG(arena), sizeof(HashTable)); in zend_separate_class_constants_table()
1436 …zend_hash_init(constants_table, zend_hash_num_elements(&class_type->constants_table), NULL, NULL, … in zend_separate_class_constants_table()
1437 zend_hash_extend(constants_table, zend_hash_num_elements(&class_type->constants_table), 0); in zend_separate_class_constants_table()
1439 ZEND_HASH_MAP_FOREACH_STR_KEY_PTR(&class_type->constants_table, key, c) { in zend_separate_class_constants_table()
1453 _zend_hash_append_ptr(constants_table, key, c); in zend_separate_class_constants_table()
1463 mutable_data->constants_table = constants_table; in zend_separate_class_constants_table()
1465 return constants_table; in zend_separate_class_constants_table()
1552 HashTable *constants_table; in zend_update_class_constants() local
1555 constants_table = mutable_data->constants_table; in zend_update_class_constants()
1556 if (!constants_table) { in zend_update_class_constants()
1557 constants_table = zend_separate_class_constants_table(class_type); in zend_update_class_constants()
1560 constants_table = &class_type->constants_table; in zend_update_class_constants()
1564 ZEND_HASH_MAP_FOREACH_STR_KEY_VAL(constants_table, name, val) { in zend_update_class_constants()
4893 if (!zend_hash_add_ptr(&ce->constants_table, name, c)) { in zend_declare_typed_class_constant()