Lines Matching refs:constants_table
1378 HashTable *constants_table; in zend_separate_class_constants_table() local
1382 constants_table = zend_arena_alloc(&CG(arena), sizeof(HashTable)); in zend_separate_class_constants_table()
1383 …zend_hash_init(constants_table, zend_hash_num_elements(&class_type->constants_table), NULL, NULL, … in zend_separate_class_constants_table()
1384 zend_hash_extend(constants_table, zend_hash_num_elements(&class_type->constants_table), 0); in zend_separate_class_constants_table()
1386 ZEND_HASH_MAP_FOREACH_STR_KEY_PTR(&class_type->constants_table, key, c) { in zend_separate_class_constants_table()
1400 _zend_hash_append_ptr(constants_table, key, c); in zend_separate_class_constants_table()
1410 mutable_data->constants_table = constants_table; in zend_separate_class_constants_table()
1412 return constants_table; in zend_separate_class_constants_table()
1499 HashTable *constants_table; in zend_update_class_constants() local
1502 constants_table = mutable_data->constants_table; in zend_update_class_constants()
1503 if (!constants_table) { in zend_update_class_constants()
1504 constants_table = zend_separate_class_constants_table(class_type); in zend_update_class_constants()
1507 constants_table = &class_type->constants_table; in zend_update_class_constants()
1511 ZEND_HASH_MAP_FOREACH_STR_KEY_VAL(constants_table, name, val) { in zend_update_class_constants()
4685 if (!zend_hash_add_ptr(&ce->constants_table, name, c)) { in zend_declare_typed_class_constant()