Lines Matching refs:enumeration
1358 type->restrictions->enumeration = emalloc(sizeof(HashTable)); in sdl_deserialize_type()
1359 zend_hash_init(type->restrictions->enumeration, i, NULL, delete_restriction_var_char, 0); in sdl_deserialize_type()
1362 sdl_deserialize_key(type->restrictions->enumeration, x, in); in sdl_deserialize_type()
1366 type->restrictions->enumeration = NULL; in sdl_deserialize_type()
1951 if (type->restrictions->enumeration) { in sdl_serialize_type()
1952 i = zend_hash_num_elements(type->restrictions->enumeration); in sdl_serialize_type()
1961 ZEND_HASH_FOREACH_STR_KEY_PTR(type->restrictions->enumeration, key, tmp) { in sdl_serialize_type()
2768 if (type->restrictions->enumeration) { in make_persistent_sdl_type()
2770 ptype->restrictions->enumeration = malloc(sizeof(HashTable)); in make_persistent_sdl_type()
2771 …zend_hash_init(ptype->restrictions->enumeration, zend_hash_num_elements(type->restrictions->enumer… in make_persistent_sdl_type()
2772 ZEND_HASH_FOREACH_STR_KEY_PTR(type->restrictions->enumeration, key, tmp) { in make_persistent_sdl_type()
2776 zend_hash_str_add_ptr(ptype->restrictions->enumeration, ZSTR_VAL(key), ZSTR_LEN(key), penum); in make_persistent_sdl_type()