Lines Matching refs:newModel
1038 sdlContentModelPtr newModel; in schema_all() local
1040 newModel = emalloc(sizeof(sdlContentModel)); in schema_all()
1041 newModel->kind = XSD_CONTENT_ALL; in schema_all()
1042 newModel->u.content = emalloc(sizeof(HashTable)); in schema_all()
1043 zend_hash_init(newModel->u.content, 0, NULL, delete_model, 0); in schema_all()
1045 cur_type->model = newModel; in schema_all()
1047 zend_hash_next_index_insert_ptr(model->u.content, newModel); in schema_all()
1050 schema_min_max(all, newModel); in schema_all()
1059 schema_element(sdl, tns, trav, cur_type, newModel); in schema_all()
1083 sdlContentModelPtr newModel = NULL; in schema_group() local
1120 newModel = emalloc(sizeof(sdlContentModel)); in schema_group()
1121 newModel->kind = XSD_CONTENT_GROUP_REF; in schema_group()
1122 newModel->u.group_ref = estrndup(ZSTR_VAL(key.s), ZSTR_LEN(key.s)); in schema_group()
1126 newModel = emalloc(sizeof(sdlContentModel)); in schema_group()
1127 newModel->kind = XSD_CONTENT_SEQUENCE; /* will be redefined */ in schema_group()
1128 newModel->u.content = emalloc(sizeof(HashTable)); in schema_group()
1129 zend_hash_init(newModel->u.content, 0, NULL, delete_model, 0); in schema_group()
1156 cur_type->model = newModel; in schema_group()
1158 zend_hash_next_index_insert_ptr(model->u.content, newModel); in schema_group()
1164 schema_min_max(groupType, newModel); in schema_group()
1176 newModel->kind = XSD_CONTENT_CHOICE; in schema_group()
1177 schema_choice(sdl, tns, trav, cur_type, newModel); in schema_group()
1183 newModel->kind = XSD_CONTENT_SEQUENCE; in schema_group()
1184 schema_sequence(sdl, tns, trav, cur_type, newModel); in schema_group()
1190 newModel->kind = XSD_CONTENT_ALL; in schema_group()
1191 schema_all(sdl, tns, trav, cur_type, newModel); in schema_group()
1214 sdlContentModelPtr newModel; in schema_choice() local
1216 newModel = emalloc(sizeof(sdlContentModel)); in schema_choice()
1217 newModel->kind = XSD_CONTENT_CHOICE; in schema_choice()
1218 newModel->u.content = emalloc(sizeof(HashTable)); in schema_choice()
1219 zend_hash_init(newModel->u.content, 0, NULL, delete_model, 0); in schema_choice()
1221 cur_type->model = newModel; in schema_choice()
1223 zend_hash_next_index_insert_ptr(model->u.content, newModel); in schema_choice()
1226 schema_min_max(choiceType, newModel); in schema_choice()
1235 schema_element(sdl, tns, trav, cur_type, newModel); in schema_choice()
1237 schema_group(sdl, tns, trav, cur_type, newModel); in schema_choice()
1239 schema_choice(sdl, tns, trav, cur_type, newModel); in schema_choice()
1241 schema_sequence(sdl, tns, trav, cur_type, newModel); in schema_choice()
1243 schema_any(sdl, tns, trav, cur_type, newModel); in schema_choice()
1264 sdlContentModelPtr newModel; in schema_sequence() local
1266 newModel = emalloc(sizeof(sdlContentModel)); in schema_sequence()
1267 newModel->kind = XSD_CONTENT_SEQUENCE; in schema_sequence()
1268 newModel->u.content = emalloc(sizeof(HashTable)); in schema_sequence()
1269 zend_hash_init(newModel->u.content, 0, NULL, delete_model, 0); in schema_sequence()
1271 cur_type->model = newModel; in schema_sequence()
1273 zend_hash_next_index_insert_ptr(model->u.content, newModel); in schema_sequence()
1276 schema_min_max(seqType, newModel); in schema_sequence()
1285 schema_element(sdl, tns, trav, cur_type, newModel); in schema_sequence()
1287 schema_group(sdl, tns, trav, cur_type, newModel); in schema_sequence()
1289 schema_choice(sdl, tns, trav, cur_type, newModel); in schema_sequence()
1291 schema_sequence(sdl, tns, trav, cur_type, newModel); in schema_sequence()
1293 schema_any(sdl, tns, trav, cur_type, newModel); in schema_sequence()
1316 sdlContentModelPtr newModel; in schema_any() local
1318 newModel = emalloc(sizeof(sdlContentModel)); in schema_any()
1319 newModel->kind = XSD_CONTENT_ANY; in schema_any()
1321 schema_min_max(anyType, newModel); in schema_any()
1323 zend_hash_next_index_insert_ptr(model->u.content, newModel); in schema_any()
1598 sdlContentModelPtr newModel = emalloc(sizeof(sdlContentModel)); in schema_element() local
1600 newModel->kind = XSD_CONTENT_ELEMENT; in schema_element()
1601 newModel->u.element = newType; in schema_element()
1603 schema_min_max(element, newModel); in schema_element()
1606 zend_hash_next_index_insert_ptr(model->u.content, newModel); in schema_element()