Lines Matching refs:ptype

2444 	sdlTypePtr *ptype;  in make_persistent_sdl_function_headers()  local
2472 …if (zend_hash_find(ptr_map, (char*)&pheader->element, sizeof(sdlTypePtr), (void**)&ptype) == FAILU… in make_persistent_sdl_function_headers()
2475 pheader->element = *ptype; in make_persistent_sdl_function_headers()
2511 sdlTypePtr *ptype; in make_persistent_sdl_parameters() local
2537 …if (zend_hash_find(ptr_map, (char*)&pparam->element, sizeof(sdlTypePtr), (void**)&ptype) == FAILUR… in make_persistent_sdl_parameters()
2540 pparam->element = *ptype; in make_persistent_sdl_parameters()
2724 sdlTypePtr ptype = NULL; in make_persistent_sdl_type() local
2726 ptype = malloc(sizeof(sdlType)); in make_persistent_sdl_type()
2727 memset(ptype, 0, sizeof(sdlType)); in make_persistent_sdl_type()
2729 *ptype = *type; in make_persistent_sdl_type()
2731 if (ptype->name) { in make_persistent_sdl_type()
2732 ptype->name = strdup(ptype->name); in make_persistent_sdl_type()
2734 if (ptype->namens) { in make_persistent_sdl_type()
2735 ptype->namens = strdup(ptype->namens); in make_persistent_sdl_type()
2737 if (ptype->def) { in make_persistent_sdl_type()
2738 ptype->def = strdup(ptype->def); in make_persistent_sdl_type()
2740 if (ptype->fixed) { in make_persistent_sdl_type()
2741 ptype->fixed = strdup(ptype->fixed); in make_persistent_sdl_type()
2743 if (ptype->ref) { in make_persistent_sdl_type()
2744 ptype->ref = strdup(ptype->ref); in make_persistent_sdl_type()
2748 if (ptype->encode) { in make_persistent_sdl_type()
2749 make_persistent_sdl_encoder_ref(&ptype->encode, ptr_map, bp_encoders); in make_persistent_sdl_type()
2752 if (ptype->restrictions) { in make_persistent_sdl_type()
2753 ptype->restrictions = malloc(sizeof(sdlRestrictions)); in make_persistent_sdl_type()
2754 memset(ptype->restrictions, 0, sizeof(sdlRestrictions)); in make_persistent_sdl_type()
2755 *ptype->restrictions = *type->restrictions; in make_persistent_sdl_type()
2757 if (ptype->restrictions->minExclusive) { in make_persistent_sdl_type()
2758 make_persistent_restriction_int(&ptype->restrictions->minExclusive); in make_persistent_sdl_type()
2760 if (ptype->restrictions->maxExclusive) { in make_persistent_sdl_type()
2761 make_persistent_restriction_int(&ptype->restrictions->maxExclusive); in make_persistent_sdl_type()
2763 if (ptype->restrictions->minInclusive) { in make_persistent_sdl_type()
2764 make_persistent_restriction_int(&ptype->restrictions->minInclusive); in make_persistent_sdl_type()
2766 if (ptype->restrictions->maxInclusive) { in make_persistent_sdl_type()
2767 make_persistent_restriction_int(&ptype->restrictions->maxInclusive); in make_persistent_sdl_type()
2769 if (ptype->restrictions->totalDigits) { in make_persistent_sdl_type()
2770 make_persistent_restriction_int(&ptype->restrictions->totalDigits); in make_persistent_sdl_type()
2772 if (ptype->restrictions->fractionDigits) { in make_persistent_sdl_type()
2773 make_persistent_restriction_int(&ptype->restrictions->fractionDigits); in make_persistent_sdl_type()
2775 if (ptype->restrictions->length) { in make_persistent_sdl_type()
2776 make_persistent_restriction_int(&ptype->restrictions->length); in make_persistent_sdl_type()
2778 if (ptype->restrictions->minLength) { in make_persistent_sdl_type()
2779 make_persistent_restriction_int(&ptype->restrictions->minLength); in make_persistent_sdl_type()
2781 if (ptype->restrictions->maxLength) { in make_persistent_sdl_type()
2782 make_persistent_restriction_int(&ptype->restrictions->maxLength); in make_persistent_sdl_type()
2784 if (ptype->restrictions->whiteSpace) { in make_persistent_sdl_type()
2785 make_persistent_restriction_char(&ptype->restrictions->whiteSpace); in make_persistent_sdl_type()
2787 if (ptype->restrictions->pattern) { in make_persistent_sdl_type()
2788 make_persistent_restriction_char(&ptype->restrictions->pattern); in make_persistent_sdl_type()
2794 ptype->restrictions->enumeration = malloc(sizeof(HashTable)); in make_persistent_sdl_type()
2795 …zend_hash_init(ptype->restrictions->enumeration, zend_hash_num_elements(type->restrictions->enumer… in make_persistent_sdl_type()
2796 …zend_hash_copy(ptype->restrictions->enumeration, type->restrictions->enumeration, make_persistent_… in make_persistent_sdl_type()
2800 if (ptype->elements) { in make_persistent_sdl_type()
2803 ptype->elements = malloc(sizeof(HashTable)); in make_persistent_sdl_type()
2804 …zend_hash_init(ptype->elements, zend_hash_num_elements(type->elements), NULL, delete_type_persiste… in make_persistent_sdl_type()
2810 zend_hash_add(ptype->elements, key, key_len, (void*)&pelem, sizeof(sdlTypePtr), NULL); in make_persistent_sdl_type()
2812 zend_hash_next_index_insert(ptype->elements, (void*)&pelem, sizeof(sdlTypePtr), NULL); in make_persistent_sdl_type()
2819 if (ptype->attributes) { in make_persistent_sdl_type()
2822 ptype->attributes = malloc(sizeof(HashTable)); in make_persistent_sdl_type()
2823 …zend_hash_init(ptype->attributes, zend_hash_num_elements(type->attributes), NULL, delete_attribute… in make_persistent_sdl_type()
2829 zend_hash_add(ptype->attributes, key, key_len, (void*)&pattr, sizeof(sdlAttributePtr), NULL); in make_persistent_sdl_type()
2831 zend_hash_next_index_insert(ptype->attributes, (void*)&pattr, sizeof(sdlAttributePtr), NULL); in make_persistent_sdl_type()
2838 ptype->model = make_persistent_sdl_model(ptype->model, ptr_map, bp_types, bp_encoders); in make_persistent_sdl_type()
2841 return ptype; in make_persistent_sdl_type()
2975 sdlTypePtr ptype; in make_persistent_sdl() local
2982 ptype = make_persistent_sdl_type(*tmp, &ptr_map, &bp_types, &bp_encoders); in make_persistent_sdl()
2984 zend_hash_add(psdl->groups, key, key_len, (void*)&ptype, sizeof(sdlTypePtr), NULL); in make_persistent_sdl()
2986 zend_hash_next_index_insert(psdl->groups, (void*)&ptype, sizeof(sdlTypePtr), NULL); in make_persistent_sdl()
2988 zend_hash_add(&ptr_map, (char*)tmp, sizeof(*tmp), (void*)&ptype, sizeof(sdlTypePtr), NULL); in make_persistent_sdl()
2995 sdlTypePtr ptype; in make_persistent_sdl() local
3002 ptype = make_persistent_sdl_type(*tmp, &ptr_map, &bp_types, &bp_encoders); in make_persistent_sdl()
3004 zend_hash_add(psdl->types, key, key_len, (void*)&ptype, sizeof(sdlTypePtr), NULL); in make_persistent_sdl()
3006 zend_hash_next_index_insert(psdl->types, (void*)&ptype, sizeof(sdlTypePtr), NULL); in make_persistent_sdl()
3008 zend_hash_add(&ptr_map, (char*)tmp, sizeof(*tmp), (void*)&ptype, sizeof(sdlTypePtr), NULL); in make_persistent_sdl()
3015 sdlTypePtr ptype; in make_persistent_sdl() local
3022 ptype = make_persistent_sdl_type(*tmp, &ptr_map, &bp_types, &bp_encoders); in make_persistent_sdl()
3024 zend_hash_add(psdl->elements, key, key_len, (void*)&ptype, sizeof(sdlTypePtr), NULL); in make_persistent_sdl()
3026 zend_hash_next_index_insert(psdl->elements, (void*)&ptype, sizeof(sdlTypePtr), NULL); in make_persistent_sdl()
3028 zend_hash_add(&ptr_map, (char*)tmp, sizeof(*tmp), (void*)&ptype, sizeof(sdlTypePtr), NULL); in make_persistent_sdl()
3055 sdlTypePtr **tmp, *ptype = NULL; in make_persistent_sdl() local
3059 if (zend_hash_find(&ptr_map, (char*)(*tmp), sizeof(**tmp), (void**)&ptype) == FAILURE) { in make_persistent_sdl()
3062 **tmp = *ptype; in make_persistent_sdl()