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);
981 void schema_min_max(xmlNodePtr node, sdlContentModelPtr model) in schema_min_max() argument
986 model->min_occurs = atoi((char*)attr->children->content); in schema_min_max()
988 model->min_occurs = 1; in schema_min_max()
994 model->max_occurs = -1; in schema_min_max()
996 model->max_occurs = atoi((char*)attr->children->content); in schema_min_max()
999 model->max_occurs = 1; in schema_min_max()
1012 …hema_all(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr all, sdlTypePtr cur_type, sdlContentModelPtr model) in schema_all() argument
1021 if (model == NULL) { in schema_all()
1022 cur_type->model = newModel; in schema_all()
1024 zend_hash_next_index_insert_ptr(model->u.content, newModel); in schema_all()
1056 …up(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr groupType, sdlTypePtr cur_type, sdlContentModelPtr model) in schema_group() argument
1132 if (model == NULL) { in schema_group()
1133 cur_type->model = newModel; in schema_group()
1135 zend_hash_next_index_insert_ptr(model->u.content, newModel); in schema_group()
1188 …e(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr choiceType, sdlTypePtr cur_type, sdlContentModelPtr model) in schema_choice() argument
1197 if (model == NULL) { in schema_choice()
1198 cur_type->model = newModel; in schema_choice()
1200 zend_hash_next_index_insert_ptr(model->u.content, newModel); in schema_choice()
1238 …ence(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr seqType, sdlTypePtr cur_type, sdlContentModelPtr model) in schema_sequence() argument
1247 if (model == NULL) { in schema_sequence()
1248 cur_type->model = newModel; in schema_sequence()
1250 zend_hash_next_index_insert_ptr(model->u.content, newModel); in schema_sequence()
1290 …_any(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr anyType, sdlTypePtr cur_type, sdlContentModelPtr model) in schema_any() argument
1292 if (model != NULL) { in schema_any()
1300 zend_hash_next_index_insert_ptr(model->u.content, newModel); in schema_any()
1485 …ment(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr element, sdlTypePtr cur_type, sdlContentModelPtr model) in schema_element() argument
1571 if (model != NULL) { in schema_element()
1580 zend_hash_next_index_insert_ptr(model->u.content, newModel); in schema_element()
2180 static void schema_content_model_fixup(sdlCtx *ctx, sdlContentModelPtr model) in schema_content_model_fixup() argument
2182 switch (model->kind) { in schema_content_model_fixup()
2186 …->groups && (tmp = zend_hash_str_find_ptr(ctx->sdl->groups, model->u.group_ref, strlen(model->u.gr… in schema_content_model_fixup()
2188 efree(model->u.group_ref); in schema_content_model_fixup()
2189 model->kind = XSD_CONTENT_GROUP; in schema_content_model_fixup()
2190 model->u.group = tmp; in schema_content_model_fixup()
2192 … soap_error1(E_ERROR, "Parsing Schema: unresolved group 'ref' attribute '%s'", model->u.group_ref); in schema_content_model_fixup()
2197 if (model->max_occurs != 1) { in schema_content_model_fixup()
2200 ZEND_HASH_FOREACH_PTR(model->u.content, tmp) { in schema_content_model_fixup()
2202 tmp->max_occurs = model->max_occurs; in schema_content_model_fixup()
2205 model->kind = XSD_CONTENT_ALL; in schema_content_model_fixup()
2206 model->min_occurs = 1; in schema_content_model_fixup()
2207 model->max_occurs = 1; in schema_content_model_fixup()
2214 ZEND_HASH_FOREACH_PTR(model->u.content, tmp) { in schema_content_model_fixup()
2259 if (type->model) { in schema_type_fixup()
2260 schema_content_model_fixup(ctx, type->model); in schema_type_fixup()
2390 if (type->model) { in delete_type()
2392 ZVAL_PTR(&zv, type->model); in delete_type()
2439 if (type->model) { in delete_type_persistent()
2440 delete_model_persistent_int(type->model); in delete_type_persistent()