Lines Matching refs:model

34 …nce(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr seqType, sdlTypePtr cur_type, sdlContentModelPtr model);
35 …all(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr extType, sdlTypePtr cur_type, sdlContentModelPtr model);
36 …(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr choiceType, sdlTypePtr cur_type, sdlContentModelPtr model);
37 …p(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr groupType, sdlTypePtr cur_type, sdlContentModelPtr model);
38 …any(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr extType, sdlTypePtr cur_type, sdlContentModelPtr model);
39 …ent(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr element, sdlTypePtr cur_type, sdlContentModelPtr model);
984 void schema_min_max(xmlNodePtr node, sdlContentModelPtr model) in schema_min_max() argument
989 model->min_occurs = atoi((char*)attr->children->content); in schema_min_max()
991 model->min_occurs = 1; in schema_min_max()
997 model->max_occurs = -1; in schema_min_max()
999 model->max_occurs = atoi((char*)attr->children->content); in schema_min_max()
1002 model->max_occurs = 1; in schema_min_max()
1015 …hema_all(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr all, sdlTypePtr cur_type, sdlContentModelPtr model) in schema_all() argument
1024 if (model == NULL) { in schema_all()
1025 cur_type->model = newModel; in schema_all()
1027 zend_hash_next_index_insert_ptr(model->u.content, newModel); in schema_all()
1059 …up(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr groupType, sdlTypePtr cur_type, sdlContentModelPtr model) in schema_group() argument
1135 if (model == NULL) { in schema_group()
1136 cur_type->model = newModel; in schema_group()
1138 zend_hash_next_index_insert_ptr(model->u.content, newModel); in schema_group()
1191 …e(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr choiceType, sdlTypePtr cur_type, sdlContentModelPtr model) in schema_choice() argument
1200 if (model == NULL) { in schema_choice()
1201 cur_type->model = newModel; in schema_choice()
1203 zend_hash_next_index_insert_ptr(model->u.content, newModel); in schema_choice()
1241 …ence(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr seqType, sdlTypePtr cur_type, sdlContentModelPtr model) in schema_sequence() argument
1250 if (model == NULL) { in schema_sequence()
1251 cur_type->model = newModel; in schema_sequence()
1253 zend_hash_next_index_insert_ptr(model->u.content, newModel); in schema_sequence()
1293 …_any(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr anyType, sdlTypePtr cur_type, sdlContentModelPtr model) in schema_any() argument
1295 if (model != NULL) { in schema_any()
1303 zend_hash_next_index_insert_ptr(model->u.content, newModel); in schema_any()
1488 …ment(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr element, sdlTypePtr cur_type, sdlContentModelPtr model) in schema_element() argument
1574 if (model != NULL) { in schema_element()
1583 zend_hash_next_index_insert_ptr(model->u.content, newModel); in schema_element()
2184 static void schema_content_model_fixup(sdlCtx *ctx, sdlContentModelPtr model) in schema_content_model_fixup() argument
2186 switch (model->kind) { in schema_content_model_fixup()
2190 …->groups && (tmp = zend_hash_str_find_ptr(ctx->sdl->groups, model->u.group_ref, strlen(model->u.gr… in schema_content_model_fixup()
2192 efree(model->u.group_ref); in schema_content_model_fixup()
2193 model->kind = XSD_CONTENT_GROUP; in schema_content_model_fixup()
2194 model->u.group = tmp; in schema_content_model_fixup()
2196 … soap_error1(E_ERROR, "Parsing Schema: unresolved group 'ref' attribute '%s'", model->u.group_ref); in schema_content_model_fixup()
2201 if (model->max_occurs != 1) { in schema_content_model_fixup()
2204 ZEND_HASH_FOREACH_PTR(model->u.content, tmp) { in schema_content_model_fixup()
2206 tmp->max_occurs = model->max_occurs; in schema_content_model_fixup()
2209 model->kind = XSD_CONTENT_ALL; in schema_content_model_fixup()
2210 model->min_occurs = 1; in schema_content_model_fixup()
2211 model->max_occurs = 1; in schema_content_model_fixup()
2218 ZEND_HASH_FOREACH_PTR(model->u.content, tmp) { in schema_content_model_fixup()
2263 if (type->model) { in schema_type_fixup()
2264 schema_content_model_fixup(ctx, type->model); in schema_type_fixup()
2394 if (type->model) { in delete_type()
2396 ZVAL_PTR(&zv, type->model); in delete_type()
2443 if (type->model) { in delete_type_persistent()
2444 delete_model_persistent_int(type->model); in delete_type_persistent()