Lines Matching refs:enumeration
1354 type->restrictions->enumeration = emalloc(sizeof(HashTable)); in sdl_deserialize_type()
1355 zend_hash_init(type->restrictions->enumeration, i, NULL, delete_restriction_var_char, 0); in sdl_deserialize_type()
1358 sdl_deserialize_key(type->restrictions->enumeration, x, in); in sdl_deserialize_type()
1362 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()
1963 zend_hash_internal_pointer_reset(type->restrictions->enumeration); in sdl_serialize_type()
1964 while (zend_hash_get_current_data(type->restrictions->enumeration, (void**)&tmp) == SUCCESS) { in sdl_serialize_type()
1966 sdl_serialize_key(type->restrictions->enumeration, out); in sdl_serialize_type()
1967 zend_hash_move_forward(type->restrictions->enumeration); in sdl_serialize_type()
2790 if (type->restrictions->enumeration) { in make_persistent_sdl_type()
2793 ptype->restrictions->enumeration = malloc(sizeof(HashTable)); in make_persistent_sdl_type()
2794 …zend_hash_init(ptype->restrictions->enumeration, zend_hash_num_elements(type->restrictions->enumer… in make_persistent_sdl_type()
2795 …zend_hash_copy(ptype->restrictions->enumeration, type->restrictions->enumeration, make_persistent_… in make_persistent_sdl_type()