Lines Matching refs:restrictions

1333 		type->restrictions = emalloc(sizeof(sdlRestrictions));  in sdl_deserialize_type()
1335 type->restrictions->minExclusive = sdl_deserialize_resriction_int(in); in sdl_deserialize_type()
1336 type->restrictions->minInclusive = sdl_deserialize_resriction_int(in); in sdl_deserialize_type()
1337 type->restrictions->maxExclusive = sdl_deserialize_resriction_int(in); in sdl_deserialize_type()
1338 type->restrictions->maxInclusive = sdl_deserialize_resriction_int(in); in sdl_deserialize_type()
1339 type->restrictions->totalDigits = sdl_deserialize_resriction_int(in); in sdl_deserialize_type()
1340 type->restrictions->fractionDigits = sdl_deserialize_resriction_int(in); in sdl_deserialize_type()
1341 type->restrictions->length = sdl_deserialize_resriction_int(in); in sdl_deserialize_type()
1342 type->restrictions->minLength = sdl_deserialize_resriction_int(in); in sdl_deserialize_type()
1343 type->restrictions->maxLength = sdl_deserialize_resriction_int(in); in sdl_deserialize_type()
1344 type->restrictions->whiteSpace = sdl_deserialize_resriction_char(in); in sdl_deserialize_type()
1345 type->restrictions->pattern = sdl_deserialize_resriction_char(in); in sdl_deserialize_type()
1348 type->restrictions->enumeration = emalloc(sizeof(HashTable)); in sdl_deserialize_type()
1349 zend_hash_init(type->restrictions->enumeration, i, NULL, delete_restriction_var_char, 0); in sdl_deserialize_type()
1352 sdl_deserialize_key(type->restrictions->enumeration, x, in); in sdl_deserialize_type()
1356 type->restrictions->enumeration = NULL; in sdl_deserialize_type()
1930 if (type->restrictions) { in sdl_serialize_type()
1932 sdl_serialize_resriction_int(type->restrictions->minExclusive,out); in sdl_serialize_type()
1933 sdl_serialize_resriction_int(type->restrictions->minInclusive,out); in sdl_serialize_type()
1934 sdl_serialize_resriction_int(type->restrictions->maxExclusive,out); in sdl_serialize_type()
1935 sdl_serialize_resriction_int(type->restrictions->maxInclusive,out); in sdl_serialize_type()
1936 sdl_serialize_resriction_int(type->restrictions->totalDigits,out); in sdl_serialize_type()
1937 sdl_serialize_resriction_int(type->restrictions->fractionDigits,out); in sdl_serialize_type()
1938 sdl_serialize_resriction_int(type->restrictions->length,out); in sdl_serialize_type()
1939 sdl_serialize_resriction_int(type->restrictions->minLength,out); in sdl_serialize_type()
1940 sdl_serialize_resriction_int(type->restrictions->maxLength,out); in sdl_serialize_type()
1941 sdl_serialize_resriction_char(type->restrictions->whiteSpace,out); in sdl_serialize_type()
1942 sdl_serialize_resriction_char(type->restrictions->pattern,out); in sdl_serialize_type()
1943 if (type->restrictions->enumeration) { in sdl_serialize_type()
1944 i = zend_hash_num_elements(type->restrictions->enumeration); in sdl_serialize_type()
1953 ZEND_HASH_FOREACH_STR_KEY_PTR(type->restrictions->enumeration, key, tmp) { in sdl_serialize_type()
2727 if (ptype->restrictions) { in make_persistent_sdl_type()
2728 ptype->restrictions = malloc(sizeof(sdlRestrictions)); in make_persistent_sdl_type()
2729 memset(ptype->restrictions, 0, sizeof(sdlRestrictions)); in make_persistent_sdl_type()
2730 *ptype->restrictions = *type->restrictions; in make_persistent_sdl_type()
2732 if (ptype->restrictions->minExclusive) { in make_persistent_sdl_type()
2733 make_persistent_restriction_int(&ptype->restrictions->minExclusive); in make_persistent_sdl_type()
2735 if (ptype->restrictions->maxExclusive) { in make_persistent_sdl_type()
2736 make_persistent_restriction_int(&ptype->restrictions->maxExclusive); in make_persistent_sdl_type()
2738 if (ptype->restrictions->minInclusive) { in make_persistent_sdl_type()
2739 make_persistent_restriction_int(&ptype->restrictions->minInclusive); in make_persistent_sdl_type()
2741 if (ptype->restrictions->maxInclusive) { in make_persistent_sdl_type()
2742 make_persistent_restriction_int(&ptype->restrictions->maxInclusive); in make_persistent_sdl_type()
2744 if (ptype->restrictions->totalDigits) { in make_persistent_sdl_type()
2745 make_persistent_restriction_int(&ptype->restrictions->totalDigits); in make_persistent_sdl_type()
2747 if (ptype->restrictions->fractionDigits) { in make_persistent_sdl_type()
2748 make_persistent_restriction_int(&ptype->restrictions->fractionDigits); in make_persistent_sdl_type()
2750 if (ptype->restrictions->length) { in make_persistent_sdl_type()
2751 make_persistent_restriction_int(&ptype->restrictions->length); in make_persistent_sdl_type()
2753 if (ptype->restrictions->minLength) { in make_persistent_sdl_type()
2754 make_persistent_restriction_int(&ptype->restrictions->minLength); in make_persistent_sdl_type()
2756 if (ptype->restrictions->maxLength) { in make_persistent_sdl_type()
2757 make_persistent_restriction_int(&ptype->restrictions->maxLength); in make_persistent_sdl_type()
2759 if (ptype->restrictions->whiteSpace) { in make_persistent_sdl_type()
2760 make_persistent_restriction_char_int(&ptype->restrictions->whiteSpace); in make_persistent_sdl_type()
2762 if (ptype->restrictions->pattern) { in make_persistent_sdl_type()
2763 make_persistent_restriction_char_int(&ptype->restrictions->pattern); in make_persistent_sdl_type()
2766 if (type->restrictions->enumeration) { in make_persistent_sdl_type()
2767 ptype->restrictions->enumeration = malloc(sizeof(HashTable)); in make_persistent_sdl_type()
2768 …zend_hash_init(ptype->restrictions->enumeration, zend_hash_num_elements(type->restrictions->enumer… in make_persistent_sdl_type()
2769 …zend_hash_copy(ptype->restrictions->enumeration, type->restrictions->enumeration, make_persistent_… in make_persistent_sdl_type()