Lines Matching refs:newModel
1018 sdlContentModelPtr newModel; in schema_all() local
1020 newModel = emalloc(sizeof(sdlContentModel)); in schema_all()
1021 newModel->kind = XSD_CONTENT_ALL; in schema_all()
1022 newModel->u.content = emalloc(sizeof(HashTable)); in schema_all()
1023 zend_hash_init(newModel->u.content, 0, NULL, delete_model, 0); in schema_all()
1025 cur_type->model = newModel; in schema_all()
1027 zend_hash_next_index_insert_ptr(model->u.content, newModel); in schema_all()
1030 schema_min_max(all, newModel); in schema_all()
1039 schema_element(sdl, tns, trav, cur_type, newModel); in schema_all()
1063 sdlContentModelPtr newModel = NULL; in schema_group() local
1099 newModel = emalloc(sizeof(sdlContentModel)); in schema_group()
1100 newModel->kind = XSD_CONTENT_GROUP_REF; in schema_group()
1101 newModel->u.group_ref = estrndup(ZSTR_VAL(key.s), ZSTR_LEN(key.s)); in schema_group()
1106 newModel = emalloc(sizeof(sdlContentModel)); in schema_group()
1107 newModel->kind = XSD_CONTENT_SEQUENCE; /* will be redefined */ in schema_group()
1108 newModel->u.content = emalloc(sizeof(HashTable)); in schema_group()
1109 zend_hash_init(newModel->u.content, 0, NULL, delete_model, 0); in schema_group()
1136 cur_type->model = newModel; in schema_group()
1138 zend_hash_next_index_insert_ptr(model->u.content, newModel); in schema_group()
1144 schema_min_max(groupType, newModel); in schema_group()
1156 newModel->kind = XSD_CONTENT_CHOICE; in schema_group()
1157 schema_choice(sdl, tns, trav, cur_type, newModel); in schema_group()
1163 newModel->kind = XSD_CONTENT_SEQUENCE; in schema_group()
1164 schema_sequence(sdl, tns, trav, cur_type, newModel); in schema_group()
1170 newModel->kind = XSD_CONTENT_ALL; in schema_group()
1171 schema_all(sdl, tns, trav, cur_type, newModel); in schema_group()
1194 sdlContentModelPtr newModel; in schema_choice() local
1196 newModel = emalloc(sizeof(sdlContentModel)); in schema_choice()
1197 newModel->kind = XSD_CONTENT_CHOICE; in schema_choice()
1198 newModel->u.content = emalloc(sizeof(HashTable)); in schema_choice()
1199 zend_hash_init(newModel->u.content, 0, NULL, delete_model, 0); in schema_choice()
1201 cur_type->model = newModel; in schema_choice()
1203 zend_hash_next_index_insert_ptr(model->u.content, newModel); in schema_choice()
1206 schema_min_max(choiceType, newModel); in schema_choice()
1215 schema_element(sdl, tns, trav, cur_type, newModel); in schema_choice()
1217 schema_group(sdl, tns, trav, cur_type, newModel); in schema_choice()
1219 schema_choice(sdl, tns, trav, cur_type, newModel); in schema_choice()
1221 schema_sequence(sdl, tns, trav, cur_type, newModel); in schema_choice()
1223 schema_any(sdl, tns, trav, cur_type, newModel); in schema_choice()
1244 sdlContentModelPtr newModel; in schema_sequence() local
1246 newModel = emalloc(sizeof(sdlContentModel)); in schema_sequence()
1247 newModel->kind = XSD_CONTENT_SEQUENCE; in schema_sequence()
1248 newModel->u.content = emalloc(sizeof(HashTable)); in schema_sequence()
1249 zend_hash_init(newModel->u.content, 0, NULL, delete_model, 0); in schema_sequence()
1251 cur_type->model = newModel; in schema_sequence()
1253 zend_hash_next_index_insert_ptr(model->u.content, newModel); in schema_sequence()
1256 schema_min_max(seqType, newModel); in schema_sequence()
1265 schema_element(sdl, tns, trav, cur_type, newModel); in schema_sequence()
1267 schema_group(sdl, tns, trav, cur_type, newModel); in schema_sequence()
1269 schema_choice(sdl, tns, trav, cur_type, newModel); in schema_sequence()
1271 schema_sequence(sdl, tns, trav, cur_type, newModel); in schema_sequence()
1273 schema_any(sdl, tns, trav, cur_type, newModel); in schema_sequence()
1296 sdlContentModelPtr newModel; in schema_any() local
1298 newModel = emalloc(sizeof(sdlContentModel)); in schema_any()
1299 newModel->kind = XSD_CONTENT_ANY; in schema_any()
1301 schema_min_max(anyType, newModel); in schema_any()
1303 zend_hash_next_index_insert_ptr(model->u.content, newModel); in schema_any()
1575 sdlContentModelPtr newModel = emalloc(sizeof(sdlContentModel)); in schema_element() local
1577 newModel->kind = XSD_CONTENT_ELEMENT; in schema_element()
1578 newModel->u.element = newType; in schema_element()
1580 schema_min_max(element, newModel); in schema_element()
1583 zend_hash_next_index_insert_ptr(model->u.content, newModel); in schema_element()