Lines Matching refs:enumeration
1322 type->restrictions->enumeration = emalloc(sizeof(HashTable)); in sdl_deserialize_type()
1323 zend_hash_init(type->restrictions->enumeration, i, NULL, delete_restriction_var_char, 0); in sdl_deserialize_type()
1326 sdl_deserialize_key(type->restrictions->enumeration, x, in); in sdl_deserialize_type()
1330 type->restrictions->enumeration = NULL; in sdl_deserialize_type()
1921 if (type->restrictions->enumeration) { in sdl_serialize_type()
1922 i = zend_hash_num_elements(type->restrictions->enumeration); in sdl_serialize_type()
1931 ZEND_HASH_MAP_FOREACH_STR_KEY_PTR(type->restrictions->enumeration, key, tmp) { in sdl_serialize_type()
2748 if (type->restrictions->enumeration) { in make_persistent_sdl_type()
2750 ptype->restrictions->enumeration = malloc(sizeof(HashTable)); in make_persistent_sdl_type()
2751 …zend_hash_init(ptype->restrictions->enumeration, zend_hash_num_elements(type->restrictions->enumer… in make_persistent_sdl_type()
2752 ZEND_HASH_MAP_FOREACH_STR_KEY_PTR(type->restrictions->enumeration, key, tmp) { in make_persistent_sdl_type()
2756 zend_hash_str_add_ptr(ptype->restrictions->enumeration, ZSTR_VAL(key), ZSTR_LEN(key), penum); in make_persistent_sdl_type()