Lines Matching refs:newModel
1016 sdlContentModelPtr newModel; in schema_all() local
1018 newModel = emalloc(sizeof(sdlContentModel)); in schema_all()
1019 newModel->kind = XSD_CONTENT_ALL; in schema_all()
1020 newModel->u.content = emalloc(sizeof(HashTable)); in schema_all()
1021 zend_hash_init(newModel->u.content, 0, NULL, delete_model, 0); in schema_all()
1023 cur_type->model = newModel; in schema_all()
1025 zend_hash_next_index_insert(model->u.content,&newModel,sizeof(sdlContentModelPtr), NULL); in schema_all()
1028 schema_min_max(all, newModel); in schema_all()
1037 schema_element(sdl, tns, trav, cur_type, newModel); in schema_all()
1061 sdlContentModelPtr newModel; in schema_group() local
1097 newModel = emalloc(sizeof(sdlContentModel)); in schema_group()
1098 newModel->kind = XSD_CONTENT_GROUP_REF; in schema_group()
1099 newModel->u.group_ref = estrdup(key.c); in schema_group()
1104 newModel = emalloc(sizeof(sdlContentModel)); in schema_group()
1105 newModel->kind = XSD_CONTENT_SEQUENCE; /* will be redefined */ in schema_group()
1106 newModel->u.content = emalloc(sizeof(HashTable)); in schema_group()
1107 zend_hash_init(newModel->u.content, 0, NULL, delete_model, 0); in schema_group()
1134 cur_type->model = newModel; in schema_group()
1136 zend_hash_next_index_insert(model->u.content, &newModel, sizeof(sdlContentModelPtr), NULL); in schema_group()
1142 schema_min_max(groupType, newModel); in schema_group()
1154 newModel->kind = XSD_CONTENT_CHOICE; in schema_group()
1155 schema_choice(sdl, tns, trav, cur_type, newModel); in schema_group()
1161 newModel->kind = XSD_CONTENT_SEQUENCE; in schema_group()
1162 schema_sequence(sdl, tns, trav, cur_type, newModel); in schema_group()
1168 newModel->kind = XSD_CONTENT_ALL; in schema_group()
1169 schema_all(sdl, tns, trav, cur_type, newModel); in schema_group()
1192 sdlContentModelPtr newModel; in schema_choice() local
1194 newModel = emalloc(sizeof(sdlContentModel)); in schema_choice()
1195 newModel->kind = XSD_CONTENT_CHOICE; in schema_choice()
1196 newModel->u.content = emalloc(sizeof(HashTable)); in schema_choice()
1197 zend_hash_init(newModel->u.content, 0, NULL, delete_model, 0); in schema_choice()
1199 cur_type->model = newModel; in schema_choice()
1201 zend_hash_next_index_insert(model->u.content,&newModel,sizeof(sdlContentModelPtr), NULL); in schema_choice()
1204 schema_min_max(choiceType, newModel); in schema_choice()
1213 schema_element(sdl, tns, trav, cur_type, newModel); in schema_choice()
1215 schema_group(sdl, tns, trav, cur_type, newModel); in schema_choice()
1217 schema_choice(sdl, tns, trav, cur_type, newModel); in schema_choice()
1219 schema_sequence(sdl, tns, trav, cur_type, newModel); in schema_choice()
1221 schema_any(sdl, tns, trav, cur_type, newModel); in schema_choice()
1242 sdlContentModelPtr newModel; in schema_sequence() local
1244 newModel = emalloc(sizeof(sdlContentModel)); in schema_sequence()
1245 newModel->kind = XSD_CONTENT_SEQUENCE; in schema_sequence()
1246 newModel->u.content = emalloc(sizeof(HashTable)); in schema_sequence()
1247 zend_hash_init(newModel->u.content, 0, NULL, delete_model, 0); in schema_sequence()
1249 cur_type->model = newModel; in schema_sequence()
1251 zend_hash_next_index_insert(model->u.content,&newModel,sizeof(sdlContentModelPtr), NULL); in schema_sequence()
1254 schema_min_max(seqType, newModel); in schema_sequence()
1263 schema_element(sdl, tns, trav, cur_type, newModel); in schema_sequence()
1265 schema_group(sdl, tns, trav, cur_type, newModel); in schema_sequence()
1267 schema_choice(sdl, tns, trav, cur_type, newModel); in schema_sequence()
1269 schema_sequence(sdl, tns, trav, cur_type, newModel); in schema_sequence()
1271 schema_any(sdl, tns, trav, cur_type, newModel); in schema_sequence()
1294 sdlContentModelPtr newModel; in schema_any() local
1296 newModel = emalloc(sizeof(sdlContentModel)); in schema_any()
1297 newModel->kind = XSD_CONTENT_ANY; in schema_any()
1299 schema_min_max(anyType, newModel); in schema_any()
1301 zend_hash_next_index_insert(model->u.content, &newModel, sizeof(sdlContentModelPtr), NULL); in schema_any()
1573 sdlContentModelPtr newModel = emalloc(sizeof(sdlContentModel)); in schema_element() local
1575 newModel->kind = XSD_CONTENT_ELEMENT; in schema_element()
1576 newModel->u.element = newType; in schema_element()
1578 schema_min_max(element, newModel); in schema_element()
1581 zend_hash_next_index_insert(model->u.content, &newModel, sizeof(sdlContentModelPtr), NULL); in schema_element()