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()
2723 sdlTypePtr ptype = NULL; in make_persistent_sdl_type() local
2725 ptype = malloc(sizeof(sdlType)); in make_persistent_sdl_type()
2726 memset(ptype, 0, sizeof(sdlType)); in make_persistent_sdl_type()
2728 *ptype = *type; in make_persistent_sdl_type()
2730 if (ptype->name) { in make_persistent_sdl_type()
2731 ptype->name = strdup(ptype->name); in make_persistent_sdl_type()
2733 if (ptype->namens) { in make_persistent_sdl_type()
2734 ptype->namens = strdup(ptype->namens); in make_persistent_sdl_type()
2736 if (ptype->def) { in make_persistent_sdl_type()
2737 ptype->def = strdup(ptype->def); in make_persistent_sdl_type()
2739 if (ptype->fixed) { in make_persistent_sdl_type()
2740 ptype->fixed = strdup(ptype->fixed); in make_persistent_sdl_type()
2742 if (ptype->ref) { in make_persistent_sdl_type()
2743 ptype->ref = strdup(ptype->ref); in make_persistent_sdl_type()
2747 if (ptype->encode) { in make_persistent_sdl_type()
2748 make_persistent_sdl_encoder_ref(&ptype->encode, ptr_map, bp_encoders); in make_persistent_sdl_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()
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()
2799 if (ptype->elements) { in make_persistent_sdl_type()
2802 ptype->elements = malloc(sizeof(HashTable)); in make_persistent_sdl_type()
2803 …zend_hash_init(ptype->elements, zend_hash_num_elements(type->elements), NULL, delete_type_persiste… in make_persistent_sdl_type()
2809 zend_hash_add(ptype->elements, key, key_len, (void*)&pelem, sizeof(sdlTypePtr), NULL); in make_persistent_sdl_type()
2811 zend_hash_next_index_insert(ptype->elements, (void*)&pelem, sizeof(sdlTypePtr), NULL); in make_persistent_sdl_type()
2818 if (ptype->attributes) { in make_persistent_sdl_type()
2821 ptype->attributes = malloc(sizeof(HashTable)); in make_persistent_sdl_type()
2822 …zend_hash_init(ptype->attributes, zend_hash_num_elements(type->attributes), NULL, delete_attribute… in make_persistent_sdl_type()
2828 zend_hash_add(ptype->attributes, key, key_len, (void*)&pattr, sizeof(sdlAttributePtr), NULL); in make_persistent_sdl_type()
2830 zend_hash_next_index_insert(ptype->attributes, (void*)&pattr, sizeof(sdlAttributePtr), NULL); in make_persistent_sdl_type()
2837 ptype->model = make_persistent_sdl_model(ptype->model, ptr_map, bp_types, bp_encoders); in make_persistent_sdl_type()
2840 return ptype; in make_persistent_sdl_type()
2974 sdlTypePtr ptype; in make_persistent_sdl() local
2981 ptype = make_persistent_sdl_type(*tmp, &ptr_map, &bp_types, &bp_encoders); in make_persistent_sdl()
2983 zend_hash_add(psdl->groups, key, key_len, (void*)&ptype, sizeof(sdlTypePtr), NULL); in make_persistent_sdl()
2985 zend_hash_next_index_insert(psdl->groups, (void*)&ptype, sizeof(sdlTypePtr), NULL); in make_persistent_sdl()
2987 zend_hash_add(&ptr_map, (char*)tmp, sizeof(*tmp), (void*)&ptype, sizeof(sdlTypePtr), NULL); in make_persistent_sdl()
2994 sdlTypePtr ptype; in make_persistent_sdl() local
3001 ptype = make_persistent_sdl_type(*tmp, &ptr_map, &bp_types, &bp_encoders); in make_persistent_sdl()
3003 zend_hash_add(psdl->types, key, key_len, (void*)&ptype, sizeof(sdlTypePtr), NULL); in make_persistent_sdl()
3005 zend_hash_next_index_insert(psdl->types, (void*)&ptype, sizeof(sdlTypePtr), NULL); in make_persistent_sdl()
3007 zend_hash_add(&ptr_map, (char*)tmp, sizeof(*tmp), (void*)&ptype, sizeof(sdlTypePtr), NULL); in make_persistent_sdl()
3014 sdlTypePtr ptype; in make_persistent_sdl() local
3021 ptype = make_persistent_sdl_type(*tmp, &ptr_map, &bp_types, &bp_encoders); in make_persistent_sdl()
3023 zend_hash_add(psdl->elements, key, key_len, (void*)&ptype, sizeof(sdlTypePtr), NULL); in make_persistent_sdl()
3025 zend_hash_next_index_insert(psdl->elements, (void*)&ptype, sizeof(sdlTypePtr), NULL); in make_persistent_sdl()
3027 zend_hash_add(&ptr_map, (char*)tmp, sizeof(*tmp), (void*)&ptype, sizeof(sdlTypePtr), NULL); in make_persistent_sdl()
3054 sdlTypePtr **tmp, *ptype = NULL; in make_persistent_sdl() local
3058 if (zend_hash_find(&ptr_map, (char*)(*tmp), sizeof(**tmp), (void**)&ptype) == FAILURE) { in make_persistent_sdl()
3061 **tmp = *ptype; in make_persistent_sdl()