Lines Matching refs:model

1285 	sdlContentModelPtr model = emalloc(sizeof(sdlContentModel));  in sdl_deserialize_model()  local
1287 WSDL_CACHE_GET_1(model->kind, sdlContentKind, in); in sdl_deserialize_model()
1288 WSDL_CACHE_GET_INT(model->min_occurs, in); in sdl_deserialize_model()
1289 WSDL_CACHE_GET_INT(model->max_occurs, in); in sdl_deserialize_model()
1290 switch (model->kind) { in sdl_deserialize_model()
1293 model->u.element = elements[i]; in sdl_deserialize_model()
1299 model->u.content = emalloc(sizeof(HashTable)); in sdl_deserialize_model()
1300 zend_hash_init(model->u.content, i, NULL, delete_model, 0); in sdl_deserialize_model()
1303 zend_hash_next_index_insert(model->u.content,&x,sizeof(sdlContentModelPtr),NULL); in sdl_deserialize_model()
1308 model->u.group_ref = sdl_deserialize_string(in); in sdl_deserialize_model()
1312 model->u.group = types[i]; in sdl_deserialize_model()
1317 return model; in sdl_deserialize_model()
1399 type->model = sdl_deserialize_model(types, elements, in); in sdl_deserialize_type()
1870 static void sdl_serialize_model(sdlContentModelPtr model, HashTable *tmp_types, HashTable *tmp_elem… in sdl_serialize_model() argument
1872 WSDL_CACHE_PUT_1(model->kind, out); in sdl_serialize_model()
1873 WSDL_CACHE_PUT_INT(model->min_occurs, out); in sdl_serialize_model()
1874 WSDL_CACHE_PUT_INT(model->max_occurs, out); in sdl_serialize_model()
1875 switch (model->kind) { in sdl_serialize_model()
1877 sdl_serialize_type_ref(model->u.element, tmp_elements, out); in sdl_serialize_model()
1883 int i = zend_hash_num_elements(model->u.content); in sdl_serialize_model()
1886 zend_hash_internal_pointer_reset(model->u.content); in sdl_serialize_model()
1887 while (zend_hash_get_current_data(model->u.content, (void**)&tmp) == SUCCESS) { in sdl_serialize_model()
1889 zend_hash_move_forward(model->u.content); in sdl_serialize_model()
1894 sdl_serialize_string(model->u.group_ref,out); in sdl_serialize_model()
1897 sdl_serialize_type_ref(model->u.group, tmp_types, out); in sdl_serialize_model()
2010 if (type->model) { in sdl_serialize_type()
2012 sdl_serialize_model(type->model, tmp_types, tmp_elements, out); in sdl_serialize_type()
2669 static sdlContentModelPtr make_persistent_sdl_model(sdlContentModelPtr model, HashTable *ptr_map, H… in make_persistent_sdl_model() argument
2676 *pmodel = *model; in make_persistent_sdl_model()
2689 …zend_hash_init(pmodel->u.content, zend_hash_num_elements(model->u.content), NULL, delete_model_per… in make_persistent_sdl_model()
2691 zend_hash_internal_pointer_reset(model->u.content); in make_persistent_sdl_model()
2692 while (zend_hash_get_current_data(model->u.content, (void**)&tmp) == SUCCESS) { in make_persistent_sdl_model()
2695 zend_hash_move_forward(model->u.content); in make_persistent_sdl_model()
2837 if (type->model) { in make_persistent_sdl_type()
2838 ptype->model = make_persistent_sdl_model(ptype->model, ptr_map, bp_types, bp_encoders); in make_persistent_sdl_type()