Lines Matching refs:restrictions

1339 		type->restrictions = emalloc(sizeof(sdlRestrictions));  in sdl_deserialize_type()
1341 type->restrictions->minExclusive = sdl_deserialize_resriction_int(in); in sdl_deserialize_type()
1342 type->restrictions->minInclusive = sdl_deserialize_resriction_int(in); in sdl_deserialize_type()
1343 type->restrictions->maxExclusive = sdl_deserialize_resriction_int(in); in sdl_deserialize_type()
1344 type->restrictions->maxInclusive = sdl_deserialize_resriction_int(in); in sdl_deserialize_type()
1345 type->restrictions->totalDigits = sdl_deserialize_resriction_int(in); in sdl_deserialize_type()
1346 type->restrictions->fractionDigits = sdl_deserialize_resriction_int(in); in sdl_deserialize_type()
1347 type->restrictions->length = sdl_deserialize_resriction_int(in); in sdl_deserialize_type()
1348 type->restrictions->minLength = sdl_deserialize_resriction_int(in); in sdl_deserialize_type()
1349 type->restrictions->maxLength = sdl_deserialize_resriction_int(in); in sdl_deserialize_type()
1350 type->restrictions->whiteSpace = sdl_deserialize_resriction_char(in); in sdl_deserialize_type()
1351 type->restrictions->pattern = sdl_deserialize_resriction_char(in); in sdl_deserialize_type()
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()
1941 if (type->restrictions) { in sdl_serialize_type()
1943 sdl_serialize_resriction_int(type->restrictions->minExclusive,out); in sdl_serialize_type()
1944 sdl_serialize_resriction_int(type->restrictions->minInclusive,out); in sdl_serialize_type()
1945 sdl_serialize_resriction_int(type->restrictions->maxExclusive,out); in sdl_serialize_type()
1946 sdl_serialize_resriction_int(type->restrictions->maxInclusive,out); in sdl_serialize_type()
1947 sdl_serialize_resriction_int(type->restrictions->totalDigits,out); in sdl_serialize_type()
1948 sdl_serialize_resriction_int(type->restrictions->fractionDigits,out); in sdl_serialize_type()
1949 sdl_serialize_resriction_int(type->restrictions->length,out); in sdl_serialize_type()
1950 sdl_serialize_resriction_int(type->restrictions->minLength,out); in sdl_serialize_type()
1951 sdl_serialize_resriction_int(type->restrictions->maxLength,out); in sdl_serialize_type()
1952 sdl_serialize_resriction_char(type->restrictions->whiteSpace,out); in sdl_serialize_type()
1953 sdl_serialize_resriction_char(type->restrictions->pattern,out); in sdl_serialize_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()
2751 if (ptype->restrictions) { in make_persistent_sdl_type()
2752 ptype->restrictions = malloc(sizeof(sdlRestrictions)); in make_persistent_sdl_type()
2753 memset(ptype->restrictions, 0, sizeof(sdlRestrictions)); in make_persistent_sdl_type()
2754 *ptype->restrictions = *type->restrictions; in make_persistent_sdl_type()
2756 if (ptype->restrictions->minExclusive) { in make_persistent_sdl_type()
2757 make_persistent_restriction_int(&ptype->restrictions->minExclusive); in make_persistent_sdl_type()
2759 if (ptype->restrictions->maxExclusive) { in make_persistent_sdl_type()
2760 make_persistent_restriction_int(&ptype->restrictions->maxExclusive); in make_persistent_sdl_type()
2762 if (ptype->restrictions->minInclusive) { in make_persistent_sdl_type()
2763 make_persistent_restriction_int(&ptype->restrictions->minInclusive); in make_persistent_sdl_type()
2765 if (ptype->restrictions->maxInclusive) { in make_persistent_sdl_type()
2766 make_persistent_restriction_int(&ptype->restrictions->maxInclusive); in make_persistent_sdl_type()
2768 if (ptype->restrictions->totalDigits) { in make_persistent_sdl_type()
2769 make_persistent_restriction_int(&ptype->restrictions->totalDigits); in make_persistent_sdl_type()
2771 if (ptype->restrictions->fractionDigits) { in make_persistent_sdl_type()
2772 make_persistent_restriction_int(&ptype->restrictions->fractionDigits); in make_persistent_sdl_type()
2774 if (ptype->restrictions->length) { in make_persistent_sdl_type()
2775 make_persistent_restriction_int(&ptype->restrictions->length); in make_persistent_sdl_type()
2777 if (ptype->restrictions->minLength) { in make_persistent_sdl_type()
2778 make_persistent_restriction_int(&ptype->restrictions->minLength); in make_persistent_sdl_type()
2780 if (ptype->restrictions->maxLength) { in make_persistent_sdl_type()
2781 make_persistent_restriction_int(&ptype->restrictions->maxLength); in make_persistent_sdl_type()
2783 if (ptype->restrictions->whiteSpace) { in make_persistent_sdl_type()
2784 make_persistent_restriction_char(&ptype->restrictions->whiteSpace); in make_persistent_sdl_type()
2786 if (ptype->restrictions->pattern) { in make_persistent_sdl_type()
2787 make_persistent_restriction_char(&ptype->restrictions->pattern); in make_persistent_sdl_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()