Lines Matching refs:newModel

1017 	sdlContentModelPtr newModel;  in schema_all()  local
1019 newModel = emalloc(sizeof(sdlContentModel)); in schema_all()
1020 newModel->kind = XSD_CONTENT_ALL; in schema_all()
1021 newModel->u.content = emalloc(sizeof(HashTable)); in schema_all()
1022 zend_hash_init(newModel->u.content, 0, NULL, delete_model, 0); in schema_all()
1024 cur_type->model = newModel; in schema_all()
1026 zend_hash_next_index_insert_ptr(model->u.content, newModel); in schema_all()
1029 schema_min_max(all, newModel); in schema_all()
1038 schema_element(sdl, tns, trav, cur_type, newModel); in schema_all()
1062 sdlContentModelPtr newModel = NULL; in schema_group() local
1098 newModel = emalloc(sizeof(sdlContentModel)); in schema_group()
1099 newModel->kind = XSD_CONTENT_GROUP_REF; in schema_group()
1100 newModel->u.group_ref = estrndup(ZSTR_VAL(key.s), ZSTR_LEN(key.s)); in schema_group()
1105 newModel = emalloc(sizeof(sdlContentModel)); in schema_group()
1106 newModel->kind = XSD_CONTENT_SEQUENCE; /* will be redefined */ in schema_group()
1107 newModel->u.content = emalloc(sizeof(HashTable)); in schema_group()
1108 zend_hash_init(newModel->u.content, 0, NULL, delete_model, 0); in schema_group()
1135 cur_type->model = newModel; in schema_group()
1137 zend_hash_next_index_insert_ptr(model->u.content, newModel); in schema_group()
1143 schema_min_max(groupType, newModel); in schema_group()
1155 newModel->kind = XSD_CONTENT_CHOICE; in schema_group()
1156 schema_choice(sdl, tns, trav, cur_type, newModel); in schema_group()
1162 newModel->kind = XSD_CONTENT_SEQUENCE; in schema_group()
1163 schema_sequence(sdl, tns, trav, cur_type, newModel); in schema_group()
1169 newModel->kind = XSD_CONTENT_ALL; in schema_group()
1170 schema_all(sdl, tns, trav, cur_type, newModel); in schema_group()
1193 sdlContentModelPtr newModel; in schema_choice() local
1195 newModel = emalloc(sizeof(sdlContentModel)); in schema_choice()
1196 newModel->kind = XSD_CONTENT_CHOICE; in schema_choice()
1197 newModel->u.content = emalloc(sizeof(HashTable)); in schema_choice()
1198 zend_hash_init(newModel->u.content, 0, NULL, delete_model, 0); in schema_choice()
1200 cur_type->model = newModel; in schema_choice()
1202 zend_hash_next_index_insert_ptr(model->u.content, newModel); in schema_choice()
1205 schema_min_max(choiceType, newModel); in schema_choice()
1214 schema_element(sdl, tns, trav, cur_type, newModel); in schema_choice()
1216 schema_group(sdl, tns, trav, cur_type, newModel); in schema_choice()
1218 schema_choice(sdl, tns, trav, cur_type, newModel); in schema_choice()
1220 schema_sequence(sdl, tns, trav, cur_type, newModel); in schema_choice()
1222 schema_any(sdl, tns, trav, cur_type, newModel); in schema_choice()
1243 sdlContentModelPtr newModel; in schema_sequence() local
1245 newModel = emalloc(sizeof(sdlContentModel)); in schema_sequence()
1246 newModel->kind = XSD_CONTENT_SEQUENCE; in schema_sequence()
1247 newModel->u.content = emalloc(sizeof(HashTable)); in schema_sequence()
1248 zend_hash_init(newModel->u.content, 0, NULL, delete_model, 0); in schema_sequence()
1250 cur_type->model = newModel; in schema_sequence()
1252 zend_hash_next_index_insert_ptr(model->u.content, newModel); in schema_sequence()
1255 schema_min_max(seqType, newModel); in schema_sequence()
1264 schema_element(sdl, tns, trav, cur_type, newModel); in schema_sequence()
1266 schema_group(sdl, tns, trav, cur_type, newModel); in schema_sequence()
1268 schema_choice(sdl, tns, trav, cur_type, newModel); in schema_sequence()
1270 schema_sequence(sdl, tns, trav, cur_type, newModel); in schema_sequence()
1272 schema_any(sdl, tns, trav, cur_type, newModel); in schema_sequence()
1295 sdlContentModelPtr newModel; in schema_any() local
1297 newModel = emalloc(sizeof(sdlContentModel)); in schema_any()
1298 newModel->kind = XSD_CONTENT_ANY; in schema_any()
1300 schema_min_max(anyType, newModel); in schema_any()
1302 zend_hash_next_index_insert_ptr(model->u.content, newModel); in schema_any()
1574 sdlContentModelPtr newModel = emalloc(sizeof(sdlContentModel)); in schema_element() local
1576 newModel->kind = XSD_CONTENT_ELEMENT; in schema_element()
1577 newModel->u.element = newType; in schema_element()
1579 schema_min_max(element, newModel); in schema_element()
1582 zend_hash_next_index_insert_ptr(model->u.content, newModel); in schema_element()