Lines Matching refs:model
1287 sdlContentModelPtr model = emalloc(sizeof(sdlContentModel)); in sdl_deserialize_model() local
1289 WSDL_CACHE_GET_1(model->kind, sdlContentKind, in); in sdl_deserialize_model()
1290 WSDL_CACHE_GET_INT(model->min_occurs, in); in sdl_deserialize_model()
1291 WSDL_CACHE_GET_INT(model->max_occurs, in); in sdl_deserialize_model()
1292 switch (model->kind) { in sdl_deserialize_model()
1295 model->u.element = elements[i]; in sdl_deserialize_model()
1301 model->u.content = emalloc(sizeof(HashTable)); in sdl_deserialize_model()
1302 zend_hash_init(model->u.content, i, NULL, delete_model, 0); in sdl_deserialize_model()
1305 zend_hash_next_index_insert(model->u.content,&x,sizeof(sdlContentModelPtr),NULL); in sdl_deserialize_model()
1310 model->u.group_ref = sdl_deserialize_string(in); in sdl_deserialize_model()
1314 model->u.group = types[i]; in sdl_deserialize_model()
1319 return model; in sdl_deserialize_model()
1401 type->model = sdl_deserialize_model(types, elements, in); in sdl_deserialize_type()
1872 static void sdl_serialize_model(sdlContentModelPtr model, HashTable *tmp_types, HashTable *tmp_elem… in sdl_serialize_model() argument
1874 WSDL_CACHE_PUT_1(model->kind, out); in sdl_serialize_model()
1875 WSDL_CACHE_PUT_INT(model->min_occurs, out); in sdl_serialize_model()
1876 WSDL_CACHE_PUT_INT(model->max_occurs, out); in sdl_serialize_model()
1877 switch (model->kind) { in sdl_serialize_model()
1879 sdl_serialize_type_ref(model->u.element, tmp_elements, out); in sdl_serialize_model()
1885 int i = zend_hash_num_elements(model->u.content); in sdl_serialize_model()
1888 zend_hash_internal_pointer_reset(model->u.content); in sdl_serialize_model()
1889 while (zend_hash_get_current_data(model->u.content, (void**)&tmp) == SUCCESS) { in sdl_serialize_model()
1891 zend_hash_move_forward(model->u.content); in sdl_serialize_model()
1896 sdl_serialize_string(model->u.group_ref,out); in sdl_serialize_model()
1899 sdl_serialize_type_ref(model->u.group, tmp_types, out); in sdl_serialize_model()
2012 if (type->model) { in sdl_serialize_type()
2014 sdl_serialize_model(type->model, tmp_types, tmp_elements, out); in sdl_serialize_type()
2671 static sdlContentModelPtr make_persistent_sdl_model(sdlContentModelPtr model, HashTable *ptr_map, H… in make_persistent_sdl_model() argument
2678 *pmodel = *model; in make_persistent_sdl_model()
2691 …zend_hash_init(pmodel->u.content, zend_hash_num_elements(model->u.content), NULL, delete_model_per… in make_persistent_sdl_model()
2693 zend_hash_internal_pointer_reset(model->u.content); in make_persistent_sdl_model()
2694 while (zend_hash_get_current_data(model->u.content, (void**)&tmp) == SUCCESS) { in make_persistent_sdl_model()
2697 zend_hash_move_forward(model->u.content); in make_persistent_sdl_model()
2839 if (type->model) { in make_persistent_sdl_type()
2840 ptype->model = make_persistent_sdl_model(ptype->model, ptr_map, bp_types, bp_encoders); in make_persistent_sdl_type()