Lines Matching refs:model

31 …nce(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr seqType, sdlTypePtr cur_type, sdlContentModelPtr model);
32 …all(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr extType, sdlTypePtr cur_type, sdlContentModelPtr model);
33 …(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr choiceType, sdlTypePtr cur_type, sdlContentModelPtr model);
34 …p(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr groupType, sdlTypePtr cur_type, sdlContentModelPtr model);
35 …any(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr extType, sdlTypePtr cur_type, sdlContentModelPtr model);
36 …ent(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr element, sdlTypePtr cur_type, sdlContentModelPtr model);
1002 void schema_min_max(xmlNodePtr node, sdlContentModelPtr model) in schema_min_max() argument
1007 model->min_occurs = atoi((char*)attr->children->content); in schema_min_max()
1009 model->min_occurs = 1; in schema_min_max()
1015 model->max_occurs = -1; in schema_min_max()
1017 model->max_occurs = atoi((char*)attr->children->content); in schema_min_max()
1020 model->max_occurs = 1; in schema_min_max()
1033 …hema_all(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr all, sdlTypePtr cur_type, sdlContentModelPtr model) in schema_all() argument
1042 if (model == NULL) { in schema_all()
1043 cur_type->model = newModel; in schema_all()
1045 zend_hash_next_index_insert_ptr(model->u.content, newModel); in schema_all()
1077 …up(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr groupType, sdlTypePtr cur_type, sdlContentModelPtr model) in schema_group() argument
1153 if (model == NULL) { in schema_group()
1154 cur_type->model = newModel; in schema_group()
1156 zend_hash_next_index_insert_ptr(model->u.content, newModel); in schema_group()
1209 …e(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr choiceType, sdlTypePtr cur_type, sdlContentModelPtr model) in schema_choice() argument
1218 if (model == NULL) { in schema_choice()
1219 cur_type->model = newModel; in schema_choice()
1221 zend_hash_next_index_insert_ptr(model->u.content, newModel); in schema_choice()
1259 …ence(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr seqType, sdlTypePtr cur_type, sdlContentModelPtr model) in schema_sequence() argument
1268 if (model == NULL) { in schema_sequence()
1269 cur_type->model = newModel; in schema_sequence()
1271 zend_hash_next_index_insert_ptr(model->u.content, newModel); in schema_sequence()
1311 …_any(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr anyType, sdlTypePtr cur_type, sdlContentModelPtr model) in schema_any() argument
1313 if (model != NULL) { in schema_any()
1321 zend_hash_next_index_insert_ptr(model->u.content, newModel); in schema_any()
1506 …ment(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr element, sdlTypePtr cur_type, sdlContentModelPtr model) in schema_element() argument
1592 if (model != NULL) { in schema_element()
1601 zend_hash_next_index_insert_ptr(model->u.content, newModel); in schema_element()
2201 static void schema_content_model_fixup(sdlCtx *ctx, sdlContentModelPtr model) in schema_content_model_fixup() argument
2203 switch (model->kind) { in schema_content_model_fixup()
2207 …->groups && (tmp = zend_hash_str_find_ptr(ctx->sdl->groups, model->u.group_ref, strlen(model->u.gr… in schema_content_model_fixup()
2209 efree(model->u.group_ref); in schema_content_model_fixup()
2210 model->kind = XSD_CONTENT_GROUP; in schema_content_model_fixup()
2211 model->u.group = tmp; in schema_content_model_fixup()
2213 … soap_error1(E_ERROR, "Parsing Schema: unresolved group 'ref' attribute '%s'", model->u.group_ref); in schema_content_model_fixup()
2218 if (model->max_occurs != 1) { in schema_content_model_fixup()
2221 ZEND_HASH_FOREACH_PTR(model->u.content, tmp) { in schema_content_model_fixup()
2223 tmp->max_occurs = model->max_occurs; in schema_content_model_fixup()
2226 model->kind = XSD_CONTENT_ALL; in schema_content_model_fixup()
2227 model->min_occurs = 1; in schema_content_model_fixup()
2228 model->max_occurs = 1; in schema_content_model_fixup()
2236 ZEND_HASH_FOREACH_PTR(model->u.content, tmp) { in schema_content_model_fixup()
2281 if (type->model) { in schema_type_fixup()
2282 schema_content_model_fixup(ctx, type->model); in schema_type_fixup()
2418 if (type->model) { in delete_type()
2420 ZVAL_PTR(&zv, type->model); in delete_type()
2467 if (type->model) { in delete_type_persistent()
2468 delete_model_persistent_int(type->model); in delete_type_persistent()