Lines Matching refs:enumeration
1363 type->restrictions->enumeration = emalloc(sizeof(HashTable)); in sdl_deserialize_type()
1364 zend_hash_init(type->restrictions->enumeration, i, NULL, delete_restriction_var_char, 0); in sdl_deserialize_type()
1367 sdl_deserialize_key(type->restrictions->enumeration, x, in); in sdl_deserialize_type()
1371 type->restrictions->enumeration = NULL; in sdl_deserialize_type()
1956 if (type->restrictions->enumeration) { in sdl_serialize_type()
1957 i = zend_hash_num_elements(type->restrictions->enumeration); in sdl_serialize_type()
1966 ZEND_HASH_MAP_FOREACH_STR_KEY_PTR(type->restrictions->enumeration, key, tmp) { in sdl_serialize_type()
2783 if (type->restrictions->enumeration) { in make_persistent_sdl_type()
2785 ptype->restrictions->enumeration = malloc(sizeof(HashTable)); in make_persistent_sdl_type()
2786 …zend_hash_init(ptype->restrictions->enumeration, zend_hash_num_elements(type->restrictions->enumer… in make_persistent_sdl_type()
2787 ZEND_HASH_MAP_FOREACH_STR_KEY_PTR(type->restrictions->enumeration, key, tmp) { in make_persistent_sdl_type()
2791 zend_hash_str_add_ptr(ptype->restrictions->enumeration, ZSTR_VAL(key), ZSTR_LEN(key), penum); in make_persistent_sdl_type()