Lines Matching refs:newModel

1015 	sdlContentModelPtr newModel;  in schema_all()  local
1017 newModel = emalloc(sizeof(sdlContentModel)); in schema_all()
1018 newModel->kind = XSD_CONTENT_ALL; in schema_all()
1019 newModel->u.content = emalloc(sizeof(HashTable)); in schema_all()
1020 zend_hash_init(newModel->u.content, 0, NULL, delete_model, 0); 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()
1027 schema_min_max(all, newModel); in schema_all()
1036 schema_element(sdl, tns, trav, cur_type, newModel); in schema_all()
1060 sdlContentModelPtr newModel = NULL; in schema_group() local
1096 newModel = emalloc(sizeof(sdlContentModel)); in schema_group()
1097 newModel->kind = XSD_CONTENT_GROUP_REF; in schema_group()
1098 newModel->u.group_ref = estrndup(ZSTR_VAL(key.s), ZSTR_LEN(key.s)); in schema_group()
1103 newModel = emalloc(sizeof(sdlContentModel)); in schema_group()
1104 newModel->kind = XSD_CONTENT_SEQUENCE; /* will be redefined */ in schema_group()
1105 newModel->u.content = emalloc(sizeof(HashTable)); in schema_group()
1106 zend_hash_init(newModel->u.content, 0, NULL, delete_model, 0); 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()
1141 schema_min_max(groupType, newModel); in schema_group()
1153 newModel->kind = XSD_CONTENT_CHOICE; in schema_group()
1154 schema_choice(sdl, tns, trav, cur_type, newModel); in schema_group()
1160 newModel->kind = XSD_CONTENT_SEQUENCE; in schema_group()
1161 schema_sequence(sdl, tns, trav, cur_type, newModel); in schema_group()
1167 newModel->kind = XSD_CONTENT_ALL; in schema_group()
1168 schema_all(sdl, tns, trav, cur_type, newModel); in schema_group()
1191 sdlContentModelPtr newModel; in schema_choice() local
1193 newModel = emalloc(sizeof(sdlContentModel)); in schema_choice()
1194 newModel->kind = XSD_CONTENT_CHOICE; in schema_choice()
1195 newModel->u.content = emalloc(sizeof(HashTable)); in schema_choice()
1196 zend_hash_init(newModel->u.content, 0, NULL, delete_model, 0); 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()
1203 schema_min_max(choiceType, newModel); in schema_choice()
1212 schema_element(sdl, tns, trav, cur_type, newModel); in schema_choice()
1214 schema_group(sdl, tns, trav, cur_type, newModel); in schema_choice()
1216 schema_choice(sdl, tns, trav, cur_type, newModel); in schema_choice()
1218 schema_sequence(sdl, tns, trav, cur_type, newModel); in schema_choice()
1220 schema_any(sdl, tns, trav, cur_type, newModel); in schema_choice()
1241 sdlContentModelPtr newModel; in schema_sequence() local
1243 newModel = emalloc(sizeof(sdlContentModel)); in schema_sequence()
1244 newModel->kind = XSD_CONTENT_SEQUENCE; in schema_sequence()
1245 newModel->u.content = emalloc(sizeof(HashTable)); in schema_sequence()
1246 zend_hash_init(newModel->u.content, 0, NULL, delete_model, 0); 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()
1253 schema_min_max(seqType, newModel); in schema_sequence()
1262 schema_element(sdl, tns, trav, cur_type, newModel); in schema_sequence()
1264 schema_group(sdl, tns, trav, cur_type, newModel); in schema_sequence()
1266 schema_choice(sdl, tns, trav, cur_type, newModel); in schema_sequence()
1268 schema_sequence(sdl, tns, trav, cur_type, newModel); in schema_sequence()
1270 schema_any(sdl, tns, trav, cur_type, newModel); in schema_sequence()
1293 sdlContentModelPtr newModel; in schema_any() local
1295 newModel = emalloc(sizeof(sdlContentModel)); in schema_any()
1296 newModel->kind = XSD_CONTENT_ANY; in schema_any()
1298 schema_min_max(anyType, newModel); in schema_any()
1300 zend_hash_next_index_insert_ptr(model->u.content, newModel); in schema_any()
1572 sdlContentModelPtr newModel = emalloc(sizeof(sdlContentModel)); in schema_element() local
1574 newModel->kind = XSD_CONTENT_ELEMENT; in schema_element()
1575 newModel->u.element = newType; in schema_element()
1577 schema_min_max(element, newModel); in schema_element()
1580 zend_hash_next_index_insert_ptr(model->u.content, newModel); in schema_element()