Lines Matching refs:enumeration
1361 type->restrictions->enumeration = emalloc(sizeof(HashTable)); in sdl_deserialize_type()
1362 zend_hash_init(type->restrictions->enumeration, i, NULL, delete_restriction_var_char, 0); in sdl_deserialize_type()
1365 sdl_deserialize_key(type->restrictions->enumeration, x, in); in sdl_deserialize_type()
1369 type->restrictions->enumeration = NULL; in sdl_deserialize_type()
1954 if (type->restrictions->enumeration) { in sdl_serialize_type()
1955 i = zend_hash_num_elements(type->restrictions->enumeration); in sdl_serialize_type()
1964 ZEND_HASH_FOREACH_STR_KEY_PTR(type->restrictions->enumeration, key, tmp) { in sdl_serialize_type()
2779 if (type->restrictions->enumeration) { in make_persistent_sdl_type()
2781 ptype->restrictions->enumeration = malloc(sizeof(HashTable)); in make_persistent_sdl_type()
2782 …zend_hash_init(ptype->restrictions->enumeration, zend_hash_num_elements(type->restrictions->enumer… in make_persistent_sdl_type()
2783 ZEND_HASH_FOREACH_STR_KEY_PTR(type->restrictions->enumeration, key, tmp) { in make_persistent_sdl_type()
2787 zend_hash_str_add_ptr(ptype->restrictions->enumeration, ZSTR_VAL(key), ZSTR_LEN(key), penum); in make_persistent_sdl_type()